Update.
[platform/upstream/glibc.git] / ChangeLog
1 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
2
3         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
4         * io/ftw.h: Update for new implementation and XPG4.2.
5
6         * login/Makefile: Update for UTMP daemon implementation.
7
8         Update resolver code to bind-4.9.6-T1A.
9         * resolv/Banner: Update.
10         * nss/digits_dots.c: Adapt text address matching to T1A.
11         * nss/nss_files/files-hosts.c: Always use inet_pton.
12         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
13         it would lead to warnings.
14         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
15         at several places.
16         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
17         * resolv/res_comp.c (dn_expand): Check for overflow.
18         (dn_comp): Likewise.
19         * resolv/res_debug.c (precsize_aton): Better implementation.
20         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
21         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
22         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
23         length at several places.
24
25 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
26
27         * login/utmp-private.h (struct utfuncs): Add one more parameter
28         to updwtmp function.
29         Declare all three function jump tables.
30         * login/utmp.h: Declare __utmpname.
31         * login/getutent_r.c: Remove db backend and provide support for
32         utmpd backend.
33         * login/login.c: Use `updwtmp' function insteead of writing the
34         record ourself.
35         * login/logwtmp.c: Move `updwtmp' function to...
36         * login/updwtmp.c: ...here.  New file.
37         * login/utmp_db.h: Removed.
38         * login/utmp_file.c: Add updwtmp function to write to file.
39         * login/utmp_daemon.c: New file.  Daemon backend.
40         * login/utmpname.c: New file.  Implementation of utmpname function.
41         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
42         * login/utmpd/connection.c: New file.
43         * login/utmpd/database.c: New file.
44         * login/utmpd/error.c: New file.
45         * login/utmpd/request.c: New file.
46         * login/utmpd/utmpd-private.h: New file.
47         * login/utmpd/utmpd.c: New file.
48         * login/utmpd/utmpd.h: New file.
49         * login/utmpd/xtmp.c: New file.
50         * login/utmpd/xtmp.h: New file.
51
52 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
53
54         * time/strftime.c: Correct/normalize indentation in cpp directives.
55
56 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
57
58         * nis/nis_error.c: Include <string.h> to fix warning.
59         * nis/nis_print.c: Likewise.
60         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
61         is int* not size_t*.
62
63 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
64
65         * math/cmathcalls.h: Correct typo in comment.
66
67         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
68
69         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
70         IFNAMSIZ.
71
72         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
73         time_t.
74
75         * login/pty.h: Include <ioctl-types.h> for definition of struct
76         winsize.
77
78         * misc/regexp.h (compile): Correct typo.
79
80         * argp/argp.h: Put extern before __const in defintion of
81         argp_program_bug_address.
82
83 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
84
85         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
86         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
87         * sysdeps/wordsize-64/inttypes.h: Likewise.
88         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
89
90 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
91
92         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
93         ttydefaults.h file instead of non-existing version in termios/sys.
94         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
95
96         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
97         number to four digits and to representable range for 4 byte time_t
98         values.
99         Patch by H.J. Lu <hjl@lucon.org>.
100
101 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
102
103         * posix/execl.c: Include <alloca.h> to avoid warning.
104
105 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
106
107         * math/libm-test.c: Implement testing of inlined functions, make
108         output nicer, update comments.
109
110         * math/test-idouble.c: New file.  Frontend for double tests of
111         inlined functions.
112         * math/test-ildoubl.c: New file.  Frontend for long double tests of
113         inlined functions.
114         * math/test-ifloat.c: New file.  Frontend for float tests of
115         inlined functions.
116
117         * math/test-longdouble.c: Rename to...
118         * math/test-ldouble.c: ...this.
119
120         * math/Makefile: Add rules for new test programs, change rules for
121         renaming of longdouble test.
122
123 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
124
125         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
126         (svc_register): Use __dispatch_fn_t in prototype.
127
128 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
129
130         * sysdeps/generic/bzero.c (bzero): Fix typo.
131         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
132
133 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
134
135         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
136
137         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
138
139         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
140
141         * signal/tst-signal.c (handler): Correct function declaration to
142         avoid warning.
143         * stdlib/testsort.c (compare): Likewise.
144         * string/tester.c: Likewise.
145
146 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
147
148         * argp-help.c (argp_args_usage): Supply correct argp to filter_doc.
149
150 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
151
152         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
153         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
154         with libm.
155
156 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
157
158         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
159         instead of explicit comparisons.
160
161 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
162
163         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
164         place in a generic header and is no user include file.
165
166 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
167
168         * stdio/obstream.c (obstack_printf): Fix bug in
169         de-ansidecl-fication.
170         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
171
172 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
173
174         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
175         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
176         environments in which linking is not possible at configure time
177         (since te libc is just build).
178         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
179
180         * time/scheck.c (scheck): Make 2nd parameter const.
181         * time/private.h: Likewise.
182
183 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
184
185         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
186         state array only at right place.
187         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
188
189         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
190         [0.5,1.0) but really in [0.0, 1.0).
191         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
192
193 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
194
195         * shlib-versions: Provide Linux/SPARC defaults.
196
197 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
198
199         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
200         * stdlib/strtof_l.c: Likewise.
201         * stdlib/strtol_l.c: Likewise.
202         * stdlib/strtold_l.c: Likewise.
203         * stdlib/strtoll_l.c: Likewise.
204         * stdlib/strtoul_l.c: Likewise.
205         * stdlib/strtoull_l.c: Likewise.
206
207 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
208
209         * hurd/dtable.c: De-ansidecl-fy.
210         * math/test-math.c: Likewise.
211         * signal/tst-signal.c: Likewise.
212         * stdio/getc.c: Likewise.
213         * stdio/obstream.c: Likewise.
214         * stdio/putc.c: Likewise.
215         * stdio-common/bug1.c: Likewise.
216         * stdio-common/bug2.c: Likewise.
217         * stdio-common/bug6.c: Likewise.
218         * stdio-common/fscanf.c: Likewise.
219         * stdlib/testsort.c: Likewise.
220         * string/tester.c: Likewise.
221         * sysdeps/am29k/ffs.c: Likewise.
222         * sysdeps/generic/bb_init_func.c: Likewise.
223         * sysdeps/generic/bcopy.c: Likewise.
224         * sysdeps/generic/bzero.c: Likewise.
225         * sysdeps/generic/div.c: Likewise.
226         * sysdeps/generic/ffs.c: Likewise.
227         * sysdeps/generic/memccpy.c: Likewise.
228         * sysdeps/generic/memcpy.c: Likewise.
229         * sysdeps/generic/memmove.c: Likewise.
230         * sysdeps/generic/memset.c: Likewise.
231         * sysdeps/generic/vfork.c: Likewise.
232         * sysdeps/generic/vtimes.c: Likewise.
233         * sysdeps/i386/bzero.c: Likewise.
234         * sysdeps/i386/ffs.c: Likewise.
235         * sysdeps/i960/ffs.c: Likewise.
236         * sysdeps/m68k/ffs.c: Likewise.
237         * sysdeps/m88k/ffs.c: Likewise.
238         * sysdeps/mach/hurd/_exit.c: Likewise.
239         * sysdeps/mach/hurd/accept.c: Likewise.
240         * sysdeps/mach/hurd/access.c: Likewise.
241         * sysdeps/mach/hurd/adjtime.c: Likewise.
242         * sysdeps/mach/hurd/bind.c: Likewise.
243         * sysdeps/mach/hurd/brk.c: Likewise.
244         * sysdeps/mach/hurd/chdir.c: Likewise.
245         * sysdeps/mach/hurd/chflags.c: Likewise.
246         * sysdeps/mach/hurd/chmod.c: Likewise.
247         * sysdeps/mach/hurd/chown.c: Likewise.
248         * sysdeps/mach/hurd/chroot.c: Likewise.
249         * sysdeps/mach/hurd/close.c: Likewise.
250         * sysdeps/mach/hurd/connect.c: Likewise.
251         * sysdeps/mach/hurd/defs.c: Likewise.
252         * sysdeps/mach/hurd/dup2.c: Likewise.
253         * sysdeps/mach/hurd/execve.c: Likewise.
254         * sysdeps/mach/hurd/fchdir.c: Likewise.
255         * sysdeps/mach/hurd/fchflags.c: Likewise.
256         * sysdeps/mach/hurd/fchmod.c: Likewise.
257         * sysdeps/mach/hurd/fchown.c: Likewise.
258         * sysdeps/mach/hurd/fcntl.c: Likewise.
259         * sysdeps/mach/hurd/fdopen.c: Likewise.
260         * sysdeps/mach/hurd/flock.c: Likewise.
261         * sysdeps/mach/hurd/fsync.c: Likewise.
262         * sysdeps/mach/hurd/ftruncate.c: Likewise.
263         * sysdeps/mach/hurd/getdtsz.c: Likewise.
264         * sysdeps/mach/hurd/getegid.c: Likewise.
265         * sysdeps/mach/hurd/geteuid.c: Likewise.
266         * sysdeps/mach/hurd/getgid.c: Likewise.
267         * sysdeps/mach/hurd/getgroups.c: Likewise.
268         * sysdeps/mach/hurd/gethostid.c: Likewise.
269         * sysdeps/mach/hurd/gethostname.c: Likewise.
270         * sysdeps/mach/hurd/getitimer.c: Likewise.
271         * sysdeps/mach/hurd/getlogin.c: Likewise.
272         * sysdeps/mach/hurd/getpeername.c: Likewise.
273         * sysdeps/mach/hurd/getpgid.c: Likewise.
274         * sysdeps/mach/hurd/getpid.c: Likewise.
275         * sysdeps/mach/hurd/getppid.c: Likewise.
276         * sysdeps/mach/hurd/getsockname.c: Likewise.
277         * sysdeps/mach/hurd/getsockopt.c: Likewise.
278         * sysdeps/mach/hurd/getuid.c: Likewise.
279         * sysdeps/mach/hurd/ioctl.c: Likewise.
280         * sysdeps/mach/hurd/isatty.c: Likewise.
281         * sysdeps/mach/hurd/link.c: Likewise.
282         * sysdeps/mach/hurd/listen.c: Likewise.
283         * sysdeps/mach/hurd/lseek.c: Likewise.
284         * sysdeps/mach/hurd/mkdir.c: Likewise.
285         * sysdeps/mach/hurd/open.c: Likewise.
286         * sysdeps/mach/hurd/pipe.c: Likewise.
287         * sysdeps/mach/hurd/read.c: Likewise.
288         * sysdeps/mach/hurd/readlink.c: Likewise.
289         * sysdeps/mach/hurd/reboot.c: Likewise.
290         * sysdeps/mach/hurd/recv.c: Likewise.
291         * sysdeps/mach/hurd/recvfrom.c: Likewise.
292         * sysdeps/mach/hurd/rename.c: Likewise.
293         * sysdeps/mach/hurd/rewinddir.c: Likewise.
294         * sysdeps/mach/hurd/rmdir.c: Likewise.
295         * sysdeps/mach/hurd/sbrk.c: Likewise.
296         * sysdeps/mach/hurd/seekdir.c: Likewise.
297         * sysdeps/mach/hurd/select.c: Likewise.
298         * sysdeps/mach/hurd/setegid.c: Likewise.
299         * sysdeps/mach/hurd/seteuid.c: Likewise.
300         * sysdeps/mach/hurd/setgid.c: Likewise.
301         * sysdeps/mach/hurd/setgroups.c: Likewise.
302         * sysdeps/mach/hurd/sethostid.c: Likewise.
303         * sysdeps/mach/hurd/sethostname.c: Likewise.
304         * sysdeps/mach/hurd/setlogin.c: Likewise.
305         * sysdeps/mach/hurd/setpgid.c: Likewise.
306         * sysdeps/mach/hurd/setregid.c: Likewise.
307         * sysdeps/mach/hurd/setreuid.c: Likewise.
308         * sysdeps/mach/hurd/setrlimit.c: Likewise.
309         * sysdeps/mach/hurd/setsid.c: Likewise.
310         * sysdeps/mach/hurd/setsockopt.c: Likewise.
311         * sysdeps/mach/hurd/settimeofday.c: Likewise.
312         * sysdeps/mach/hurd/setuid.c: Likewise.
313         * sysdeps/mach/hurd/shutdown.c: Likewise.
314         * sysdeps/mach/hurd/sigaction.c: Likewise.
315         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
316         * sysdeps/mach/hurd/sigpending.c: Likewise.
317         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
318         * sysdeps/mach/hurd/sigstack.c: Likewise.
319         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
320         * sysdeps/mach/hurd/socket.c: Likewise.
321         * sysdeps/mach/hurd/socketpair.c: Likewise.
322         * sysdeps/mach/hurd/stdio_init.c: Likewise.
323         * sysdeps/mach/hurd/symlink.c: Likewise.
324         * sysdeps/mach/hurd/sync.c: Likewise.
325         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
326         * sysdeps/mach/hurd/telldir.c: Likewise.
327         * sysdeps/mach/hurd/truncate.c: Likewise.
328         * sysdeps/mach/hurd/umask.c: Likewise.
329         * sysdeps/mach/hurd/unlink.c: Likewise.
330         * sysdeps/mach/hurd/wait4.c: Likewise.
331         * sysdeps/mach/hurd/utimes.c: Likewise.
332         * sysdeps/mach/hurd/write.c: Likewise.
333         * sysdeps/mach/adjtime.c: Likewise.
334         * sysdeps/mach/gettimeofday.c: Likewise.
335         * sysdeps/mach/usleep.c: Likewise.
336         * sysdeps/mips/__longjmp.c: Likewise.
337         * sysdeps/posix/clock.c: Likewise.
338         * sysdeps/posix/ctermid.c: Likewise.
339         * sysdeps/posix/defs.c: Likewise.
340         * sysdeps/posix/dup.c: Likewise.
341         * sysdeps/posix/libc_fatal.c: Likewise.
342         * sysdeps/posix/stdio_init.c: Likewise.
343         * sysdeps/rs6000/ffs.c: Likewise.
344         * sysdeps/sparc/e_sqrt.c: Likewise.
345         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
346         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
347         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
348         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
349         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
350         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
351         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
352         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
353         * sysdeps/standalone/brk.c: Likewise.
354         * sysdeps/stub/_exit.c: Likewise.
355         * sysdeps/stub/brdinit.c: Likewise.
356         * sysdeps/stub/console.c: Likewise.
357         * sysdeps/stub/defs.c: Likewise.
358         * sysdeps/stub/errlist.c: Likewise.
359         * sysdeps/stub/libc_fatal.c: Likewise.
360         * sysdeps/stub/siglist.c: Likewise.
361         * sysdeps/stub/stdio_init.c: Likewise.
362         * sysdeps/stub/strtsupp.c: Likewise.
363         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
364         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
365         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
366         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
367         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
368         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
369         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
370         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
371         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
372         * sysdeps/unix/bsd/bsdstat.h: Likewise.
373         * sysdeps/unix/bsd/clock.c: Likewise.
374         * sysdeps/unix/bsd/gtty.c: Likewise.
375         * sysdeps/unix/bsd/init-posix.c: Likewise.
376         * sysdeps/unix/bsd/setgid.c: Likewise.
377         * sysdeps/unix/bsd/setrgid.c: Likewise.
378         * sysdeps/unix/bsd/setruid.c: Likewise.
379         * sysdeps/unix/bsd/setuid.c: Likewise.
380         * sysdeps/unix/bsd/stty.c: Likewise.
381         * sysdeps/unix/bsd/telldir.c: Likewise.
382         * sysdeps/unix/bsd/ualarm.c: Likewise.
383         * sysdeps/unix/common/glue-ctype.c: Likewise.
384         * sysdeps/unix/sparc/start.c: Likewise.
385         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
386         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
387         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
388         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
389         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
390         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
391         * sysdeps/unix/sysv/irix4/start.c: Likewise.
392         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
393         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
394         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
395         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
396         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
397         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
398         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
399         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
400         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
401         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
402         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
403         * sysdeps/unix/sysv/gethostname.c: Likewise.
404         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
405         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
406         * sysdeps/unix/alarm.c: Likewise.
407         * sysdeps/unix/make_errlist.c: Likewise.
408         * sysdeps/unix/rewinddir.c: Likewise.
409         * sysdeps/unix/seekdir.c: Likewise.
410         * sysdeps/unix/time.c: Likewise.
411         * sysdeps/unix/utime.c: Likewise.
412         * sysdeps/vax/__longjmp.c: Likewise.
413         * sysdeps/vax/memccpy.c: Likewise.
414         * time/strftime.c: Likewise.
415
416 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
417
418         * argp/argp-parse.c (parser_init): For the special case where no
419         parsing function is supplied for an argp, propagate its input to
420         its first child, if any.
421
422         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
423         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
424         Replace references to STATE->argp with STATE->root_argp.
425         * argp/argp-parse.c (parser_init): Likewise.
426
427 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
428
429         * manual/main.texi: Clarify situation for other not supported ports.
430         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
431         We recommend binutils 2.8.
432
433 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
434
435         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
436
437 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
438
439         * sysdeps/i386/elf/start.S: Change local label "nofini"
440         to ".Lnofini".
441
442         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
443
444 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
445
446         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
447
448 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
449
450         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
451         * elf/rtld.c (_dl_verbose): New variable, define.
452         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
453         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
454         changed size in copy relocation only if symbol in shared object
455         is larger or _dl_verbose is nonzero.
456         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
457         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
458         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
459
460         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
461         <...>.
462         * nis/nss_nis/nis-grp.c: Likewise.
463         * nis/nss_nis/nis-hosts.c: Likewise.
464         * nis/nss_nis/nis-network.c: Likewise.
465         * nis/nss_nis/nis-proto.c: Likewise.
466         * nis/nss_nis/nis-pwd.c: Likewise.
467         * nis/nss_nis/nis-rpc.c: Likewise.
468         * nis/nss_nis/nis-spwd.c: Likewise.
469         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
470         * wcsmbs/wcscoll.c: Likewise.
471         * wcsmbs/wcstod.c: Likewise.
472         * wcsmbs/wcstof.c: Likewise.
473         * wcsmbs/wcstol.c: Likewise.
474         * wcsmbs/wcstold.c: Likewise.
475         * wcsmbs/wcsxfrm.c: Likewise.
476         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
477
478         * time/strftime.c: Implement # flag which changes case of output for
479         %a, %b, %B, %p, and %Z format.
480         When printing numbers, the given field width is always respected.
481         This means that padding happens only up to the given width.
482         Proposed by Stephen Gildea <gildea@intouchsys.com>.
483
484 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
485
486         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
487         values.
488         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
489
490 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
491
492         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
493         struct stat) if it exists for this port.
494
495 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
496
497         * sysdeps/standalone/arm/errnos.h: Add EPERM.
498
499 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
500
501         * linewrap.h: New file, needed to compile argp without libio.
502
503 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
504
505         * manual/stdio.texi (Formatted Messages): Corrected some typos.
506
507 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
508
509         * sysdeps/stub/start.c: Fix typo.
510
511 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
512
513         * argp-help.c (hol_add_cluster): Initialize CL->depth.
514
515 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
516
517         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
518         strtoull_l, strtof_l, strtod_l, and strtold_l.
519         * stdlib/stdlib.h: Add prototypes for new functions.
520         * stdlib/strtod.c: Change for compiling as strtoX_l.
521         * stdlib/strtol.c: Likewise.
522         * stdlib/strtof.c: Likewise.
523         * stdlib/strtold.c: Likewise.
524         * stdlib/strtod_l.c: New file.
525         * stdlib/strtof_l.c: New file.
526         * stdlib/strtold_l.c: New file.
527         * stdlib/strtol_l.c: New file.
528         * stdlib/strtoul_l.c: New file.
529         * stdlib/strtoll_l.c: New file.
530         * stdlib/strtoull_l.c: New file.
531         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
532         * string/string.h: Add prototypes for new functions.
533         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
534         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
535         * sysdeps/generic/strcasecmp_l.c: New file.
536         * sysdeps/generic/strncase_l.c: New file.
537         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
538         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
539         wcsncase_l.
540         * wcsmbs/wchar.h: Add prototypes for new functions.
541         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
542         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
543         * wcsmbs/wcscasecmp_l.c: New file.
544         * wcsmbs/wcsncase_l.c: New file.
545         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
546         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
547         * wcsmcs/wcstod_l.c: New file.
548         * wcsmcs/wcstof_l.c: New file.
549         * wcsmcs/wcstold_l.c: New file.
550         * wcsmcs/wcstol_l.c: New file.
551         * wcsmcs/wcstoul_l.c: New file.
552         * wcsmcs/wcstoll_l.c: New file.
553         * wcsmcs/wcstoull_l.c: New file.
554
555         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
556         $(elf) is defined.  More to come later when other binary formats
557         are supported.
558         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
559         Suggested by Philip Blundell.
560
561         * stdlib/Makefile (headers): Add fmtmsg.h.
562         (routines): Add fmtmsg.
563         * stdlib/fmtmsg.c: New file.
564         * stdlib/fmtmsg.h: New file.
565         * manual/stdio.texi: Add description of fmtmsg and addseverity.
566         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
567         documentation.
568
569 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
570
571         * resolv/res_query.c (res_querydomain): Avoid potential buffer
572         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
573
574 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
575
576         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
577         _dl_sysdep_read_whole_file): Moved functions to ...
578         * elf/dl-misc.c: This new file.
579         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
580         * elf/dl-misc.c: ... here.
581         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
582         _dl_sysdep_read_whole_file): Delete functions; they now come from
583         elf/dl-misc.c (dl-support.c had contained identical versions).
584         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
585         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
586         that the regular ones in dl-misc work once we've initialized.
587         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
588
589 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
590
591         * inet/Makefile (headers): Add netinet/inbits.h.
592         * inet/netinet/in.h: New file.
593         * sysdeps/generic/netinet/inbits.h: Likewise.
594         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
595         * sysdeps/generic/netinet/ip6.h: Move to...
596         * inet/netinet/ip6.h: ... here.
597         * sysdeps/generic/netinet/icmp6.h: Move to...
598         * inet/netinet/icmp6.h: ... here.
599         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
600         * sysdeps/generic/netinet/in.h: Remove.
601
602 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
603
604         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
605         not looking at the new thread-safe .plt, don't be lazy about relocs.
606         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
607         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
608         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
609         elf_machine_runtime_setup() decide if we can actually be lazy.
610         * elf/rtld.c (_dl_start): So don't call it.
611         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
612         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
613         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
614         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
615         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
616         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
617         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
618         skeleton definition.
619
620 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
621
622         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
623         stack by fxtract.
624
625 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
626
627         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
628         add cast to (xdrproc_t) where necessary to prevent warnings.
629
630 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
631
632         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
633
634 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
635
636         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
637         to size_t to prevent warning.
638         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
639         instead of numeric values.
640         Various cleanups.
641         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
642         for xdrmem_putbytes.
643         * sunrpc/xdr_rec.c: Likewise.
644         * sunrpc/xdr_stdio.c: Likewise.
645         * sunrpc/rpc/xdr.h: Likewise.
646
647         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
648         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
650
651 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
652
653         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
654         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
655         * sysdeps/generic/netinet/icmp6.h: Likewise.
656         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
657         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
658         glob.c).
659         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
660         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
661         * sysdeps/stub/accept.c (accept): Make args match prototype.
662         * sysdeps/stub/bind.c (bind): Likewise.
663         * sysdeps/stub/connect.c (connect): Likewise.
664         * sysdeps/stub/getpeername.c (getpeername): Likewise.
665         * sysdeps/stub/getsockname.c (getsockname): Likewise.
666         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
667         * sysdeps/stub/send.c (send): Likewise.
668         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
669         * sysdeps/stub/readv.c (readv): Likewise.
670         * sysdeps/stub/writev.c (writev): Likewise.
671         * sysdeps/stub/sendto.c (sendto): Likewise.
672         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
673
674 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
675
676         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
677         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
678
679 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
680
681         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
682
683         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
684         functions, include <rpc/xdr.h>.
685
686         * string/strverscmp.c: Correct typos in comment.
687
688         * sunrpc/rpc/xdr.h: Add more `const'.
689         * sunrpc/xdr_stdio.c: Likewise.
690         * sunrpc/xdr_rec.c: Likewise.
691
692 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
693
694         * elf/Makefile (dl-routines): Add dl-sysdepio.
695         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
696         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
697         _dl_sysdep_error and _dl_sysdep_warning to ...
698         * sysdeps/generic/dl-sysdepio.c: ...here.
699         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
700         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
701         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
702         of functions.
703         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
704
705         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
706         and for Linux ld.so.
707         * login/Makefile (libutil.so): Likewise.
708         * math/Makefile (libm.so): Likewise.
709         * md5-crypt/Makefile (libcrypt.so): Likewise.
710         * nis/Makefile (libnss_%.so): Likewise.
711         * resolv/Makefile (libnss_dns.so): Likewise.
712
713 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
714
715         * argp-help.c (_help): Supply STATE to argp_args_usage.
716         (argp_args_usage): Add filtering of the args doc string.
717         (comma): Print cluster headers for the first entry too.
718         * argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
719
720 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
721
722         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
723         interface was changed with addition of _obstack_memory_used.
724         Suggested by Ian Taylor <ian@cygnus.com>.
725
726         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
727         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
728         Reported by Ian Taylor <ian@cygnus.com>.
729
730         * dirent/Makefile (routines): Add versionsort.
731         * dirent/dirent.h: Add prototype for versionsort.
732         * dirent/versionsort.c: New file.
733         * manual/filesys.texi: Add documentation for versionsort.
734         * manual/string.texi: Add documentation for strverscmp.
735         * string/Makefile (routines): Add strverscmp.
736         (tests): Add tst-svc.
737         * string/string.h: Add prototype for strverscmp.
738         * string/strverscmp.c: New file.
739         * string/tst-svc.c: New file.  Test for strverscmp.
740         * string/tst-svc.input: New file.  Input data for tst-svc.
741         * string/tst-svc.expect: New file.  Expected out from tst-svc.
742         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
743
744         * math/Makefile (calls): Add s_signbit.
745
746         * po/sv.po: Update.
747
748         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
749         * sunrpc/pmap_rmt.c: Likewise.
750
751         * string/basename.c: Don't use ISO C definition style.
752         Include <config.h> if HAVE_CONFIG_H is defined.
753
754         * sunrpc/proto.h: Add `const' wherever possible.
755         * sunrpc/rpc_cout.c: Likewise.
756         * sunrpc/rpc_svcout.c: Likewise.
757         * sunrpc/xdr_mem.c: Likewise.
758         * sunrpc/xdr_rec.c: Likewise.
759         * sunrpc/xdr_stdio.c: Likewise.
760         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
761         * sunrpc/xdr.c: Little code cleanups.
762         * sunrpc/xdr_float.c: Likewise.
763         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
764
765         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
766
767         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
768
769         * time/europe: Update from tzdata1997f.
770         * time/zic.c: Update from tzcode1997e.
771
772 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
773
774         * sysdeps/sparc/setjmp.S: Flush windows.
775         Bug found by Richard Henderson.
776
777 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
778
779         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
780
781 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
782
783         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
784         atol instead of atoi.
785
786 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
787
788         * inet/Makefile (routines): Add if_index.
789         * sysdeps/unix/sysv/linux/if_index.c: New file.
790         * sysdeps/stub/if_index.c: New file.
791         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
792         if_index.c (required by IPv6 basic API).
793         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
794
795 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
796
797         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
798         for new advanced API draft.
799
800 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
801
802         * stdio-common/printf_fp.c: Only use the field width for deciding
803         on padding when printing special values.
804         * stdio-common/printf_fphex.c: Likewise.
805
806 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
807
808         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
809         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
810
811 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
812
813         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
814         msg_add_auth was overflowing it.
815
816 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
817
818         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
819         when we can't find the symbol.
820
821 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
822
823         * posix/regex.c: Fix handling of 32-bit Windog environments.
824         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
825
826 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
827
828         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
829
830 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
831
832         * elf/ldd.bash.in: Remove spurious quote character from version
833         message.
834
835 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
836
837         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
838         loop if the file ends in a long line without newline.
839         * locale/programs/charmap.c (charmap_read): Likewise.
840
841 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
842
843         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
844         * sunrpc/rpc/svc_auth.h: Likewise.
845         * sunrpc/rpc/svc.h: Likewise.
846         * sunrpc/rpc/rpc_msg.h: Likewise.
847         * sunrpc/rpc/pmap_rmt.h: Likewise.
848         * sunrpc/rpc/pmap_clnt.h: Likewise.
849         * sunrpc/rpc/clnt.h: Likewise.
850         * sunrpc/rpc/auth_unix.h: Likewise.
851         * sysdeps/generic/rpc/auth.h: Likewise.
852         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
853
854 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
855
856         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
857         * sysdeps/standalone/arm/errnos.h: New file.
858         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
859         * sysdeps/unix/arm/fork.S: New file.
860         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
861         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
862         `streamptr' argument.
863         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
864         <stdarg.h> to get va_list defined, return 0 not NULL.
865         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
866         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
867         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
868         * sysdeps/stub/seekdir.c (seekdir): Likewise.
869         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
870         * sysdeps/standalone/dirstream.h: Define struct __dirstream
871         not DIR; <dirent.h> provides typedef.
872         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
873         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
874         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
875
876 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
877
878         * sysdeps/powerpc/Dist: New file.
879         * sysdeps/powerpc/Makefile: New file.
880         * sysdeps/powerpc/fclrexcpt.c: New file.
881         * sysdeps/powerpc/fegetenv.c: New file.
882         * sysdeps/powerpc/fegetround.c: New file.
883         * sysdeps/powerpc/feholdexcpt.c: New file.
884         * sysdeps/powerpc/fenvbits.h: New file.
885         * sysdeps/powerpc/fenv_const.c: New file.
886         * sysdeps/powerpc/fenv_libc.h: New file.
887         * sysdeps/powerpc/fesetenv.c: New file.
888         * sysdeps/powerpc/fesetround.c: New file.
889         * sysdeps/powerpc/feupdateenv.c: New file.
890         * sysdeps/powerpc/fgetexcptflg.c: New file.
891         * sysdeps/powerpc/fraiseexcpt.c: New file.
892         * sysdeps/powerpc/fsetexcptflg.c: New file.
893         * sysdeps/powerpc/ftestexcept.c: New file.
894         * sysdeps/powerpc/mathbits.h: New file.
895
896         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
897         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
898         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
899
900         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
901
902         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
903
904         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
905         instead .section ".text".
906
907 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
908
909         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
910         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
911         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
912         * sysdeps/powerpc/setjmp.S: Likewise.
913
914         * sysdeps/unix/sysv/linux/clone.S: Likewise.
915         * sysdeps/unix/sysv/linux/socket.S: Likewise.
916         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
917
918 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
919
920         * sysdeps/powerpc/strchr.s: New file.
921         * sysdeps/powerpc/strcmp.s: New (ugly) file.
922         * sysdeps/powerpc/memset.s: New file.
923         * string/tester.c: Include prototype and _GNU_SOURCE to make
924         standalone compilation possible. Give strcmp a better
925         test. Give memset a better test.
926
927 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
928
929         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
930         tests before?). Changed to symbolic register numbering as an
931         experiment.
932         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
933         exist.
934         * sysdeps/rs6000/ffs.c: Likewise.
935
936 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
937
938         * time/sys/time.h: Make second argument of setitimer const.
939         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
940         * sysdeps/stub/setitimer.c: Likewise.
941         * sysdeps/mach/hurd/setitimer.c: Likewise.
942
943 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
944
945         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
946
947         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
948         namespace hierachy.
949         * nis/nis_intern.h: Add new __nis_docall function prototypes.
950         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
951         rewritten functions.
952         * nis/nis_checkpoint.c: Likewise.
953         * nis/nis_lookup.c: Likewise.
954         * nis/nis_mkdir.c: Likewise.
955         * nis/nis_modify.c: Likewise.
956         * nis/nis_ping.c: Likewise.
957         * nis/nis_remove.c: Likewise.
958         * nis/nis_rmdir.c: Likewise.
959         * nis/nis_server.c: Likewise.
960         * nis/nis_table.c: Likewise.
961
962 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
963
964         * argp/argp-eexst.c: Include <sysexits.h>.
965         (argp_err_exit_status): Initialize to EX_USAGE.
966         * argp/argp.h, argp/argp-help.c: Doc fixes.
967
968 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
969
970         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
971         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
972
973 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
974
975         * sysdeps/unix/sysv/linux/poll.c: Save errno.
976
977 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
978
979         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
980
981 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
982
983         * sys/ttydefaults.h: Removed.
984
985 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
986
987         * termios/sys/ttydefaults.h: Delete file.
988         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
989         TTYDEF_OFLAG.
990         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
991         XTABS in TTYDEF_OFLAG.
992         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
993         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
994
995 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
996
997         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
998         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
999
1000 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
1001
1002         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
1003         _NL_CTYPE_MAP_NAMES field to stringlist.
1004         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
1005         * locale/localeinfo.h (enum value_type): Add stringlist.
1006         * locale/programs/locale.c (show_info): Handle stringlist.
1007
1008         * locale/programs/charmap.c (charmap_read): If charmap file is not
1009         using the given name try to find it by looking through all available
1010         charmap files and compare the code set name.
1011         * locale/programs/locale.c (write_charmaps): Also print names of
1012         charset in <code_set_name> fields in the files.
1013
1014         * elf/ldd.bash.in: Correct translatable strings.
1015
1016         * posix/TESTS: Add some more tests for character class matching.
1017         * posix/regex.c: Merge with GNU awk version.
1018         (regex_compile): Use ISO C/amend 1 functions for character class
1019         handling.
1020         * posix/regex.h: Merge with GNU awk version.
1021
1022         * posix/getopt.c: Declare as master copies.
1023         * posix/getopt1.c: Likewise.
1024         * posix/getopt.h: Likewise.
1025
1026         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
1027         value to mount functions.
1028         Patch by a sun <asun@zoology.washington.edu>.
1029
1030         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
1031         in size for copy relocation.
1032         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1033         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
1034         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
1035         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
1036
1037 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
1038
1039         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
1040         with other tests.
1041         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
1042         with other tests.
1043
1044         * sunrpc/svc_run.c (svc_exit): New, defined.
1045         (svc_run): Test for svc_stop variable.
1046         * sunrpc/rpc/svc.h (svc_exit): New, declared.
1047
1048 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1049
1050         * math/libm-test.c (test_not_exception): Don't mix the internal
1051         exception flags with the host defined FE_* values.  All (indirect)
1052         callers of this and test_exceptions changed to pass the internal
1053         flag values.
1054         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
1055         in test names.
1056         (csinh_test): Allow invalid exception for NaN +- i Inf.
1057
1058 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1059
1060         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
1061         exception on infinite value.
1062         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
1063         __M81_COND_ZERO): New definitions.
1064
1065         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
1066         Use __m81_test.
1067
1068         * sysdeps/m68k/s_ccosh.c: Rewritten.
1069         * sysdeps/m68k/s_csinh.c: Rewritten.
1070         * sysdeps/m68k/s_cexp.c: Rewritten.
1071         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
1072         * sysdeps/m68k/s_ccoshl.c: Likewise.
1073         * sysdeps/m68k/s_csinhf.c: Likewise.
1074         * sysdeps/m68k/s_csinhl.c: Likewise.
1075         * sysdeps/m68k/s_cexpf.c: Likewise.
1076         * sysdeps/m68k/s_cexpl.c: Likewise.
1077
1078         * sysdeps/m68k/s_ccos.c: New file.
1079         * sysdeps/m68k/s_ccosf.c: New file.
1080         * sysdeps/m68k/s_ccosl.c: New file.
1081         * sysdeps/m68k/s_csin.c: New file.
1082         * sysdeps/m68k/s_csinf.c: New file.
1083         * sysdeps/m68k/s_csinl.c: New file.
1084
1085 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1086
1087         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
1088         stamp files to avoid problems with long file names.
1089
1090 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1091
1092         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
1093
1094         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
1095         NaN.  Fix test for sign of infinite y.
1096
1097         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
1098
1099         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
1100
1101 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1102
1103         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
1104         dependencies.
1105
1106         * csu/abi-note.S: Replace undefined macro ALIGNARG.
1107         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
1108         character.
1109
1110 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1111
1112         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
1113         for local label.
1114
1115 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1116
1117         * nis/Makefile (libnsl-routines): Add a lot of new file names.
1118
1119         * nis/nis_names.c (nis_add): Moved from here ...
1120         * nis/nis_add.c: ... to here and fix parameter flags.
1121         * nis/nis_names.c (nis_lookup): Moved from here ...
1122         * nis/nis_lookup.c: ... to here.
1123         * nis/nis_names.c (nis_modify): Moved from here ...
1124         * nis/nis_modify.c: ... to here and fix parameter flags.
1125         * nis/nis_names.c (nis_remove): Moved from here ...
1126         * nis/nis_remove.c: ... to here and fix parameter flags.
1127         * nis/nis_names.c: Removed.
1128
1129         * nis/nis_subr.c (nis_domain_of): Moved from here ...
1130         * nis/nis_domain_of.c: .. to here.
1131         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
1132         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
1133
1134         * nis/nis_addmember.c: New.
1135         * nis/nis_checkpoint.c: New.
1136         * nis/nis_creategroup.c: New.
1137         * nis/nis_defaults.c: New.
1138         * nis/nis_destroygroup.c: New.
1139         * nis/nis_getservlist.c: New.
1140         * nis/nis_ismember.c: New.
1141         * nis/nis_ping.c: New.
1142         * nis/nis_print_group_entry.c: New.
1143         * nis/nis_removemember.c: New.
1144         * nis/nis_mkdir.c: New.
1145         * nis/nis_rmdir.c: New.
1146         * nis/nis_verifygroup.c: New.
1147
1148         * nis/rpcsvc/nislib.h: Fix internal function declarations.
1149
1150         * nis/nis_server (nis_servstate): New.
1151         * nis/nis_server (nis_stats): New.
1152
1153         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
1154
1155         * nis/nis_call.c: Remove debug output.
1156
1157         * nis/nis_intern.c (__nis_finddirectory): Remove.
1158
1159 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
1160
1161         * posix/TESTS2C.sed: Recognize only digits in first field.  This
1162         enables us to use colons in the pattern.
1163
1164 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
1165
1166         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
1167         will preserve non-call-saved registers; save and restore a0 across
1168         the system call.
1169         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
1170         data onto the new thread's stack.
1171
1172 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
1173
1174         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
1175         kernel can return negative values.  Only fail when return value is
1176         in range in range which is never returned as valid address.
1177         Patch by Bruno Haible <haible@ilog.fr>.
1178
1179 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
1180
1181         * math/libm-test.c: Implement test for exceptions.
1182         Partly due to Andreas Jaeger.
1183         (csin_test): New function.
1184         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
1185         * sysdeps/libm-i387/s_cexpf.S: Likewise.
1186         * sysdeps/libm-i387/s_cexpl.S: Likewise.
1187         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
1188         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
1189         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
1190         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
1191         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1192         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1193         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
1194         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1195         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1196         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
1197         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
1198         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
1199         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
1200         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
1201         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
1202
1203         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
1204         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1205         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1206         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
1207         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
1208         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
1209
1210         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
1211         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
1212         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
1213
1214         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
1215         case.
1216
1217         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
1218         for local label.
1219
1220         * time/strftime.c (add): Respect `0' padding flag.
1221         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1222
1223 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
1224
1225         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
1226         Use in +link macro.
1227         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
1228         (start-installed-name): Don't define here.
1229         When ELF generate file named by start-installed-name from start.o
1230         and abi-note.o.
1231         * csu/abi-note.S: New file.
1232         * sysdeps/stub/abi-tag.h: New file.
1233         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
1234         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
1235
1236 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
1237
1238         * manual/stdio.texi: Use @vtable where possible.
1239         Add TeX version of @multitable since texi2dvi cannot handle them
1240         correct in the moment.
1241
1242         * po/de.po: Update.
1243
1244 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
1245
1246         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
1247         * config.make.in: Set cross-compiling from configure result.
1248         * configure.in: Emit definition of `cross_compiling'.
1249         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1250
1251 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
1252
1253         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
1254         correct `int' sizes for struct members.
1255
1256 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
1257
1258         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
1259         * sysdeps/libm-i387/e_pow.S: Likewise.
1260         * sysdeps/libm-i387/e_powl.S: Likewise.
1261
1262 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1263
1264         * math/fenv.h: Correct typos.
1265
1266 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
1267
1268         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
1269         in t0 rather than a4 to avoid it being clobbered.
1270
1271 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1272
1273         * manual/summary.awk: Recognize @defmumblex.
1274
1275         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
1276         second description header.
1277
1278 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1279
1280         * manual/arith.texi (Floating-Point Classes): Don't indent text,
1281         makeinfo doesn't like that.
1282
1283 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1284
1285         * malloc/obstack.h (obstack_specify_allocation_with_arg,
1286         obstack_chunkfun, obstack_freefun): Fix casts.
1287
1288 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1289
1290         * manual/xtract-typefun.awk: Allow names with only one character.
1291
1292 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
1293
1294         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
1295         not <netinet/icmp.h>.
1296         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1297
1298 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
1299
1300         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
1301         to command line of compiler.
1302         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
1303
1304         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
1305         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
1306
1307         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
1308         in declaration.
1309         Patch by Michael Widenius <monty@tcx.se>.
1310
1311         * time/strptime.c (strptime_internal): Fix %I format specifier
1312         being off by one.
1313         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
1314
1315 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1316
1317         * stdlib/lcong48_r.c: Include <limits.h>.
1318         * stdlib/seed48_r.c: Likewise.
1319
1320         * stdio-common/printf_size.c (printf_size): Correct type of
1321         `units' and make robust against future changes.
1322
1323 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1324
1325         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
1326         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
1327         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
1328
1329 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1330
1331         * manual/arith.texi, manual/math.texi: Use @defmumblex for
1332         additional description headers.
1333         * manual/xtract-typefun.awk: Recognize them.
1334
1335 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1336
1337         * stdio-common/printf_size.c (printf_size): Correct size of array
1338         units.
1339
1340 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
1341
1342         * libgen.h: New file.
1343
1344 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
1345
1346         * stdlib/drand48.c: Cleanup namespace.
1347         * stdlib/drand48_r.c: Cleanup namespace.
1348         * stdlib/erand48.c: Cleanup namespace.
1349         * stdlib/erand48_r.c: Cleanup namespace.
1350         * stdlib/jrand48.c: Cleanup namespace.
1351         * stdlib/jrand48_r.c: Cleanup namespace.
1352         * stdlib/lrand48.c: Cleanup namespace.
1353         * stdlib/lrand48_r.c: Cleanup namespace.
1354         * stdlib/mrand48.c: Cleanup namespace.
1355         * stdlib/mrand48_r.c: Cleanup namespace.
1356         * stdlib/nrand48.c: Cleanup namespace.
1357         * stdlib/nrand48_r.c: Cleanup namespace.
1358         * stdlib/lcong48.c: Cleanup namespace.
1359         * stdlib/lcong48_r.c: Cleanup namespace.
1360         * stdlib/srand48.c: Cleanup namespace.
1361         * stdlib/srand48_r.c: Cleanup namespace.
1362         * stdlib/seed48.c: Cleanup namespace.
1363         * stdlib/seed48_r.c: Cleanup namespace.
1364
1365         * stdlib/stdlib.h: Provide new prototypes.
1366
1367 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
1368
1369         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
1370         fpclassify & friends, and complex number operations.
1371         Update various other math functions for ISO C 9X.
1372         * manual/math.texi: Update various entries for ISO C 9X.
1373         Add description for complex number functions.
1374         Add description of rand48 function family.
1375         * manual/string.h: Add description of a64l and l64a.
1376
1377         * math/cmathcalls.h: Fix typo.
1378
1379         * stdlib/a64l.c: Pretty printing.
1380
1381         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1382         * stdlib/srand48_r.c: Likewise.
1383         * stdlib/stdlib.h: Pretty printing.
1384
1385         * sysdeps/i386/fpu/__math.h: Fix typo.
1386
1387         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
1388         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
1389
1390 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1391
1392         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
1393
1394 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1395
1396         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
1397         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
1398         isunordered.
1399
1400 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
1401
1402         * rellns-sh: Handle files in the same directory correctly.
1403
1404 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
1405
1406         * csu/initfini.c: Place ALIGN instruction at correct positions.
1407         Patch by Richard Henderson <richard@twiddle.rth.home>.
1408
1409 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
1410
1411         * Make-dist: Don't automatically ignore .c files if the .S or .s file
1412         is ignored.
1413
1414         * csu/Makefile (distribute): Add defs.awk.
1415
1416 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
1417
1418         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
1419         * sysdeps/stub/shmdt.c: Likewise.
1420         Reported by Thomas Bushnell, n/BSG.
1421
1422 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
1423
1424         * manual/stdio.texi: Add description of printf_size and
1425         printf_size_info.  Partly based on the documentation by Larry McVoy.
1426
1427 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
1428
1429         * stdio-common/printf_size.c (printf_size): Correct values for
1430         `units'.
1431         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
1432         * stdio-common/tst-printfsz.c: New file.
1433         * stdio-common/Makefile (tests): Add tst-printfsz.c.
1434         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
1435         strings.
1436
1437 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
1438
1439         * login/utmp.h: Add prototype for updwtmp.
1440         * login/logwtmp.c: Add new function updwtmp which allows to write
1441         a complete record to the wtmp file.
1442         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
1443
1444 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1445
1446         * math/Makefile (headers): Add mathbits.h.
1447
1448 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1449
1450         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
1451         * sysdeps/m68k/fpu/s_sincos.c: New file.
1452         * sysdeps/m68k/fpu/s_sincosf.c: New file.
1453         * sysdeps/m68k/fpu/s_sincosl.c: New file.
1454
1455         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
1456         functions.
1457         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
1458
1459         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
1460         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
1461         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
1462         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
1463         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
1464         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
1465
1466 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
1467
1468         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
1469         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1470
1471 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
1472
1473         * csu/initfini.c: Rewrite by Zack Weinberg
1474         <zack@rabi.phys.columbia.edu>.
1475         * csu/Makefile: Add rules for rewrite.
1476         * csu/defs.awk: Helper script to generate derived header.
1477
1478 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
1479
1480         * misc/libgen.h: Change prototype for of basename to XPG variant.
1481         * stdlib/Makefile (routines): Add xpg_basename.
1482         * stdlib/basename.c: New file.
1483         * string/string.h: Don't declare basename function if basename
1484         macro is available.
1485
1486 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
1487
1488         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
1489
1490 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1491
1492         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
1493         * sysdeps/m68k/fpu/fenvbits.h: New file.
1494         * sysdeps/m68k/fpu/fegetenv.c: New file.
1495         * sysdeps/m68k/fpu/fegetround.c: New file.
1496         * sysdeps/m68k/fpu/fesetenv.c: New file.
1497         * sysdeps/m68k/fpu/fesetround.c: New file.
1498         * sysdeps/m68k/fpu/feupdateenv.c: New file.
1499         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
1500         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
1501         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
1502         * sysdeps/m68k/fpu/ftestexcept.c: New file.
1503         * sysdeps/m68k/fpu/mathbits.h: New file.
1504
1505         * sysdeps/m68k/fpu/s_remquo.c: New file.
1506         * sysdeps/m68k/fpu/s_remquol.c: New file.
1507         * sysdeps/m68k/fpu/s_remquof.c: New file.
1508
1509         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
1510         mantissa overflows into exponent.  Fix priority of >> vs +.
1511
1512         * math/libm-test.c (basic_tests): Use the appropriate isnan and
1513         isinf function to test the value of the nan function.
1514
1515 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
1516
1517         * sysdeps/libm-i387/s_finite.S: Fix typo.
1518
1519         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
1520         isgreaterequal, isless, islessequal, islessgreater, and
1521         isunordered.
1522
1523 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
1524
1525         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
1526
1527         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
1528         * math/mathcalls.h: Add prototype for sincos.
1529         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
1530         inlined sin and cos function.
1531         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
1532         Add optimized version of finite.
1533         Rewrite sincos function to handle too large arguments.
1534         * sysdeps/libm-i387/s_cos.S: Better code alignment.
1535         * sysdeps/libm-i387/s_cosl.S: Likewise.
1536         * sysdeps/libm-i387/s_sin.S: Likewise.
1537         * sysdeps/libm-i387/s_sinl.S: Likewise.
1538         * sysdeps/libm-i387/s_finite.S: Yet better code.
1539         * sysdeps/libm-i387/s_finitef.S: Likewise.
1540         * sysdeps/libm-i387/s_sincos.S: New file.
1541         * sysdeps/libm-i387/s_sincosf.S: New file.
1542         * sysdeps/libm-i387/s_sincosl.S: New file.
1543         * sysdeps/libm-ieee754/s_sincos.c: New file.
1544         * sysdeps/libm-ieee754/s_sincosf.c: New file.
1545         * sysdeps/libm-ieee754/s_sincosl.c: New file.
1546
1547         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
1548         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1549         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1550         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
1551         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1552         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1553         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
1554         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
1555         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
1556         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
1557         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
1558         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
1559         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
1560         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
1561         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
1562
1563         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
1564         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
1565
1566         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
1567         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
1568
1569         * nis/Makefile (services): Mention nisplus before compat.
1570         * nis/nis_call.c (__do_niscall): Change type of variable server_len
1571         to prevent warning.
1572         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
1573         cast to prevent warning.
1574         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
1575         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
1576         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
1577         type of variable `i' to prevent warning.
1578         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
1579         Likewise.
1580         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
1581         Likewise.
1582         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
1583         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
1584         Likewise.
1585
1586         * sysdeps/generic/Dist: Remove old math implementation files.
1587         * sysdeps/generic/mathimpl.h: Removed.
1588         * sysdeps/generic/trig.h: Removed.
1589         * sysdeps/generic/sincos.c: Removed.
1590         * sysdeps/generic/asincos.c: Removed.
1591         * sysdeps/generic/exp__E.c: Removed.
1592         * sysdeps/generic/log__L.c: Removed.
1593
1594 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1595
1596         * malloc/malloc.c (fREe): Small optimization.  Before returning,
1597         add fast check whether the heap containing top can go away.
1598
1599 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1600
1601         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
1602         failing to allocate a new chunk, also try the main_arena.  It may
1603         be that we are only running out of mmapped regions, and other
1604         arenas cannot be enlarged sufficiently.
1605         (new_heap, malloc_extend_top): Handle top_pad more consistently,
1606         i.e. only in new_heap().
1607
1608 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
1609
1610         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
1611         if cross-compiling.
1612
1613         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
1614
1615         * configure.in: Add ARM support.
1616         * sysdeps/arm/Implies: New file.
1617         * sysdeps/arm/__longjmp.S: New file.
1618         * sysdeps/arm/bsd-_setjmp: New file.
1619         * sysdeps/arm/bsd-setjmp: New file.
1620         * sysdeps/arm/bytesex.h: New file.
1621         * sysdeps/arm/fpu_control.h: New file.
1622         * sysdeps/arm/jmp_buf.h: New file.
1623         * sysdeps/arm/setjmp.h: New file.
1624         * sysdeps/arm/sysdep.h: New file.
1625         * sysdeps/unix/arm/config.h: New file.
1626
1627 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
1628
1629         * sysdeps/libm-ieee754/s_cproj.c: New file.
1630         * sysdeps/libm-ieee754/s_cprojf.c: New file.
1631         * sysdeps/libm-ieee754/s_cprojl.c: New file.
1632
1633 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
1634
1635         * isomac.c: Improve messages.
1636
1637         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
1638         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
1639         s_catanh, s_csqrt, and s_cpow.
1640         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
1641         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
1642         csqrt_test, cpow_test, rint_test.
1643         * math/math.h: Include new header mathbits.h which defines some
1644         more (system dependent) types and some macros.
1645         (isfinite): Use __finite instead of fpclassify.
1646         * sysdeps/generic/mathbits.h: New file.
1647         * sysdeps/i386/fpu/mathbits.h: New file.
1648         * sysdeps/i386/huge_val.h: Don't define INFINITY.
1649         * sysdeps/ieee754/huge_val.h: Likewise.
1650         * sysdeps/m68k/huge_val.h: Likewise.
1651
1652         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
1653         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
1654
1655         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
1656         standard first.
1657
1658         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
1659         * sysdeps/libm-i387/s_finitef.S: Likewise.
1660         * sysdeps/libm-i387/s_finitel.S: Likewise.
1661         Provided by Joe Keane <jgk@jgk.org>.
1662
1663         * sysdeps/libm-i387/s_nearbyint.S: New file.
1664         * sysdeps/libm-i387/s_nearbyintf.S: New file.
1665         * sysdeps/libm-i387/s_nearbyintl.S: New file.
1666         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
1667         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
1668         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
1669
1670         * sysdeps/libm-ieee754/s_cacos.c: New file.
1671         * sysdeps/libm-ieee754/s_cacosf.c: New file.
1672         * sysdeps/libm-ieee754/s_cacosl.c: New file.
1673         * sysdeps/libm-ieee754/s_cacosh.c: New file.
1674         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
1675         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
1676         * sysdeps/libm-ieee754/s_casin.c: New file.
1677         * sysdeps/libm-ieee754/s_casinf.c: New file.
1678         * sysdeps/libm-ieee754/s_casinl.c: New file.
1679         * sysdeps/libm-ieee754/s_casinh.c: New file.
1680         * sysdeps/libm-ieee754/s_casinhf.c: New file.
1681         * sysdeps/libm-ieee754/s_casinhl.c: New file.
1682         * sysdeps/libm-ieee754/s_catan.c: New file.
1683         * sysdeps/libm-ieee754/s_catanf.c: New file.
1684         * sysdeps/libm-ieee754/s_catanl.c: New file.
1685         * sysdeps/libm-ieee754/s_catanh.c: New file.
1686         * sysdeps/libm-ieee754/s_catanhf.c: New file.
1687         * sysdeps/libm-ieee754/s_catanhl.c: New file.
1688         * sysdeps/libm-ieee754/s_ccos.c: New file.
1689         * sysdeps/libm-ieee754/s_ccosf.c: New file.
1690         * sysdeps/libm-ieee754/s_ccosl.c: New file.
1691         * sysdeps/libm-ieee754/s_cpow.c: New file.
1692         * sysdeps/libm-ieee754/s_cpowf.c: New file.
1693         * sysdeps/libm-ieee754/s_cpowl.c: New file.
1694         * sysdeps/libm-ieee754/s_csin.c: New file.
1695         * sysdeps/libm-ieee754/s_csinf.c: New file.
1696         * sysdeps/libm-ieee754/s_csinl.c: New file.
1697         * sysdeps/libm-ieee754/s_csqrt.c: New file.
1698         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
1699         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
1700         * sysdeps/libm-ieee754/s_ctan.c: New file.
1701         * sysdeps/libm-ieee754/s_ctanf.c: New file.
1702         * sysdeps/libm-ieee754/s_ctanl.c: New file.
1703         * sysdeps/libm-ieee754/s_ctanh.c: New file.
1704         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
1705         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
1706
1707         * time/strftime.c (memset_space): Increment pointer.
1708         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
1709         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
1710
1711 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
1712
1713         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
1714         pipe, syscall.
1715
1716 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1717
1718         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
1719         probably still wrong.
1720         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1721         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
1722
1723         * math/libm-test.c (remquo_test): Corrected.
1724
1725 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1726
1727         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
1728         * sysdeps/m68k/fpu/s_rinttol.c: New file.
1729         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
1730
1731         * math/libm-test.c (remquo_test): Use check_long to test the
1732         quotient.
1733         (cbrt_test): Add epsilons for long double.
1734
1735 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1736
1737         * locale/localeinfo.h: Update declaration of _nl_current.
1738
1739 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
1740
1741         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
1742
1743         * math/Makefile (headers): Add fenv.h and fenvbits.h.
1744         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
1745         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
1746         fegetenv, feholdexcpt, fesetenv, feupdateenv.
1747         (libm-calls): Add s_round.
1748         * math/fenv.h: New file.
1749         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
1750         Add roundtol_check and roundtoll_check.
1751         * math/math.h: Pretty printing.
1752         * sysdeps/i386/fpu/fclrexcpt.c: New file.
1753         * sysdeps/i386/fpu/fegetenv.c: New file.
1754         * sysdeps/i386/fpu/fegetround.c: New file.
1755         * sysdeps/i386/fpu/feholdexcpt.c: New file.
1756         * sysdeps/i386/fpu/fenvbits.h: New file.
1757         * sysdeps/i386/fpu/fesetenv.c: New file.
1758         * sysdeps/i386/fpu/fesetround.c: New file.
1759         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
1760         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
1761         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
1762         * sysdeps/i386/fpu/ftestexcept.c: New file.
1763         * sysdeps/stub/fclrexcpt.c: New file.
1764         * sysdeps/stub/fegetenv.c: New file.
1765         * sysdeps/stub/fegetround.c: New file.
1766         * sysdeps/stub/feholdexcpt.c: New file.
1767         * sysdeps/stub/fenvbits.h: New file.
1768         * sysdeps/stub/fesetenv.c: New file.
1769         * sysdeps/stub/fesetround.c: New file.
1770         * sysdeps/stub/fgetexcptflg.c: New file.
1771         * sysdeps/stub/fraiseexcpt.c: New file.
1772         * sysdeps/stub/fsetexcptflg.c: New file.
1773         * sysdeps/stub/ftestexcept.c: New file.
1774
1775         * sysdeps/libm-i387/s_trunc.S: New file.
1776         * sysdeps/libm-i387/s_truncf.S: New file.
1777         * sysdeps/libm-i387/s_truncl.S: New file.
1778
1779         * sysdeps/libm-ieee754/s_round.c: New file.
1780         * sysdeps/libm-ieee754/s_roundf.c: New file.
1781         * sysdeps/libm-ieee754/s_roundl.c: New file.
1782
1783         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
1784         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1785         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1786         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
1787         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1788         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1789         * sysdeps/libm-ieee754/s_clog.c: Likewise.
1790         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
1791         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1792         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
1793         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
1794         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
1795
1796         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
1797         63 bits.
1798         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
1799
1800         * po/pl.po: Updated.
1801
1802         * string/swab.c: Correctly handle array of odd length.
1803
1804         * sysdeps/generic/memmem.c: Update copyright.
1805         * manual/string.texi: Correct prototype in memmem documentation.
1806
1807 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
1808
1809         * hurd/Makefile (sunrpc-headers): Add clnt.h.
1810         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1811
1812 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1813
1814         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
1815         the proper value from the GOT.  Pass argument block to
1816         init function.
1817
1818         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
1819         _init ().
1820
1821         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
1822         wrong the first time.
1823
1824         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
1825         register.
1826
1827         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
1828
1829         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
1830         SYSDEP_CALL_INIT.
1831
1832         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
1833         NSIG and duplicated SIGIOT.
1834
1835 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1836
1837         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
1838         probably still wrong.
1839         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1840         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
1841
1842         * math/libm-test.c (remquo_test): Corrected.
1843
1844 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1845
1846         * Makefile (parent-tests): New target to run the tests to that
1847         they are executed even if some subdir tests have failed.
1848         (tests): Depend on parent-tests instead of running the tests
1849         directly.
1850
1851 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1852
1853         Clean up name space pollution in libnss_*.so:
1854         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
1855         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
1856         memcpy and bcmp by memcmp to clean up namespace.
1857         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
1858         dbopen.
1859         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1860         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
1861         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
1862         the latter a weak alias.
1863         * db/db.h: Declare __dbopen.
1864         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
1865         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
1866         prefix and make the old names weak aliases.
1867         * db/mpool.h: Declare the new internal names.
1868
1869 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1870
1871         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
1872         * stdio-common/tstscanf.c: Add test case for this.
1873
1874 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1875
1876         * math/libm-test.c: Fix more typos.
1877
1878 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1879
1880         * math/libm-test.c (csinh_test): Fix test names.
1881         (ccosh_test): Likewise.
1882
1883         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
1884         computing it directly.
1885         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
1886         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
1887
1888         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
1889         computing it directly.
1890         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1891         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1892
1893         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
1894         of wrapper.
1895         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1896         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1897         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
1898         special values.  Avoid use of fsincos if all that is needed is the
1899         quadrant.
1900
1901         * sysdeps/m68k/fpu/s_ccosh.c: New file.
1902         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
1903         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
1904         * sysdeps/m68k/fpu/s_csinh.c: New file.
1905         * sysdeps/m68k/fpu/s_csinhl.c: New file.
1906         * sysdeps/m68k/fpu/s_csinhf.c: New file.
1907
1908 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1909
1910         * manual/Makefile (dir-add.texi): Simplify.
1911
1912 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
1913
1914         * rellns-sh: Rewrite to work also in presence of symlinks.
1915
1916         * arpg/argp-fmtstream.c: Add casts to prevent warnings.
1917         * argp/argp-fmtstream.h: Likewise.
1918         * argp/argp-help.c: Likewise.
1919
1920         * elf/dl-minimal.c: Add definition of calloc.
1921         * elf/version.c: Add casts to prevent warnings.
1922         (_dl_check_map_versions): Use calloc instead of malloc+memset.
1923
1924         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
1925         Reported by Greg McGary <gkm@eng.ascend.com>.
1926
1927         * manual/libc.texinfo: Update malloc documentation for new malloc.
1928         * manual/memory.texi: Likewise.
1929         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1930
1931         * math/libm-test.c (check_long): New function.
1932         (check_longlong): New function.
1933         (rinttol_test): New function.
1934         (rinttoll_test): New function.
1935
1936         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
1937         * nis/nss_compat/compat-pwd.c: Likewise.
1938         * nis/nss_compat/compat-spwd.c: Likewise.
1939
1940         * stdlib/erand48_r.c (erand48_r): Build double value using
1941         ieee754_double union and use random bits in different order to
1942         increase effect of seed.
1943         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
1944
1945         * sunrpc/svc_auth.c: Moved to ...
1946         * sysdeps/generic/svc_auth.c: ...here.
1947
1948         * time/time.h: Pretty print.
1949
1950 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1951
1952         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
1953         a read-only stream.
1954
1955 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
1956
1957         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
1958         in correct place.
1959         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1960
1961 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
1962
1963         * stdio-common/Makefile (tests): Add tst-ferror.
1964         * stdio-common/tst-ferror.c: New file.  Some tests for error
1965         indicator of streams.
1966         * stdio-common/tst-ferror.input: New file.
1967
1968         * isomac.c: Let tests not fail because the compiler defines itself
1969         symbols which violate the name space rules.  gcc defines symbols
1970         for the architecture which are not protected by an underscore
1971         character.
1972
1973         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
1974         (libm-calls): Add s_clog.
1975         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
1976         logarithm of complex value.
1977         * sysdeps/libm-ieee754/s_clogf.c: New file.
1978         * sysdeps/libm-ieee754/s_clogl.c: New file.
1979         * math/libm-test.c (clog_test): Compile this function.  Fix a few
1980         typos.
1981         (main): Call clog_test.
1982
1983         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
1984         value to long int.
1985         * sysdeps/libm-i387/s_rinttol.S: New file.
1986         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
1987         value to long long int.
1988         * sysdeps/libm-i387/s_rinttoll.S: New file.
1989
1990         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
1991         version was full of errors.
1992
1993         * math/math.h (rinttol): Argument is of type `long double' not
1994         `double'.
1995         (rinttoll): Likewise.
1996         (roundtol): Likewise.
1997         (roundtoll): Likewise.
1998
1999 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
2000
2001         * posix/getopt.c (_getopt_initialize): Preserve optind.
2002         (_getopt_internal): Set optind to 1 if optind == 0 before
2003         calling _getopt_initialize ().
2004
2005 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2006
2007         * nis/rpcsvc/nislib.h: Change const nis_name to new type
2008         const_nis_name.
2009         * nis/nis_intern.c: Likewise.
2010         * nis/nis_intern.h: Likewise.
2011         * nis/nis_server.c: Likewise.
2012         * nis/nis_subr.c: Likewise.
2013         * nis/nis_table.c: Likewise.
2014         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
2015         nis_add().
2016
2017         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
2018         * nis/nss_compat/compat-spwd.c: Likewise.
2019
2020 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
2021
2022         * libio/fileops.c (_IO_file_overflow): Set error when try to write
2023         on a read-only stream.
2024
2025         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2026         (ut_time): Define it only if _NO_UT_TIME is not defined.
2027
2028 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
2029
2030         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
2031         if not already defined.
2032
2033 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
2034
2035         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2036         get definition of sa_family_t for <linux/atalk.h>.
2037         Reported by a sun <asun@zoology.washington.edu>.
2038
2039         * malloc/malloc.c (cALLOc): Little optimization.
2040
2041 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
2042
2043         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
2044         headers but instead add comments and parameter names.
2045         Don't use BSD specific types in prototypes.
2046
2047         * manual/nss.texi: Correct a few typos and errors.
2048
2049         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
2050         algorithm.
2051         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
2052         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
2053
2054         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
2055         with new algorithm.
2056         * sysdeps/libm-i387/s_cbrtf.S: New file.
2057         * sysdeps/libm-i387/s_cbrtl.S: New file.
2058
2059         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
2060         * sysdeps/libm-i387/s_frexpf.S: Likewise.
2061         * sysdeps/libm-i387/s_frexpl.S: Likewise.
2062
2063 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2064
2065         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
2066
2067         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
2068         DES part only with secure RPC add-on.
2069
2070         * nis/nis_names.c (nis_modify): Fix rpc function number.
2071
2072         * nis/nis_server.c: Fix typos.
2073
2074         * nis/nss_compat/compat-grp.c: Add NIS+ support.
2075         * nis/nss_compat/compat-pwd.c: Likewise.
2076         * nis/nss_compat/compat-spwd.c: Likewise.
2077
2078         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
2079         signals success.
2080
2081         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
2082         secure RPC.
2083         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2084         * nis/ypclnt.c: Likewise.
2085         * nis/nis_intern.h: Likewise.
2086
2087         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
2088         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2089         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2090         * nis/nss_nisplus/nisplus-network.c: Likewise.
2091         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2092         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2093         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2094         * nis/nss_nisplus/nisplus-service.c: Likewise.
2095         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2096
2097         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
2098         and speedup.
2099         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
2100
2101 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
2102
2103         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
2104         arguments.
2105
2106 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
2107
2108         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2109         typo.
2110
2111 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
2112
2113         * sysdeps/libm-ieee754/s_nanf.c:
2114         * sysdeps/libm-ieee754/s_nan.c:
2115         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
2116         declaration of sprintf.
2117
2118 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
2119
2120         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
2121         strong_alias.
2122         Reported by sun <asun@zoology.washington.edu>.
2123
2124         * rpc/auth.h: Removed.
2125         * rpc/auth_des.h: Removed.
2126         * sunrpc/rpc/auth.h: Moved to ...
2127         * sysdeps/generic/rpc/auth.h: ...here.
2128         * sunrpc/rpc/auth_des.h: Moved to ...
2129         * sysdeps/generic/rpc/auth_des.h: ...here.
2130
2131 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
2132
2133         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
2134         * sysdeps/libm-i387/s_frexpf.S: New file.
2135         * sysdeps/libm-i387/s_frexpl.S: New file.
2136
2137 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
2138
2139         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2140         (sysdep_headers): Remove netinet/icmp.h.
2141
2142 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
2143
2144         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
2145         threaded programs.
2146         * manual/stdio.texi: Change wording for snprintf description a bit.
2147         Correct typo in example.
2148         * manual/lang.texi: Add documentation of __va_copy.
2149
2150         * Makefile: Add rule to easily generate dir-add.texi file.
2151         * manual/Makefile: Likewise.
2152
2153         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
2154         Change description of strtoll and strtoull to make clear these
2155         are the preferred names.
2156         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
2157         and friends.
2158         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
2159         HUGE_VALL.
2160
2161 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
2162
2163         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
2164         adjustment if the underlying function say it is too small.
2165         * pwd/fgetpwent.c: Likewise.
2166         * shadow/fgetspent.c: Likewise.
2167         * shadow/sgetspent.c: Likewise.
2168
2169         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2170         this means there was not enough room for the gr_mem array.
2171
2172         * nss/nss_files/files-XXX.c: Leave loop and return error if
2173         `parse_result' returns -1.
2174
2175         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2176         of trailing list fails because of low memory.
2177         (parse_list): Rewrite.  The logic was completly incorrect since
2178         the checks for overflowing the array were not executed when
2179         needed.
2180
2181         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2182         signals success.
2183
2184         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2185         * nss/getXXent.c: Likewise.
2186
2187         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
2188         is set in mantissa.
2189         * stdlib/strtof.c: Likewise.
2190         * stdlib/strtold.c: Likewise.
2191         * wcsmbs/wcstof.c: Likewise.
2192         * wcsmbs/wcstold.c: Likewise.
2193
2194         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
2195         string.
2196         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
2197         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
2198
2199 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
2200
2201         * manual/errno.texi: Add description of strerror_r.
2202
2203 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
2204
2205         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2206
2207 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
2208
2209         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2210
2211 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2212
2213         * sysdeps/m68k/fpu/s_cexp.c: New file.
2214         * sysdeps/m68k/fpu/s_cexpf.c: New file.
2215         * sysdeps/m68k/fpu/s_cexpl.c: New file.
2216         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
2217         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
2218         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
2219         * sysdeps/m68k/fpu/s_trunc.c: New file.
2220         * sysdeps/m68k/fpu/s_truncf.c: New file.
2221         * sysdeps/m68k/fpu/s_truncl.c: New file.
2222
2223         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
2224         * sysdeps/m68k/fpu/s_modff.c: Adapted.
2225         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
2226
2227         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
2228         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
2229         typo in test for `y = 0.5'.
2230
2231         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
2232         __nearbyint.  Remove __modf.
2233
2234         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
2235         Define for gcc bug workaround.
2236
2237         * math/libm-test.c (log2_test): Add epsilon for long double to
2238         "log2 (e)" and "log2 (16)".
2239         (modf_test): Fix test name.
2240         (sqrt_test): Add missing FUNC.
2241
2242 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2243
2244         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
2245
2246 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2247
2248         * stdlib/stdlib.h: Declare __clearenv.
2249
2250 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2251
2252         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2253         the last change.
2254
2255 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2256
2257         * configure.in: Call AC_CANONICAL_BUILD before referencing
2258         $build.  Fix test for BUILD_CC.
2259
2260 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
2261
2262         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
2263
2264 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
2265
2266         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
2267
2268 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
2269
2270         * sysdeps/i386/memset.c: Fix typo.
2271         * sysdeps/stub/fchmod.c: Fix typo.
2272         * sysdeps/stub/fchdir.c: Fix typo.
2273         Reported by Fila Kolodny <fila@ibi.com>.
2274
2275 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
2276
2277         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
2278         * math/libm-test.c (initialize): Make strings unique and force
2279         values to memory.
2280
2281         * posix/regex.c: Debug debugging code.
2282
2283         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2284         syntax for local label.
2285         * sysdeps/i386/add_n.S: Use correct local label syntax for the
2286         binary format.
2287         * sysdeps/i386/addmul_1.S: Likewise.
2288         * sysdeps/i386/lshift.S: Likewise.
2289         * sysdeps/i386/memchr.S: Likewise.
2290         * sysdeps/i386/memcmp.S: Likewise.
2291         * sysdeps/i386/mul_1.S: Likewise.
2292         * sysdeps/i386/rshift.S: Likewise.
2293         * sysdeps/i386/stpcpy.S: Likewise.
2294         * sysdeps/i386/stpncpy.S: Likewise.
2295         * sysdeps/i386/strchr.S: Likewise.
2296         * sysdeps/i386/strcspn.S: Likewise.
2297         * sysdeps/i386/strlen.S: Likewise.
2298         * sysdeps/i386/strpbrk.S: Likewise.
2299         * sysdeps/i386/strrchr.S: Likewise.
2300         * sysdeps/i386/strspn.S: Likewise.
2301         * sysdeps/i386/strtok.S: Likewise.
2302         * sysdeps/i386/sub_n.S: Likewise.
2303         * sysdeps/i386/submul_1.S: Likewise.
2304         * sysdeps/i386/i486/strcat.S: Likewise.
2305         * sysdeps/i386/i486/strlen.S: Likewise.
2306         * sysdeps/i386/i586/add_n.S: Likewise.
2307         * sysdeps/i386/i586/addmul_1.S: Likewise.
2308         * sysdeps/i386/i586/lshift.S: Likewise.
2309         * sysdeps/i386/i586/memset.S: Likewise.
2310         * sysdeps/i386/i586/mul_1.S: Likewise.
2311         * sysdeps/i386/i586/rshift.S: Likewise.
2312         * sysdeps/i386/i586/strchr.S: Likewise.
2313         * sysdeps/i386/i586/strlen.S: Likewise.
2314         * sysdeps/i386/i586/sub_n.S: Likewise.
2315         * sysdeps/i386/i586/submul_1.S: Likewise.
2316
2317         * sysdeps/stub/s_log2l.c: Correct function name.
2318
2319         * time/africa: Updated from ADO tzdata1997e.
2320         * time/antarctica: Likewise.
2321         * time/asia: Likewise.
2322         * time/australasia: Likewise.
2323         * time/europe: Likewise.
2324         * time/northamerica: Likewise.
2325         * time/southamerica: Likewise.
2326         * time/private.h: Updated from ADO tzcode1997d.
2327         * time/scheck.c: Likewise.
2328
2329 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
2330
2331         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
2332
2333 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
2334
2335         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
2336         * string/tst-strlen.c: Also test various string alignments.
2337
2338 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
2339
2340         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
2341         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
2342
2343         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
2344         program base address is 0x01800000 if we can't otherwise tell what
2345         it is.
2346         (elf_machine_rela): Replace `assertion failed' with real error
2347         messages.
2348
2349         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
2350         Put in extra parentheses to make explicit the relative precedence
2351         of + and >>.
2352
2353         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
2354         pass.
2355         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
2356
2357         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
2358         instead of .text.
2359
2360 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
2361
2362         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
2363         instead.
2364
2365         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
2366         thread-specific memory in multi-threaded programs.
2367
2368         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
2369         * sysdeps/stub/s_exp2f.c: New file.
2370         * sysdeps/stub/s_exp2l.c: New file.
2371         Reported by a sun <asun@zoology.washington.edu>.
2372
2373         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2374         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2375         Suggested by a sun <asun@zoology.washington.edu>.
2376
2377 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
2378
2379         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2380         of <netinet/icmp.h>.
2381         Patch by a sun <asun@zoology.washington.edu>.
2382
2383 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
2384
2385         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
2386         csqrt_test.
2387
2388 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2389
2390         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
2391
2392         * math/complex.h: Add C++ protection.
2393
2394         * math/libm-test.c (cexp_test): Correct a few bugs.
2395         (csinh_test): New function.
2396         (ccosh_test): New function.
2397         (cacos_test): New function.
2398         (cacosh_test): New function.
2399         (casinh_test): New function.
2400         (catanh_test): New function.
2401         (main): Add calls to csinh_test and ccosh_test.
2402
2403         * misc/Makefile (tests): Add tst-tsearch.
2404         Add rule to link tst-tsearch against libm.
2405         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
2406         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2407         * misc/tst-tsearch.c: New file.
2408
2409         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2410         before using system.
2411         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2412         before using popen.
2413
2414         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
2415         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
2416         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
2417
2418         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
2419         of complex exponential function.
2420         * sysdeps/libm-i387/s_cexpf.S: New file.
2421         * sysdeps/libm-i387/s_cexpl.S: New file.
2422
2423         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
2424         complex cosh function.
2425         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
2426         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
2427         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
2428         complex sinh function.
2429         * sysdeps/libm-ieee754/s_csinhf.c: New file.
2430         * sysdeps/libm-ieee754/s_csinhl.c: New file.
2431
2432         * math/carg.c: New file.  Generic implementatio of carg function.
2433         * math/cargf.c: New file.
2434         * math/cargl.c: New file.
2435
2436 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
2437
2438         * sysdeps/posix/system.c: Update copyright.
2439
2440 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
2441
2442         * elf/dl-error.c (_dl_catch_error): Add another argument which is
2443         passed to OPERATE.
2444         (_dl_receive_error): Likewise.
2445         * elf/link.h: Change prototypes for _dl_catch_error and
2446         _dl_receive_error to reflect above change.
2447         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
2448         with additional argument with pointer to data.
2449         * elf/dlclose.c: Likewise.
2450         * elf/dlerror.c: Likewise.
2451         * elf/dlopen.c: Likewise.
2452         * elf/dlsym.c: Likewise.
2453         * elf/dlvsym.c: Likewise.
2454         * elf/rtld.c: Likewise.
2455         * nss/nsswitch.c: Likewise.
2456         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2457
2458 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2459
2460         * elf/dl-error.c: Manually set up the values of "c", this avoids a
2461         call to memcpy and a zero 152 bytes structure.
2462
2463         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
2464         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
2465         pass.
2466
2467         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
2468
2469         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
2470         kernel_sigaction.h
2471
2472         Add Linux/SPARC specific definitions.
2473         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
2474         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
2475         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
2476         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
2477         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
2478         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
2479         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
2480
2481 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
2482
2483         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
2484         __getservbyname_r() not getservbyname().
2485         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
2486
2487 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
2488
2489         * gmon/gmon.c (monstartup): Mark all messages.
2490         (write_call_graph): Rewrite to use larger I/O vector for writev
2491         call to reduce syscall overhead.
2492         (write_bb_counts): Simplify writev handling.
2493
2494         * inet/rexec.c: Make string parameters `const'.
2495         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2496         rresvport.
2497
2498         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
2499         in libm-test.
2500         * math/libm-test.c (this_does_nothing): Remove functions.  It's
2501         notuseful on any platform but ix86.
2502         (inverse_func_pair_test): Don't use this_does_nothing.  Use
2503         memory reference.
2504         (identities1_test): Likewise.
2505         (identities2_test): Likewise.
2506         (identities3_test): Likewise.
2507         (basic_test): Likewise.
2508         Patch by Andreas Schwab.
2509         (BUILD_COMPLEX): New macro.  Create complex number from real and
2510         imaginary parts.  This works around bugs/inefficiencies in current
2511         gcc.
2512         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
2513
2514         * nss/nsswitch.c: Fix typo.
2515
2516         * posix/glob.h: Add declaration for glob_pattern_p.
2517         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
2518         make glob_pattern_p a weak alias.  This function is used in other
2519         packages (e.g. bash).
2520
2521         * signal/Makefile (routines): Add sigisempty, sigandset, and
2522         sigorset.
2523         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
2524         sigorset.
2525         * signal/sigisempty.c: New file.
2526         * signal/sigandset.c: New file.
2527         * signal/sigorset.c: New file.
2528         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
2529         and __sigorset.
2530         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2531
2532         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
2533         determines the bits in the mantissa part of the NaN.
2534         * stdlib/strtof.c: Define SET_MANTISSA for float type.
2535         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
2536         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
2537         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
2538
2539         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
2540         complex number components.  Some more corrects for special cases.
2541         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
2542         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
2543
2544         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
2545
2546         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
2547         ip_icmp.h.  Reported by HJ Lu.
2548
2549 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2550
2551         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
2552
2553         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
2554         i386.
2555         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
2556         ELF_MACHINE_RELOC_NOPLT): Define.
2557
2558 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2559
2560         * grp/grp.h: Include <stddef.h> only once.
2561
2562 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2563
2564         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2565         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2566
2567         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2568         TAB3, if one of them is defined.
2569
2570 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
2571
2572         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
2573         is found.
2574         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
2575
2576 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2577
2578         * sunrpc/Makefile: Comment gccwarn out.
2579         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
2580         with enabled warnings.
2581         * sunrpc/auth_unix.c: Likewise.
2582         * sunrpc/authuxprot.c: Likewise.
2583         * sunrpc/bindrsvprt.c: Likewise.
2584         * sunrpc/clnt_gen.c: Likewise.
2585         * sunrpc/clnt_perr.c: Likewise.
2586         * sunrpc/clnt_raw.c: Likewise.
2587         * sunrpc/clnt_simp.c: Likewise.
2588         * sunrpc/clnt_tcp.c: Likewise.
2589         * sunrpc/clnt_udp.c: Likewise.
2590         * sunrpc/get_myaddr.c: Likewise.
2591         * sunrpc/getrpcport.c: Likewise.
2592         * sunrpc/pm_getmaps.c: Likewise.
2593         * sunrpc/pm_getport.c: Likewise.
2594         * sunrpc/pmap_clnt.c: Likewise.
2595         * sunrpc/pmap_prot.c: Likewise.
2596         * sunrpc/pmap_prot2.c: Likewise.
2597         * sunrpc/pmap_rmt.c: Likewise.
2598         * sunrpc/rpc/auth.h: Likewise.
2599         * sunrpc/rpc/clnt.h: Likewise.
2600         * sunrpc/rpc/pmap_clnt.h: Likewise.
2601         * sunrpc/rpc/svc.h: Likewise.
2602         * sunrpc/rpc/svc_auth.h: Likewise.
2603         * sunrpc/rpc/types.h: Likewise.
2604         * sunrpc/rpc/xdr.h: Likewise.
2605         * sunrpc/rpc_clntout.c: Likewise.
2606         * sunrpc/rpc_cmsg.c: Likewise.
2607         * sunrpc/rpc_dtable.c: Likewise.
2608         * sunrpc/rpc_prot.c: Likewise.
2609         * sunrpc/svc.c: Likewise.
2610         * sunrpc/svc_auth.c: Likewise.
2611         * sunrpc/svc_authux.c: Likewise.
2612         * sunrpc/svc_raw.c: Likewise.
2613         * sunrpc/svc_run.c: Likewise.
2614         * sunrpc/svc_simple.c: Likewise.
2615         * sunrpc/svc_tcp.c: Likewise.
2616         * sunrpc/svc_udp.c: Likewise.
2617         * sunrpc/xdr.c: Likewise.
2618         * sunrpc/xdr_array.c: Likewise.
2619         * sunrpc/xdr_mem.c: Likewise.
2620         * sunrpc/xdr_rec.c: Likewise.
2621         * sunrpc/xdr_ref.c: Likewise.
2622         * sunrpc/xdr_stdio.c: Likewise.
2623
2624 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
2625
2626         * math/libm-test.c (log2_test): Compile this function and call it.
2627         (exp2_test): Likewise, but check whether function really exists
2628         before testing.
2629
2630         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
2631
2632 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
2633
2634         Implement exp2 function.
2635         * sysdeps/libm-i387/s_exp2.S: New file.
2636         * sysdeps/libm-i387/s_exp2f.S: New file.
2637         * sysdeps/libm-i387/s_exp2l.S: New file.
2638
2639         Implement log2 function.
2640         * sysdeps/libm-i387/s_log2.S: New file.
2641         * sysdeps/libm-i387/s_log2f.S: New file.
2642         * sysdeps/libm-i387/s_log2l.S: New file.
2643         * sysdeps/libm-ieee754/s_log2.c: New file.
2644         * sysdeps/libm-ieee754/s_log2f.c: New file.
2645         * sysdeps/stub/s_log2.c: New file.  Stub version.
2646
2647 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
2648
2649         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2650
2651         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
2652         change to tst-setjmp.c.
2653
2654         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
2655         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
2656         * sysdeps/sparc/dl-machine.h: Likewise.
2657
2658         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
2659         Add missing qs variable.
2660         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
2661
2662 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
2663
2664         * gmon/gmon.c: Optimize a bit by using more sets of records to
2665         write in a single writev call.
2666
2667         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
2668         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
2669         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
2670         `const'.
2671         Use __MATHDECLX for isinf and finite.
2672
2673         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2674         clearenv a weak alias.
2675
2676         Implement complex exponential function.
2677         * sysdeps/libm-ieee754/s_cexp.c: New file.
2678         * sysdeps/libm-ieee754/s_cexpf.c: New file.
2679         * sysdeps/libm-ieee754/s_cexpl.c: New file.
2680
2681         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
2682         nan a weak alias.
2683         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
2684         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
2685
2686         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2687         of type clashes.  Add all definitions here.
2688
2689         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
2690         to XPG4.2.
2691         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2692         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2693
2694         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2695
2696         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2697         use of kernel types.
2698
2699 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
2700
2701         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2702         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
2703
2704 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2705
2706         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
2707
2708 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2709
2710         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
2711
2712 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2713
2714         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
2715         * sysdeps/m68k/fpu/s_logb.c: Removed.
2716         * sysdeps/m68k/fpu/s_logbf.c: Removed.
2717         * sysdeps/m68k/fpu/s_logbl.c: Removed.
2718
2719         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
2720         Don't define here.
2721         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
2722         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2723         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
2724         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
2725         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
2726         * sysdeps/m68k/fpu/e_powl.c: Likewise.
2727
2728         * sysdeps/m68k/fpu/s_log2.c: New file.
2729         * sysdeps/m68k/fpu/s_log2f.c: New file.
2730         * sysdeps/m68k/fpu/s_log2l.c: New file.
2731         * sysdeps/m68k/fpu/s_exp2.c: New file.
2732         * sysdeps/m68k/fpu/s_exp2f.c: New file.
2733         * sysdeps/m68k/fpu/s_exp2l.c: New file.
2734
2735 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2736
2737         * Makeconfig (all): Make sure this is always the default goal.
2738
2739 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2740
2741         * math/libm-test.c: Increase epsilon in many places.  Fix many
2742         typos.  Allow optinal argument also for short option.
2743
2744 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2745
2746         * math/Makefile ($(objpfx)$(tests)): Link against libm.
2747
2748 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
2749
2750         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
2751         denormalized numbers.
2752
2753         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2754         Don't include <endian.h>.
2755
2756 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2757         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2758         Don't include <endian.h>.
2759
2760 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
2761
2762         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2763
2764 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2765
2766         * math/cmathcalls.h: Remove whitespace before function name in use
2767         of __MATHDECL macro, to make it compilable with a traditional
2768         preprocessor.
2769
2770 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
2771
2772         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2773         compiler.
2774
2775 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
2776
2777         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2778         by 31 positions to get 0/1 result.
2779         Patch by Joe Keane <jgk@jgk.org>.
2780
2781 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
2782
2783         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2784         to prevent from ld linking in getopt.o even if there is another
2785         incompatible one.
2786
2787         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2788
2789 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2790
2791         * nis/nis_call.c (__do_niscall): Print message if cold start file
2792         does not exist.
2793         * nis/nis_file.c: Don't print error messages.
2794         * nis/nis_local_name.c (nis_local_host): Fix pointer errors.
2795         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
2796         * nis/rpcsvc/nis.h: Likewise.
2797         * nis/ypclnt.c: Fix prototypes.
2798
2799 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
2800
2801         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
2802         returning.
2803         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2804         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2805         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2806
2807         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
2808         dynamic linker was called implicitly by the kernel.
2809         Reported by Eric Youngdale <eric@andante.jic.com>.
2810
2811         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2812         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
2813         prevent clever optimizations which corrupt the tests.
2814
2815 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
2816
2817         * math/libm-test.c (scalb_test): New function.
2818         (sqrt_test): New function.
2819         (scalbn_test): New function.
2820         (ilogb_test): New function.
2821         (main): Added calls for new test functions.
2822         (ldexp_test): Add another test for ldexp(x,0).
2823
2824 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
2825
2826         * math/libm-test.c (remquo_test): Correct messages so that they
2827         match the tests.
2828         (copysign_test): Likewise.
2829
2830 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
2831
2832         * stdio-common/Makefile (routines): Add printf_size.
2833
2834         * stdio-common/printf.h: Add declarations for printf_size and
2835         printf_size_info.
2836
2837         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
2838         declaration.
2839         (parse_one_spec): Test whether __printf_function_table is not NULL
2840         before using registered handlers and don't test
2841         __printf_arginfo_table.  Update nargs also when handler is
2842         registered.
2843
2844         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
2845         processed in fast loop.
2846
2847         * stdio-common/printf_size: New file.
2848
2849 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
2850
2851         * time/sys/time.h: Make values ITIMER_* also available as macros.
2852
2853         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
2854         __fstat but instead __fxstat directly to avoid dependency on
2855         libc.a when inline failed.
2856         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
2857
2858         * math/Makefile (libm-routines): Add s_remquo.
2859         * sysdeps/libm-i387/s_remquo.S: New file.
2860         * sysdeps/libm-i387/s_remquof.S: New file.
2861         * sysdeps/libm-i387/s_remquol.S: New file.
2862         * sysdeps/libm-ieee754/s_remquo.c: New file.
2863         * sysdeps/libm-ieee754/s_remquof.c: New file.
2864         * sysdeps/libm-ieee754/s_remquol.c: New file.
2865
2866         * math/libm-test.c (remquo_test): New function.
2867
2868         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
2869         correctly.
2870
2871 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
2872
2873         * math/Makefile (libm-calls): Add s_nan.
2874         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
2875         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
2876         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
2877
2878         * math/libm-test.c (basic_tests): Add tests for `nan' function.
2879
2880         * math/libm-test.c (copysign_test): New function.
2881         (main): Call copysign_test.
2882
2883 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
2884
2885         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
2886         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
2887         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
2888         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
2889
2890         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
2891         New functions.  Test these functions.
2892         (main): Call above new functions.
2893
2894 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
2895
2896         * Net release 2.0.2.
2897
2898 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
2899
2900         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
2901         XTABS.
2902         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2903         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
2904         of Sun Dec 15 16:33:44 1996.
2905         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2906
2907 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
2908
2909         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
2910         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
2911         consult their values.
2912         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
2913         ELF_MACHINE_RELOC_NOPLT): New macros.
2914
2915         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
2916         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
2917         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
2918
2919         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
2920         symbol lookup before checking reloc type except for R_386_RELATIVE.
2921         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
2922
2923         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
2924         per-machine since it supposedly can't happen on i386.
2925
2926         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
2927         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
2928         indirection from REF arg; change callers.
2929         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
2930         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
2931         FLAGS arg altogether.
2932         * elf/dlsym.c: Remove argument of FLAGS parameter.
2933         * elf/dlvsym.c: Likewise.
2934         * elf/link.h: Update decls.
2935
2936 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
2937
2938         * Makefile (distribute): Add BUGS.
2939
2940         * sysdeps/generic/machine-gmon.h: Update copyright.
2941
2942         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
2943         i386-mcount.
2944         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
2945         use regparam mechanism for call of `fixup' call.
2946         * sysdeps/i386/Dist: New file.
2947         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
2948         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
2949         of gmon definitions.
2950
2951 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
2952
2953         * stdlib/tst-strtol.c (main): Save the value of errno since printf
2954         may modify it, use the saved errno everywhere.
2955         * stdlib/tst-strtod.c (main): Likewise.
2956
2957 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
2958
2959         * posix/glob.c (glob): Fix completely broken handling of
2960         GLOB_BRACE and partly broken handling of GLOB_TILDE.
2961         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
2962
2963 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
2964
2965         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2966         UIO_FASTIOV value by multiple readv calls since we need atomicity.
2967         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2968         Reported by Matthis Urlichs.
2969
2970 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
2971
2972         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2973         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2974         which clobbers %eax.
2975
2976         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2977         crtbegin.o/crtend.o, using gcc to find them.
2978         (+link): Use them.
2979
2980 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
2981
2982         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2983         affect the alignment, and therefore the end padding of the structs.
2984         Reported by David Mosberger <davidm@azstarnet.com>.
2985         * gmon.c: Declare the variables with aligned tags to compensate.
2986         Use __writev instead of write for the I/O.
2987
2988         * misc/sys/uio.h: Declare __writev and __readv.
2989         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2990         * sysdeps/posix/writev.c: Likewise for writev.
2991         * sysdeps/stub/readv.c: Likewise.
2992         * sysdeps/stub/writev.c: Likewise.
2993         * sysdeps/unix/syscalls.list: Likewise.
2994         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2995         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2996
2997         * stdlib/testdiv.c: Exit with error status when we have an error.
2998         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2999         * sysdeps/alpha/ldiv.S: Likewise.
3000
3001         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
3002
3003 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
3004
3005         * nis/nis_file.c: Unify error handling.
3006
3007 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3008
3009         * nis/nis_file.c (writeColdStartFile): Fix typo.
3010         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
3011         * nis/nis_free.c (nis_free_servers): Likewise.
3012         * nis/rpcsvc/nislib.h: Likewise.
3013
3014         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
3015
3016 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
3017
3018         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
3019
3020         * sysdeps/unix/sparc/sysdep.h: Update copyright.
3021
3022 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3023
3024         * linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
3025
3026         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
3027         it.
3028
3029         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
3030         macro on ELF systems.
3031
3032         * sysdeps/sparc/configure.in: Fix.
3033
3034         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
3035
3036         * sysdeps/sparc/setjmp.S: Fix my bugs.
3037
3038         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
3039         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
3040         as-FLAGS-.so.
3041         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
3042         syscall.
3043         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
3044         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
3045         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
3046         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
3047
3048         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
3049         symbol.
3050         (_dl_lookup_symbol): Test against the symbol being global not
3051         against the symbol being not weak (fixes important problem with
3052         the SPARC linker)
3053
3054         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
3055
3056         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
3057         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
3058
3059 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
3060
3061         * Makeconfig: (rpath-link): Add math/ directory.
3062         (math-objdir): New variable.
3063         (link-extra-lib): Define to special version when
3064         $(common-objpfx)!=$(objpfx) to allow libraries outside
3065         $(common-objpfx) be linked to the application.
3066
3067         * math/Makefile: Add rules to build and run test programs.
3068         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
3069         (check_equal): Correct check for error.
3070         (ceil_test): Fix typo.
3071         (log_test): Fix typo.
3072         (floor_test): Fix typo.
3073         (pow_test): Fix typos.
3074         (log10_test): Allow slight incorrectness for `log10(e)'.
3075         (modf_test): New functions to test `modf' et.al.
3076         (hypot_test): Rewrite test completely.
3077         Patch partly by Andreas Jaeger.
3078         * math/test-double.h (__NO_MATH_INLINES): Define only if not
3079         already defined.
3080         * math/test-float.h: Likewise.
3081         * math/test-logdouble.h: Likewise.
3082
3083         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
3084         * setjmp/tst-setjmp.c: Correct and extend test suite.
3085         * sysdeps/i386/__longjmp.S: Update copyright.
3086         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
3087         `__sigsetjmp' in PIC code.
3088         * sysdeps/i386/bsd-setjmp.S: Likewise.
3089
3090         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
3091         overflow.
3092         * sysdeps/libm-i387/e_powf.S: Likewise.
3093         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
3094         case since expm1(-0) == -0.
3095         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3096         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3097         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
3098         access to FP number.
3099         * sysdeps/libm-ieee754/s_modff.c: Likewise.
3100         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
3101         code.  It never worked correctly.
3102         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
3103         case since tanh(-0) == -0.
3104         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
3105         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
3106
3107 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
3108
3109         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
3110         `thousands' to support systems with sizeof(wchar_t) !=
3111         sizeof(wint_t).  Blargh.
3112
3113         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
3114         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
3115         appropriate headers.
3116
3117         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
3118         UIO_FASTIOV and set to 8 if not available.
3119         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3120         Patch by HJ Lu.
3121
3122         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
3123         "kernel_stat.h".
3124         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3125         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3126         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
3127
3128 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
3129
3130         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
3131
3132         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
3133
3134         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
3135
3136         * sysdeps/unix/sysv/Dist: Add direct.h.
3137
3138         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
3139
3140         * Make-dist ($(tardir).tar): Prefer writing temporary file to
3141         $TMPDIR is available.  The default is /tmp.
3142
3143         * sysdeps/generic/ip.h: Move to...
3144         * sysdeps/generic/netinet/ip.h: ...here.
3145
3146         * Makefile (tests): Quote $(CC) argument to isomac program.
3147         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3148
3149         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
3150         is placed in wrong place on the stack.
3151         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
3152         * sysdeps/tst-setjmp.c: Add new test for above problem.
3153
3154         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
3155         * sysdeps/libm-i387/e_powf.S: Likewise.
3156         * sysdeps/libm-i387/e_powl.S: Likewise.
3157
3158 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
3159
3160         * time/offtime.c (__offtime): Change type of `yg' to long int.
3161         Reported by a sun <asun@zoology.washington.edu>.
3162
3163 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
3164
3165         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
3166         2.2.0 to prevent version mismatch.
3167
3168 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
3169
3170         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
3171         already defined.
3172
3173 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
3174
3175         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
3176         in ioctls.h.
3177
3178         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
3179         loader first relocates itself.
3180         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
3181         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
3182         jump slot relocation. Prefer relative branches (some PowerPC chips
3183         don't predict absolute branches).
3184         (elf_machine_runtime_setup): Simplify and correct expressions.
3185         (RTLD_START): Fix bug changing _dl_starting_up.
3186         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
3187         strange Linux/PPC padding of initial stack.
3188
3189 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
3190
3191         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
3192         for future expansion.
3193         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
3194         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
3195         can't have a switch statement.
3196         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
3197         static.
3198
3199         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
3200         confusing gcc's idea of the current section.
3201         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
3202         RTLD_START): Likewise.
3203
3204 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
3205
3206         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
3207         elf_machine_runtime_setup): Flush data & instruction caches when
3208         necessary, for 603/604 support. Add better support for large PLTs.
3209         (elf_machine_rela): Remove relocations that wouldn't work if
3210         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
3211         Never target branch relocations at a PLT entry.
3212
3213         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
3214         generating PIC.
3215         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3216         * sysdeps/powerpc/setjmp.S: Likewise.
3217         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3218         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3219         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3220         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3221
3222         * sysdeps/powerpc/elf/start.c: Clean up.
3223
3224         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
3225         setjmp call.
3226
3227         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
3228
3229 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
3230
3231         * Make-dist (srcs): Add $(test-srcs).
3232         * MakeTAGS (all-sources): Likewise.
3233         * Makerules (depfiles, common-mostlyclean): Likewise.
3234         * Rules (tests): Likewise.
3235
3236 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
3237
3238         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
3239
3240 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
3241
3242         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
3243         protocol=NULL to match any protocol rather than returning an
3244         error.
3245
3246 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
3247
3248         * nss/nss_files/files-service.c (servbyname): Match any protocol
3249         if proto==NULL.
3250
3251 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
3252
3253         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
3254         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
3255         Proposed by Thomas Bushnell, n/BSG.
3256
3257 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
3258
3259         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
3260         the buffer for replacement.
3261
3262 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
3263
3264         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
3265         sys_lstat and sys_stat.
3266
3267 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3268
3269         Add NIS+ functions
3270         * shlib-versions: Add libnss_nisplus.
3271         * nis/Makefile: Add NIS+ source files.
3272         * nis/nis_call.c: New file.
3273         * nis/nis_clone.c: New file.
3274         * nis/nis_error.c: New file.
3275         * nis/nis_file.c: New file.
3276         * nis/nis_free.c: New file.
3277         * nis/nis_intern.c: New file.
3278         * nis/nis_intern.h: New file.
3279         * nis/nis_local_names.c: New file.
3280         * nis/nis_names.c: New file.
3281         * nis/nis_print.c: New file.
3282         * nis/nis_server.c: New file.
3283         * nis/nis_subr.c: New file.
3284         * nis/nis_table.c: New file.
3285         * nis/nis_xdr.c: New file.
3286         * nis/nss-nisplus.h: New file.
3287         * nis/nss_nisplus/nisplus-alias.c: New file.
3288         * nis/nss_nisplus/nisplus-ethers.c: New file.
3289         * nis/nss_nisplus/nisplus-grp.c: New file.
3290         * nis/nss_nisplus/nisplus-hosts.c: New file.
3291         * nis/nss_nisplus/nisplus-netgrp.c: New file.
3292         * nis/nss_nisplus/nisplus-network.c: New file.
3293         * nis/nss_nisplus/nisplus-proto.c: New file.
3294         * nis/nss_nisplus/nisplus-publickey.c: New file.
3295         * nis/nss_nisplus/nisplus-pwd.c: New file.
3296         * nis/nss_nisplus/nisplus-rpc.c: New file.
3297         * nis/nss_nisplus/nisplus-service.c: New file.
3298         * nis/nss_nisplus/nisplus-spwd.c: New file.
3299         * nis/rpcsvc/nis.h: New file.
3300         * nis/rpcsvc/nis.x: New file.
3301         * nis/rpcsvc/nis_object.x: New file.
3302         * nis/rpcsvc/nis_tags.h: New file.
3303         * nis/rpcsvc/nislib.h: New file.
3304
3305 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3306
3307         * mach/devstream.c (output/write_some): Don't try and write more
3308         than IO_INBAND_MAX in a single call to device_write_inband.
3309
3310 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
3311
3312         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
3313         type is SVID.
3314         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3315         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3316
3317         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
3318         FLAGS parameter.
3319
3320 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
3321
3322         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
3323         Change msg_iovlen and msg_controllen (in struct msghdr) to
3324         `size_t' to keep in step with kernel.
3325
3326 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
3327
3328         * manual/filesys.texi: Add documentation for scandir and alphasort.
3329         * manual/examples/dir2.c: New example for scandir.
3330
3331         * math/math.c (fpclassify): Correct stupid typos.
3332
3333         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
3334         * math/test/float.c: New file.  Frontend for float tests.
3335         * math/test/double.c: New file.  Frontend for double tests.
3336         * math/test/longdouble.c: New file.  Frontend for long double  tests.
3337
3338         * posix/Makefile (routines): Add bsd-getpgrp.
3339         * posix/bsd-getpgrp.c: New file.
3340         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
3341         calls to __bsd_getpgrp.
3342
3343         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
3344
3345         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
3346         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
3347         * sysdeps/ieee754/huge_val.h: Remove definition of long double
3348         definition.  Make it the same as the double definition.
3349
3350         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
3351         * sysdeps/libm-i387/e_acosf.S: Likewise.
3352         * sysdeps/libm-i387/e_acosl.S: Likewise.
3353         * sysdeps/libm-i387/e_asin.S: Likewise.
3354         * sysdeps/libm-i387/e_asinf.S: Likewise.
3355         * sysdeps/libm-i387/e_asinl.S: Likewise.
3356         * sysdeps/libm-i387/e_exp.S: Likewise.
3357         * sysdeps/libm-i387/e_expf.S: Likewise.
3358         * sysdeps/libm-i387/e_expl.S: Likewise.
3359         * sysdeps/libm-i387/s_scalbn.S: Likewise.
3360         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3361         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3362
3363         * sysdeps/libm-i387/e_log.S: Optimize branch code.
3364         * sysdeps/libm-i387/e_logf.S: Likewise.
3365         * sysdeps/libm-i387/e_logl.S: Likewise.
3366         * sysdeps/libm-i387/e_log10.S: Likewise.
3367         * sysdeps/libm-i387/e_log10f.S: Likewise.
3368         * sysdeps/libm-i387/e_log10l.S: Likewise.
3369
3370         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
3371         * sysdeps/libm-i387/e_powf.S: Likewise.
3372         * sysdeps/libm-i387/e_powl.S: Likewise.
3373
3374         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
3375         argument to -1.0.
3376         * sysdeps/libm-i387/s_expm1f.S: Likewise.
3377         * sysdeps/libm-i387/s_expm1l.S: Likewise.
3378
3379         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
3380
3381         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
3382         stack element after fxtract.
3383
3384         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
3385         implementation for atan2 function.
3386
3387         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
3388         _SVID_ mode when acos, asin, atan2, log, log10 is called with
3389         argument out of range.
3390         Add new error case for pow(+0,neg).
3391
3392         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
3393         NaN and +-inf.
3394         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
3395         digit in stupid 80 bit formats.
3396
3397         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
3398         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
3399         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3400
3401         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
3402         long double type.
3403
3404         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
3405         in SVID mode.
3406         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3407         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3408
3409         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
3410         or -0.
3411         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3412         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3413
3414         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3415
3416         * sysdeps/stub/fcntlbits.h: Update copyright.
3417         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3418         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3419         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3420         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3421         * sysdeps/unix/common/fcntlbits.h: Likewise.
3422         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
3423         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3424         and FNDELAY.
3425         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3426
3427         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3428         only reclen bytes.
3429
3430         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3431         and O_NORW.
3432         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3433
3434         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3435
3436         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
3437         struct stat to user-level form.
3438         * sysdeps/unix/sysv/linux/lxstat: New file.
3439         * sysdeps/unix/sysv/linux/xstat: New file.
3440         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3441         kernel.
3442         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3443         to use prescribed types for elements.
3444         (_STAT_VER): Change to value 3.
3445         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3446         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3447         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3448
3449         * time/Makefile: Correct dependencies for test-tz.
3450
3451 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
3452
3453         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
3454         (needed for IPv6 basic sockets API).
3455
3456 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
3457
3458         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3459         kernel header.
3460         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3461
3462 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
3463
3464         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3465         without testing for last_bfp to be NULL.
3466         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3467
3468 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
3469
3470         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
3471
3472 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
3473
3474         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3475         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
3476
3477 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
3478
3479         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3480         functions.  Compare result for correct address type.
3481         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3482         * nss/nss_files/files-hosts.c: Likewise.
3483         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3484
3485 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
3486
3487         * time/strptime.c (recursive): Return rp to caller.
3488         (strptime_internal): First check for long names, then abbreviated
3489         (month & weekday).
3490
3491 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3492
3493         * Makeconfig: Remove useless definitions of ASFLAGS-%.
3494         * config.make.in (ASFLAGS-.so): Remove.
3495         * configure.in: Don't substitute ASFLAGS_SO.
3496         * sysdeps/sparc/configure.in: Remove file.
3497         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
3498
3499 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3500
3501         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3502         1900 from year, regardless of century.
3503
3504 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
3505
3506         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3507         all numbers unsigned to make buggy gccs happy.
3508         Patch by Bryan W. Headley <bheadley@interaccess.com>.
3509
3510         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3511         definitions.  Patch by a sun <asun@zoology.washington.edu>.
3512         Pretty print header.
3513
3514         * Makerules (build-shlib): Also create symlink if library is versioned.
3515         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3516         Remove special rule to libc.so symlink.
3517
3518 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
3519
3520         * manual/math.texi (Domain and Range Errors): Change descriptions
3521         according to recent changes for ISO C 9X.
3522
3523 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
3524
3525         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3526         return values for acos, asin, and atan2.
3527         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3528
3529 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3530
3531         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3532
3533 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
3534
3535         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3536         to pointers to directory entries so that alphasort really can be
3537         used as argument for scandir.
3538
3539 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
3540
3541         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3542         instead of strcpy.
3543
3544 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
3545
3546         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3547         catalogs, not only if the envvar NLSPATH is not available.
3548         Reported by Andries.Brouwer@cwi.nl.
3549
3550 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
3551
3552         * Makeconfig (localtime-file): Don't define using installation
3553         directory.
3554         (inst_localtime-file): New variable.
3555         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3556         Reported by Edward Seidl <seidl@janed.com>.
3557
3558 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3559
3560         * time/Makefile: Add source files to dependencies for test data.
3561
3562 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3563
3564         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3565         * nis/nss_nis/nis-proto.c: Likewise.
3566         * nis/nss_nis/nis-rpc.c: Likewise.
3567         * nis/nss_nis/nis-service.c: Likewise.
3568
3569 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3570
3571         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
3572         versioning;  Added missing R_SPARC_WDISP30 handling.
3573         (RTLD_START): Implement it.
3574
3575         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
3576
3577         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
3578         Linux/SPARC.
3579
3580 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3581
3582         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
3583         the dynamic linker instead of having a new conditional define.
3584         Thanks to Richard Henderson for pointing this out.
3585         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
3586
3587 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3588
3589         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3590         euidaccess weak alias.
3591
3592 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3593
3594         * stdio-common/printf_fphex.c (MIN): New macro.
3595
3596         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3597
3598         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3599
3600         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
3601         API.  (See change by Philip Blundell on Feb 16, 1997.)
3602
3603 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3604
3605         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
3606
3607         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3608         __file_name_split.
3609
3610         * mach/mach_error.c (mach_error_string_int): Give full prototype.
3611         * mach/errstring.c (mach_error_string_int): Likewise.
3612         * mach/error_compat.c (__mach_error_map_compat): Likewise.
3613         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3614         * stdio/vasprintf.c (vasprintf): Likewise.
3615
3616         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3617
3618         * mach/spin-solid.c: Include <mach/mach_traps.h>.
3619         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3620         swtch_pri.
3621
3622         * mach/mach_init.c: Include <mach/mig_support.h>.
3623
3624         * mach/mach_error.h (mach_error_string, mach_error,
3625         mach_error_type): Always provide prototypes.
3626
3627         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3628         appears to be entirely unused dead code.
3629
3630 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
3631
3632         * string/argz.h (__need_error_t): New macro, before including <errno.h>
3633         [!__const] (__const): New macro.
3634         [!__error_t_defined] (error_t): New typedef.
3635
3636 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
3637
3638         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
3639         -fPIC.
3640         * Makerules (compile.S): Use ASFLAGS-%.
3641         (COMPILE.S): Likewise.
3642         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
3643         * configure.in: Substitute ASFLAGS_SO.
3644         * sysdeps/sparc/configure.in: New file.
3645
3646         * posix/unistd.h: Add prototype for __euidaccess.
3647         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3648         euidaccess weak alias.
3649         * sysdeps/stub/euidaccess.c: Likewise.
3650         * inet/rcmd.c: Use __ protected versions of non-standard functions.
3651
3652         * locale/setlocale.c (setlocale): Don't set usage_count to
3653         MAX_USAGE_COUNT if it already has this value.
3654
3655         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3656         binary locale files.  Use LOCALEDIR only.
3657         * locale/programs/locfile.c: When named file not found and not
3658         absolute use path in I18NPATH.
3659
3660         * stdlib/Makefile (headers): Add inttypes.h.
3661         * sysdeps/wordsize-32/inttypes.h: New file.
3662         * sysdeps/wordsize-64/inttypes.h: New file.
3663
3664         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3665         and AF_FILE as synonym for AF_LOCAL.
3666         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3667
3668         * time/Makefile: Rewrite rules for test to handle parallel builds.
3669
3670 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
3671
3672         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
3673         robbe@orcus.priv.at.
3674
3675 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
3676
3677         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3678         8-byte boundary.
3679
3680 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
3681
3682         * elf/link.h: Define __need_NULL to get definition.  Include
3683         <features.h>.
3684         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
3685
3686 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
3687
3688         Rewrite NIS code to allow empty keys.
3689         * nis/nss_nis/nis-ethers.c: Rewritten.
3690         * nis/nss_nis/nis-proto.c: Rewritten.
3691         * nis/nss_nis/nis-publickey.c: Rewritten.
3692         * nis/nss_nis/nis-rpc.c: Rewritten.
3693         * nis/nss_nis/nis-service.c: Rewritten.
3694
3695 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
3696
3697         * time/scheck.c (scheck): Add extra const to second argument.
3698
3699         * time/private.h: Correct prototypes to match definition.
3700
3701 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
3702
3703         * sysdeps/alpha/__math.h: Remove cabs inline definition.
3704         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3705
3706 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
3707
3708         * argp/Makefile (routines): Add argp-eexst.
3709         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
3710         * argp/argp-eexst.c: New file.  Define exit status variable.
3711         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
3712         variable instead of always exiting with value 1.
3713         * argp/argp-pv.c (argp_program_version): Make `const'.
3714         * argp/argp.h: Declare argp_err_exit_status.
3715         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
3716
3717         * locale/programs/localedef.c: Use argp_err_exit_status to
3718         terminate with correct value.
3719
3720         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3721         switching of UID before opening .rhosts.
3722
3723         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
3724         proposal.  The return value now is always the number of characters
3725         which would be written if enough space is available.
3726         * manual/stdio.texi: Update description for new behaviour.
3727
3728         * locale/locale.h (__locale_t): Don't use __locale_t for struct
3729         name and pointer to struct since old gccs cannot keep the namespaces
3730         apart.  Rename struct to __locale_struct.
3731         * locale/duplocale.h: Likewise.
3732         * locale/newlocale.h: Likewise.
3733
3734         * math/Makefile (headers): Add complex.h and cmathcalls.h.
3735         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
3736         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
3737         after use.
3738         (signgam): Move declaration to here from mathcalls.h.
3739         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
3740         Correct comment for fmin and fmax.
3741         Start implementing complex math function from ISO C 9X.
3742         * math/complex.h: New file.
3743         * math/cmathcalls.h: New file.
3744         * math/cabs.c: New file.
3745         * math/cabsf.c: New file.
3746         * math/cabsl.c: New file.
3747         * math/cimag.c: New file.
3748         * math/cimagf.c: New file.
3749         * math/cimagl.c: New file.
3750         * math/conj.c: New file.
3751         * math/conjf.c: New file.
3752         * math/conjl.c: New file.
3753         * math/creal.c: New file.
3754         * math/crealf.c: New file.
3755         * math/creall.c: New file.
3756         * sysdeps/libm-ieee754/w_cabs.c: Removed.
3757         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
3758         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
3759
3760         * posix/regex.c: Merge with regex sources from Arnold Robbins'
3761         version in GNU awk.
3762         * posix/regex.h: Likewise.
3763
3764         Add regex test suite by Tom Lord.
3765         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3766         (tests): Add runtests.
3767         (before-compile): Add testcases.h.
3768         (testcases.h): New rule to generate header with tests.
3769         * posix/TESTS: New file.
3770         * posix/TESTS2C.sed.: New file.
3771         * posix/runtests.c: New file.
3772         * posix/testcases.h: New file.
3773
3774         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
3775         available and use fall-back implementation if not.
3776
3777         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
3778
3779         * time/ialloc.c: Update from tzcode1997c.
3780         * time/private.h: Likewise.
3781         * time/scheck.c: Likewise.
3782         * time/tzselect.ksh: Likewise.
3783         * time/zdump.c: Likewise.
3784         * time/zic.c: Likewise.
3785
3786         * time/tzfile.c: Pretty print.
3787
3788 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
3789
3790         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
3791         on a 601.
3792
3793         * sysdeps/powerpc/Implies: Added.
3794         * sysdeps/powerpc/__longjmp.S: Added.
3795         * sysdeps/powerpc/__math.h: Added.
3796         * sysdeps/powerpc/bsd-_setjmp.S: Added.
3797         * sysdeps/powerpc/bsd-setjmp.S: Added.
3798         * sysdeps/powerpc/dl-machine.h: Added.
3799         * sysdeps/powerpc/ffs.c: Added.
3800         * sysdeps/powerpc/fpu_control.h: Added.
3801         * sysdeps/powerpc/jmp_buf.h: Added.
3802         * sysdeps/powerpc/setjmp.S: Added.
3803         * sysdeps/powerpc/strlen.S: Added.
3804         * sysdeps/powerpc/elf/start.c: Added.
3805         * sysdeps/powerpc/fpu_control.h: Added.
3806         * sysdeps/powerpc/jmp_buf.h: Added.
3807
3808         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
3809         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
3810         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
3811         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
3812         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
3813         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
3814         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
3815         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
3816         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
3817         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
3818         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
3819         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
3820         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
3821         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
3822
3823 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
3824
3825         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
3826         because knowing the first instruction of a PowerPC PLT trampoline
3827         is not very helpful.
3828
3829 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
3830
3831         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
3832         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
3833         a preference as to where executables should be loaded.
3834
3835 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
3836
3837         * elf/elf.h: Add in all those PowerPC reloc types.
3838
3839 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
3840
3841         * stdio-common/vfscanf.c: Use __va_copy if available.
3842
3843 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3844
3845         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3846         clean up namespace.
3847
3848 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
3849
3850         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
3851         non-existing GET_WORDS macro, use EXTRACT_WORDS.
3852         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3853
3854 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
3855
3856         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3857         kernel-level sigaction structure is different.  handle this
3858         correctly.
3859         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
3860
3861 1997-03-06 05:55  David Engel  <david@sw.ods.com>
3862
3863         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3864         recognize cache entries with flag == 3.
3865
3866 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
3867
3868         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
3869         (INADDR_LOOPBACK): Likewise.
3870         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3871
3872         * manual/socket.texi: Correct types of INADDR_* constants from
3873         unsigned long to unsigned.
3874
3875 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
3876
3877         * time/antarctica: Update from tzdata1997c.
3878         * time/asia: Likewise.
3879         * time/zone.tab: Likewise.
3880
3881 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3882
3883         * configure.in (libc_cv_asm_symver_directive,
3884         libc_cv_ld_version_script_option): Remove unknown instruction from
3885         assembler test file.
3886
3887 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3888
3889         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
3890         __USE_ISOC9X.
3891         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
3892         (fabs): Remove defininition, it is a gcc builtin.
3893         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3894
3895 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
3896
3897         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
3898         generating file.
3899
3900 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
3901
3902         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3903         instead to avoid namespace problems.
3904         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3905
3906 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3907
3908         * login/utmp_file.c: Fix previous change.  Make portable by
3909         checking the _HAVE_UT_* feature macros.
3910
3911 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
3912
3913         * Makerules: Add rules to handle versioning.
3914         * config.h.in (DO_VERSIONING): New macro.
3915         * config.make.in (versioning): New variable.
3916         * configure.in: Add checks for .symver directive in gas and
3917         --version-script option to ld.  Define DO_VERSIONING and
3918         versioning if appropriate.
3919
3920         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
3921         s_fmin, and s_fdim.
3922         * math/math.h: Define ISO C 9X constants, macros and functions.
3923         * math/mathcalls.h: Likewise.
3924         * sysdeps/libm-ieee754/s_fdim.c: New file.
3925         * sysdeps/libm-ieee754/s_fdimf.c: New file.
3926         * sysdeps/libm-ieee754/s_fdiml.c: New file.
3927         * sysdeps/libm-ieee754/s_fmax.c: New file.
3928         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
3929         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
3930         * sysdeps/libm-ieee754/s_fmin.c: New file.
3931         * sysdeps/libm-ieee754/s_fminf.c: New file.
3932         * sysdeps/libm-ieee754/s_fminl.c: New file.
3933         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
3934         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
3935         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
3936         * sysdeps/libm-ieee754/s_signbit.c: New file.
3937         * sysdeps/libm-ieee754/s_signbitf.c: New file.
3938         * sysdeps/libm-ieee754/s_signbitl.c: New file.
3939
3940         * stdio-common/printf_fphex.c: Correct printing of decimal point
3941         character.
3942         Simplify conversion of mantissa to string.
3943         * stdio-common/vfscanf.c: Handle %A format.
3944         Optimize termination of floating-point scanning.
3945         * stdio-common/tstscanf.c (main): Add new test to scanf to test
3946         scanning float values with given width.
3947         * stdlib/strtod.c: Add handling of floating-point numbers in
3948         hexadecimal notation.
3949
3950         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
3951         functions.
3952         Pretty print #if directives.
3953         * string/string.h: Pretty print #if directives.
3954
3955         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
3956         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
3957         * sysdeps/ieee754/mpn2dbl.c: Likewise.
3958         * sysdeps/ieee754/mpn2flt.c: Likewise.
3959         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
3960
3961         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3962         falling back to select-based implementation if syscall isn't
3963         available.
3964         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3965
3966         * time/leapseconds: Update from tzdata1997b.
3967         * time/zic.c: Update from tzcode1997b.
3968
3969 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3970
3971         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3972         depedencies between installed $(tzlinks) and $(tzbases) files.
3973
3974 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3975
3976         * math/math.h: Make compatible with traditional preprocessor;
3977         requires carefull placement of whitespace in macro arguments.
3978         Use __CONCAT instead of ##.
3979         Declare long double functions only if __STDC__ or __GNUC__.
3980         * math/mathcall.h: Avoid whitespace before argument of macro call
3981         that is used as function name.
3982
3983         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3984         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3985         of __NO_M81_MATH_INLINES.
3986         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3987         starting with __ieee754.
3988         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3989         functions as inlines.
3990         (__m81_defun): Put __attribute__ between return type and function
3991         name.
3992         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3993         is defined.
3994         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3995         instead of __NO_M81_MATH_INLINES.
3996         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3997         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3998         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3999         * sysdeps/m68k/fpu/k_tan.c: Likewise.
4000         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
4001         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4002         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4003         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4004         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4005         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4006
4007 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4008
4009         * Makefile (tests): Cope with $PATH not including the current
4010         directory.
4011
4012 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4013
4014         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
4015         $(common-objdir-compile).
4016         ($(common-objpfx)make-ioctls): Likewise.
4017         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
4018         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
4019         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
4020         Likewise.
4021         ($(common-objpfx)sys/syscall.h): Likewise.
4022         ($(common-objpfx)local_lim.h): Let make deal with command
4023         failure.
4024         ($(common-objpfx)param.h.dep): Use temporary file and update
4025         target atomically.
4026         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
4027         (include $(common-objpfx)param.h.dep): Ignore error.
4028
4029         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
4030         $(common-objdir-compile).
4031         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
4032         $(shell pwd) instead of $$cwd.
4033
4034         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
4035         $(common-objdir-compile).
4036         ($(objpfx)make_siglist): Use $(native-compile).
4037         (make_siglist-CFLAGS): New variable.
4038
4039         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
4040         the old name for the user to pass additional flags to the host
4041         compiler.  Fix reference to config header.
4042         (native-compile, common-objdir-compile): Rewritten to make more
4043         generally usable.
4044         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
4045         instead of BUILD_CFLAGS.
4046
4047         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
4048         defined.
4049
4050 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4051
4052         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
4053         New rules to generate dependencies for the RPC service objects.
4054
4055 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4056
4057         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
4058         supplied.
4059
4060 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
4061
4062         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
4063         so that clearing second word is necessary.
4064
4065         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
4066         header since it is wrong for 64 bit systems.
4067         Patch by a sun <asun@zoology.washington.edu>.
4068
4069 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
4070
4071         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
4072         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
4073         for the benefit of running foreign binaries.
4074
4075 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
4076
4077         * login/utmp_file.c (pututline_file): Correctly decide whether
4078         LAST_ENTRY matches DATA.
4079         Don't depend on ut_id ever being set.
4080         (proc_utmp_eq): New function.
4081         (internal_getut_r): Renamed from internal_getutid_r.
4082         Use proc_utmp_eq.
4083
4084         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
4085
4086 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
4087
4088         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
4089
4090 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
4091
4092         * manual/Makefile: Add rules to run and distribute xtract-typefun.
4093         * manual/xtract-typefun.awk: New file.  Script to extract function,
4094         variable, macro anchor to put into the `dir' file.
4095         * manual/signal.texi: Document difference between SysV and BSD
4096         signal(3) function and add documentation for sysv_signal.
4097
4098         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
4099         exponent before comparing.
4100
4101 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
4102
4103         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
4104         prototypes to use types with explicit width.  `unsigned long' is
4105         different on 64 bit systems.
4106         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
4107         * sysdeps/generic/htonl.c: Likewise.
4108         * sysdeps/generic/htons.c: Likewise.
4109         * sysdeps/generic/ntohl.c: Likewise.
4110         * sysdeps/generic/ntohs.c: Likewise.
4111         Suggested by a sun <asun@zoology.washington.edu>.
4112
4113 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
4114
4115         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
4116         defined and we want optimization.
4117
4118 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4119
4120         * misc/getpass.c: Don't disable canonical input.
4121         Reverted patch of Mon Jan  6 01:35:29 1997.
4122
4123 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4124
4125         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
4126         match the hidden __in_chrg parameter of the destructor.
4127         (_IO_FINISH): Pass zero for it.
4128         * libio/genops.c (_IO_default_finish): Add second parameter, which
4129         is ignored.
4130         * libio/memstream.c (_IO_mem_finish): Likewise.
4131         * libio/fileops.c (_IO_file_finish): Likewise.
4132         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
4133
4134 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
4135
4136         * time/Makefile: Avoid using patterns in dependencies.
4137
4138 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
4139
4140         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
4141         SPARC will convert the call _dl_start into a call into the PLT.
4142
4143         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
4144         of arg to make it point to the actual values.
4145
4146         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
4147         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
4148
4149         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
4150         them PIC aware.
4151
4152         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
4153         Implemented.
4154         (elf_machine_rela): Make it compile; fix existing relocation
4155         types; add unhandled relocation types.
4156         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
4157         (RTLD_START): Initial implementation, not yet finished.
4158
4159         * sysdeps/sparc/elf/start.S: Fix.
4160
4161         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
4162         __setfpucw.
4163
4164         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
4165         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
4166         sysdeps/sparc/urem.S : Regenerated.
4167
4168         * sysdeps/sparc/setjmp.S: Make it PIC aware.
4169
4170         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
4171         __ASSEMBLY__ before using kernel header.
4172
4173         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
4174         rtld.c.
4175
4176         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
4177         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
4178         to handle old signals.
4179         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
4180         for all Linux/SPARC kernels.
4181         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
4182         errno using __errno_location.
4183         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
4184         macros for assembler sources.
4185         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
4186
4187 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4188
4189         * elf/rtld.c (dl_main): Remove dead code that is never executed.
4190         Rename local variable l to main_map where it is used to point to
4191         the load_map for the executable.
4192
4193 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4194
4195         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
4196         could not be found.
4197
4198 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4199
4200         * Makerules: Generate implicit object suffix rules automagically.
4201         (o-iterator): Move before first use.
4202
4203         * Makeconfig (all-object-suffixes): Add .bo suffix.
4204
4205 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
4206
4207         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
4208         word on stack for overflow.
4209
4210 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4211
4212         * malloc/malloc.c (malloc_get_state): New function.
4213         Saves global malloc state to an opaque data structure which
4214         is dynamically allocated in the heap.
4215         * malloc/malloc.c (malloc_set_state): New function.
4216         Restore previously obtained state.
4217         * malloc/malloc.h: Add declaration of malloc_get_state()
4218         and malloc_set_state().
4219
4220 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
4221
4222         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
4223         position.
4224
4225 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
4226
4227         * misc/error.c: Make error and error_at_line weak aliases of
4228         __error and __error_at_line respectively.
4229         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
4230
4231         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
4232
4233 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4234
4235         * elf/ldd.bash.in: Run the program directly, not as argument
4236         to the dynamic linker, if it contains an interpreter segment.
4237         * elf/ldd.sh.in: Likewise.
4238
4239         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
4240         object contains an interpreter segment and exit with 2 if not.
4241
4242 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4243
4244         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
4245         and xlocale.h.  Make-dist adds them automagically.
4246
4247 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4248
4249         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
4250         time-era-num-entries.
4251
4252 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4253
4254         * rellns-sh: No need to check for existance of first parameter.
4255
4256 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
4257
4258         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
4259         to avoid duplicate mail.
4260
4261 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
4262
4263         * Makefile (distribute): Add isomac.c.
4264         (tests): Run isomac test.
4265
4266         * features.h (__USE_ISOC9X): New macro.
4267
4268         * catgets/catgets.c: Don't use global variable `optind'.  Instead
4269         use result computed by argp_parse.
4270         * db/makedb: Likewise.
4271         * locale/programs/locale.c: Likewise.
4272         * locale/programs/localedef.c: Likewise.
4273
4274         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
4275
4276         * libio/clearerr.c: Remove clearerr_locked alias.
4277         * libio/feof.c: Remove feof_locked alias.
4278         * libio/ferror.c: Remove feof_locked alias.
4279         * libio/fileno.c: Remove fileno_locked alias.
4280         * libio/fputc.c: Remove fputc_locked alias.
4281         * libio/getc.c: Remove getc_locked alias.
4282         * libio/getchar.c: Remove getchar_locked alias.
4283         * libio/iofflush.c: Remove fflush_locked alias.
4284         * libio/putc.c: Remove putc_locked alias.
4285         * libio/putc.c: Remove putchar_locked alias.
4286
4287         * stdio-common/printf_fp.c: When number is inifinity print INF
4288         or inf depending on case of specifier.  Same for NaN where NAN
4289         or nan is printed.  Specified in ISO C 9X.
4290
4291         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
4292         * stdio/stdio.h: Add __restrict to prototypes where necessary.
4293         * libio/stdio.h: Likewise.
4294         * stdlib/stdlib.h: Likewise.
4295         * string/string.h: Likewise.
4296         * time/time.h: Likewise.
4297         * wcsmbs/wchar.h: Likewise.
4298
4299         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
4300         NAN(...).
4301
4302         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
4303         of HUGE_VALf and HUGE_VALL.
4304         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
4305         instead of HUGE_VALf.
4306         * wcsmbs/wcstof.c: Likewise.
4307         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
4308         instead of HUGE_VALl.
4309         * wcsmbs/wcstold.c: Likewise.
4310
4311         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
4312         avoid warning.
4313
4314         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
4315         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
4316         * wcsmbs/wcscasecmp.c: New file.
4317         * wcsmbs/wcsncase.c: New file.
4318
4319         * stdlib/strtol.c: Define wide character quad word functions as
4320         wcstoll and wcstoull and normal versions as strtoll and strtoull.
4321         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
4322         * wcsmbs/wcstoq: Renamed to wcstoll.c.
4323         * wcsmbs/wcstouq: Renamed to wcstoull.c.
4324         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
4325         alias of wcstoll.
4326         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
4327         alias of wcstoull.
4328         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
4329         wcstoll and wcstoull respectively.
4330         * stdlib/strtoq.c: Rename to strtoll.c.
4331         * stdlib/strtouq.c: Rename to strtoull.c.
4332         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
4333         alias of strtoll.
4334         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
4335         alias of strtoull.
4336         * stdlib/Makefile (routines): Replace strtoq and strtouq by
4337         strtoll and strtoull respectively.
4338         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
4339         __strtouq_internal but instead __strtoll_internal and
4340         __strtoull_internal respectively.
4341         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
4342         (strtouq): Similar with __internal_strtoull.
4343         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
4344         (wcstouq): Similar with __internal_wcstoull.
4345
4346 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
4347
4348         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
4349         sign in the strtouXX functions.  The results gets simply negated.
4350         * stdio-common/tstscanf.c: Add testcase for above case.
4351         * stdlib/tst-strtol.c: Correct tests.
4352
4353         * manual/stdio-fp.c: New file.  Generate output for example program
4354         in stdio.texi.
4355
4356         * stdio-common/Makefile (routines): Add printf_fphex.
4357         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
4358         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
4359         specifier.
4360
4361 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
4362
4363         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
4364         __STRICT_ANSI__.
4365
4366         * math/math.h: Prevent definition of struct exception when using
4367         C++.  Use __exception instead.
4368
4369 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
4370
4371         * sysdeps/unix/syscalls.list: Dup takes only one argument.
4372         Reported by Greg McGary.
4373
4374 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
4375
4376         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
4377         than file_get_translator.
4378
4379         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
4380         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
4381
4382 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
4383
4384         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
4385         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4386
4387 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
4388
4389         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
4390         but ADDR also == 0.
4391
4392         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
4393         now instead of a weak extern, as some old programs expect it to be
4394         defined by ld.so.
4395
4396 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
4397
4398         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
4399
4400         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
4401         __hurd_threadvar_stack_offset): Restore initialized versions, so
4402         startup works correctly.
4403
4404         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
4405
4406 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
4407
4408         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
4409         not __mutex_try_lock.
4410         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
4411         (tsd_getspecific): Case variable to (void *) before returning.
4412
4413         * hurd/hurdinit.c (__libc_argv): Remove extern.
4414         (__libc_argc): New variable.
4415
4416 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
4417
4418         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
4419         _HURD_THREADVAR_MALLOC.
4420         * malloc/thread-m.h
4421         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
4422         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
4423         __mutex_*.
4424         (mutex_t): Type removed & replaced by new macro.
4425         (tsd_key_t): Typedef to int instead of pthread_key_t.
4426         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
4427         (__pthread_initialize): New macro, work around assumption of pthreads.
4428         (tsd_keys_alloced): New static variable.
4429         <hurd/threadvar.h>: New include.
4430
4431         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
4432         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
4433         defined before using it.
4434
4435         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
4436         Make extern.
4437         * hurd/hurdinit.c (__libc_argv): Make extern.
4438
4439         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
4440         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
4441
4442         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
4443         __hurd_threadvar_stack_offset,
4444         __hurd_threadvar_stack_mask): New variables.
4445         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
4446         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
4447         New variables (moved here from hurdstartup.c).
4448         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
4449         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
4450         Variables removed (moved to hurdsig.c).
4451         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
4452         __hurd_threadvar_stack_mask): Variables removed.
4453         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
4454         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
4455         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
4456         __hurd_threadvar_stack_mask): Variables removed.
4457
4458 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
4459
4460         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
4461         Declare extern.
4462
4463         * malloc/thread-m.h
4464         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
4465         (mutex_t): Type removed.
4466         (mutex_t): New macro.
4467         (mutex_trylock): New macro.
4468         (__x_mutex_lock, __x_mutex_unlock): New functions.
4469         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
4470         the cthread definitions.
4471         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
4472         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
4473         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
4474         (__pthread_initialize): New macro, work around assumption of pthreads.
4475
4476 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
4477
4478         * locale/weight.h (collate_rules): It's an u_int32_t array.
4479         (get_weight): Compute initial SLOT value correctly.
4480
4481 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
4482
4483         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
4484         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
4485         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4486         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4487         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4488         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4489         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4490         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4491         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4492         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4493         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4494         * sysdeps/unix/sysv/linux/send.S: Likewise.
4495         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4496         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4497         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4498         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4499         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4500
4501 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
4502
4503         * catgets/gencat.c: Change to use argp.
4504         * db/makedb: Likewise.
4505         * locale/programs/localedef.c: Likewise.
4506
4507         * locale/programs/locale.c: Little adjustment for better usage of
4508         argp.
4509
4510 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
4511
4512         * Makeconfig: Add rules for libc with bounded pointers.
4513         * Makerules: Likewise.
4514         * config.make.in: Likewise.
4515         * configure.in: Likewise.
4516
4517 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
4518
4519         * argp.h (OPTION_NO_USAGE): New macro.
4520         * argp-help.c (usage_long_opt, usage_argful_short_opt,
4521         add_argless_short_opt): Implement OPTION_NO_USAGE.
4522
4523 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4524
4525         * malloc/obstack.h: Fix typo.
4526
4527 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
4528
4529         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
4530         where NEXTLINE points one past the end of the active buffer.
4531
4532         * argp-help.c <stddef.h>: New include.
4533         (__argp_failure): Only exit if STATE says it's ok.
4534         (print_header, hol_entry_help): Use UPARAMS fields rather than
4535         constants.
4536         (_help): Call fill_in_uparams if necessary.
4537         (struct hol_help_state): New type.
4538         (struct pentry_state): Add hhstate field.  Remove prev_entry &
4539         sep_groups fields.
4540         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
4541         sep_groups parameters.
4542         Suppress duplicate arguments if requested, and note the fact.
4543         (print_header, comma): Use PEST->hhstate fields.
4544         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
4545         Remove LAST_ENTRY & SEP_GROUPS variables.
4546         If any suplicate arguments were suppressed, print explanatory note.
4547         (filter_doc): Replace PEST parameter with STATE.
4548         (struct uparams): New type.
4549         (uparams): New variable.
4550         (struct uparam_name): New type.
4551         (uparam_names): New variable.
4552         (fill_in_uparams): New function.
4553         (__argp_failure, __argp_error, __argp_state_help): Make STATE
4554         parameter const.
4555         * argp.h (argp_state_help, __argp_state_help, argp_usage,
4556         __argp_usage, argp_error, __argp_error, argp_failure,
4557         __argp_failure): Make STATE parameter const.
4558         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
4559
4560         * argp.h (argp_program_bug_address): Make const.
4561
4562 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
4563
4564         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
4565
4566 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
4567
4568         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
4569
4570 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
4571
4572         * stdio-common/test-fseek.c: Remove temporary file, add
4573         copyright.
4574
4575 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
4576
4577         * sysdeps/generic/netinet/in.h: Protect contents using
4578         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
4579
4580         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
4581         * inet/Makefile (headers): Remove net/ethernet.h.
4582         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
4583         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
4584
4585 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4586
4587         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
4588         searching in sorted array.
4589
4590 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
4591
4592         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
4593         and protect modification of global data.
4594
4595 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
4596
4597         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
4598         (parser_init): Use the basename for PARSER->state.name.
4599         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
4600         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
4601
4602         * argp-parse.c (parser_init): Set PARSER->state.flags.
4603         Make check whether PARSER has the prog name in argv[0] at the
4604         proper place.
4605
4606 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
4607
4608         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
4609         Use default value instead of printing a warning.
4610
4611         * nss/XXX-lookup.c: Add missing explanation.
4612
4613 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
4614
4615         * inet/in6_addr.c: Add missing braces.
4616
4617         * inet/getnameinfo.c: Include <arpa/inet.h>.
4618
4619         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
4620
4621 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
4622
4623         * string/strxfrm.c (STRCOLL): Correct handling of `position'
4624         levels with no non-IGNOREd element and handling of NUL byte.
4625         * string/strcoll.c (STRXFRM): Likewise.
4626         * locale/weight.h: Likewise.
4627
4628         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
4629
4630 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
4631
4632         * argp/argp-help.c: Add support for user provided filter of help
4633         messages.
4634         * argp/argp-parse.c: Likewise.
4635         * argp/argp.h: Likewise.
4636         * argp/argp-namefrob.h: Define __argp_input.
4637
4638         * argp/argp-test.c: Add example for filter.
4639
4640 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
4641
4642         * argp.h: New file.
4643         * locale/programs/locale.c: Switch to use argp.
4644
4645         * errno.h: Make it possible to get definition of error_t even
4646         after having errno.h already.
4647
4648         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
4649         from dl-lookup.c.
4650         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
4651
4652         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
4653         * elf/dl-version.c: Likewise.
4654
4655         * elf/dl-lookup.c: Implement new versioning lookup scheme.
4656         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
4657         in l_versions member.
4658
4659         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
4660         and _dl_lookup_versioned_symbol.
4661
4662         * elf/link.h: Rename hash_name_pair to struct r_found_version.
4663         * sysdeps/alpha/dl-machine.h: Likewise.
4664         * sysdeps/i386/dl-machine.h: Likewise.
4665         * sysdeps/m68k/dl-machine.h: Likewise.
4666         * sysdeps/mips/dl-machine.h: Likewise.
4667
4668         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
4669         length of abs_filename.
4670
4671         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
4672
4673         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
4674         in mon_grouping information.  This means no more grouping.
4675         * locale/programs/ld-numeric.c (numeric_add): Write value \377
4676         when seein value 0 in grouping information.
4677         * locale/programs/linereader.c (lr_close): Don't free fname since
4678         it might be used in error messages.
4679
4680         * locale/programs/locale.c: Check whether output of `locale -a'
4681         really is locale directory.  Also print locale aliases.
4682
4683         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
4684         be const.
4685
4686 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
4687
4688         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
4689         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
4690
4691 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
4692
4693         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
4694
4695 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
4696
4697         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
4698         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
4699
4700         * sysdeps/stub/msync.c (msync): Add missing third parameter.
4701
4702 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
4703
4704         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
4705         additional argument.
4706
4707 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
4708
4709         * inet/net/ethernet.h: New file.
4710         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
4711         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
4712         Contributed by a sun <asun@zoology.washington.edu>.
4713
4714         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
4715         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
4716         Reported by a sun <asun@zoology.washington.edu>.
4717
4718 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4719
4720         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
4721         makefiles which may change the distinfo variables.
4722
4723 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4724
4725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4726         [$(subdir)=misc]: Add sys/quota.h.
4727         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
4728
4729 1997-02-17 13:12  aleph1@dfw.net
4730
4731         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
4732         strncpy.
4733
4734 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
4735
4736         * stdio-common/bug10.c (main): Correct parameter.
4737
4738 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
4739
4740         * malloc/obstack.h: Add `extern "C"' protection.
4741         * posix/regex.h: Likewise.
4742         * io/ftw.h: Likewise.
4743         * misc/libgen.h: Likewise.
4744         * login/utmp.h: Likewise.
4745         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
4746         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
4747         * sunrpc/rpc/pmap_rmt.h: Likewise.
4748         * sunrpc/rpc/auth_des.h: Likewise.
4749         * elf/link.h: Likewise.
4750         Reported by HJ Lu.
4751
4752 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
4753
4754         Linux specific network headers.
4755         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
4756         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
4757         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
4758         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
4759         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
4760         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
4761         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
4762         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
4763         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
4764         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
4765         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
4766         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
4767         Add sys/quota.h.
4768         [$(subdir)=inet] (sysdep_headers): Add new network header.
4769
4770         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
4771
4772         * inet/netinet/ip.h: Move to sysdeps/generic.
4773         * inet/netinet/tcp.h: Likewise.
4774         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
4775         * sysdeps/generic/netinet/tcp.h: Likewise.
4776
4777 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
4778
4779         * misc/sys/syslog.h (prioritynames): Correct definition to use
4780         braces where necessary.
4781         (facilitynames): Likewise.
4782         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
4783         Comment and beautify declarations.
4784
4785 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
4786
4787         * inet/Makefile (routines): Add in6_addr, getnameinfo.
4788         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
4789         by Craig Metz.
4790         * inet/in6_addr.c: New file.  IPv6 addressing constants.
4791         * posix/Makefile (routines): Add gai_strerror.
4792         * resolv/netdb.h: Add more constants for IPv6 basic API.
4793         * sysdeps/posix/gai_strerror.c: New file.
4794         * sysdeps/stub/gai_strerror.c New file.
4795         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
4796         basic API.
4797
4798         * sysdeps/posix/getaddrinfo.c: Update from latest version by
4799         Craig Metz and use reentrant getXXbyYY functions.
4800
4801 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
4802
4803         * argp/argp.h: Declare argp_program_version as const char.
4804         * argp/argp-test.c: Likewise
4805
4806         * stdlib/testrand.c (main): Declare main prototype.
4807         * stdlib/testdiv.c (main): Likewise.
4808         * string/testcopy.c (main): Likewise.
4809         * string/test-ffs.c (main): Likewise.
4810         * time/test_time.c (main): Likewise.
4811
4812         * locale/duplocale.c (__duplocale): Return result.
4813
4814 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
4815
4816         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
4817         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
4818
4819         * nss/nss.h: Remove declaration of __nss_shlib_revision.
4820         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
4821
4822 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4823
4824         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
4825         _nss_nis_gethostton_r.
4826         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
4827
4828 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
4829
4830         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
4831         trying to resolv name as numeric IPv6 address.
4832         * nss/digits_dots.c: Likewise.
4833
4834 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
4835
4836         * locale/setlocale.c (setlocale): Don't try to be clever about
4837         unused locales.  When the existence of the locale files isn't
4838         tested the result of setlocale might be different.
4839
4840 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
4841
4842         * locale/setlocale.c (setlocale): Don't increment usage_count of
4843         new locale if it already has the value MAX_USAGE_COUNT (it might
4844         be the C locale data which is read-only).
4845
4846 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
4847
4848         * argp/argp-help.c: Gettextize sources.
4849         * argp/argp-parse.c: Likewise.
4850
4851 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
4852
4853         * features.h (__GLIBC_MINOR__): Bump to 1.
4854
4855         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
4856         * Makefile (distribute): Add xlocale.h.
4857         * locale/Makefile (routines): Add ctype_l.
4858         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
4859         Add __isblank_l, __toascii_l and __isascii_l.
4860         * ctype/ctype.h: Add definitions and declarations for *_l functions.
4861         * locale/Makefile (headers): Add xlocale.h.
4862         (routines): Add newlocale, duplocale, and freelocale.
4863         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
4864         (struct locale_data): Add new fields mmaped and usage_count.
4865         Correct various declarations.
4866         * locale/C-collate.c: Define value for new fields mmaped and
4867         usage_count.
4868         * locale/C-ctype.c: Likewise.
4869         * locale/C-messages.c: Likewise.
4870         * locale/C-monetary.c: Likewise.
4871         * locale/C-numeric.c: Likewise.
4872         * locale/C-time.c: Likewise.
4873         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
4874         usage_count fields.
4875         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
4876         Correct prototypes for __newlocale and __freelocale.
4877         Add prototype for __duplocale.
4878         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
4879         (_nl_remove_locale): New function.
4880         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
4881         * locale/setlocale.c: Likewise.
4882         * locale/weight.h: Change for use with locale objects.
4883         * locale/xlocale.h: New file.  Define __locale_t type.
4884         * locale/newlocale.c: New file.  Create new locale object.
4885         * locale/freelocale.c: New file.  Destroy locale object.
4886         * locale/duplocale.c: New file.  Create copy of locale object.
4887         * stdlib/Makefile (routines): Add strfmon_l.
4888         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
4889         * stdlib/strfmon.c: Add support for use in extended locale model.
4890         * stdlib/strfmon_l.c: New file.
4891         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
4892         * string/strcoll.c: Change for use in extended locale model.
4893         * string/strxfrm.c: Likewise.
4894         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
4895         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
4896         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
4897         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
4898         * wcsmbs/wcscoll.c: Change for use in extended locale model.
4899         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
4900         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
4901         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
4902         and towctrans_l.
4903         * wctype/cname-lookup.h: Prepare for use in extended locale model.
4904         * wctype/iswctype_l.c: New file.  Implement character classification
4905         functions for use with locale objects.
4906         * wctype/wctype.h: Declare functions for use with locale objects.
4907         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
4908         for use with locale objects.
4909         * wctype/wcfuncs_l.c: New file.  Implement wide character
4910         classification functions for use with locale objects.
4911         * wctype/wcextra.c: New file.  Implement real functions for
4912         non-standard classification functions.
4913
4914         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
4915         parameters to ld.so.  Use environment variables.
4916         * elf/ldd.sh.in: Likewise.
4917         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
4918         options.  Instead read environment variables.
4919
4920         * elf/link.h (receiver_fct): Add new argument to take error code.
4921         * elf/dl-error.c (_dl_signal_error): Call receiver function with
4922         another argument.
4923
4924         * elf/dl-object.c (_dl_new_object): Create new object with list of
4925         names in l_libname member.
4926         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
4927         find to object to the list in the link_map variable.
4928         (_dl_map_object): Use _dl_does_name_match_p to compare with all
4929         available names of the object.
4930         Optimize handling of LD_LIBRARY_PATH a bit.
4931         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
4932
4933         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
4934
4935         * elf/Makefile (routines): Add dl-version.
4936         * elf/link.h (hash_name_pair): New type.  Group pointer to string
4937         and its hash value.
4938         (struct link_map): Change l_libname member to be a list of names,
4939         not a single pointer to a name.
4940         Add new members l_nversions and l_versions.
4941         (_dl_does_name_match_p): New function to test for all names of an
4942         object.
4943         Add prototypes for new lookup and versioning functions.
4944         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
4945         when versioned symbol is requested.
4946         (_dl_lookup_symbol): Call do_lookup with another argument.
4947         (_dl_lookup_symbol_skip): Likewise.
4948         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
4949         versioned symbol.
4950         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
4951         _dl_lookup_symbol_skip.
4952         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
4953         _dl_lookup_symbol depending on availability of version information.
4954         * elf/dl-runtime.c (RESOLVE): Likewise.
4955         (fixup): Call elf_machine_relplt with additional argument to point
4956         to versioning information if available.
4957         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
4958         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
4959         for correct versions.
4960         * elf/dl-version.c: New file.  Check library versions and extract
4961         version information for easier access.
4962         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
4963         * elf/dlvsym.c: New file.  Implementation of function similar to
4964         dlsym, but looks for versioned symbol.
4965         * elf/elf.h: Add types and macros for versioning.
4966         * elf/rtld.c (dl_main): Check availability of needed versions.
4967         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
4968         argument for version information.  Call RESOLVE with additional
4969         argument.
4970         * sysdeps/i386/dl-machine.h: Likewise.
4971         * sysdeps/m68k/dl-machine.h: Likewise.
4972         * sysdeps/mips/dl-machine.h: Likewise.
4973
4974         * elf/dlerror.c: Change comment to align with guidelines.
4975         * elf/dlopen.c: Likewise.
4976         * elf/dlsym.c: Likewise.
4977
4978         * locale/programs/localedef.c: Implement --quiet option.
4979         * locale/programs/charset.h: Declare be_quiet variable.
4980         * locale/programs/locfile.h: Likewise.
4981         * locale/programs/charmap.c: Don't print warnings if quiet option
4982         was given.
4983         * locale/programs/ld-collate.c: Likewise.
4984         * locale/programs/ld-ctype.c: Likewise.
4985         * locale/programs/ld-messages.c: Likewise.
4986         * locale/programs/ld-monetary.c: Likewise.
4987         * locale/programs/ld-numeric.c: Likewise.
4988         * locale/programs/ld-time.c: Likewise.
4989         * locale/programs/locfile.c: Likewise.
4990
4991         * Makefile (subdirs): Add argp.
4992
4993         * catgets/catgets.c (catopen): Little code improvement.
4994
4995         * posix/execl.c: Remove restriction to 1024 arguments.
4996         * posix/execle.c: Likewise.
4997         * posix/execlp.c: Likewise.
4998
4999         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
5000         and make regular names weak aliases.
5001         * posix/getopt1.c: Likewise.
5002         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
5003         __ protected forms.
5004
5005         * posix/unistd.h: Add prototype for __sleep.
5006         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
5007         * sysdeps/posix/sleep.c: Likewise.
5008         * sysdeps/stub/sleep.c: Likewise.
5009         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5010
5011         * ctype/ctype-info.c: Update copyright.
5012         * ctype/ctype.c: Likewise.
5013         * ctype/test_ctype.c: Likewise.
5014         * dirent/alphasort.c: Likewise.
5015         * dirent/list.c: Likewise.
5016         * gmon/bb_exit_func.c: Likewise.
5017         * grp/fgetgrent.c: Likewise.
5018         * grp/getgrent.c: Likewise.
5019         * grp/getgrent_r.c: Likewise.
5020         * grp/getgrgid.c: Likewise.
5021         * grp/getgrgid_r.c: Likewise.
5022         * grp/getgrnam.c: Likewise.
5023         * grp/getgrnam_r.c: Likewise.
5024         * hurd/alloc-fd.c: Likewise.
5025         * hurd/catch-exc.c: Likewise.
5026         * hurd/ctty-input.c: Likewise.
5027         * hurd/ctty-output.c: Likewise.
5028         * hurd/dtable.c: Likewise.
5029         * hurd/fchroot.c: Likewise.
5030         * hurd/fd-close.c: Likewise.
5031         * hurd/fd-read.c: Likewise.
5032         * hurd/fd-write.c: Likewise.
5033         * hurd/fopenport.c: Likewise.
5034         * hurd/get-host.c: Likewise.
5035         * hurd/getdport.c: Likewise.
5036         * hurd/getuids.c: Likewise.
5037         * hurd/getumask.c: Likewise.
5038         * hurd/hurd-raise.c: Likewise.
5039         * hurd/hurd.h: Likewise.
5040         * hurd/hurdauth.c: Likewise.
5041         * hurd/hurdexec.c: Likewise.
5042         * hurd/hurdhost.h: Likewise.
5043         * hurd/hurdid.c: Likewise.
5044         * hurd/hurdinit.c: Likewise.
5045         * hurd/hurdioctl.c: Likewise.
5046         * hurd/hurdkill.c: Likewise.
5047         * hurd/hurdlookup.c: Likewise.
5048         * hurd/hurdmsg.c: Likewise.
5049         * hurd/hurdpid.c: Likewise.
5050         * hurd/hurdports.c: Likewise.
5051         * hurd/hurdprio.c: Likewise.
5052         * hurd/hurdrlimit.c: Likewise.
5053         * hurd/hurdsock.c: Likewise.
5054         * hurd/hurdstartup.c: Likewise.
5055         * hurd/hurdstartup.h: Likewise.
5056         * hurd/intern-fd.c: Likewise.
5057         * hurd/intr-msg.c: Likewise.
5058         * hurd/intr-rpc.defs: Likewise.
5059         * hurd/intr-rpc.h: Likewise.
5060         * hurd/msgportdemux.c: Likewise.
5061         * hurd/new-fd.c: Likewise.
5062         * hurd/openport.c: Likewise.
5063         * hurd/pid2task.c: Likewise.
5064         * hurd/port-cleanup.c: Likewise.
5065         * hurd/port2fd.c: Likewise.
5066         * hurd/ports-get.c: Likewise.
5067         * hurd/ports-set.c: Likewise.
5068         * hurd/privports.c: Likewise.
5069         * hurd/report-wait.c: Likewise.
5070         * hurd/set-host.c: Likewise.
5071         * hurd/setauth.c: Likewise.
5072         * hurd/setuids.c: Likewise.
5073         * hurd/siginfo.c: Likewise.
5074         * hurd/sigunwind.c: Likewise.
5075         * hurd/task2pid.c: Likewise.
5076         * hurd/thread-cancel.c: Likewise.
5077         * hurd/thread-self.c: Likewise.
5078         * hurd/vpprintf.c: Likewise.
5079         * hurd/hurd/fd.h: Likewise.
5080         * hurd/hurd/id.h: Likewise.
5081         * hurd/hurd/ioctl.h: Likewise.
5082         * hurd/hurd/lookup.h: Likewise.
5083         * hurd/hurd/port.h: Likewise.
5084         * hurd/hurd/resource.h: Likewise.
5085         * hurd/hurd/threadvar.h: Likewise.
5086         * hurd/hurd/userlink.h: Likewise.
5087         * inet/ether_aton.c: Likewise.
5088         * inet/ether_aton_r.c: Likewise.
5089         * inet/ether_ntoa.c: Likewise.
5090         * inet/ether_ntoa_r.c: Likewise.
5091         * inet/gethstbyad.c: Likewise.
5092         * inet/gethstbyad_r.c: Likewise.
5093         * inet/gethstent.c: Likewise.
5094         * inet/getnetbyad.c: Likewise.
5095         * inet/getnetbyad_r.c: Likewise.
5096         * inet/getnetbynm.c: Likewise.
5097         * inet/getnetbynm_r.c: Likewise.
5098         * inet/getnetent.c: Likewise.
5099         * inet/getnetent_r.c: Likewise.
5100         * inet/getproto.c: Likewise.
5101         * inet/getproto_r.c: Likewise.
5102         * inet/getprtent.c: Likewise.
5103         * inet/getprtent_r.c: Likewise.
5104         * inet/getprtname.c: Likewise.
5105         * inet/getrpcbyname.c: Likewise.
5106         * inet/getrpcbyname_r.c: Likewise.
5107         * inet/getrpcbynumber.c: Likewise.
5108         * inet/getrpcbynumber_r.c: Likewise.
5109         * inet/getrpcent.c: Likewise.
5110         * inet/getrpcent_r.c: Likewise.
5111         * inet/getservent.c: Likewise.
5112         * inet/getservent_r.c: Likewise.
5113         * inet/getsrvbynm.c: Likewise.
5114         * inet/getsrvbynm_r.c: Likewise.
5115         * inet/getsrvbypt.c: Likewise.
5116         * inet/getsrvbypt_r.c: Likewise.
5117         * inet/herrno.c: Likewise.
5118         * inet/netgroup.h: Likewise.
5119         * ient/netinet/ether.h: Likewise.
5120         * intl/bindtextdom.c: Likewise.
5121         * intl/dcgettext.c: Likewise.
5122         * intl/dgettext.c: Likewise.
5123         * intl/gettext.c: Likewise.
5124         * intl/gettext.h: Likewise.
5125         * intl/gettextP.h: Likewise.
5126         * intl/hash-string.h: Likewise.
5127         * intl/loadmsgcat.c: Likewise.
5128         * intl/localealias.c: Likewise.
5129         * intl/textdomain.c: Likewise.
5130         * io/creat.c: Likewise.
5131         * io/getdirname.c: Likewise.
5132         * io/lockf.c: Likewise.
5133         * io/pwd.c: Likewise.
5134         * io/test-utime.c: Likewise.
5135         * locale/categories.def: Likewise.
5136         * locale/codeset_name.c: Likewise.
5137         * locale/lc-collate.c: Likewise.
5138         * locale/lc-ctype.c: Likewise.
5139         * locale/lc-messages.c: Likewise.
5140         * locale/lc-monetary.c: Likewise.
5141         * locale/lc-numeric.c: Likewise.
5142         * locale/lc-time.c: Likewise.
5143         * locale/loadlocale.c: Likewise.
5144         * locale/localeconv.c: Likewise.
5145         * locale/nl_langinfo.c: Likewise.
5146         * locale/setlocale.c: Likewise.
5147         * locale/strlen-hash.h: Likewise.
5148         * locale/programs/charmap-kw.gperf: Likewise.
5149         * locale/programs/charmap-kw.h: Likewise.
5150         * locale/programs/charset.c: Likewise.
5151         * locale/programs/ld-ctype.c: Likewise.
5152         * locale/programs/ld-messages.c: Likewise.
5153         * locale/programs/ld-monetary.c: Likewise.
5154         * locale/programs/linereader.h: Likewise.
5155         * locale/programs/locale-spec.c: Likewise.
5156         * locale/programs/locales.h: Likewise.
5157         * locale/programs/locfile-kw.gperf: Likewise.
5158         * locale/programs/locfile-kw.h: Likewise.
5159         * locale/programs/locfile-token.h: Likewise.
5160         * locale/programs/simple-hash.h: Likewise.
5161         * locale/programs/stringtrans.c: Likewise.
5162         * locale/programs/stringtrans.h: Likewise.
5163         * login/logout.c: Likewise.
5164         * mach/bootprivport.c: Likewise.
5165         * mach/devstream.c: Likewise.
5166         * mach/hello.c: Likewise.
5167         * mach/mach.h: Likewise.
5168         * mach/mach_init.c: Likewise.
5169         * mach/mach_init.h: Likewise.
5170         * mach/mig-alloc.c: Likewise.
5171         * mach/mig-dealloc.c: Likewise.
5172         * mach/mutex-init.c: Likewise.
5173         * mach/mutex-solid.c: Likewise.
5174         * mach/setup-thread.c: Likewise.
5175         * mach/spin-lock.h: Likewise.
5176         * mach/spin-solid.c: Likewise.
5177         * mach/mach/mig_support.h: Likewise.
5178         * md5-crypt/md5-crypt.c: Likewise.
5179         * misc/nlist.h: Likewise.
5180         * nss/nss_files/files-ether.c: Likewise.
5181         * posix/confstr.c: Likewise.
5182         * posix/execl.c: Likewise.
5183         * posix/execle.c: Likewise.
5184         * posix/execlp.c: Likewise.
5185         * posix/execv.c: Likewise.
5186         * posix/execvp.c: Likewise.
5187         * posix/fnmatch.c: Likewise.
5188         * posix/getopt.c: Likewise.
5189         * posix/getopt.h: Likewise.
5190         * posix/getopt1.c: Likewise.
5191         * posix/id.c: Likewise.
5192         * posix/regex.c: Likewise.
5193         * posix/setpgrp.c: Likewise.
5194         * posix/unistd.h: Likewise.
5195         * posix/wordexp.c: Likewise.
5196         * pwd/fgetpwent.c: Likewise.
5197         * pwd/getpwent.c: Likewise.
5198         * pwd/getpwent_r.c: Likewise.
5199         * pwd/getpwnam.c: Likewise.
5200         * pwd/getpwnam_r.c: Likewise.
5201         * pwd/getpwuid.c: Likewise.
5202         * pwd/getpwuid_r.c: Likewise.
5203         * pwd/putpwent.c: Likewise.
5204         * resolv/gethnamaddr.c: Likewise.
5205         * resolv/res_hconf.c: Likewise.
5206         * resolv/res_hconf.h: Likewise.
5207         * setjmp/longjmp.c: Likewise.
5208         * setjmp/sigjmp.c: Likewise.
5209         * setjmp/tst-setjmp.c: Likewise.
5210         * stdio/clearerr.c: Likewise.
5211         * stdio/ferror.c: Likewise.
5212         * stdio/fgetc.c: Likewise.
5213         * stdio/fgetpos.c: Likewise.
5214         * stdio/fgets.c: Likewise.
5215         * stdio/fileno.c: Likewise.
5216         * stdio/fmemopen.c: Likewise.
5217         * stdio/fopen.c: Likewise.
5218         * stdio/fopncook.c: Likewise.
5219         * stdio/fputc.c: Likewise.
5220         * stdio/fputs.c: Likewise.
5221         * stdio/fread.c: Likewise.
5222         * stdio/freopen.c: Likewise.
5223         * stdio/fseek.c: Likewise.
5224         * stdio/fsetpos.c: Likewise.
5225         * stdio/ftell.c: Likewise.
5226         * stdio/fwrite.c: Likewise.
5227         * stdio/getchar.c: Likewise.
5228         * stdio/getdelim.c: Likewise.
5229         * stdio/gets.c: Likewise.
5230         * stdio/glue.c: Likewise.
5231         * stdio/internals.c: Likewise.
5232         * stdio/linewrap.c: Likewise.
5233         * stdio/linewrap.h: Likewise.
5234         * stdio/memstream.c: Likewise.
5235         * stdio/newstream.c: Likewise.
5236         * stdio/putchar.c: Likewise.
5237         * stdio/puts.c: Likewise.
5238         * stdio/rewind.c: Likewise.
5239         * stdio/setbuf.c: Likewise.
5240         * stdio/setbuffer.c: Likewise.
5241         * stdio/setlinebuf.c: Likewise.
5242         * stdio/setvbuf.c: Likewise.
5243         * stdio/ungetc.c: Likewise.
5244         * stdio/vasprintf.c: Likewise.
5245         * stdio/vscanf.c: Likewise.
5246         * stdio/vsnprintf.c: Likewise.
5247         * stdio/vsprintf.c: Likewise.
5248         * stdio/vsscanf.c: Likewise.
5249         * stdio-common/asprintf.c: Likewise.
5250         * stdio-common/dprintf.c: Likewise.
5251         * stdio-common/errnobug.c: Likewise.
5252         * stdio-common/fprintf.c: Likewise.
5253         * stdio-common/getline.c: Likewise.
5254         * stdio-common/getw.c: Likewise.
5255         * stdio-common/perror.c: Likewise.
5256         * stdio-common/psignal.c: Likewise.
5257         * stdio-common/putw.c: Likewise.
5258         * stdio-common/reg-printf.c: Likewise.
5259         * stdio-common/scanf.c: Likewise.
5260         * stdio-common/snprintf.c: Likewise.
5261         * stdio-common/sprintf.c: Likewise.
5262         * stdio-common/tempnam.c: Likewise.
5263         * stdio-common/test_rdwr.c: Likewise.
5264         * stdio-common/tst-fileno.c: Likewise.
5265         * stdio-common/tst-printf.c: Likewise.
5266         * stdio-common/tstgetln.c: Likewise.
5267         * stdio-common/vprintf.c: Likewise.
5268         * stdlib/drand48.c: Likewise.
5269         * stdlib/drand48_r.c: Likewise.
5270         * stdlib/erand48.c: Likewise.
5271         * stdlib/erand48_r.c: Likewise.
5272         * stdlib/exit.h: Likewise.
5273         * stdlib/strtoq.c: Likewise.
5274         * stdlib/strtoul.c: Likewise.
5275         * stdlib/strtouq.c: Likewise.
5276         * stdlib/test-canon.c: Likewise.
5277         * stdlib/testdiv.c: Likewise.
5278         * stdlib/testrand.c: Likewise.
5279         * string/argz-append.c: Likewise.
5280         * string/argz-count.c: Likewise.
5281         * string/argz-create.c: Likewise.
5282         * string/argz-ctsep.c: Likewise.
5283         * string/argz-delete.c: Likewise.
5284         * string/argz-extract.c: Likewise.
5285         * string/argz-insert.c: Likewise.
5286         * string/argz-next.c: Likewise.
5287         * string/argz-stringify.c: Likewise.
5288         * string/basename.c: Likewise.
5289         * string/envz.c: Likewise.
5290         * string/memfrob.c: Likewise.
5291         * string/strcoll.c: Likewise.
5292         * string/strdup.c: Likewise.
5293         * string/string.h: Likewise.
5294         * string/strndup.c: Likewise.
5295         * string/strnlen.c: Likewise.
5296         * string/strsignal.c: Likewise.
5297         * string/strxfrm.c: Likewise.
5298         * string/test-ffs.c: Likewise.
5299         * string/testcopy.c: Likewise.
5300         * sysdeps/generic/enbl-secure.c: Likewise.
5301         * sysdeps/generic/memcopy.h: Likewise.
5302         * sysdeps/generic/stpncpy.c: Likewise.
5303         * sysdeps/generic/strcasecmp.c: Likewise.
5304         * sysdeps/generic/strcat.c: Likewise.
5305         * sysdeps/generic/strchr.c: Likewise.
5306         * sysdeps/generic/strcpy.c: Likewise.
5307         * sysdeps/generic/strcspn.c: Likewise.
5308         * sysdeps/generic/strlen.c: Likewise.
5309         * sysdeps/generic/strncase.c: Likewise.
5310         * sysdeps/generic/strncat.c: Likewise.
5311         * sysdeps/generic/strncpy.c: Likewise.
5312         * sysdeps/generic/strpbrk.c: Likewise.
5313         * sysdeps/generic/strsep.c: Likewise.
5314         * sysdeps/generic/strspn.c: Likewise.
5315         * sysdeps/generic/strstr.c: Likewise.
5316         * sysdeps/generic/strtok.c: Likewise.
5317         * sysdeps/generic/strtok_r.c: Likewise.
5318         * sysdeps/mach/sleep.c: Likewise.
5319         * sysdeps/posix/sleep.c: Likewise.
5320         * sysdeps/stub/sleep.c: Likewise.
5321         * time/date.c: Likewise.
5322         * time/test_time.c: Likewise.
5323         * wcsmbs/wmemcpy.c: Likewise.
5324         * wctye/test_wctype.c: Likewise.
5325         * wctye/towctrans.c: Likewise.
5326         * wctye/wcfuncs.c: Likewise.
5327         * wctye/wctrans.c: Likewise.
5328
5329 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
5330
5331         * argp/Makefile: New file.
5332         * argp/argp.h: Likewise.
5333         * argp/argp-ba.c: Likewise.
5334         * argp/argp-fmtstream.c: Likewise.
5335         * argp/argp-fmtstream.h: Likewise.
5336         * argp/argp-fs-xinl.c: Likewise.
5337         * argp/argp-help.c: Likewise.
5338         * argp/argp-namefrob.h: Likewise.
5339         * argp/argp-parse.c: Likewise.
5340         * argp/argp-pv.c: Likewise.
5341         * argp/argp-pvh.c: Likewise.
5342         * argp/argp-test.c: Likewise.
5343         * argp/argp-xinl.c: Likewise.
5344
5345 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
5346
5347         * stdlib/qsort.c: Add prototype for _quicksort.
5348
5349         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
5350
5351         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
5352         from dl-machine.h.
5353
5354 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
5355
5356         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
5357         Allow user to overwrite it.
5358
5359 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
5360
5361         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
5362         versions.  Reported by Andreas Jaeger.
5363
5364 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
5365
5366         * time/tzfile.c (__tzfile_read): Change comment to follow
5367         change of 1997-02-12.
5368
5369 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
5370
5371         * time/time.h (__nanosleep): Define only when struct timespec is
5372         also available.
5373         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
5374
5375 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
5376
5377         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
5378         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
5379
5380 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
5381
5382         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
5383         of 1997-02-09 in resolv/gethnamaddr.c.
5384
5385 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
5386
5387         * libio/_G_config.h (_G_wint_t): New.
5388
5389 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
5390
5391         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
5392         to sizeof (buf.buf) while calling res_search ().
5393
5394 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
5395
5396         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
5397         val to keydat, stat to status.
5398
5399 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
5400
5401         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
5402
5403 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
5404
5405         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
5406         by Keith Bostic.
5407
5408 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
5409
5410         * stdlib/atoll.c: Undefine atoll, not atol.
5411
5412 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5413
5414         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
5415         unused arguments of shell script.
5416
5417         * Makeconfig (all-object-suffixes): New variable.
5418         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
5419         of $(object-suffixes).
5420         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
5421
5422 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
5423
5424         * string/argz-ctsep.c: Initialize *LEN when successful.
5425
5426 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
5427
5428         * stdio-common/_itoa.h: Update copyright.
5429
5430 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
5431
5432         * version.h (VERSION): Bump to 2.0.2.
5433
5434         * posix/Makefile (routines): Add getopt_init.
5435         * posix/getopt.c: Don't get environment variable with nonoption
5436         flags here.  Depend on __getopt_nonoption_flags variable filled
5437         somewhere else.  This is necessary since the variable must be
5438         removed even when getopt isn't used in case exec(2) gets called.
5439         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
5440         and remove environment variable.
5441         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
5442         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5443         * sysdeps/stub/init-first.c: Likewise.
5444         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5445
5446         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
5447         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
5448
5449         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
5450         encryption is wanted.
5451
5452         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
5453         * stdio/vsnprintf.c: Likewise.
5454         Reported by Philip Blundell <pjb27@cam.ac.uk>.
5455
5456         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
5457         * stdio/vsnprintf.c: Likewise.
5458         Reported by Philip Blundell <pjb27@cam.ac.uk>.
5459
5460 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
5461
5462         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
5463         Change PTR to void *.
5464         * sysdeps/posix/vdprintf.c: Change PTR to void *.
5465         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
5466
5467 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
5468
5469         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
5470
5471 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5472
5473         * rellns-sh: No need to check for existance of first parameter.
5474
5475 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5476
5477         * rellns-sh: No need to check for existance of first parameter.
5478
5479 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5480
5481         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
5482         by David Holland <dholland@eecs.harvard.edu>.
5483
5484 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5485
5486         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
5487         select, in case it is modified by the latter.
5488         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5489         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5490         * sunrpc/svc_tcp.c (readtcp): Likewise.
5491
5492         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
5493         array.
5494
5495         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
5496         and gid_t.
5497
5498         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
5499         argument.
5500
5501 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5502
5503         * elf/Makefile (extra-objs): Don't zap previous value.
5504         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
5505         twice.
5506
5507 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5508
5509         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
5510         braindamage (sigh!).
5511
5512 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
5513
5514         * manual/memory.texi: Correct `copystring' example for obstacks.
5515
5516 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
5517
5518         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
5519         GNU tr don't grok it.
5520
5521 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5522
5523         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
5524         Don't use GNU C extensions.
5525         (CMSG_DATA): Use portable definition.
5526
5527 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
5528
5529         * elf/ldd.bash.in: Add test for read permission and print appropriate
5530         message.  Change warning and error messages to print "ldd: " at start.
5531         * elf/ldd.sh.in: Likewise.
5532
5533         * stdlib/Makefile (routines): Add atoll.
5534         * stdlib/atoll.c: New file.
5535         * stdlib/stdlib.h: Add prototype and optimization for atoll.
5536
5537         * stdlib/a64l.c: Update copyright.
5538         * stdlib/abs.c: Likewise.
5539         * stdlib/atof.c: Likewise.
5540         * stdlib/atoi.c: Likewise.
5541         * stdlib/atol.c: Likewise.
5542         * stdlib/bsearch.c: Likewise.
5543         * stdlib/exit.c: Likewise.
5544         * stdlib/fpioconst.c: Likewise.
5545         * stdlib/fpioconst.h: Likewise.
5546         * stdlib/jrand48.c: Likewise.
5547         * stdlib/jrand48_r.c: Likewise.
5548         * stdlib/labs.c: Likewise.
5549         * stdlib/lcong48.c: Likewise.
5550         * stdlib/lcong48_r.c: Likewise.
5551         * stdlib/llabs.c: Likewise.
5552         * stdlib/lrand48.c: Likewise.
5553         * stdlib/lrand48_r.c: Likewise.
5554         * stdlib/mblen.c: Likewise.
5555         * stdlib/mbstowcs.c: Likewise.
5556         * stdlib/mbtowc.c: Likewise.
5557         * stdlib/mp_clz_tab.c: Likewise.
5558         * stdlib/mrand48.c: Likewise.
5559         * stdlib/mrand48_r.c: Likewise.
5560         * stdlib/msort.c: Likewise.
5561         * stdlib/nrand48.c: Likewise.
5562         * stdlib/nrand48_r.c: Likewise.
5563         * stdlib/qsort.c: Likewise.
5564         * stdlib/rpmatch.c: Likewise.
5565         * stdlib/seed48.c: Likewise.
5566         * stdlib/seed48_r.c: Likewise.
5567         * stdlib/srand48.c: Likewise.
5568         * stdlib/srand48_r.c: Likewise.
5569         * stdlib/strtod.c: Likewise.
5570         * stdlib/wcstombs.c: Likewise.
5571         * stdlib/wctomb.c: Likewise.
5572
5573 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
5574
5575         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
5576         as const.
5577
5578 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
5579
5580         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
5581         including <stddef.h>.
5582
5583 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
5584
5585         * time/Makefile (tzbases, tzlinks): New.
5586         (tzfiles): Changed to $(tzbases) $(tzlinks).
5587         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
5588
5589 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
5590
5591         * Makefile (install): Ignore error from ldconfig.
5592
5593         * time/zic.c (mkdirs): Double check the error return of mkdir ().
5594
5595 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
5596
5597         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
5598         like PPC where va_list is no integral type.
5599
5600 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
5601
5602         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
5603         if nonoption_flags_len == -1.
5604
5605 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
5606
5607         * Version 2.0.1 net release.
5608
5609 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
5610
5611         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
5612
5613 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
5614
5615         * stdlib/getsubopt.c: Don't return `=' for suboption which has
5616         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
5617
5618 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
5619
5620         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
5621         values as in yp.x and yp.h.
5622
5623 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
5624
5625         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
5626         1997-02-03 02:17.  Sun's implementation internally corrects
5627         this bug but we don't want to hide this from the user.
5628         * nis/rpcsvc/yp.h: Likewise.
5629
5630 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5631
5632         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
5633         inclusion.
5634
5635 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5636
5637         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
5638         fixes.
5639
5640 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5641
5642         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
5643         (all-sources, all-headers): Use them instead of $(sources) and
5644         $(headers) when searching in sysdep directories.
5645
5646 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5647
5648         * Makerules (REAL_MAKE_VERSION): Use internal make function
5649         instead of shelling out.
5650
5651 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5652
5653         * time/Makefile (install-test-data): Remove mkdir command, zic can
5654         handle that gracefully.
5655
5656 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5657
5658         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
5659         somehow.
5660
5661 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5662
5663         * sunrpc/Makefile: Check $(cross-compiling) only after including
5664         ../Makeconfig.
5665         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
5666         being considered as a rule.
5667         (generated): Add stamp files before the inclusion of Makerules to
5668         magically mark them as not being intermediate via the `generated'
5669         target.
5670
5671 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
5672
5673         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
5674         entries.  This is still no complete implementation since AUXILIARY
5675         entries in other shared objects are not yet handled.
5676
5677         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
5678         place.
5679
5680         * po/es.po: Update.
5681         * po/fr.po: Update.
5682         * po/nl.po: Update.
5683
5684         * time/Makefile: Better cross-compile support.  Avoid test which
5685         cannot be run.
5686         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
5687         tzfile.h file.
5688         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
5689         in SUID programs.
5690         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
5691         default values as in tzfile.c.
5692
5693         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
5694         tags.
5695         * elf/link.h: Likewise.
5696         * elf/elf.h: Add tag definitions and data structures for versioning.
5697
5698 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
5699
5700         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
5701         "Sun bug".  This is the order of elements also used by 4.4BSD.
5702         * nis/rpcsvc/yp.h: Likewise.
5703         Reported by HJ Lu.
5704
5705 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
5706
5707         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
5708         action.
5709
5710         * Makefile (install): Pass installation directories as arguments
5711         to ldconfig.
5712
5713 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
5714
5715         * malloc/malloc.c (__after_morecore_hook): New variable.
5716         (malloc_extend_top): Call __after_morecore_hook if set.
5717         (main_trim): Likewise.
5718         * malloc/malloc.h: Add declaration of __after_morecore_hook.
5719         Suggested by Marcus Daniels.
5720
5721 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
5722
5723         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
5724         #ifndef NO_THREADS.
5725         (mallinfo): Likewise.
5726
5727         * malloc/malloc.c (__morecore): Make external since it is used in
5728         programs.
5729
5730 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
5731
5732         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
5733         unsigned.
5734
5735 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
5736
5737         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
5738         use t6 as a temporary; it contains bits we still need in $u_head.
5739
5740 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
5741
5742         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
5743         using __ prefix.  Add prototype for log1p.
5744
5745 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
5746
5747         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
5748
5749 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
5750
5751         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
5752
5753 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
5754
5755         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
5756         structure plus related macros.
5757         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
5758         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
5759         (sysdep_routines): Add cmsg_nxthdr.
5760         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
5761         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
5762
5763 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
5764
5765         * time/strftime.c: Define _strftime_copytm without protecting arguments
5766         which breaks the definition.
5767
5768 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
5769
5770         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
5771         definition of type for element.
5772
5773 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
5774
5775         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
5776         constants.
5777
5778 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
5779
5780         * Makefile: Pass PARALLELMFLAGS to sub-makes.
5781         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
5782
5783 1997-01-31  Paul Eggert  <eggert@twinsun.com>
5784
5785         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
5786         Define if _LIBC is defined.
5787         <limits.h>: Include if HAVE_LIMITS_H instead of if
5788         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
5789         <stdlib.h>: Similarly, include if STDC_HEADERS.
5790         (localtime_r): Redo #ifdef to make it clear that glibc has
5791         localtime_r now.
5792
5793 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5794
5795         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
5796         file to avoid unnecessary recompilation.
5797
5798 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5799
5800         * Makefile: Set install-others, not install_others.
5801         (before-compile): Use += to preserve previous value.
5802         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
5803         fix dependency name.
5804         ($(objpfx)lib-names.h): Remove rule.
5805         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
5806         with correct name, using an intermediate stamp file.
5807         (common-generated): Add gnu/lib-names.h.
5808         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
5809
5810 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
5811
5812         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
5813         to prevent warnings on 64 bit systems.
5814         Reported by Paul Wouters <paul@xtdnet.nl>.
5815
5816         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
5817         we assume it works.
5818
5819 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
5820
5821         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
5822         double word boundary before pushing args for main.  This way we
5823         don't get penalties for misaligned memory accesses.  Reported by
5824         Edward Seidl <seidl@janed.com>.
5825
5826         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
5827         Patch by HJ Lu.
5828
5829         * misc/bsd-compat.c: Update copyright.
5830         * misc/efgcvt.c: Likewise.
5831         * misc/efgcvt_r.c: Likewise.
5832         * misc/error.c: Likewise.
5833         * misc/error.h: Likewise.
5834         * misc/fstab.c: Likewise.
5835         * misc/init-misc.c: Likewise.
5836         * misc/lsearch.c: Likewise.
5837         * misc/mntent.c: Likewise.
5838         * misc/qefgcvt.c: Likewise.
5839         * misc/qefgcvt_r.c: Likewise.
5840         * nss/databases.def: Likewise.
5841         * nss/db-Makefile: Likewise.
5842         * nss/ethers-lookup.c: Likewise.
5843         * nss/hosts-lookup.c: Likewise.
5844         * nss/netgrp-lookup.c: Likewise.
5845         * nss/nsswitch.h: Likewise.
5846         * nss/proto-lookup.c: Likewise.
5847         * nss/rpc-lookup.c: Likewise.
5848         * nss/service-lookup.c: Likewise.
5849         * nss/nss_db/db-netgrp.c: Likewise.
5850         * nss/nss_files/files-grp.c: Likewise.
5851         * nss/nss_files/files-hosts.c: Likewise.
5852         * nss/nss_files/files-network.c: Likewise.
5853         * nss/nss_files/files-proto.c: Likewise.
5854         * nss/nss_files/files-pwd.c: Likewise.
5855         * nss/nss_files/files-rpc.c: Likewise.
5856         * nss/nss_files/files-service.c: Likewise.
5857         * nss/nss_files/files-spwd.c: Likewise.
5858         * shadow/fgetspent.c: Likewise.
5859         * shadow/fgetspent_r.c: Likewise.
5860         * shadow/getspent.c: Likewise.
5861         * shadow/getspent_r.c: Likewise.
5862         * shadow/getspnam.c: Likewise.
5863         * shadow/getspnam_r.c: Likewise.
5864         * shadow/putspent.c: Likewise.
5865         * shadow/sgetspent.c: Likewise.
5866         * shadow/sgetspent_r.c: Likewise.
5867         * sysdeps/i386/init-first.c: Likewise.
5868         * sysdeps/unix/i386/sysdep.S: Likewise.
5869
5870         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
5871         prepared to be running in a multi-threaded environment.  Change
5872         to __USE_MISC unless the function is defined in POSIX.1 (in this
5873         case also test for __USE_POSIX).
5874         * dirent/dirent.h: Likewise.
5875         * grp/grp.h: Likewise.
5876         * inet/aliases.h: Likewise.
5877         * libio/libio.h: Likewise.
5878         * libio/stdio.h: Likewise.
5879         * login/utmp.h: Likewise.
5880         * math/mathcalls.h: Likewise.
5881         * misc/mntent.h: Likewise.
5882         * pwd/pwd.h: Likewise.
5883         * resolv/netdb.h: Likewise.
5884         * stdlib/stdlib.h: Likewise.
5885         * string/string.h: Likewise.
5886         * sunrpc/rpc/netdb.h: Likewise.
5887         * sysdeps/generic/crypt.h: Likewise.
5888         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
5889         * time/time.h: Likewise.
5890
5891 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
5892
5893         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
5894         only if not cross compiling.
5895
5896 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
5897
5898         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
5899         NULL.
5900         * sysdeps/posix/sigwait.c: Likewise.
5901
5902 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5903
5904         * Makeconfig ($(common-objpfx)config.make): Depend on
5905         $(..)config.make.in.
5906
5907 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
5908
5909         * sunrpc/Makefile: Don't generate headers derived from .x files when
5910         crosscompiling.
5911
5912 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
5913
5914         * Makefile: Generate gnu/lib-names.h in before-compile.
5915         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
5916         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
5917         to the revision found for LIBNSS_FILES_SO.
5918         (nss_initilized): Removed.  It was tested but never set.
5919         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
5920
5921         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
5922         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
5923
5924         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
5925
5926 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
5927
5928         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
5929         override the definition.
5930
5931 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
5932
5933         * config.make.in (malloc): Remove.
5934
5935 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
5936
5937         * version.h (VERSION): Bump to 2.0.1.
5938
5939         * posix/getopt.c: Handle another problem introduced by the
5940         nonoption_flags array.  We must be able to work with reordered
5941         argv arrays.  Reported by Andreas Schwab.
5942
5943 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
5944
5945         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
5946         stack.
5947
5948 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
5949
5950         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
5951         that it works with yp.h.
5952
5953 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
5954
5955         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
5956         __libc_malloc_initialized so that this variable is not shared with
5957         other users of GNU malloc.
5958         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
5959
5960         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
5961
5962         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
5963         variables to prevent warnings.
5964         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
5965         using attribute regparm.
5966         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
5967         is changed by the resolver code.
5968
5969 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5970
5971         * malloc/malloc.c (weak_variable): Define.
5972         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
5973         __memalign_hook): Make them weak definitions.
5974
5975 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5976
5977         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
5978         limits, correctly take structure padding into account, use correct
5979         offset when resetting the stream, change heuristic to assume an
5980         average name length of 14 characters.
5981
5982 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5983
5984         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
5985         inclusion.
5986
5987
5988 See ChangeLog.6 for earlier changes.