Update.
[glibc.git] / ChangeLog
blob87de29fb6f6399845ebc1eb7cfda646dade45184
1 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of
4         -inf.
6         * Makeconfig: (rpath-link): Add math/ directory.
7         (math-objdir): New variable.
8         (link-extra-lib): Define to special version when
9         $(common-objpfx)!=$(objpfx) to allow libraries outside
10         $(common-objpfx) be linked to the application.
12         * math/Makefile: Add rules to build and run test programs.
13         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
14         (check_equal): Correct check for error.
15         (ceil_test): Fix typo.
16         (log_test): Fix typo.
17         (floor_test): Fix typo.
18         (pow_test): Fix typos.
19         (log10_test): Allow slight incorrectness for `log10(e)'.
20         (modf_test): New functions to test `modf' et.al.
21         (hypot_test): Rewrite test completely.
22         Patch partly by Andreas Jaeger.
23         * math/test-double.h (__NO_MATH_INLINES): Define only if not
24         already defined.
25         * math/test-float.h: Likewise.
26         * math/test-logdouble.h: Likewise.
28         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
29         * setjmp/tst-setjmp.c: Correct and extend test suite.
30         * sysdeps/i386/__longjmp.S: Update copyright.
31         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
32         `__sigsetjmp' in PIC code.
33         * sysdeps/i386/bsd-setjmp.S: Likewise.
35         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
36         overflow.
37         * sysdeps/libm-i387/e_powf.S: Likewise.
38         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
39         case since expm1(-0) == -0.
40         * sysdeps/libm-i387/s_expm1f.S: Likewise.
41         * sysdeps/libm-i387/s_expm1l.S: Likewise.
42         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
43         access to FP number.
44         * sysdeps/libm-ieee754/s_modff.c: Likewise.
45         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
46         code.  It never worked correctly.
47         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
48         case since tanh(-0) == -0.
49         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
51 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
53         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
54         `thousands' to support systems with sizeof(wchar_t) !=
55         sizeof(wint_t).  Blargh.
57         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
58         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
59         appropriate headers.
61         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
62         UIO_FASTIOV and set to 8 if not available.
63         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64         Patch by HJ Lu.
66         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
67         "kernel_stat.h".
68         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
69         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
70         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
72 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
74         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
76         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
78         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
80         * sysdeps/unix/sysv/Dist: Add direct.h.
82         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
84         * Make-dist ($(tardir).tar): Prefer writing temporary file to
85         $TMPDIR is available.  The default is /tmp.
87         * sysdeps/generic/ip.h: Move to...
88         * sysdeps/generic/netinet/ip.h: ...here.
90         * Makefile (tests): Quote $(CC) argument to isomac program.
91         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
93         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
94         is placed in wrong place on the stack.
95         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
96         * sysdeps/tst-setjmp.c: Add new test for above problem.
98         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
99         * sysdeps/libm-i387/e_powf.S: Likewise.
100         * sysdeps/libm-i387/e_powl.S: Likewise.
102 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
104         * time/offtime.c (__offtime): Change type of `yg' to long int.
105         Reported by a sun <asun@zoology.washington.edu>.
107 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
109         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
110         2.2.0 to prevent version mismatch.
112 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
114         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
115         already defined.
117 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
119         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
120         in ioctls.h.
122         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
123         loader first relocates itself.
124         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
125         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
126         jump slot relocation. Prefer relative branches (some PowerPC chips
127         don't predict absolute branches).
128         (elf_machine_runtime_setup): Simplify and correct expressions.
129         (RTLD_START): Fix bug changing _dl_starting_up.
130         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
131         strange Linux/PPC padding of initial stack.
133 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
135         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
136         for future expansion.
137         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
138         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
139         can't have a switch statement.
140         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
141         static.
143         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
144         confusing gcc's idea of the current section.
145         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
146         RTLD_START): Likewise.
148 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
150         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
151         elf_machine_runtime_setup): Flush data & instruction caches when
152         necessary, for 603/604 support. Add better support for large PLTs.
153         (elf_machine_rela): Remove relocations that wouldn't work if
154         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
155         Never target branch relocations at a PLT entry.
157         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
158         generating PIC.
159         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
160         * sysdeps/powerpc/setjmp.S: Likewise.
161         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
163         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
166         * sysdeps/powerpc/elf/start.c: Clean up.
168         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
169         setjmp call.
171         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
173 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
175         * Make-dist (srcs): Add $(test-srcs).
176         * MakeTAGS (all-sources): Likewise.
177         * Makerules (depfiles, common-mostlyclean): Likewise.
178         * Rules (tests): Likewise.
180 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
182         * elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
184 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
186         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
187         protocol=NULL to match any protocol rather than returning an
188         error.
190 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
192         * nss/nss_files/files-service.c (servbyname): Match any protocol
193         if proto==NULL.
195 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
197         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
198         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
199         Proposed by Thomas Bushnell, n/BSG.
201 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
203         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
204         the buffer for replacement.
206 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
208         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
209         sys_lstat and sys_stat.
211 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
213         Add NIS+ functions
214         * shlib-versions: Add libnss_nisplus.
215         * nis/Makefile: Add NIS+ source files.
216         * nis/nis_call.c: New file.
217         * nis/nis_clone.c: New file.
218         * nis/nis_error.c: New file.
219         * nis/nis_file.c: New file.
220         * nis/nis_free.c: New file.
221         * nis/nis_intern.c: New file.
222         * nis/nis_intern.h: New file.
223         * nis/nis_local_names.c: New file.
224         * nis/nis_names.c: New file.
225         * nis/nis_print.c: New file.
226         * nis/nis_server.c: New file.
227         * nis/nis_subr.c: New file.
228         * nis/nis_table.c: New file.
229         * nis/nis_xdr.c: New file.
230         * nis/nss-nisplus.h: New file.
231         * nis/nss_nisplus/nisplus-alias.c: New file.
232         * nis/nss_nisplus/nisplus-ethers.c: New file.
233         * nis/nss_nisplus/nisplus-grp.c: New file.
234         * nis/nss_nisplus/nisplus-hosts.c: New file.
235         * nis/nss_nisplus/nisplus-netgrp.c: New file.
236         * nis/nss_nisplus/nisplus-network.c: New file.
237         * nis/nss_nisplus/nisplus-proto.c: New file.
238         * nis/nss_nisplus/nisplus-publickey.c: New file.
239         * nis/nss_nisplus/nisplus-pwd.c: New file.
240         * nis/nss_nisplus/nisplus-rpc.c: New file.
241         * nis/nss_nisplus/nisplus-service.c: New file.
242         * nis/nss_nisplus/nisplus-spwd.c: New file.
243         * nis/rpcsvc/nis.h: New file.
244         * nis/rpcsvc/nis.x: New file.
245         * nis/rpcsvc/nis_object.x: New file.
246         * nis/rpcsvc/nis_tags.h: New file.
247         * nis/rpcsvc/nislib.h: New file.
249 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
251         * mach/devstream.c (output/write_some): Don't try and write more
252         than IO_INBAND_MAX in a single call to device_write_inband.
254 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
256         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
257         type is SVID.
258         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
259         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
261         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
262         FLAGS parameter.
264 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
266         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
267         Change msg_iovlen and msg_controllen (in struct msghdr) to
268         `size_t' to keep in step with kernel.
270 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
272         * manual/filesys.texi: Add documentation for scandir and alphasort.
273         * manual/examples/dir2.c: New example for scandir.
275         * math/math.c (fpclassify): Correct stupid typos.
277         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
278         * math/test/float.c: New file.  Frontend for float tests.
279         * math/test/double.c: New file.  Frontend for double tests.
280         * math/test/longdouble.c: New file.  Frontend for long double  tests.
282         * posix/Makefile (routines): Add bsd-getpgrp.
283         * posix/bsd-getpgrp.c: New file.
284         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
285         calls to __bsd_getpgrp.
287         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
289         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
290         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
291         * sysdeps/ieee754/huge_val.h: Remove definition of long double
292         definition.  Make it the same as the double definition.
294         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
295         * sysdeps/libm-i387/e_acosf.S: Likewise.
296         * sysdeps/libm-i387/e_acosl.S: Likewise.
297         * sysdeps/libm-i387/e_asin.S: Likewise.
298         * sysdeps/libm-i387/e_asinf.S: Likewise.
299         * sysdeps/libm-i387/e_asinl.S: Likewise.
300         * sysdeps/libm-i387/e_exp.S: Likewise.
301         * sysdeps/libm-i387/e_expf.S: Likewise.
302         * sysdeps/libm-i387/e_expl.S: Likewise.
303         * sysdeps/libm-i387/s_scalbn.S: Likewise.
304         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
305         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
307         * sysdeps/libm-i387/e_log.S: Optimize branch code.
308         * sysdeps/libm-i387/e_logf.S: Likewise.
309         * sysdeps/libm-i387/e_logl.S: Likewise.
310         * sysdeps/libm-i387/e_log10.S: Likewise.
311         * sysdeps/libm-i387/e_log10f.S: Likewise.
312         * sysdeps/libm-i387/e_log10l.S: Likewise.
314         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
315         * sysdeps/libm-i387/e_powf.S: Likewise.
316         * sysdeps/libm-i387/e_powl.S: Likewise.
318         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
319         argument to -1.0.
320         * sysdeps/libm-i387/s_expm1f.S: Likewise.
321         * sysdeps/libm-i387/s_expm1l.S: Likewise.
323         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
325         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
326         stack element after fxtract.
328         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
329         implementation for atan2 function.
331         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
332         _SVID_ mode when acos, asin, atan2, log, log10 is called with
333         argument out of range.
334         Add new error case for pow(+0,neg).
336         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
337         NaN and +-inf.
338         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
339         digit in stupid 80 bit formats.
341         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
342         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
343         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
345         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
346         long double type.
348         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
349         in SVID mode.
350         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
351         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
353         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
354         or -0.
355         * sysdeps/libm-ieee754/w_powf.c: Likewise.
356         * sysdeps/libm-ieee754/w_powl.c: Likewise.
358         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
360         * sysdeps/stub/fcntlbits.h: Update copyright.
361         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
362         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
363         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
364         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
365         * sysdeps/unix/common/fcntlbits.h: Likewise.
366         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
367         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
368         and FNDELAY.
369         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
371         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
372         only reclen bytes.
374         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
375         and O_NORW.
376         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
378         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
380         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
381         struct stat to user-level form.
382         * sysdeps/unix/sysv/linux/lxstat: New file.
383         * sysdeps/unix/sysv/linux/xstat: New file.
384         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
385         kernel.
386         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
387         to use prescribed types for elements.
388         (_STAT_VER): Change to value 3.
389         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
390         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
391         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
393         * time/Makefile: Correct dependencies for test-tz.
395 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
397         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
398         (needed for IPv6 basic sockets API).
400 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
402         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
403         kernel header.
404         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
406 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
408         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
409         without testing for last_bfp to be NULL.
410         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
412 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
414         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
416 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
418         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
419         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
421 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
423         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
424         functions.  Compare result for correct address type.
425         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
426         * nss/nss_files/files-hosts.c: Likewise.
427         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
429 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
431         * time/strptime.c (recursive): Return rp to caller.
432         (strptime_internal): First check for long names, then abbreviated
433         (month & weekday).
435 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
437         * Makeconfig: Remove useless definitions of ASFLAGS-%.
438         * config.make.in (ASFLAGS-.so): Remove.
439         * configure.in: Don't substitute ASFLAGS_SO.
440         * sysdeps/sparc/configure.in: Remove file.
441         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
443 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
445         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
446         1900 from year, regardless of century.
448 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
450         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
451         all numbers unsigned to make buggy gccs happy.
452         Patch by Bryan W. Headley <bheadley@interaccess.com>.
454         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
455         definitions.  Patch by a sun <asun@zoology.washington.edu>.
456         Pretty print header.
458         * Makerules (build-shlib): Also create symlink if library is versioned.
459         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
460         Remove special rule to libc.so symlink.
462 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
464         * manual/math.texi (Domain and Range Errors): Change descriptions
465         according to recent changes for ISO C 9X.
467 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
469         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
470         return values for acos, asin, and atan2.
471         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
473 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
475         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
477 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
479         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
480         to pointers to directory entries so that alphasort really can be
481         used as argument for scandir.
483 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
485         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
486         instead of strcpy.
488 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
490         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
491         catalogs, not only if the envvar NLSPATH is not available.
492         Reported by Andries.Brouwer@cwi.nl.
494 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
496         * Makeconfig (localtime-file): Don't define using installation
497         directory.
498         (inst_localtime-file): New variable.
499         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
500         Reported by Edward Seidl <seidl@janed.com>.
502 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
504         * time/Makefile: Add source files to dependencies for test data.
506 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
508         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
509         * nis/nss_nis/nis-proto.c: Likewise.
510         * nis/nss_nis/nis-rpc.c: Likewise.
511         * nis/nss_nis/nis-service.c: Likewise.
513 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
515         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
516         versioning;  Added missing R_SPARC_WDISP30 handling.
517         (RTLD_START): Implement it.
519         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
521         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
522         Linux/SPARC.
524 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
526         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
527         the dynamic linker instead of having a new conditional define.
528         Thanks to Richard Henderson for pointing this out.
529         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
531 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
533         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
534         euidaccess weak alias.
536 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
538         * stdio-common/printf_fphex.c (MIN): New macro.
540         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
542         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
544         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
545         API.  (See change by Philip Blundell on Feb 16, 1997.)
547 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
549         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
551         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
552         __file_name_split.
554         * mach/mach_error.c (mach_error_string_int): Give full prototype.
555         * mach/errstring.c (mach_error_string_int): Likewise.
556         * mach/error_compat.c (__mach_error_map_compat): Likewise.
557         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
558         * stdio/vasprintf.c (vasprintf): Likewise.
560         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
562         * mach/spin-solid.c: Include <mach/mach_traps.h>.
563         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
564         swtch_pri.
566         * mach/mach_init.c: Include <mach/mig_support.h>.
568         * mach/mach_error.h (mach_error_string, mach_error,
569         mach_error_type): Always provide prototypes.
571         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
572         appears to be entirely unused dead code.
574 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
576         * string/argz.h (__need_error_t): New macro, before including <errno.h>
577         [!__const] (__const): New macro.
578         [!__error_t_defined] (error_t): New typedef.
580 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
582         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
583         -fPIC.
584         * Makerules (compile.S): Use ASFLAGS-%.
585         (COMPILE.S): Likewise.
586         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
587         * configure.in: Substitute ASFLAGS_SO.
588         * sysdeps/sparc/configure.in: New file.
590         * posix/unistd.h: Add prototype for __euidaccess.
591         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
592         euidaccess weak alias.
593         * sysdeps/stub/euidaccess.c: Likewise.
594         * inet/rcmd.c: Use __ protected versions of non-standard functions.
596         * locale/setlocale.c (setlocale): Don't set usage_count to
597         MAX_USAGE_COUNT if it already has this value.
599         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
600         binary locale files.  Use LOCALEDIR only.
601         * locale/programs/locfile.c: When named file not found and not
602         absolute use path in I18NPATH.
604         * stdlib/Makefile (headers): Add inttypes.h.
605         * sysdeps/wordsize-32/inttypes.h: New file.
606         * sysdeps/wordsize-64/inttypes.h: New file.
608         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
609         and AF_FILE as synonym for AF_LOCAL.
610         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
612         * time/Makefile: Rewrite rules for test to handle parallel builds.
614 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
616         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
617         robbe@orcus.priv.at.
619 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
621         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
622         8-byte boundary.
624 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
626         * elf/link.h: Define __need_NULL to get definition.  Include
627         <features.h>.
628         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
630 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
632         Rewrite NIS code to allow empty keys.
633         * nis/nss_nis/nis-ethers.c: Rewritten.
634         * nis/nss_nis/nis-proto.c: Rewritten.
635         * nis/nss_nis/nis-publickey.c: Rewritten.
636         * nis/nss_nis/nis-rpc.c: Rewritten.
637         * nis/nss_nis/nis-service.c: Rewritten.
639 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
641         * time/scheck.c (scheck): Add extra const to second argument.
643         * time/private.h: Correct prototypes to match definition.
645 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
647         * sysdeps/alpha/__math.h: Remove cabs inline definition.
648         Reported by Philip Blundell <pjb27@cam.ac.uk>.
650 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
652         * argp/Makefile (routines): Add argp-eexst.
653         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
654         * argp/argp-eexst.c: New file.  Define exit status variable.
655         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
656         variable instead of always exiting with value 1.
657         * argp/argp-pv.c (argp_program_version): Make `const'.
658         * argp/argp.h: Declare argp_err_exit_status.
659         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
661         * locale/programs/localedef.c: Use argp_err_exit_status to
662         terminate with correct value.
664         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
665         switching of UID before opening .rhosts.
667         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
668         proposal.  The return value now is always the number of characters
669         which would be written if enough space is available.
670         * manual/stdio.texi: Update description for new behaviour.
672         * locale/locale.h (__locale_t): Don't use __locale_t for struct
673         name and pointer to struct since old gccs cannot keep the namespaces
674         apart.  Rename struct to __locale_struct.
675         * locale/duplocale.h: Likewise.
676         * locale/newlocale.h: Likewise.
678         * math/Makefile (headers): Add complex.h and cmathcalls.h.
679         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
680         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
681         after use.
682         (signgam): Move declaration to here from mathcalls.h.
683         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
684         Correct comment for fmin and fmax.
685         Start implementing complex math function from ISO C 9X.
686         * math/complex.h: New file.
687         * math/cmathcalls.h: New file.
688         * math/cabs.c: New file.
689         * math/cabsf.c: New file.
690         * math/cabsl.c: New file.
691         * math/cimag.c: New file.
692         * math/cimagf.c: New file.
693         * math/cimagl.c: New file.
694         * math/conj.c: New file.
695         * math/conjf.c: New file.
696         * math/conjl.c: New file.
697         * math/creal.c: New file.
698         * math/crealf.c: New file.
699         * math/creall.c: New file.
700         * sysdeps/libm-ieee754/w_cabs.c: Removed.
701         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
702         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
704         * posix/regex.c: Merge with regex sources from Arnold Robbins'
705         version in GNU awk.
706         * posix/regex.h: Likewise.
708         Add regex test suite by Tom Lord.
709         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
710         (tests): Add runtests.
711         (before-compile): Add testcases.h.
712         (testcases.h): New rule to generate header with tests.
713         * posix/TESTS: New file.
714         * posix/TESTS2C.sed.: New file.
715         * posix/runtests.c: New file.
716         * posix/testcases.h: New file.
718         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
719         available and use fall-back implementation if not.
721         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
723         * time/ialloc.c: Update from tzcode1997c.
724         * time/private.h: Likewise.
725         * time/scheck.c: Likewise.
726         * time/tzselect.ksh: Likewise.
727         * time/zdump.c: Likewise.
728         * time/zic.c: Likewise.
730         * time/tzfile.c: Pretty print.
732 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
734         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
735         on a 601.
737         * sysdeps/powerpc/Implies: Added.
738         * sysdeps/powerpc/__longjmp.S: Added.
739         * sysdeps/powerpc/__math.h: Added.
740         * sysdeps/powerpc/bsd-_setjmp.S: Added.
741         * sysdeps/powerpc/bsd-setjmp.S: Added.
742         * sysdeps/powerpc/dl-machine.h: Added.
743         * sysdeps/powerpc/ffs.c: Added.
744         * sysdeps/powerpc/fpu_control.h: Added.
745         * sysdeps/powerpc/jmp_buf.h: Added.
746         * sysdeps/powerpc/setjmp.S: Added.
747         * sysdeps/powerpc/strlen.s: Added.
748         * sysdeps/powerpc/elf/start.c: Added.
749         * sysdeps/powerpc/fpu_control.h: Added.
750         * sysdeps/powerpc/jmp_buf.h: Added.
752         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
753         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
754         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
755         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
756         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
757         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
758         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
759         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
760         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
761         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
762         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
763         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
764         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
765         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
766         * sysdeps/unix/sysv/linux/powerpc/sys/syscall.h: Added.
768 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
770         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
771         because knowing the first instruction of a PowerPC PLT trampoline
772         is not very helpful.
774 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
776         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
777         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
778         a preference as to where executables should be loaded.
780 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
782         * elf/elf.h: Add in all those PowerPC reloc types.
784 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
786         * stdio-common/vfscanf.c: Use __va_copy if available.
788 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
790         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
791         clean up namespace.
793 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
795         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
796         non-existing GET_WORDS macro, use EXTRACT_WORDS.
797         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
799 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
801         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
802         kernel-level sigaction structure is different.  handle this
803         correctly.
804         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
806 1997-03-06 05:55  David Engel  <david@sw.ods.com>
808         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
809         recognize cache entries with flag == 3.
811 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
813         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
814         (INADDR_LOOPBACK): Likewise.
815         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
817         * manual/socket.texi: Correct types of INADDR_* constants from
818         unsigned long to unsigned.
820 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
822         * time/antarctica: Update from tzdata1997c.
823         * time/asia: Likewise.
824         * time/zone.tab: Likewise.
826 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
828         * configure.in (libc_cv_asm_symver_directive,
829         libc_cv_ld_version_script_option): Remove unknown instruction from
830         assembler test file.
832 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
834         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
835         __USE_ISOC9X.
836         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
837         (fabs): Remove defininition, it is a gcc builtin.
838         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
840 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
842         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
843         generating file.
845 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
847         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
848         instead to avoid namespace problems.
849         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
851 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
853         * login/utmp_file.c: Fix previous change.  Make portable by
854         checking the _HAVE_UT_* feature macros.
856 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
858         * Makerules: Add rules to handle versioning.
859         * config.h.in (DO_VERSIONING): New macro.
860         * config.make.in (versioning): New variable.
861         * configure.in: Add checks for .symver directive in gas and
862         --version-script option to ld.  Define DO_VERSIONING and
863         versioning if appropriate.
865         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
866         s_fmin, and s_fdim.
867         * math/math.h: Define ISO C 9X constants, macros and functions.
868         * math/mathcalls.h: Likewise.
869         * sysdeps/libm-ieee754/s_fdim.c: New file.
870         * sysdeps/libm-ieee754/s_fdimf.c: New file.
871         * sysdeps/libm-ieee754/s_fdiml.c: New file.
872         * sysdeps/libm-ieee754/s_fmax.c: New file.
873         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
874         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
875         * sysdeps/libm-ieee754/s_fmin.c: New file.
876         * sysdeps/libm-ieee754/s_fminf.c: New file.
877         * sysdeps/libm-ieee754/s_fminl.c: New file.
878         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
879         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
880         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
881         * sysdeps/libm-ieee754/s_signbit.c: New file.
882         * sysdeps/libm-ieee754/s_signbitf.c: New file.
883         * sysdeps/libm-ieee754/s_signbitl.c: New file.
885         * stdio-common/printf_fphex.c: Correct printing of decimal point
886         character.
887         Simplify conversion of mantissa to string.
888         * stdio-common/vfscanf.c: Handle %A format.
889         Optimize termination of floating-point scanning.
890         * stdio-common/tstscanf.c (main): Add new test to scanf to test
891         scanning float values with given width.
892         * stdlib/strtod.c: Add handling of floating-point numbers in
893         hexadecimal notation.
895         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
896         functions.
897         Pretty print #if directives.
898         * string/string.h: Pretty print #if directives.
900         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
901         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
902         * sysdeps/ieee754/mpn2dbl.c: Likewise.
903         * sysdeps/ieee754/mpn2flt.c: Likewise.
904         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
906         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
907         falling back to select-based implementation if syscall isn't
908         available.
909         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
911         * time/leapseconds: Update from tzdata1997b.
912         * time/zic.c: Update from tzcode1997b.
914 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
916         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
917         depedencies between installed $(tzlinks) and $(tzbases) files.
919 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
921         * math/math.h: Make compatible with traditional preprocessor;
922         requires carefull placement of whitespace in macro arguments.
923         Use __CONCAT instead of ##.
924         Declare long double functions only if __STDC__ or __GNUC__.
925         * math/mathcall.h: Avoid whitespace before argument of macro call
926         that is used as function name.
928         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
929         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
930         of __NO_M81_MATH_INLINES.
931         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
932         starting with __ieee754.
933         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
934         functions as inlines.
935         (__m81_defun): Put __attribute__ between return type and function
936         name.
937         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
938         is defined.
939         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
940         instead of __NO_M81_MATH_INLINES.
941         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
942         * sysdeps/m68k/fpu/k_cos.c: Likewise.
943         * sysdeps/m68k/fpu/k_sin.c: Likewise.
944         * sysdeps/m68k/fpu/k_tan.c: Likewise.
945         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
946         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
947         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
948         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
949         * sysdeps/m68k/fpu/s_modf.c: Likewise.
950         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
952 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
954         * Makefile (tests): Cope with $PATH not including the current
955         directory.
957 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
959         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
960         $(common-objdir-compile).
961         ($(common-objpfx)make-ioctls): Likewise.
962         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
963         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
964         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
965         Likewise.
966         ($(common-objpfx)sys/syscall.h): Likewise.
967         ($(common-objpfx)local_lim.h): Let make deal with command
968         failure.
969         ($(common-objpfx)param.h.dep): Use temporary file and update
970         target atomically.
971         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
972         (include $(common-objpfx)param.h.dep): Ignore error.
974         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
975         $(common-objdir-compile).
976         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
977         $(shell pwd) instead of $$cwd.
979         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
980         $(common-objdir-compile).
981         ($(objpfx)make_siglist): Use $(native-compile).
982         (make_siglist-CFLAGS): New variable.
984         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
985         the old name for the user to pass additional flags to the host
986         compiler.  Fix reference to config header.
987         (native-compile, common-objdir-compile): Rewritten to make more
988         generally usable.
989         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
990         instead of BUILD_CFLAGS.
992         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
993         defined.
995 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
997         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
998         New rules to generate dependencies for the RPC service objects.
1000 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1002         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
1003         supplied.
1005 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
1007         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
1008         so that clearing second word is necessary.
1010         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
1011         header since it is wrong for 64 bit systems.
1012         Patch by a sun <asun@zoology.washington.edu>.
1014 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
1016         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
1017         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
1018         for the benefit of running foreign binaries.
1020 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
1022         * login/utmp_file.c (pututline_file): Correctly decide whether
1023         LAST_ENTRY matches DATA.
1024         Don't depend on ut_id ever being set.
1025         (proc_utmp_eq): New function.
1026         (internal_getut_r): Renamed from internal_getutid_r.
1027         Use proc_utmp_eq.
1029         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
1031 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
1033         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
1035 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
1037         * manual/Makefile: Add rules to run and distribute xtract-typefun.
1038         * manual/xtract-typefun.awk: New file.  Script to extract function,
1039         variable, macro anchor to put into the `dir' file.
1040         * manual/signal.texi: Document difference between SysV and BSD
1041         signal(3) function and add documentation for sysv_signal.
1043         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
1044         exponent before comparing.
1046 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
1048         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
1049         prototypes to use types with explicit width.  `unsigned long' is
1050         different on 64 bit systems.
1051         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1052         * sysdeps/generic/htonl.c: Likewise.
1053         * sysdeps/generic/htons.c: Likewise.
1054         * sysdeps/generic/ntohl.c: Likewise.
1055         * sysdeps/generic/ntohs.c: Likewise.
1056         Suggested by a sun <asun@zoology.washington.edu>.
1058 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
1060         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
1061         defined and we want optimization.
1063 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1065         * misc/getpass.c: Don't disable canonical input.
1066         Reverted patch of Mon Jan  6 01:35:29 1997.
1068 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1070         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
1071         match the hidden __in_chrg parameter of the destructor.
1072         (_IO_FINISH): Pass zero for it.
1073         * libio/genops.c (_IO_default_finish): Add second parameter, which
1074         is ignored.
1075         * libio/memstream.c (_IO_mem_finish): Likewise.
1076         * libio/fileops.c (_IO_file_finish): Likewise.
1077         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
1079 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
1081         * time/Makefile: Avoid using patterns in dependencies.
1083 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1085         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
1086         SPARC will convert the call _dl_start into a call into the PLT.
1088         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
1089         of arg to make it point to the actual values.
1091         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
1092         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
1094         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
1095         them PIC aware.
1097         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
1098         Implemented.
1099         (elf_machine_rela): Make it compile; fix existing relocation
1100         types; add unhandled relocation types.
1101         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
1102         (RTLD_START): Initial implementation, not yet finished.
1104         * sysdeps/sparc/elf/start.S: Fix.
1106         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
1107         __setfpucw.
1109         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
1110         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
1111         sysdeps/sparc/urem.S : Regenerated.
1113         * sysdeps/sparc/setjmp.S: Make it PIC aware.
1115         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
1116         __ASSEMBLY__ before using kernel header.
1118         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
1119         rtld.c.
1121         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
1122         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
1123         to handle old signals.
1124         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
1125         for all Linux/SPARC kernels.
1126         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
1127         errno using __errno_location.
1128         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
1129         macros for assembler sources.
1130         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
1132 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1134         * elf/rtld.c (dl_main): Remove dead code that is never executed.
1135         Rename local variable l to main_map where it is used to point to
1136         the load_map for the executable.
1138 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1140         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
1141         could not be found.
1143 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1145         * Makerules: Generate implicit object suffix rules automagically.
1146         (o-iterator): Move before first use.
1148         * Makeconfig (all-object-suffixes): Add .bo suffix.
1150 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
1152         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
1153         word on stack for overflow.
1155 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1157         * malloc/malloc.c (malloc_get_state): New function.
1158         Saves global malloc state to an opaque data structure which
1159         is dynamically allocated in the heap.
1160         * malloc/malloc.c (malloc_set_state): New function.
1161         Restore previously obtained state.
1162         * malloc/malloc.h: Add declaration of malloc_get_state()
1163         and malloc_set_state().
1165 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
1167         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
1168         position.
1170 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
1172         * misc/error.c: Make error and error_at_line weak aliases of
1173         __error and __error_at_line respectively.
1174         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
1176         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
1178 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1180         * elf/ldd.bash.in: Run the program directly, not as argument
1181         to the dynamic linker, if it contains an interpreter segment.
1182         * elf/ldd.sh.in: Likewise.
1184         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
1185         object contains an interpreter segment and exit with 2 if not.
1187 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1189         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
1190         and xlocale.h.  Make-dist adds them automagically.
1192 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1194         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
1195         time-era-num-entries.
1197 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1199         * rellns-sh: No need to check for existance of first parameter.
1201 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
1203         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
1204         to avoid duplicate mail.
1206 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
1208         * Makefile (distribute): Add isomac.c.
1209         (tests): Run isomac test.
1211         * features.h (__USE_ISOC9X): New macro.
1213         * catgets/catgets.c: Don't use global variable `optind'.  Instead
1214         use result computed by argp_parse.
1215         * db/makedb: Likewise.
1216         * locale/programs/locale.c: Likewise.
1217         * locale/programs/localedef.c: Likewise.
1219         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
1221         * libio/clearerr.c: Remove clearerr_locked alias.
1222         * libio/feof.c: Remove feof_locked alias.
1223         * libio/ferror.c: Remove feof_locked alias.
1224         * libio/fileno.c: Remove fileno_locked alias.
1225         * libio/fputc.c: Remove fputc_locked alias.
1226         * libio/getc.c: Remove getc_locked alias.
1227         * libio/getchar.c: Remove getchar_locked alias.
1228         * libio/iofflush.c: Remove fflush_locked alias.
1229         * libio/putc.c: Remove putc_locked alias.
1230         * libio/putc.c: Remove putchar_locked alias.
1232         * stdio-common/printf_fp.c: When number is inifinity print INF
1233         or inf depending on case of specifier.  Same for NaN where NAN
1234         or nan is printed.  Specified in ISO C 9X.
1236         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
1237         * stdio/stdio.h: Add __restrict to prototypes where necessary.
1238         * libio/stdio.h: Likewise.
1239         * stdlib/stdlib.h: Likewise.
1240         * string/string.h: Likewise.
1241         * time/time.h: Likewise.
1242         * wcsmbs/wchar.h: Likewise.
1244         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
1245         NAN(...).
1247         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
1248         of HUGE_VALf and HUGE_VALL.
1249         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
1250         instead of HUGE_VALf.
1251         * wcsmbs/wcstof.c: Likewise.
1252         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
1253         instead of HUGE_VALl.
1254         * wcsmbs/wcstold.c: Likewise.
1256         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
1257         avoid warning.
1259         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
1260         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
1261         * wcsmbs/wcscasecmp.c: New file.
1262         * wcsmbs/wcsncase.c: New file.
1264         * stdlib/strtol.c: Define wide character quad word functions as
1265         wcstoll and wcstoull and normal versions as strtoll and strtoull.
1266         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
1267         * wcsmbs/wcstoq: Renamed to wcstoll.c.
1268         * wcsmbs/wcstouq: Renamed to wcstoull.c.
1269         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
1270         alias of wcstoll.
1271         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
1272         alias of wcstoull.
1273         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
1274         wcstoll and wcstoull respectively.
1275         * stdlib/strtoq.c: Rename to strtoll.c.
1276         * stdlib/strtouq.c: Rename to strtoull.c.
1277         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
1278         alias of strtoll.
1279         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
1280         alias of strtoull.
1281         * stdlib/Makefile (routines): Replace strtoq and strtouq by
1282         strtoll and strtoull respectively.
1283         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
1284         __strtouq_internal but instead __strtoll_internal and
1285         __strtoull_internal respectively.
1286         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
1287         (strtouq): Similar with __internal_strtoull.
1288         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
1289         (wcstouq): Similar with __internal_wcstoull.
1291 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
1293         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
1294         sign in the strtouXX functions.  The results gets simply negated.
1295         * stdio-common/tstscanf.c: Add testcase for above case.
1296         * stdlib/tst-strtol.c: Correct tests.
1298         * manual/stdio-fp.c: New file.  Generate output for example program
1299         in stdio.texi.
1301         * stdio-common/Makefile (routines): Add printf_fphex.
1302         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
1303         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
1304         specifier.
1306 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
1308         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
1309         __STRICT_ANSI__.
1311         * math/math.h: Prevent definition of struct exception when using
1312         C++.  Use __exception instead.
1314 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
1316         * sysdeps/unix/syscalls.list: Dup takes only one argument.
1317         Reported by Greg McGary.
1319 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
1321         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
1322         than file_get_translator.
1324         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
1325         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
1327 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
1329         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
1330         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1332 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
1334         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
1335         but ADDR also == 0.
1337         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
1338         now instead of a weak extern, as some old programs expect it to be
1339         defined by ld.so.
1341 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
1343         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
1345         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
1346         __hurd_threadvar_stack_offset): Restore initialized versions, so
1347         startup works correctly.
1349         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
1351 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
1353         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
1354         not __mutex_try_lock.
1355         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
1356         (tsd_getspecific): Case variable to (void *) before returning.
1358         * hurd/hurdinit.c (__libc_argv): Remove extern.
1359         (__libc_argc): New variable.
1361 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
1363         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1364         _HURD_THREADVAR_MALLOC.
1365         * malloc/thread-m.h
1366         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
1367         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
1368         __mutex_*.
1369         (mutex_t): Type removed & replaced by new macro.
1370         (tsd_key_t): Typedef to int instead of pthread_key_t.
1371         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
1372         (__pthread_initialize): New macro, work around assumption of pthreads.
1373         (tsd_keys_alloced): New static variable.
1374         <hurd/threadvar.h>: New include.
1376         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
1377         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
1378         defined before using it.
1380         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
1381         Make extern.
1382         * hurd/hurdinit.c (__libc_argv): Make extern.
1384         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
1385         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
1387         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
1388         __hurd_threadvar_stack_offset,
1389         __hurd_threadvar_stack_mask): New variables.
1390         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
1391         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
1392         New variables (moved here from hurdstartup.c).
1393         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
1394         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
1395         Variables removed (moved to hurdsig.c).
1396         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
1397         __hurd_threadvar_stack_mask): Variables removed.
1398         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
1399         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
1400         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
1401         __hurd_threadvar_stack_mask): Variables removed.
1403 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
1405         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
1406         Declare extern.
1408         * malloc/thread-m.h
1409         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
1410         (mutex_t): Type removed.
1411         (mutex_t): New macro.
1412         (mutex_trylock): New macro.
1413         (__x_mutex_lock, __x_mutex_unlock): New functions.
1414         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
1415         the cthread definitions.
1416         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
1417         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
1418         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
1419         (__pthread_initialize): New macro, work around assumption of pthreads.
1421 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
1423         * locale/weight.h (collate_rules): It's an u_int32_t array.
1424         (get_weight): Compute initial SLOT value correctly.
1426 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
1428         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
1429         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
1430         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1431         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1432         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1433         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1434         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1435         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1436         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1437         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1438         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1439         * sysdeps/unix/sysv/linux/send.S: Likewise.
1440         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1441         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1442         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1443         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1444         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1446 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
1448         * catgets/gencat.c: Change to use argp.
1449         * db/makedb: Likewise.
1450         * locale/programs/localedef.c: Likewise.
1452         * locale/programs/locale.c: Little adjustment for better usage of
1453         argp.
1455 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
1457         * Makeconfig: Add rules for libc with bounded pointers.
1458         * Makerules: Likewise.
1459         * config.make.in: Likewise.
1460         * configure.in: Likewise.
1462 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
1464         * argp.h (OPTION_NO_USAGE): New macro.
1465         * argp-help.c (usage_long_opt, usage_argful_short_opt,
1466         add_argless_short_opt): Implement OPTION_NO_USAGE.
1468 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1470         * malloc/obstack.h: Fix typo.
1472 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
1474         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
1475         where NEXTLINE points one past the end of the active buffer.
1477         * argp-help.c <stddef.h>: New include.
1478         (__argp_failure): Only exit if STATE says it's ok.
1479         (print_header, hol_entry_help): Use UPARAMS fields rather than
1480         constants.
1481         (_help): Call fill_in_uparams if necessary.
1482         (struct hol_help_state): New type.
1483         (struct pentry_state): Add hhstate field.  Remove prev_entry &
1484         sep_groups fields.
1485         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
1486         sep_groups parameters.
1487         Suppress duplicate arguments if requested, and note the fact.
1488         (print_header, comma): Use PEST->hhstate fields.
1489         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
1490         Remove LAST_ENTRY & SEP_GROUPS variables.
1491         If any suplicate arguments were suppressed, print explanatory note.
1492         (filter_doc): Replace PEST parameter with STATE.
1493         (struct uparams): New type.
1494         (uparams): New variable.
1495         (struct uparam_name): New type.
1496         (uparam_names): New variable.
1497         (fill_in_uparams): New function.
1498         (__argp_failure, __argp_error, __argp_state_help): Make STATE
1499         parameter const.
1500         * argp.h (argp_state_help, __argp_state_help, argp_usage,
1501         __argp_usage, argp_error, __argp_error, argp_failure,
1502         __argp_failure): Make STATE parameter const.
1503         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
1505         * argp.h (argp_program_bug_address): Make const.
1507 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
1509         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
1511 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
1513         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
1515 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
1517         * stdio-common/test-fseek.c: Remove temporary file, add
1518         copyright.
1520 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
1522         * sysdeps/generic/netinet/in.h: Protect contents using
1523         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
1525         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
1526         * inet/Makefile (headers): Remove net/ethernet.h.
1527         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
1528         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
1530 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1532         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
1533         searching in sorted array.
1535 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
1537         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
1538         and protect modification of global data.
1540 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
1542         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
1543         (parser_init): Use the basename for PARSER->state.name.
1544         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
1545         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
1547         * argp-parse.c (parser_init): Set PARSER->state.flags.
1548         Make check whether PARSER has the prog name in argv[0] at the
1549         proper place.
1551 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
1553         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
1554         Use default value instead of printing a warning.
1556         * nss/XXX-lookup.c: Add misssing explanation.
1558 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
1560         * inet/in6_addr.c: Add missing braces.
1562         * inet/getnameinfo.c: Include <arpa/inet.h>.
1564         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
1566 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
1568         * string/strxfrm.c (STRCOLL): Correct handling of `position'
1569         levels with no non-IGNOREd element and handling of NUL byte.
1570         * string/strcoll.c (STRXFRM): Likewise.
1571         * locale/weight.h: Likewise.
1573         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
1575 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
1577         * argp/argp-help.c: Add support for user provided filter of help
1578         messages.
1579         * argp/argp-parse.c: Likewise.
1580         * argp/argp.h: Likewise.
1581         * argp/argp-namefrob.h: Define __argp_input.
1583         * argp/argp-test.c: Add example for filter.
1585 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
1587         * argp.h: New file.
1588         * locale/programs/locale.c: Switch to use argp.
1590         * errno.h: Make it possible to get definition of error_t even
1591         after having errno.h already.
1593         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
1594         from dl-lookup.c.
1595         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
1597         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
1598         * elf/dl-version.c: Likewise.
1600         * elf/dl-lookup.c: Implement new versioning lookup scheme.
1601         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
1602         in l_versions member.
1604         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
1605         and _dl_lookup_versioned_symbol.
1607         * elf/link.h: Rename hash_name_pair to struct r_found_version.
1608         * sysdeps/alpha/dl-machine.h: Likewise.
1609         * sysdeps/i386/dl-machine.h: Likewise.
1610         * sysdeps/m68k/dl-machine.h: Likewise.
1611         * sysdeps/mips/dl-machine.h: Likewise.
1613         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
1614         length of abs_filename.
1616         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
1618         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
1619         in mon_grouping information.  This means no more grouping.
1620         * locale/programs/ld-numeric.c (numeric_add): Write value \377
1621         when seein value 0 in grouping information.
1622         * locale/programs/linereader.c (lr_close): Don't free fname since
1623         it might be used in error messages.
1625         * locale/programs/locale.c: Check whether output of `locale -a'
1626         really is locale directory.  Also print locale aliases.
1628         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
1629         be const.
1631 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
1633         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
1634         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
1636 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
1638         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
1640 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
1642         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
1643         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1645         * sysdeps/stub/msync.c (msync): Add missing third parameter.
1647 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
1649         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
1650         additional argument.
1652 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
1654         * inet/net/ethernet.h: New file.
1655         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
1656         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
1657         Contributed by a sun <asun@zoology.washington.edu>.
1659         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
1660         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
1661         Reported by a sun <asun@zoology.washington.edu>.
1663 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1665         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
1666         makefiles which may change the distinfo variables.
1668 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1671         [$(subdir)=misc]: Add sys/quota.h.
1672         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
1674 1997-02-17 13:12  aleph1@dfw.net
1676         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
1677         strncpy.
1679 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
1681         * stdio-common/bug10.c (main): Correct parameter.
1683 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
1685         * malloc/obstack.h: Add `extern "C"' protection.
1686         * posix/regex.h: Likewise.
1687         * io/ftw.h: Likewise.
1688         * misc/libgen.h: Likewise.
1689         * login/utmp.h: Likewise.
1690         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
1691         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1692         * sunrpc/rpc/pmap_rmt.h: Likewise.
1693         * sunrpc/rpc/auth_des.h: Likewise.
1694         * elf/link.h: Likewise.
1695         Reported by HJ Lu.
1697 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
1699         Linux specific network headers.
1700         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
1701         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
1702         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
1703         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
1704         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
1705         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
1706         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
1707         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
1708         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
1709         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
1710         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
1711         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1712         Add sys/quota.h.
1713         [$(subdir)=inet] (sysdep_headers): Add new network header.
1715         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
1717         * inet/netinet/ip.h: Move to sysdeps/generic.
1718         * inet/netinet/tcp.h: Likewise.
1719         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
1720         * sysdeps/generic/netinet/tcp.h: Likewise.
1722 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
1724         * misc/sys/syslog.h (prioritynames): Correct definition to use
1725         braces where necessary.
1726         (facilitynames): Likewise.
1727         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
1728         Comment and beautify declarations.
1730 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
1732         * inet/Makefile (routines): Add in6_addr, getnameinfo.
1733         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
1734         by Craig Metz.
1735         * inet/in6_addr.c: New file.  IPv6 addressing constants.
1736         * posix/Makefile (routines): Add gai_strerror.
1737         * resolv/netdb.h: Add more constants for IPv6 basic API.
1738         * sysdeps/posix/gai_strerror.c: New file.
1739         * sysdeps/stub/gai_strerror.c New file.
1740         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
1741         basic API.
1743         * sysdeps/posix/getaddrinfo.c: Update from latest version by
1744         Craig Metz and use reentrant getXXbyYY functions.
1746 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
1748         * argp/argp.h: Declare argp_program_version as const char.
1749         * argp/argp-test.c: Likewise
1751         * stdlib/testrand.c (main): Declare main prototype.
1752         * stdlib/testdiv.c (main): Likewise.
1753         * string/testcopy.c (main): Likewise.
1754         * string/test-ffs.c (main): Likewise.
1755         * time/test_time.c (main): Likewise.
1757         * locale/duplocale.c (__duplocale): Return result.
1759 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
1761         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
1762         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
1764         * nss/nss.h: Remove declaration of __nss_shlib_revision.
1765         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
1767 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1769         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
1770         _nss_nis_gethostton_r.
1771         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
1773 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
1775         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
1776         trying to resolv name as numeric IPv6 address.
1777         * nss/digits_dots.c: Likewise.
1779 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
1781         * locale/setlocale.c (setlocale): Don't try to be clever about
1782         unused locales.  When the existence of the locale files isn't
1783         tested the result of setlocale might be different.
1785 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
1787         * locale/setlocale.c (setlocale): Don't increment usage_count of
1788         new locale if it already has the value MAX_USAGE_COUNT (it might
1789         be the C locale data which is read-only).
1791 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
1793         * argp/argp-help.c: Gettextize sources.
1794         * argp/argp-parse.c: Likewise.
1796 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
1798         * features.h (__GLIBC_MINOR__): Bump to 1.
1800         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
1801         * Makefile (distribute): Add xlocale.h.
1802         * locale/Makefile (routines): Add ctype_l.
1803         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
1804         Add __isblank_l, __toascii_l and __isascii_l.
1805         * ctype/ctype.h: Add definitions and declarations for *_l functions.
1806         * locale/Makefile (headers): Add xlocale.h.
1807         (routines): Add newlocale, duplocale, and freelocale.
1808         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
1809         (struct locale_data): Add new fields mmaped and usage_count.
1810         Correct various declarations.
1811         * locale/C-collate.c: Define value for new fields mmaped and
1812         usage_count.
1813         * locale/C-ctype.c: Likewise.
1814         * locale/C-messages.c: Likewise.
1815         * locale/C-monetary.c: Likewise.
1816         * locale/C-numeric.c: Likewise.
1817         * locale/C-time.c: Likewise.
1818         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
1819         usage_count fields.
1820         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
1821         Correct prototypes for __newlocale and __freelocale.
1822         Add prototype for __duplocale.
1823         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
1824         (_nl_remove_locale): New function.
1825         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
1826         * locale/setlocale.c: Likewise.
1827         * locale/weight.h: Change for use with locale objects.
1828         * locale/xlocale.h: New file.  Define __locale_t type.
1829         * locale/newlocale.c: New file.  Create new locale object.
1830         * locale/freelocale.c: New file.  Destroy locale object.
1831         * locale/duplocale.c: New file.  Create copy of locale object.
1832         * stdlib/Makefile (routines): Add strfmon_l.
1833         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
1834         * stdlib/strfmon.c: Add support for use in extended locale model.
1835         * stdlib/strfmon_l.c: New file.
1836         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
1837         * string/strcoll.c: Change for use in extended locale model.
1838         * string/strxfrm.c: Likewise.
1839         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
1840         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
1841         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
1842         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
1843         * wcsmbs/wcscoll.c: Change for use in extended locale model.
1844         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
1845         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
1846         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
1847         and towctrans_l.
1848         * wctype/cname-lookup.h: Prepare for use in extended locale model.
1849         * wctype/iswctype_l.c: New file.  Implement character classification
1850         functions for use with locale objects.
1851         * wctype/wctype.h: Declare functions for use with locale objects.
1852         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
1853         for use with locale objects.
1854         * wctype/wcfuncs_l.c: New file.  Implement wide character
1855         classification functions for use with locale objects.
1856         * wctype/wcextra.c: New file.  Implement real functions for
1857         non-standard classification functions.
1859         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
1860         parameters to ld.so.  Use environment variables.
1861         * elf/ldd.sh.in: Likewise.
1862         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
1863         options.  Instead read environment variables.
1865         * elf/link.h (receiver_fct): Add new argument to take error code.
1866         * elf/dl-error.c (_dl_signal_error): Call receiver function with
1867         another argument.
1869         * elf/dl-object.c (_dl_new_object): Create new object with list of
1870         names in l_libname member.
1871         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
1872         find to object to the list in the link_map variable.
1873         (_dl_map_object): Use _dl_does_name_match_p to compare with all
1874         available names of the object.
1875         Optimize handling of LD_LIBRARY_PATH a bit.
1876         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
1878         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
1880         * elf/Makefile (routines): Add dl-version.
1881         * elf/link.h (hash_name_pair): New type.  Group pointer to string
1882         and its hash value.
1883         (struct link_map): Change l_libname member to be a list of names,
1884         not a single pointer to a name.
1885         Add new members l_nversions and l_versions.
1886         (_dl_does_name_match_p): New function to test for all names of an
1887         object.
1888         Add prototypes for new lookup and versioning functions.
1889         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
1890         when versioned symbol is requested.
1891         (_dl_lookup_symbol): Call do_lookup with another argument.
1892         (_dl_lookup_symbol_skip): Likewise.
1893         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
1894         versioned symbol.
1895         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
1896         _dl_lookup_symbol_skip.
1897         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
1898         _dl_lookup_symbol depending on availability of version information.
1899         * elf/dl-runtime.c (RESOLVE): Likewise.
1900         (fixup): Call elf_machine_relplt with additional argument to point
1901         to versioning information if available.
1902         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1903         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
1904         for correct versions.
1905         * elf/dl-version.c: New file.  Check library versions and extract
1906         version information for easier access.
1907         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
1908         * elf/dlvsym.c: New file.  Implementation of function similar to
1909         dlsym, but looks for versioned symbol.
1910         * elf/elf.h: Add types and macros for versioning.
1911         * elf/rtld.c (dl_main): Check availability of needed versions.
1912         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
1913         argument for version information.  Call RESOLVE with additional
1914         argument.
1915         * sysdeps/i386/dl-machine.h: Likewise.
1916         * sysdeps/m68k/dl-machine.h: Likewise.
1917         * sysdeps/mips/dl-machine.h: Likewise.
1919         * elf/dlerror.c: Change comment to align with guidelines.
1920         * elf/dlopen.c: Likewise.
1921         * elf/dlsym.c: Likewise.
1923         * locale/programs/localedef.c: Implement --quiet option.
1924         * locale/programs/charset.h: Declare be_quiet variable.
1925         * locale/programs/locfile.h: Likewise.
1926         * locale/programs/charmap.c: Don't print warnings if quiet option
1927         was given.
1928         * locale/programs/ld-collate.c: Likewise.
1929         * locale/programs/ld-ctype.c: Likewise.
1930         * locale/programs/ld-messages.c: Likewise.
1931         * locale/programs/ld-monetary.c: Likewise.
1932         * locale/programs/ld-numeric.c: Likewise.
1933         * locale/programs/ld-time.c: Likewise.
1934         * locale/programs/locfile.c: Likewise.
1936         * Makefile (subdirs): Add argp.
1938         * catgets/catgets.c (catopen): Little code improvement.
1940         * posix/execl.c: Remove restriction to 1024 arguments.
1941         * posix/execle.c: Likewise.
1942         * posix/execlp.c: Likewise.
1944         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
1945         and make regular names weak aliases.
1946         * posix/getopt1.c: Likewise.
1947         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
1948         __ protected forms.
1950         * posix/unistd.h: Add prototype for __sleep.
1951         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
1952         * sysdeps/posix/sleep.c: Likewise.
1953         * sysdeps/stub/sleep.c: Likewise.
1954         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1956         * ctype/ctype-info.c: Update copyright.
1957         * ctype/ctype.c: Likewise.
1958         * ctype/test_ctype.c: Likewise.
1959         * dirent/alphasort.c: Likewise.
1960         * dirent/list.c: Likewise.
1961         * gmon/bb_exit_func.c: Likewise.
1962         * grp/fgetgrent.c: Likewise.
1963         * grp/getgrent.c: Likewise.
1964         * grp/getgrent_r.c: Likewise.
1965         * grp/getgrgid.c: Likewise.
1966         * grp/getgrgid_r.c: Likewise.
1967         * grp/getgrnam.c: Likewise.
1968         * grp/getgrnam_r.c: Likewise.
1969         * hurd/alloc-fd.c: Likewise.
1970         * hurd/catch-exc.c: Likewise.
1971         * hurd/ctty-input.c: Likewise.
1972         * hurd/ctty-output.c: Likewise.
1973         * hurd/dtable.c: Likewise.
1974         * hurd/fchroot.c: Likewise.
1975         * hurd/fd-close.c: Likewise.
1976         * hurd/fd-read.c: Likewise.
1977         * hurd/fd-write.c: Likewise.
1978         * hurd/fopenport.c: Likewise.
1979         * hurd/get-host.c: Likewise.
1980         * hurd/getdport.c: Likewise.
1981         * hurd/getuids.c: Likewise.
1982         * hurd/getumask.c: Likewise.
1983         * hurd/hurd-raise.c: Likewise.
1984         * hurd/hurd.h: Likewise.
1985         * hurd/hurdauth.c: Likewise.
1986         * hurd/hurdexec.c: Likewise.
1987         * hurd/hurdhost.h: Likewise.
1988         * hurd/hurdid.c: Likewise.
1989         * hurd/hurdinit.c: Likewise.
1990         * hurd/hurdioctl.c: Likewise.
1991         * hurd/hurdkill.c: Likewise.
1992         * hurd/hurdlookup.c: Likewise.
1993         * hurd/hurdmsg.c: Likewise.
1994         * hurd/hurdpid.c: Likewise.
1995         * hurd/hurdports.c: Likewise.
1996         * hurd/hurdprio.c: Likewise.
1997         * hurd/hurdrlimit.c: Likewise.
1998         * hurd/hurdsock.c: Likewise.
1999         * hurd/hurdstartup.c: Likewise.
2000         * hurd/hurdstartup.h: Likewise.
2001         * hurd/intern-fd.c: Likewise.
2002         * hurd/intr-msg.c: Likewise.
2003         * hurd/intr-rpc.defs: Likewise.
2004         * hurd/intr-rpc.h: Likewise.
2005         * hurd/msgportdemux.c: Likewise.
2006         * hurd/new-fd.c: Likewise.
2007         * hurd/openport.c: Likewise.
2008         * hurd/pid2task.c: Likewise.
2009         * hurd/port-cleanup.c: Likewise.
2010         * hurd/port2fd.c: Likewise.
2011         * hurd/ports-get.c: Likewise.
2012         * hurd/ports-set.c: Likewise.
2013         * hurd/privports.c: Likewise.
2014         * hurd/report-wait.c: Likewise.
2015         * hurd/set-host.c: Likewise.
2016         * hurd/setauth.c: Likewise.
2017         * hurd/setuids.c: Likewise.
2018         * hurd/siginfo.c: Likewise.
2019         * hurd/sigunwind.c: Likewise.
2020         * hurd/task2pid.c: Likewise.
2021         * hurd/thread-cancel.c: Likewise.
2022         * hurd/thread-self.c: Likewise.
2023         * hurd/vpprintf.c: Likewise.
2024         * hurd/hurd/fd.h: Likewise.
2025         * hurd/hurd/id.h: Likewise.
2026         * hurd/hurd/ioctl.h: Likewise.
2027         * hurd/hurd/lookup.h: Likewise.
2028         * hurd/hurd/port.h: Likewise.
2029         * hurd/hurd/resource.h: Likewise.
2030         * hurd/hurd/threadvar.h: Likewise.
2031         * hurd/hurd/userlink.h: Likewise.
2032         * inet/ether_aton.c: Likewise.
2033         * inet/ether_aton_r.c: Likewise.
2034         * inet/ether_ntoa.c: Likewise.
2035         * inet/ether_ntoa_r.c: Likewise.
2036         * inet/gethstbyad.c: Likewise.
2037         * inet/gethstbyad_r.c: Likewise.
2038         * inet/gethstent.c: Likewise.
2039         * inet/getnetbyad.c: Likewise.
2040         * inet/getnetbyad_r.c: Likewise.
2041         * inet/getnetbynm.c: Likewise.
2042         * inet/getnetbynm_r.c: Likewise.
2043         * inet/getnetent.c: Likewise.
2044         * inet/getnetent_r.c: Likewise.
2045         * inet/getproto.c: Likewise.
2046         * inet/getproto_r.c: Likewise.
2047         * inet/getprtent.c: Likewise.
2048         * inet/getprtent_r.c: Likewise.
2049         * inet/getprtname.c: Likewise.
2050         * inet/getrpcbyname.c: Likewise.
2051         * inet/getrpcbyname_r.c: Likewise.
2052         * inet/getrpcbynumber.c: Likewise.
2053         * inet/getrpcbynumber_r.c: Likewise.
2054         * inet/getrpcent.c: Likewise.
2055         * inet/getrpcent_r.c: Likewise.
2056         * inet/getservent.c: Likewise.
2057         * inet/getservent_r.c: Likewise.
2058         * inet/getsrvbynm.c: Likewise.
2059         * inet/getsrvbynm_r.c: Likewise.
2060         * inet/getsrvbypt.c: Likewise.
2061         * inet/getsrvbypt_r.c: Likewise.
2062         * inet/herrno.c: Likewise.
2063         * inet/netgroup.h: Likewise.
2064         * ient/netinet/ether.h: Likewise.
2065         * intl/bindtextdom.c: Likewise.
2066         * intl/dcgettext.c: Likewise.
2067         * intl/dgettext.c: Likewise.
2068         * intl/gettext.c: Likewise.
2069         * intl/gettext.h: Likewise.
2070         * intl/gettextP.h: Likewise.
2071         * intl/hash-string.h: Likewise.
2072         * intl/loadmsgcat.c: Likewise.
2073         * intl/localealias.c: Likewise.
2074         * intl/textdomain.c: Likewise.
2075         * io/creat.c: Likewise.
2076         * io/getdirname.c: Likewise.
2077         * io/lockf.c: Likewise.
2078         * io/pwd.c: Likewise.
2079         * io/test-utime.c: Likewise.
2080         * locale/categories.def: Likewise.
2081         * locale/codeset_name.c: Likewise.
2082         * locale/lc-collate.c: Likewise.
2083         * locale/lc-ctype.c: Likewise.
2084         * locale/lc-messages.c: Likewise.
2085         * locale/lc-monetary.c: Likewise.
2086         * locale/lc-numeric.c: Likewise.
2087         * locale/lc-time.c: Likewise.
2088         * locale/loadlocale.c: Likewise.
2089         * locale/localeconv.c: Likewise.
2090         * locale/nl_langinfo.c: Likewise.
2091         * locale/setlocale.c: Likewise.
2092         * locale/strlen-hash.h: Likewise.
2093         * locale/programs/charmap-kw.gperf: Likewise.
2094         * locale/programs/charmap-kw.h: Likewise.
2095         * locale/programs/charset.c: Likewise.
2096         * locale/programs/ld-ctype.c: Likewise.
2097         * locale/programs/ld-messages.c: Likewise.
2098         * locale/programs/ld-monetary.c: Likewise.
2099         * locale/programs/linereader.h: Likewise.
2100         * locale/programs/locale-spec.c: Likewise.
2101         * locale/programs/locales.h: Likewise.
2102         * locale/programs/locfile-kw.gperf: Likewise.
2103         * locale/programs/locfile-kw.h: Likewise.
2104         * locale/programs/locfile-token.h: Likewise.
2105         * locale/programs/simple-hash.h: Likewise.
2106         * locale/programs/stringtrans.c: Likewise.
2107         * locale/programs/stringtrans.h: Likewise.
2108         * login/logout.c: Likewise.
2109         * mach/bootprivport.c: Likewise.
2110         * mach/devstream.c: Likewise.
2111         * mach/hello.c: Likewise.
2112         * mach/mach.h: Likewise.
2113         * mach/mach_init.c: Likewise.
2114         * mach/mach_init.h: Likewise.
2115         * mach/mig-alloc.c: Likewise.
2116         * mach/mig-dealloc.c: Likewise.
2117         * mach/mutex-init.c: Likewise.
2118         * mach/mutex-solid.c: Likewise.
2119         * mach/setup-thread.c: Likewise.
2120         * mach/spin-lock.h: Likewise.
2121         * mach/spin-solid.c: Likewise.
2122         * mach/mach/mig_support.h: Likewise.
2123         * md5-crypt/md5-crypt.c: Likewise.
2124         * misc/nlist.h: Likewise.
2125         * nss/nss_files/files-ether.c: Likewise.
2126         * posix/confstr.c: Likewise.
2127         * posix/execl.c: Likewise.
2128         * posix/execle.c: Likewise.
2129         * posix/execlp.c: Likewise.
2130         * posix/execv.c: Likewise.
2131         * posix/execvp.c: Likewise.
2132         * posix/fnmatch.c: Likewise.
2133         * posix/getopt.c: Likewise.
2134         * posix/getopt.h: Likewise.
2135         * posix/getopt1.c: Likewise.
2136         * posix/id.c: Likewise.
2137         * posix/regex.c: Likewise.
2138         * posix/setpgrp.c: Likewise.
2139         * posix/unistd.h: Likewise.
2140         * posix/wordexp.c: Likewise.
2141         * pwd/fgetpwent.c: Likewise.
2142         * pwd/getpwent.c: Likewise.
2143         * pwd/getpwent_r.c: Likewise.
2144         * pwd/getpwnam.c: Likewise.
2145         * pwd/getpwnam_r.c: Likewise.
2146         * pwd/getpwuid.c: Likewise.
2147         * pwd/getpwuid_r.c: Likewise.
2148         * pwd/putpwent.c: Likewise.
2149         * resolv/gethnamaddr.c: Likewise.
2150         * resolv/res_hconf.c: Likewise.
2151         * resolv/res_hconf.h: Likewise.
2152         * setjmp/longjmp.c: Likewise.
2153         * setjmp/sigjmp.c: Likewise.
2154         * setjmp/tst-setjmp.c: Likewise.
2155         * stdio/clearerr.c: Likewise.
2156         * stdio/ferror.c: Likewise.
2157         * stdio/fgetc.c: Likewise.
2158         * stdio/fgetpos.c: Likewise.
2159         * stdio/fgets.c: Likewise.
2160         * stdio/fileno.c: Likewise.
2161         * stdio/fmemopen.c: Likewise.
2162         * stdio/fopen.c: Likewise.
2163         * stdio/fopncook.c: Likewise.
2164         * stdio/fputc.c: Likewise.
2165         * stdio/fputs.c: Likewise.
2166         * stdio/fread.c: Likewise.
2167         * stdio/freopen.c: Likewise.
2168         * stdio/fseek.c: Likewise.
2169         * stdio/fsetpos.c: Likewise.
2170         * stdio/ftell.c: Likewise.
2171         * stdio/fwrite.c: Likewise.
2172         * stdio/getchar.c: Likewise.
2173         * stdio/getdelim.c: Likewise.
2174         * stdio/gets.c: Likewise.
2175         * stdio/glue.c: Likewise.
2176         * stdio/internals.c: Likewise.
2177         * stdio/linewrap.c: Likewise.
2178         * stdio/linewrap.h: Likewise.
2179         * stdio/memstream.c: Likewise.
2180         * stdio/newstream.c: Likewise.
2181         * stdio/putchar.c: Likewise.
2182         * stdio/puts.c: Likewise.
2183         * stdio/rewind.c: Likewise.
2184         * stdio/setbuf.c: Likewise.
2185         * stdio/setbuffer.c: Likewise.
2186         * stdio/setlinebuf.c: Likewise.
2187         * stdio/setvbuf.c: Likewise.
2188         * stdio/ungetc.c: Likewise.
2189         * stdio/vasprintf.c: Likewise.
2190         * stdio/vscanf.c: Likewise.
2191         * stdio/vsnprintf.c: Likewise.
2192         * stdio/vsprintf.c: Likewise.
2193         * stdio/vsscanf.c: Likewise.
2194         * stdio-common/asprintf.c: Likewise.
2195         * stdio-common/dprintf.c: Likewise.
2196         * stdio-common/errnobug.c: Likewise.
2197         * stdio-common/fprintf.c: Likewise.
2198         * stdio-common/getline.c: Likewise.
2199         * stdio-common/getw.c: Likewise.
2200         * stdio-common/perror.c: Likewise.
2201         * stdio-common/psignal.c: Likewise.
2202         * stdio-common/putw.c: Likewise.
2203         * stdio-common/reg-printf.c: Likewise.
2204         * stdio-common/scanf.c: Likewise.
2205         * stdio-common/snprintf.c: Likewise.
2206         * stdio-common/sprintf.c: Likewise.
2207         * stdio-common/tempnam.c: Likewise.
2208         * stdio-common/test_rdwr.c: Likewise.
2209         * stdio-common/tst-fileno.c: Likewise.
2210         * stdio-common/tst-printf.c: Likewise.
2211         * stdio-common/tstgetln.c: Likewise.
2212         * stdio-common/vprintf.c: Likewise.
2213         * stdlib/drand48.c: Likewise.
2214         * stdlib/drand48_r.c: Likewise.
2215         * stdlib/erand48.c: Likewise.
2216         * stdlib/erand48_r.c: Likewise.
2217         * stdlib/exit.h: Likewise.
2218         * stdlib/strtoq.c: Likewise.
2219         * stdlib/strtoul.c: Likewise.
2220         * stdlib/strtouq.c: Likewise.
2221         * stdlib/test-canon.c: Likewise.
2222         * stdlib/testdiv.c: Likewise.
2223         * stdlib/testrand.c: Likewise.
2224         * string/argz-append.c: Likewise.
2225         * string/argz-count.c: Likewise.
2226         * string/argz-create.c: Likewise.
2227         * string/argz-ctsep.c: Likewise.
2228         * string/argz-delete.c: Likewise.
2229         * string/argz-extract.c: Likewise.
2230         * string/argz-insert.c: Likewise.
2231         * string/argz-next.c: Likewise.
2232         * string/argz-stringify.c: Likewise.
2233         * string/basename.c: Likewise.
2234         * string/envz.c: Likewise.
2235         * string/memfrob.c: Likewise.
2236         * string/strcoll.c: Likewise.
2237         * string/strdup.c: Likewise.
2238         * string/string.h: Likewise.
2239         * string/strndup.c: Likewise.
2240         * string/strnlen.c: Likewise.
2241         * string/strsignal.c: Likewise.
2242         * string/strxfrm.c: Likewise.
2243         * string/test-ffs.c: Likewise.
2244         * string/testcopy.c: Likewise.
2245         * sysdeps/generic/enbl-secure.c: Likewise.
2246         * sysdeps/generic/memcopy.h: Likewise.
2247         * sysdeps/generic/stpncpy.c: Likewise.
2248         * sysdeps/generic/strcasecmp.c: Likewise.
2249         * sysdeps/generic/strcat.c: Likewise.
2250         * sysdeps/generic/strchr.c: Likewise.
2251         * sysdeps/generic/strcpy.c: Likewise.
2252         * sysdeps/generic/strcspn.c: Likewise.
2253         * sysdeps/generic/strlen.c: Likewise.
2254         * sysdeps/generic/strncase.c: Likewise.
2255         * sysdeps/generic/strncat.c: Likewise.
2256         * sysdeps/generic/strncpy.c: Likewise.
2257         * sysdeps/generic/strpbrk.c: Likewise.
2258         * sysdeps/generic/strsep.c: Likewise.
2259         * sysdeps/generic/strspn.c: Likewise.
2260         * sysdeps/generic/strstr.c: Likewise.
2261         * sysdeps/generic/strtok.c: Likewise.
2262         * sysdeps/generic/strtok_r.c: Likewise.
2263         * sysdeps/mach/sleep.c: Likewise.
2264         * sysdeps/posix/sleep.c: Likewise.
2265         * sysdeps/stub/sleep.c: Likewise.
2266         * time/date.c: Likewise.
2267         * time/test_time.c: Likewise.
2268         * wcsmbs/wmemcpy.c: Likewise.
2269         * wctye/test_wctype.c: Likewise.
2270         * wctye/towctrans.c: Likewise.
2271         * wctye/wcfuncs.c: Likewise.
2272         * wctye/wctrans.c: Likewise.
2274 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
2276         * argp/Makefile: New file.
2277         * argp/argp.h: Likewise.
2278         * argp/argp-ba.c: Likewise.
2279         * argp/argp-fmtstream.c: Likewise.
2280         * argp/argp-fmtstream.h: Likewise.
2281         * argp/argp-fs-xinl.c: Likewise.
2282         * argp/argp-help.c: Likewise.
2283         * argp/argp-namefrob.h: Likewise.
2284         * argp/argp-parse.c: Likewise.
2285         * argp/argp-pv.c: Likewise.
2286         * argp/argp-pvh.c: Likewise.
2287         * argp/argp-test.c: Likewise.
2288         * argp/argp-xinl.c: Likewise.
2290 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2292         * stdlib/qsort.c: Add prototype for _quicksort.
2294         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
2296         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
2297         from dl-machine.h.
2299 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
2301         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
2302         Allow user to overwrite it.
2304 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
2306         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
2307         versions.  Reported by Andreas Jaeger.
2309 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2311         * time/tzfile.c (__tzfile_read): Change comment to follow
2312         change of 1997-02-12.
2314 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
2316         * time/time.h (__nanosleep): Define only when struct timespec is
2317         also available.
2318         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
2320 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
2322         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
2323         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
2325 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
2327         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
2328         of 1997-02-09 in resolv/gethnamaddr.c.
2330 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
2332         * libio/_G_config.h (_G_wint_t): New.
2334 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2336         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
2337         to sizeof (buf.buf) while calling res_search ().
2339 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
2341         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
2342         val to keydat, stat to status.
2344 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
2346         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
2348 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
2350         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
2351         by Keith Bostic.
2353 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
2355         * stdlib/atoll.c: Undefine atoll, not atol.
2357 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2359         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
2360         unused arguments of shell script.
2362         * Makeconfig (all-object-suffixes): New variable.
2363         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
2364         of $(object-suffixes).
2365         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
2367 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
2369         * string/argz-ctsep.c: Initialize *LEN when successful.
2371 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
2373         * stdio-common/_itoa.h: Update copyright.
2375 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
2377         * version.h (VERSION): Bump to 2.0.2.
2379         * posix/Makefile (routines): Add getopt_init.
2380         * posix/getopt.c: Don't get environment variable with nonoption
2381         flags here.  Depend on __getopt_nonoption_flags variable filled
2382         somewhere else.  This is necessary since the variable must be
2383         removed even when getopt isn't used in case exec(2) gets called.
2384         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
2385         and remove environment variable.
2386         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
2387         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2388         * sysdeps/stub/init-first.c: Likewise.
2389         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2391         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
2392         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
2394         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
2395         encryption is wanted.
2397         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
2398         * stdio/vsnprintf.c: Likewise.
2399         Reported by Philip Blundell <pjb27@cam.ac.uk>.
2401         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
2402         * stdio/vsnprintf.c: Likewise.
2403         Reported by Philip Blundell <pjb27@cam.ac.uk>.
2405 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
2407         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
2408         Change PTR to void *.
2409         * sysdeps/posix/vdprintf.c: Change PTR to void *.
2410         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
2412 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
2414         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
2416 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2418         * rellns-sh: No need to check for existance of first parameter.
2420 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2422         * rellns-sh: No need to check for existance of first parameter.
2424 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2426         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
2427         by David Holland <dholland@eecs.harvard.edu>.
2429 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2431         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
2432         select, in case it is modified by the latter.
2433         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2434         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2435         * sunrpc/svc_tcp.c (readtcp): Likewise.
2437         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
2438         array.
2440         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
2441         and gid_t.
2443         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
2444         argument.
2446 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2448         * elf/Makefile (extra-objs): Don't zap previous value.
2449         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
2450         twice.
2452 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2454         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
2455         braindamage (sigh!).
2457 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
2459         * manual/memory.texi: Correct `copystring' example for obstacks.
2461 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
2463         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
2464         GNU tr don't grok it.
2466 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2468         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
2469         Don't use GNU C extensions.
2470         (CMSG_DATA): Use portable definition.
2472 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
2474         * elf/ldd.bash.in: Add test for read permission and print appropriate
2475         message.  Change warning and error messages to print "ldd: " at start.
2476         * elf/ldd.sh.in: Likewise.
2478         * stdlib/Makefile (routines): Add atoll.
2479         * stdlib/atoll.c: New file.
2480         * stdlib/stdlib.h: Add prototype and optimization for atoll.
2482         * stdlib/a64l.c: Update copyright.
2483         * stdlib/abs.c: Likewise.
2484         * stdlib/atof.c: Likewise.
2485         * stdlib/atoi.c: Likewise.
2486         * stdlib/atol.c: Likewise.
2487         * stdlib/bsearch.c: Likewise.
2488         * stdlib/exit.c: Likewise.
2489         * stdlib/fpioconst.c: Likewise.
2490         * stdlib/fpioconst.h: Likewise.
2491         * stdlib/jrand48.c: Likewise.
2492         * stdlib/jrand48_r.c: Likewise.
2493         * stdlib/labs.c: Likewise.
2494         * stdlib/lcong48.c: Likewise.
2495         * stdlib/lcong48_r.c: Likewise.
2496         * stdlib/llabs.c: Likewise.
2497         * stdlib/lrand48.c: Likewise.
2498         * stdlib/lrand48_r.c: Likewise.
2499         * stdlib/mblen.c: Likewise.
2500         * stdlib/mbstowcs.c: Likewise.
2501         * stdlib/mbtowc.c: Likewise.
2502         * stdlib/mp_clz_tab.c: Likewise.
2503         * stdlib/mrand48.c: Likewise.
2504         * stdlib/mrand48_r.c: Likewise.
2505         * stdlib/msort.c: Likewise.
2506         * stdlib/nrand48.c: Likewise.
2507         * stdlib/nrand48_r.c: Likewise.
2508         * stdlib/qsort.c: Likewise.
2509         * stdlib/rpmatch.c: Likewise.
2510         * stdlib/seed48.c: Likewise.
2511         * stdlib/seed48_r.c: Likewise.
2512         * stdlib/srand48.c: Likewise.
2513         * stdlib/srand48_r.c: Likewise.
2514         * stdlib/strtod.c: Likewise.
2515         * stdlib/wcstombs.c: Likewise.
2516         * stdlib/wctomb.c: Likewise.
2518 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
2520         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
2521         as const.
2523 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
2525         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
2526         including <stddef.h>.
2528 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
2530         * time/Makefile (tzbases, tzlinks): New.
2531         (tzfiles): Changed to $(tzbases) $(tzlinks).
2532         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
2534 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
2536         * Makefile (install): Ignore error from ldconfig.
2538         * time/zic.c (mkdirs): Double check the error return of mkdir ().
2540 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
2542         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
2543         like PPC where va_list is no integral type.
2545 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
2547         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
2548         if nonoption_flags_len == -1.
2550 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
2552         * Version 2.0.1 net release.
2554 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
2556         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
2558 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
2560         * stdlib/getsubopt.c: Don't return `=' for suboption which has
2561         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
2563 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2565         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
2566         values as in yp.x and yp.h.
2568 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
2570         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
2571         1997-02-03 02:17.  Sun's implementation internally corrects
2572         this bug but we don't want to hide this from the user.
2573         * nis/rpcsvc/yp.h: Likewise.
2575 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2577         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
2578         inclusion.
2580 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2582         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
2583         fixes.
2585 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2587         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
2588         (all-sources, all-headers): Use them instead of $(sources) and
2589         $(headers) when searching in sysdep directories.
2591 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2593         * Makerules (REAL_MAKE_VERSION): Use internal make function
2594         instead of shelling out.
2596 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2598         * time/Makefile (install-test-data): Remove mkdir command, zic can
2599         handle that gracefully.
2601 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2603         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
2604         somehow.
2606 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2608         * sunrpc/Makefile: Check $(cross-compiling) only after including
2609         ../Makeconfig.
2610         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
2611         being considered as a rule.
2612         (generated): Add stamp files before the inclusion of Makerules to
2613         magically mark them as not being intermediate via the `generated'
2614         target.
2616 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
2618         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
2619         entries.  This is still no complete implementation since AUXILIARY
2620         entries in other shared objects are not yet handled.
2622         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
2623         place.
2625         * po/es.po: Update.
2626         * po/fr.po: Update.
2627         * po/nl.po: Update.
2629         * time/Makefile: Better cross-compile support.  Avoid test which
2630         cannot be run.
2631         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
2632         tzfile.h file.
2633         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
2634         in SUID programs.
2635         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
2636         default values as in tzfile.c.
2638         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
2639         tags.
2640         * elf/link.h: Likewise.
2641         * elf/elf.h: Add tag definitions and data structures for versioning.
2643 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
2645         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
2646         "Sun bug".  This is the order of elements also used by 4.4BSD.
2647         * nis/rpcsvc/yp.h: Likewise.
2648         Reported by HJ Lu.
2650 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
2652         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
2653         action.
2655         * Makefile (install): Pass installation directories as arguments
2656         to ldconfig.
2658 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
2660         * malloc/malloc.c (__after_morecore_hook): New variable.
2661         (malloc_extend_top): Call __after_morecore_hook if set.
2662         (main_trim): Likewise.
2663         * malloc/malloc.h: Add declaration of __after_morecore_hook.
2664         Suggested by Marcus Daniels.
2666 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
2668         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
2669         #ifndef NO_THREADS.
2670         (mallinfo): Likewise.
2672         * malloc/malloc.c (__morecore): Make external since it is used in
2673         programs.
2675 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
2677         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
2678         unsigned.
2680 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
2682         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
2683         use t6 as a temporary; it contains bits we still need in $u_head.
2685 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
2687         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
2688         using __ prefix.  Add prototype for log1p.
2690 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
2692         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
2694 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
2696         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
2698 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
2700         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
2701         structure plus related macros.
2702         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
2703         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
2704         (sysdep_routines): Add cmsg_nxthdr.
2705         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
2706         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
2708 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
2710         * time/strftime.c: Define _strftime_copytm without protecting arguments
2711         which breaks the definition.
2713 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2715         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
2716         definition of type for element.
2718 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
2720         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
2721         constants.
2723 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
2725         * Makefile: Pass PARALLELMFLAGS to sub-makes.
2726         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
2728 1997-01-31  Paul Eggert  <eggert@twinsun.com>
2730         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
2731         Define if _LIBC is defined.
2732         <limits.h>: Include if HAVE_LIMITS_H instead of if
2733         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
2734         <stdlib.h>: Similarly, include if STDC_HEADERS.
2735         (localtime_r): Redo #ifdef to make it clear that glibc has
2736         localtime_r now.
2738 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2740         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
2741         file to avoid unnecessary recompilation.
2743 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2745         * Makefile: Set install-others, not install_others.
2746         (before-compile): Use += to preserve previous value.
2747         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
2748         fix dependency name.
2749         ($(objpfx)lib-names.h): Remove rule.
2750         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
2751         with correct name, using an intermediate stamp file.
2752         (common-generated): Add gnu/lib-names.h.
2753         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
2755 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
2757         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
2758         to prevent warnings on 64 bit systems.
2759         Reported by Paul Wouters <paul@xtdnet.nl>.
2761         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
2762         we assume it works.
2764 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
2766         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
2767         double word boundary before pushing args for main.  This way we
2768         don't get penalties for misaligned memory accesses.  Reported by
2769         Edward Seidl <seidl@janed.com>.
2771         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
2772         Patch by HJ Lu.
2774         * misc/bsd-compat.c: Update copyright.
2775         * misc/efgcvt.c: Likewise.
2776         * misc/efgcvt_r.c: Likewise.
2777         * misc/error.c: Likewise.
2778         * misc/error.h: Likewise.
2779         * misc/fstab.c: Likewise.
2780         * misc/init-misc.c: Likewise.
2781         * misc/lsearch.c: Likewise.
2782         * misc/mntent.c: Likewise.
2783         * misc/qefgcvt.c: Likewise.
2784         * misc/qefgcvt_r.c: Likewise.
2785         * nss/databases.def: Likewise.
2786         * nss/db-Makefile: Likewise.
2787         * nss/ethers-lookup.c: Likewise.
2788         * nss/hosts-lookup.c: Likewise.
2789         * nss/netgrp-lookup.c: Likewise.
2790         * nss/nsswitch.h: Likewise.
2791         * nss/proto-lookup.c: Likewise.
2792         * nss/rpc-lookup.c: Likewise.
2793         * nss/service-lookup.c: Likewise.
2794         * nss/nss_db/db-netgrp.c: Likewise.
2795         * nss/nss_files/files-grp.c: Likewise.
2796         * nss/nss_files/files-hosts.c: Likewise.
2797         * nss/nss_files/files-network.c: Likewise.
2798         * nss/nss_files/files-proto.c: Likewise.
2799         * nss/nss_files/files-pwd.c: Likewise.
2800         * nss/nss_files/files-rpc.c: Likewise.
2801         * nss/nss_files/files-service.c: Likewise.
2802         * nss/nss_files/files-spwd.c: Likewise.
2803         * shadow/fgetspent.c: Likewise.
2804         * shadow/fgetspent_r.c: Likewise.
2805         * shadow/getspent.c: Likewise.
2806         * shadow/getspent_r.c: Likewise.
2807         * shadow/getspnam.c: Likewise.
2808         * shadow/getspnam_r.c: Likewise.
2809         * shadow/putspent.c: Likewise.
2810         * shadow/sgetspent.c: Likewise.
2811         * shadow/sgetspent_r.c: Likewise.
2812         * sysdeps/i386/init-first.c: Likewise.
2813         * sysdeps/unix/i386/sysdep.S: Likewise.
2815         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
2816         prepared to be running in a multi-threaded environment.  Change
2817         to __USE_MISC unless the function is defined in POSIX.1 (in this
2818         case also test for __USE_POSIX).
2819         * dirent/dirent.h: Likewise.
2820         * grp/grp.h: Likewise.
2821         * inet/aliases.h: Likewise.
2822         * libio/libio.h: Likewise.
2823         * libio/stdio.h: Likewise.
2824         * login/utmp.h: Likewise.
2825         * math/mathcalls.h: Likewise.
2826         * misc/mntent.h: Likewise.
2827         * pwd/pwd.h: Likewise.
2828         * resolv/netdb.h: Likewise.
2829         * stdlib/stdlib.h: Likewise.
2830         * string/string.h: Likewise.
2831         * sunrpc/rpc/netdb.h: Likewise.
2832         * sysdeps/generic/crypt.h: Likewise.
2833         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
2834         * time/time.h: Likewise.
2836 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
2838         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
2839         only if not cross compiling.
2841 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
2843         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
2844         NULL.
2845         * sysdeps/posix/sigwait.c: Likewise.
2847 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2849         * Makeconfig ($(common-objpfx)config.make): Depend on
2850         $(..)config.make.in.
2852 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
2854         * sunrpc/Makefile: Don't generate headers derived from .x files when
2855         crosscompiling.
2857 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
2859         * Makefile: Generate gnu/lib-names.h in before-compile.
2860         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
2861         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
2862         to the revision found for LIBNSS_FILES_SO.
2863         (nss_initilized): Removed.  It was tested but never set.
2864         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
2866         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
2867         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
2869         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
2871 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
2873         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
2874         override the definition.
2876 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
2878         * config.make.in (malloc): Remove.
2880 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
2882         * version.h (VERSION): Bump to 2.0.1.
2884         * posix/getopt.c: Handle another problem introduced by the
2885         nonoption_flags array.  We must be able to work with reordered
2886         argv arrays.  Reported by Andreas Schwab.
2888 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
2890         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
2891         stack.
2893 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2895         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
2896         that it works with yp.h.
2898 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
2900         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
2901         __libc_malloc_initialized so that this variable is not shared with
2902         other users of GNU malloc.
2903         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
2905         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
2907         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
2908         variables to prevent warnings.
2909         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
2910         using attribute regparm.
2911         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
2912         is changed by the resolver code.
2914 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2916         * malloc/malloc.c (weak_variable): Define.
2917         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
2918         __memalign_hook): Make them weak definitions.
2920 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2922         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
2923         limits, correctly take structure padding into account, use correct
2924         offset when resetting the stream, change heuristic to assume an
2925         average name length of 14 characters.
2927 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2929         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
2930         inclusion.
2933 See ChangeLog.6 for earlier changes.