Update.
[platform/upstream/glibc.git] / ChangeLog
1 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
2
3         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
4
5         * math/complex.h: Add C++ protection.
6
7         * math/libm-test.c (cexp_test): Correct a few bugs.
8         (csinh_test): New function.
9         (ccosh_test): New function.
10         (cacos_test): New function.
11         (cacosh_test): New function.
12         (casinh_test): New function.
13         (catanh_test): New function.
14         (main): Add calls to csinh_test and ccosh_test.
15
16         * misc/Makefile (tests): Add tst-tsearch.
17         Add rule to link tst-tsearch against libm.
18         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
19         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
20         * misc/tst-tsearch.c: New file.
21
22         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
23         before using system.
24         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
25         before using popen.
26
27         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
28         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
29         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
30
31         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
32         of complex exponential function.
33         * sysdeps/libm-i387/s_cexpf.S: New file.
34         * sysdeps/libm-i387/s_cexpl.S: New file.
35
36         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
37         complex cosh function.
38         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
39         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
40         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
41         complex sinh function.
42         * sysdeps/libm-ieee754/s_csinhf.c: New file.
43         * sysdeps/libm-ieee754/s_csinhl.c: New file.
44
45         * math/carg.c: New file.  Generic implementatio of carg function.
46         * math/cargf.c: New file.
47         * math/cargl.c: New file.
48
49 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
50
51         * sysdeps/posix/system.c: Update copyright.
52
53 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
54
55         * elf/dl-error.c (_dl_catch_error): Add another argument which is
56         passed to OPERATE.
57         (_dl_receive_error): Likewise.
58         * elf/link.h: Change prototypes for _dl_catch_error and
59         _dl_receive_error to reflect above change.
60         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
61         with additional argument with pointer to data.
62         * elf/dlclose.c: Likewise.
63         * elf/dlerror.c: Likewise.
64         * elf/dlopen.c: Likewise.
65         * elf/dlsym.c: Likewise.
66         * elf/dlvsym.c: Likewise.
67         * elf/rtld.c: Likewise.
68         * nss/nsswitch.c: Likewise.
69         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
70
71 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
72
73         * elf/dl-error.c: Manually set up the values of "c", this avoids a
74         call to memcpy and a zero 152 bytes structure.
75
76         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
77         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
78         pass.
79
80         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
81
82         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
83         kernel_sigaction.h
84
85         Add Linux/SPARC specific definitions.
86         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
87         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
88         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
89         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
90         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
91         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
92         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
93
94 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
95
96         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
97         __getservbyname_r() not getservbyname().
98         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
99
100 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
101
102         * gmon/gmon.c (monstartup): Mark all messages.
103         (write_call_graph): Rewrite to use larger I/O vector for writev
104         call to reduce syscall overhead.
105         (write_bb_counts): Simplify writev handling.
106
107         * inet/rexec.c: Make string parameters `const'.
108         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
109         rresvport.
110
111         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
112         in libm-test.
113         * math/libm-test.c (this_does_nothing): Remove functions.  It's
114         notuseful on any platform but ix86.
115         (inverse_func_pair_test): Don't use this_does_nothing.  Use
116         memory reference.
117         (identities1_test): Likewise.
118         (identities2_test): Likewise.
119         (identities3_test): Likewise.
120         (basic_test): Likewise.
121         Patch by Andreas Schwab.
122         (BUILD_COMPLEX): New macro.  Create complex number from real and
123         imaginary parts.  This works around bugs/inefficiencies in current
124         gcc.
125         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
126
127         * nss/nsswitch.c: Fix typo.
128
129         * posix/glob.h: Add declaration for glob_pattern_p.
130         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
131         make glob_pattern_p a weak alias.  This function is used in other
132         packages (e.g. bash).
133
134         * signal/Makefile (routines): Add sigisempty, sigandset, and
135         sigorset.
136         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
137         sigorset.
138         * signal/sigisempty.c: New file.
139         * signal/sigandset.c: New file.
140         * signal/sigorset.c: New file.
141         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
142         and __sigorset.
143         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
144
145         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
146         determines the bits in the mantissa part of the NaN.
147         * stdlib/strtof.c: Define SET_MANTISSA for float type.
148         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
149         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
150         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
151
152         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
153         complex number components.  Some more corrects for special cases.
154         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
155         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
156
157         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
158
159         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
160         ip_icmp.h.  Reported by HJ Lu.
161
162 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
163
164         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
165
166         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
167         i386.
168         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
169         ELF_MACHINE_RELOC_NOPLT): Define.
170
171 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
172
173         * grp/grp.h: Include <stddef.h> only once.
174
175 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
176
177         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
178         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
179
180         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
181         TAB3, if one of them is defined.
182
183 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
184
185         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
186         is found.
187         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
188
189 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
190
191         * sunrpc/Makefile: Comment gccwarn out.
192         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
193         with enabled warnings.
194         * sunrpc/auth_unix.c: Likewise.
195         * sunrpc/authuxprot.c: Likewise.
196         * sunrpc/bindrsvprt.c: Likewise.
197         * sunrpc/clnt_gen.c: Likewise.
198         * sunrpc/clnt_perr.c: Likewise.
199         * sunrpc/clnt_raw.c: Likewise.
200         * sunrpc/clnt_simp.c: Likewise.
201         * sunrpc/clnt_tcp.c: Likewise.
202         * sunrpc/clnt_udp.c: Likewise.
203         * sunrpc/get_myaddr.c: Likewise.
204         * sunrpc/getrpcport.c: Likewise.
205         * sunrpc/pm_getmaps.c: Likewise.
206         * sunrpc/pm_getport.c: Likewise.
207         * sunrpc/pmap_clnt.c: Likewise.
208         * sunrpc/pmap_prot.c: Likewise.
209         * sunrpc/pmap_prot2.c: Likewise.
210         * sunrpc/pmap_rmt.c: Likewise.
211         * sunrpc/rpc/auth.h: Likewise.
212         * sunrpc/rpc/clnt.h: Likewise.
213         * sunrpc/rpc/pmap_clnt.h: Likewise.
214         * sunrpc/rpc/svc.h: Likewise.
215         * sunrpc/rpc/svc_auth.h: Likewise.
216         * sunrpc/rpc/types.h: Likewise.
217         * sunrpc/rpc/xdr.h: Likewise.
218         * sunrpc/rpc_clntout.c: Likewise.
219         * sunrpc/rpc_cmsg.c: Likewise.
220         * sunrpc/rpc_dtable.c: Likewise.
221         * sunrpc/rpc_prot.c: Likewise.
222         * sunrpc/svc.c: Likewise.
223         * sunrpc/svc_auth.c: Likewise.
224         * sunrpc/svc_authux.c: Likewise.
225         * sunrpc/svc_raw.c: Likewise.
226         * sunrpc/svc_run.c: Likewise.
227         * sunrpc/svc_simple.c: Likewise.
228         * sunrpc/svc_tcp.c: Likewise.
229         * sunrpc/svc_udp.c: Likewise.
230         * sunrpc/xdr.c: Likewise.
231         * sunrpc/xdr_array.c: Likewise.
232         * sunrpc/xdr_mem.c: Likewise.
233         * sunrpc/xdr_rec.c: Likewise.
234         * sunrpc/xdr_ref.c: Likewise.
235         * sunrpc/xdr_stdio.c: Likewise.
236
237 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
238
239         * math/libm-test.c (log2_test): Compile this function and call it.
240         (exp2_test): Likewise, but check whether function really exists
241         before testing.
242
243         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
244
245 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
246
247         Implement exp2 function.
248         * sysdeps/libm-i387/s_exp2.S: New file.
249         * sysdeps/libm-i387/s_exp2f.S: New file.
250         * sysdeps/libm-i387/s_exp2l.S: New file.
251
252         Implement log2 function.
253         * sysdeps/libm-i387/s_log2.S: New file.
254         * sysdeps/libm-i387/s_log2f.S: New file.
255         * sysdeps/libm-i387/s_log2l.S: New file.
256         * sysdeps/libm-ieee754/s_log2.c: New file.
257         * sysdeps/libm-ieee754/s_log2f.c: New file.
258         * sysdeps/stub/s_log2.c: New file.  Stub version.
259
260 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
261
262         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
263
264         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
265         change to tst-setjmp.c.
266
267         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
268         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
269         * sysdeps/sparc/dl-machine.h: Likewise.
270
271         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
272         Add missing qs variable.
273         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
274
275 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
276
277         * gmon/gmon.c: Optimize a bit by using more sets of records to
278         write in a single writev call.
279
280         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
281         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
282         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
283         `const'.
284         Use __MATHDECLX for isinf and finite.
285
286         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
287         clearenv a weak alias.
288
289         Implement complex exponential function.
290         * sysdeps/libm-ieee754/s_cexp.c: New file.
291         * sysdeps/libm-ieee754/s_cexpf.c: New file.
292         * sysdeps/libm-ieee754/s_cexpl.c: New file.
293
294         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
295         nan a weak alias.
296         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
297         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
298
299         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
300         of type clashes.  Add all definitions here.
301
302         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
303         to XPG4.2.
304         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
305         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
306
307         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
308
309         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
310         use of kernel types.
311
312 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
313
314         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
315         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
316
317 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
318
319         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
320
321 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
322
323         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
324
325 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
326
327         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
328         * sysdeps/m68k/fpu/s_logb.c: Removed.
329         * sysdeps/m68k/fpu/s_logbf.c: Removed.
330         * sysdeps/m68k/fpu/s_logbl.c: Removed.
331
332         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
333         Don't define here.
334         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
335         * sysdeps/m68k/fpu/e_pow.c: Likewise.
336         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
337         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
338         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
339         * sysdeps/m68k/fpu/e_powl.c: Likewise.
340
341         * sysdeps/m68k/fpu/s_log2.c: New file.
342         * sysdeps/m68k/fpu/s_log2f.c: New file.
343         * sysdeps/m68k/fpu/s_log2l.c: New file.
344         * sysdeps/m68k/fpu/s_exp2.c: New file.
345         * sysdeps/m68k/fpu/s_exp2f.c: New file.
346         * sysdeps/m68k/fpu/s_exp2l.c: New file.
347
348 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
349
350         * Makeconfig (all): Make sure this is always the default goal.
351
352 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
353
354         * math/libm-test.c: Increase epsilon in many places.  Fix many
355         typos.  Allow optinal argument also for short option.
356
357 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
358
359         * math/Makefile ($(objpfx)$(tests)): Link against libm.
360
361 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
362
363         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
364         denormalized numbers.
365
366         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
367         Don't include <endian.h>.
368
369 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
370         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
371         Don't include <endian.h>.
372
373 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
374
375         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
376
377 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
378
379         * math/cmathcalls.h: Remove whitespace before function name in use
380         of __MATHDECL macro, to make it compilable with a traditional
381         preprocessor.
382
383 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
384
385         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
386         compiler.
387
388 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
389
390         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
391         by 31 positions to get 0/1 result.
392         Patch by Joe Keane <jgk@jgk.org>.
393
394 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
395
396         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
397         to prevent from ld linking in getopt.o even if there is another
398         incompatible one.
399
400         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
401
402 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
403
404         * nis/nis_call.c (__do_niscall): Print message if cold start file
405         does not exist.
406         * nis/nis_file.c: Don't print error messages.
407         * nis/nis_local_name.c (nis_local_host): Fix pointer errors.
408         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
409         * nis/rpcsvc/nis.h: Likewise.
410         * nis/ypclnt.c: Fix prototypes.
411
412 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
413
414         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
415         returning.
416         * sysdeps/libm-i387/e_scalbf.S: Likewise.
417         * sysdeps/libm-i387/e_scalbl.S: Likewise.
418         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
419
420         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
421         dynamic linker was called implicitly by the kernel.
422         Reported by Eric Youngdale <eric@andante.jic.com>.
423
424         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
425         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
426         prevent clever optimizations which corrupt the tests.
427
428 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
429
430         * math/libm-test.c (scalb_test): New function.
431         (sqrt_test): New function.
432         (scalbn_test): New function.
433         (ilogb_test): New function.
434         (main): Added calls for new test functions.
435         (ldexp_test): Add another test for ldexp(x,0).
436
437 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
438
439         * math/libm-test.c (remquo_test): Correct messages so that they
440         match the tests.
441         (copysign_test): Likewise.
442
443 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
444
445         * stdio-common/Makefile (routines): Add printf_size.
446
447         * stdio-common/printf.h: Add declarations for printf_size and
448         printf_size_info.
449
450         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
451         declaration.
452         (parse_one_spec): Test whether __printf_function_table is not NULL
453         before using registered handlers and don't test
454         __printf_arginfo_table.  Update nargs also when handler is
455         registered.
456
457         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
458         processed in fast loop.
459
460         * stdio-common/printf_size: New file.
461
462 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
463
464         * time/sys/time.h: Make values ITIMER_* also available as macros.
465
466         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
467         __fstat but instead __fxstat directly to avoid dependency on
468         libc.a when inline failed.
469         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
470
471         * math/Makefile (libm-routines): Add s_remquo.
472         * sysdeps/libm-i387/s_remquo.S: New file.
473         * sysdeps/libm-i387/s_remquof.S: New file.
474         * sysdeps/libm-i387/s_remquol.S: New file.
475         * sysdeps/libm-ieee754/s_remquo.c: New file.
476         * sysdeps/libm-ieee754/s_remquof.c: New file.
477         * sysdeps/libm-ieee754/s_remquol.c: New file.
478
479         * math/libm-test.c (remquo_test): New function.
480
481         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
482         correctly.
483
484 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
485
486         * math/Makefile (libm-calls): Add s_nan.
487         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
488         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
489         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
490
491         * math/libm-test.c (basic_tests): Add tests for `nan' function.
492
493         * math/libm-test.c (copysign_test): New function.
494         (main): Call copysign_test.
495
496 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
497
498         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
499         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
500         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
501         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
502
503         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
504         New functions.  Test these functions.
505         (main): Call above new functions.
506
507 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
508
509         * Net release 2.0.2.
510
511 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
512
513         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
514         XTABS.
515         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
516         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
517         of Sun Dec 15 16:33:44 1996.
518         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
519
520 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
521
522         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
523         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
524         consult their values.
525         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
526         ELF_MACHINE_RELOC_NOPLT): New macros.
527
528         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
529         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
530         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
531
532         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
533         symbol lookup before checking reloc type except for R_386_RELATIVE.
534         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
535
536         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
537         per-machine since it supposedly can't happen on i386.
538
539         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
540         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
541         indirection from REF arg; change callers.
542         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
543         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
544         FLAGS arg altogether.
545         * elf/dlsym.c: Remove argument of FLAGS parameter.
546         * elf/dlvsym.c: Likewise.
547         * elf/link.h: Update decls.
548
549 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
550
551         * Makefile (distribute): Add BUGS.
552
553         * sysdeps/generic/machine-gmon.h: Update copyright.
554
555         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
556         i386-mcount.
557         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
558         use regparam mechanism for call of `fixup' call.
559         * sysdeps/i386/Dist: New file.
560         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
561         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
562         of gmon definitions.
563
564 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
565
566         * stdlib/tst-strtol.c (main): Save the value of errno since printf
567         may modify it, use the saved errno everywhere.
568         * stdlib/tst-strtod.c (main): Likewise.
569
570 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
571
572         * posix/glob.c (glob): Fix completely broken handling of
573         GLOB_BRACE and partly broken handling of GLOB_TILDE.
574         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
575
576 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
577
578         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
579         UIO_FASTIOV value by multiple readv calls since we need atomicity.
580         * sysdeps/unix/sysv/linux/writev.c: Likewise.
581         Reported by Matthis Urlichs.
582
583 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
584
585         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
586         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
587         which clobbers %eax.
588
589         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
590         crtbegin.o/crtend.o, using gcc to find them.
591         (+link): Use them.
592
593 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
594
595         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
596         affect the alignment, and therefore the end padding of the structs.
597         Reported by David Mosberger <davidm@azstarnet.com>.
598         * gmon.c: Declare the variables with aligned tags to compensate.
599         Use __writev instead of write for the I/O.
600
601         * misc/sys/uio.h: Declare __writev and __readv.
602         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
603         * sysdeps/posix/writev.c: Likewise for writev.
604         * sysdeps/stub/readv.c: Likewise.
605         * sysdeps/stub/writev.c: Likewise.
606         * sysdeps/unix/syscalls.list: Likewise.
607         * sysdeps/unix/sysv/linux/readv.c: Likewise.
608         * sysdeps/unix/sysv/linux/writev.c: Likewise.
609
610         * stdlib/testdiv.c: Exit with error status when we have an error.
611         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
612         * sysdeps/alpha/ldiv.S: Likewise.
613
614         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
615
616 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
617
618         * nis/nis_file.c: Unify error handling.
619
620 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
621
622         * nis/nis_file.c (writeColdStartFile): Fix typo.
623         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
624         * nis/nis_free.c (nis_free_servers): Likewise.
625         * nis/rpcsvc/nislib.h: Likewise.
626
627         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
628
629 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
630
631         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
632
633         * sysdeps/unix/sparc/sysdep.h: Update copyright.
634
635 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
636
637         * linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
638
639         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
640         it.
641
642         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
643         macro on ELF systems.
644
645         * sysdeps/sparc/configure.in: Fix.
646
647         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
648
649         * sysdeps/sparc/setjmp.S: Fix my bugs.
650
651         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
652         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
653         as-FLAGS-.so.
654         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
655         syscall.
656         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
657         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
658         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
659         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
660
661         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
662         symbol.
663         (_dl_lookup_symbol): Test against the symbol being global not
664         against the symbol being not weak (fixes important problem with
665         the SPARC linker)
666
667         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
668
669         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
670         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
671
672 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
673
674         * Makeconfig: (rpath-link): Add math/ directory.
675         (math-objdir): New variable.
676         (link-extra-lib): Define to special version when
677         $(common-objpfx)!=$(objpfx) to allow libraries outside
678         $(common-objpfx) be linked to the application.
679
680         * math/Makefile: Add rules to build and run test programs.
681         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
682         (check_equal): Correct check for error.
683         (ceil_test): Fix typo.
684         (log_test): Fix typo.
685         (floor_test): Fix typo.
686         (pow_test): Fix typos.
687         (log10_test): Allow slight incorrectness for `log10(e)'.
688         (modf_test): New functions to test `modf' et.al.
689         (hypot_test): Rewrite test completely.
690         Patch partly by Andreas Jaeger.
691         * math/test-double.h (__NO_MATH_INLINES): Define only if not
692         already defined.
693         * math/test-float.h: Likewise.
694         * math/test-logdouble.h: Likewise.
695
696         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
697         * setjmp/tst-setjmp.c: Correct and extend test suite.
698         * sysdeps/i386/__longjmp.S: Update copyright.
699         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
700         `__sigsetjmp' in PIC code.
701         * sysdeps/i386/bsd-setjmp.S: Likewise.
702
703         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
704         overflow.
705         * sysdeps/libm-i387/e_powf.S: Likewise.
706         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
707         case since expm1(-0) == -0.
708         * sysdeps/libm-i387/s_expm1f.S: Likewise.
709         * sysdeps/libm-i387/s_expm1l.S: Likewise.
710         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
711         access to FP number.
712         * sysdeps/libm-ieee754/s_modff.c: Likewise.
713         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
714         code.  It never worked correctly.
715         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
716         case since tanh(-0) == -0.
717         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
718         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
719
720 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
721
722         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
723         `thousands' to support systems with sizeof(wchar_t) !=
724         sizeof(wint_t).  Blargh.
725
726         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
727         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
728         appropriate headers.
729
730         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
731         UIO_FASTIOV and set to 8 if not available.
732         * sysdeps/unix/sysv/linux/readv.c: Likewise.
733         Patch by HJ Lu.
734
735         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
736         "kernel_stat.h".
737         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
738         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
739         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
740
741 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
742
743         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
744
745         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
746
747         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
748
749         * sysdeps/unix/sysv/Dist: Add direct.h.
750
751         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
752
753         * Make-dist ($(tardir).tar): Prefer writing temporary file to
754         $TMPDIR is available.  The default is /tmp.
755
756         * sysdeps/generic/ip.h: Move to...
757         * sysdeps/generic/netinet/ip.h: ...here.
758
759         * Makefile (tests): Quote $(CC) argument to isomac program.
760         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
761
762         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
763         is placed in wrong place on the stack.
764         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
765         * sysdeps/tst-setjmp.c: Add new test for above problem.
766
767         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
768         * sysdeps/libm-i387/e_powf.S: Likewise.
769         * sysdeps/libm-i387/e_powl.S: Likewise.
770
771 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
772
773         * time/offtime.c (__offtime): Change type of `yg' to long int.
774         Reported by a sun <asun@zoology.washington.edu>.
775
776 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
777
778         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
779         2.2.0 to prevent version mismatch.
780
781 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
782
783         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
784         already defined.
785
786 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
787
788         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
789         in ioctls.h.
790
791         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
792         loader first relocates itself.
793         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
794         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
795         jump slot relocation. Prefer relative branches (some PowerPC chips
796         don't predict absolute branches).
797         (elf_machine_runtime_setup): Simplify and correct expressions.
798         (RTLD_START): Fix bug changing _dl_starting_up.
799         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
800         strange Linux/PPC padding of initial stack.
801
802 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
803
804         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
805         for future expansion.
806         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
807         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
808         can't have a switch statement.
809         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
810         static.
811
812         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
813         confusing gcc's idea of the current section.
814         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
815         RTLD_START): Likewise.
816
817 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
818
819         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
820         elf_machine_runtime_setup): Flush data & instruction caches when
821         necessary, for 603/604 support. Add better support for large PLTs.
822         (elf_machine_rela): Remove relocations that wouldn't work if
823         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
824         Never target branch relocations at a PLT entry.
825
826         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
827         generating PIC.
828         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
829         * sysdeps/powerpc/setjmp.S: Likewise.
830         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
832         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
833         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
834
835         * sysdeps/powerpc/elf/start.c: Clean up.
836
837         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
838         setjmp call.
839
840         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
841
842 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
843
844         * Make-dist (srcs): Add $(test-srcs).
845         * MakeTAGS (all-sources): Likewise.
846         * Makerules (depfiles, common-mostlyclean): Likewise.
847         * Rules (tests): Likewise.
848
849 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
850
851         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
852
853 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
854
855         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
856         protocol=NULL to match any protocol rather than returning an
857         error.
858
859 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
860
861         * nss/nss_files/files-service.c (servbyname): Match any protocol
862         if proto==NULL.
863
864 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
865
866         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
867         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
868         Proposed by Thomas Bushnell, n/BSG.
869
870 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
871
872         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
873         the buffer for replacement.
874
875 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
876
877         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
878         sys_lstat and sys_stat.
879
880 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
881
882         Add NIS+ functions
883         * shlib-versions: Add libnss_nisplus.
884         * nis/Makefile: Add NIS+ source files.
885         * nis/nis_call.c: New file.
886         * nis/nis_clone.c: New file.
887         * nis/nis_error.c: New file.
888         * nis/nis_file.c: New file.
889         * nis/nis_free.c: New file.
890         * nis/nis_intern.c: New file.
891         * nis/nis_intern.h: New file.
892         * nis/nis_local_names.c: New file.
893         * nis/nis_names.c: New file.
894         * nis/nis_print.c: New file.
895         * nis/nis_server.c: New file.
896         * nis/nis_subr.c: New file.
897         * nis/nis_table.c: New file.
898         * nis/nis_xdr.c: New file.
899         * nis/nss-nisplus.h: New file.
900         * nis/nss_nisplus/nisplus-alias.c: New file.
901         * nis/nss_nisplus/nisplus-ethers.c: New file.
902         * nis/nss_nisplus/nisplus-grp.c: New file.
903         * nis/nss_nisplus/nisplus-hosts.c: New file.
904         * nis/nss_nisplus/nisplus-netgrp.c: New file.
905         * nis/nss_nisplus/nisplus-network.c: New file.
906         * nis/nss_nisplus/nisplus-proto.c: New file.
907         * nis/nss_nisplus/nisplus-publickey.c: New file.
908         * nis/nss_nisplus/nisplus-pwd.c: New file.
909         * nis/nss_nisplus/nisplus-rpc.c: New file.
910         * nis/nss_nisplus/nisplus-service.c: New file.
911         * nis/nss_nisplus/nisplus-spwd.c: New file.
912         * nis/rpcsvc/nis.h: New file.
913         * nis/rpcsvc/nis.x: New file.
914         * nis/rpcsvc/nis_object.x: New file.
915         * nis/rpcsvc/nis_tags.h: New file.
916         * nis/rpcsvc/nislib.h: New file.
917
918 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
919
920         * mach/devstream.c (output/write_some): Don't try and write more
921         than IO_INBAND_MAX in a single call to device_write_inband.
922
923 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
924
925         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
926         type is SVID.
927         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
928         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
929
930         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
931         FLAGS parameter.
932
933 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
934
935         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
936         Change msg_iovlen and msg_controllen (in struct msghdr) to
937         `size_t' to keep in step with kernel.
938
939 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
940
941         * manual/filesys.texi: Add documentation for scandir and alphasort.
942         * manual/examples/dir2.c: New example for scandir.
943
944         * math/math.c (fpclassify): Correct stupid typos.
945
946         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
947         * math/test/float.c: New file.  Frontend for float tests.
948         * math/test/double.c: New file.  Frontend for double tests.
949         * math/test/longdouble.c: New file.  Frontend for long double  tests.
950
951         * posix/Makefile (routines): Add bsd-getpgrp.
952         * posix/bsd-getpgrp.c: New file.
953         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
954         calls to __bsd_getpgrp.
955
956         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
957
958         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
959         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
960         * sysdeps/ieee754/huge_val.h: Remove definition of long double
961         definition.  Make it the same as the double definition.
962
963         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
964         * sysdeps/libm-i387/e_acosf.S: Likewise.
965         * sysdeps/libm-i387/e_acosl.S: Likewise.
966         * sysdeps/libm-i387/e_asin.S: Likewise.
967         * sysdeps/libm-i387/e_asinf.S: Likewise.
968         * sysdeps/libm-i387/e_asinl.S: Likewise.
969         * sysdeps/libm-i387/e_exp.S: Likewise.
970         * sysdeps/libm-i387/e_expf.S: Likewise.
971         * sysdeps/libm-i387/e_expl.S: Likewise.
972         * sysdeps/libm-i387/s_scalbn.S: Likewise.
973         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
974         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
975
976         * sysdeps/libm-i387/e_log.S: Optimize branch code.
977         * sysdeps/libm-i387/e_logf.S: Likewise.
978         * sysdeps/libm-i387/e_logl.S: Likewise.
979         * sysdeps/libm-i387/e_log10.S: Likewise.
980         * sysdeps/libm-i387/e_log10f.S: Likewise.
981         * sysdeps/libm-i387/e_log10l.S: Likewise.
982
983         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
984         * sysdeps/libm-i387/e_powf.S: Likewise.
985         * sysdeps/libm-i387/e_powl.S: Likewise.
986
987         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
988         argument to -1.0.
989         * sysdeps/libm-i387/s_expm1f.S: Likewise.
990         * sysdeps/libm-i387/s_expm1l.S: Likewise.
991
992         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
993
994         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
995         stack element after fxtract.
996
997         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
998         implementation for atan2 function.
999
1000         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
1001         _SVID_ mode when acos, asin, atan2, log, log10 is called with
1002         argument out of range.
1003         Add new error case for pow(+0,neg).
1004
1005         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
1006         NaN and +-inf.
1007         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
1008         digit in stupid 80 bit formats.
1009
1010         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
1011         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
1012         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1013
1014         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
1015         long double type.
1016
1017         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
1018         in SVID mode.
1019         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
1020         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
1021
1022         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
1023         or -0.
1024         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1025         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1026
1027         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
1028
1029         * sysdeps/stub/fcntlbits.h: Update copyright.
1030         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
1031         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
1032         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
1033         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
1034         * sysdeps/unix/common/fcntlbits.h: Likewise.
1035         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
1036         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
1037         and FNDELAY.
1038         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
1039
1040         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
1041         only reclen bytes.
1042
1043         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
1044         and O_NORW.
1045         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
1046
1047         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
1048
1049         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
1050         struct stat to user-level form.
1051         * sysdeps/unix/sysv/linux/lxstat: New file.
1052         * sysdeps/unix/sysv/linux/xstat: New file.
1053         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
1054         kernel.
1055         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
1056         to use prescribed types for elements.
1057         (_STAT_VER): Change to value 3.
1058         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1059         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
1060         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1061
1062         * time/Makefile: Correct dependencies for test-tz.
1063
1064 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
1065
1066         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
1067         (needed for IPv6 basic sockets API).
1068
1069 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
1070
1071         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
1072         kernel header.
1073         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
1074
1075 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
1076
1077         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
1078         without testing for last_bfp to be NULL.
1079         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
1080
1081 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
1082
1083         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
1084
1085 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
1086
1087         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
1088         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
1089
1090 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
1091
1092         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
1093         functions.  Compare result for correct address type.
1094         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
1095         * nss/nss_files/files-hosts.c: Likewise.
1096         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
1097
1098 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
1099
1100         * time/strptime.c (recursive): Return rp to caller.
1101         (strptime_internal): First check for long names, then abbreviated
1102         (month & weekday).
1103
1104 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1105
1106         * Makeconfig: Remove useless definitions of ASFLAGS-%.
1107         * config.make.in (ASFLAGS-.so): Remove.
1108         * configure.in: Don't substitute ASFLAGS_SO.
1109         * sysdeps/sparc/configure.in: Remove file.
1110         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
1111
1112 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1113
1114         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
1115         1900 from year, regardless of century.
1116
1117 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
1118
1119         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
1120         all numbers unsigned to make buggy gccs happy.
1121         Patch by Bryan W. Headley <bheadley@interaccess.com>.
1122
1123         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
1124         definitions.  Patch by a sun <asun@zoology.washington.edu>.
1125         Pretty print header.
1126
1127         * Makerules (build-shlib): Also create symlink if library is versioned.
1128         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
1129         Remove special rule to libc.so symlink.
1130
1131 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
1132
1133         * manual/math.texi (Domain and Range Errors): Change descriptions
1134         according to recent changes for ISO C 9X.
1135
1136 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
1137
1138         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
1139         return values for acos, asin, and atan2.
1140         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1141
1142 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1143
1144         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
1145
1146 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1147
1148         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
1149         to pointers to directory entries so that alphasort really can be
1150         used as argument for scandir.
1151
1152 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
1153
1154         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
1155         instead of strcpy.
1156
1157 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
1158
1159         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
1160         catalogs, not only if the envvar NLSPATH is not available.
1161         Reported by Andries.Brouwer@cwi.nl.
1162
1163 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
1164
1165         * Makeconfig (localtime-file): Don't define using installation
1166         directory.
1167         (inst_localtime-file): New variable.
1168         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
1169         Reported by Edward Seidl <seidl@janed.com>.
1170
1171 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
1172
1173         * time/Makefile: Add source files to dependencies for test data.
1174
1175 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1176
1177         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
1178         * nis/nss_nis/nis-proto.c: Likewise.
1179         * nis/nss_nis/nis-rpc.c: Likewise.
1180         * nis/nss_nis/nis-service.c: Likewise.
1181
1182 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1183
1184         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
1185         versioning;  Added missing R_SPARC_WDISP30 handling.
1186         (RTLD_START): Implement it.
1187
1188         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
1189
1190         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
1191         Linux/SPARC.
1192
1193 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1194
1195         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
1196         the dynamic linker instead of having a new conditional define.
1197         Thanks to Richard Henderson for pointing this out.
1198         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
1199
1200 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1201
1202         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
1203         euidaccess weak alias.
1204
1205 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1206
1207         * stdio-common/printf_fphex.c (MIN): New macro.
1208
1209         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
1210
1211         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
1212
1213         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
1214         API.  (See change by Philip Blundell on Feb 16, 1997.)
1215
1216 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1217
1218         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
1219
1220         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
1221         __file_name_split.
1222
1223         * mach/mach_error.c (mach_error_string_int): Give full prototype.
1224         * mach/errstring.c (mach_error_string_int): Likewise.
1225         * mach/error_compat.c (__mach_error_map_compat): Likewise.
1226         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
1227         * stdio/vasprintf.c (vasprintf): Likewise.
1228
1229         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
1230
1231         * mach/spin-solid.c: Include <mach/mach_traps.h>.
1232         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
1233         swtch_pri.
1234
1235         * mach/mach_init.c: Include <mach/mig_support.h>.
1236
1237         * mach/mach_error.h (mach_error_string, mach_error,
1238         mach_error_type): Always provide prototypes.
1239
1240         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
1241         appears to be entirely unused dead code.
1242
1243 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
1244
1245         * string/argz.h (__need_error_t): New macro, before including <errno.h>
1246         [!__const] (__const): New macro.
1247         [!__error_t_defined] (error_t): New typedef.
1248
1249 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
1250
1251         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
1252         -fPIC.
1253         * Makerules (compile.S): Use ASFLAGS-%.
1254         (COMPILE.S): Likewise.
1255         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
1256         * configure.in: Substitute ASFLAGS_SO.
1257         * sysdeps/sparc/configure.in: New file.
1258
1259         * posix/unistd.h: Add prototype for __euidaccess.
1260         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
1261         euidaccess weak alias.
1262         * sysdeps/stub/euidaccess.c: Likewise.
1263         * inet/rcmd.c: Use __ protected versions of non-standard functions.
1264
1265         * locale/setlocale.c (setlocale): Don't set usage_count to
1266         MAX_USAGE_COUNT if it already has this value.
1267
1268         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
1269         binary locale files.  Use LOCALEDIR only.
1270         * locale/programs/locfile.c: When named file not found and not
1271         absolute use path in I18NPATH.
1272
1273         * stdlib/Makefile (headers): Add inttypes.h.
1274         * sysdeps/wordsize-32/inttypes.h: New file.
1275         * sysdeps/wordsize-64/inttypes.h: New file.
1276
1277         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
1278         and AF_FILE as synonym for AF_LOCAL.
1279         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
1280
1281         * time/Makefile: Rewrite rules for test to handle parallel builds.
1282
1283 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
1284
1285         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
1286         robbe@orcus.priv.at.
1287
1288 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
1289
1290         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
1291         8-byte boundary.
1292
1293 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
1294
1295         * elf/link.h: Define __need_NULL to get definition.  Include
1296         <features.h>.
1297         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
1298
1299 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
1300
1301         Rewrite NIS code to allow empty keys.
1302         * nis/nss_nis/nis-ethers.c: Rewritten.
1303         * nis/nss_nis/nis-proto.c: Rewritten.
1304         * nis/nss_nis/nis-publickey.c: Rewritten.
1305         * nis/nss_nis/nis-rpc.c: Rewritten.
1306         * nis/nss_nis/nis-service.c: Rewritten.
1307
1308 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
1309
1310         * time/scheck.c (scheck): Add extra const to second argument.
1311
1312         * time/private.h: Correct prototypes to match definition.
1313
1314 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
1315
1316         * sysdeps/alpha/__math.h: Remove cabs inline definition.
1317         Reported by Philip Blundell <pjb27@cam.ac.uk>.
1318
1319 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
1320
1321         * argp/Makefile (routines): Add argp-eexst.
1322         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
1323         * argp/argp-eexst.c: New file.  Define exit status variable.
1324         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
1325         variable instead of always exiting with value 1.
1326         * argp/argp-pv.c (argp_program_version): Make `const'.
1327         * argp/argp.h: Declare argp_err_exit_status.
1328         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
1329
1330         * locale/programs/localedef.c: Use argp_err_exit_status to
1331         terminate with correct value.
1332
1333         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
1334         switching of UID before opening .rhosts.
1335
1336         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
1337         proposal.  The return value now is always the number of characters
1338         which would be written if enough space is available.
1339         * manual/stdio.texi: Update description for new behaviour.
1340
1341         * locale/locale.h (__locale_t): Don't use __locale_t for struct
1342         name and pointer to struct since old gccs cannot keep the namespaces
1343         apart.  Rename struct to __locale_struct.
1344         * locale/duplocale.h: Likewise.
1345         * locale/newlocale.h: Likewise.
1346
1347         * math/Makefile (headers): Add complex.h and cmathcalls.h.
1348         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
1349         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
1350         after use.
1351         (signgam): Move declaration to here from mathcalls.h.
1352         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
1353         Correct comment for fmin and fmax.
1354         Start implementing complex math function from ISO C 9X.
1355         * math/complex.h: New file.
1356         * math/cmathcalls.h: New file.
1357         * math/cabs.c: New file.
1358         * math/cabsf.c: New file.
1359         * math/cabsl.c: New file.
1360         * math/cimag.c: New file.
1361         * math/cimagf.c: New file.
1362         * math/cimagl.c: New file.
1363         * math/conj.c: New file.
1364         * math/conjf.c: New file.
1365         * math/conjl.c: New file.
1366         * math/creal.c: New file.
1367         * math/crealf.c: New file.
1368         * math/creall.c: New file.
1369         * sysdeps/libm-ieee754/w_cabs.c: Removed.
1370         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
1371         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
1372
1373         * posix/regex.c: Merge with regex sources from Arnold Robbins'
1374         version in GNU awk.
1375         * posix/regex.h: Likewise.
1376
1377         Add regex test suite by Tom Lord.
1378         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
1379         (tests): Add runtests.
1380         (before-compile): Add testcases.h.
1381         (testcases.h): New rule to generate header with tests.
1382         * posix/TESTS: New file.
1383         * posix/TESTS2C.sed.: New file.
1384         * posix/runtests.c: New file.
1385         * posix/testcases.h: New file.
1386
1387         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
1388         available and use fall-back implementation if not.
1389
1390         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
1391
1392         * time/ialloc.c: Update from tzcode1997c.
1393         * time/private.h: Likewise.
1394         * time/scheck.c: Likewise.
1395         * time/tzselect.ksh: Likewise.
1396         * time/zdump.c: Likewise.
1397         * time/zic.c: Likewise.
1398
1399         * time/tzfile.c: Pretty print.
1400
1401 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
1402
1403         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
1404         on a 601.
1405
1406         * sysdeps/powerpc/Implies: Added.
1407         * sysdeps/powerpc/__longjmp.S: Added.
1408         * sysdeps/powerpc/__math.h: Added.
1409         * sysdeps/powerpc/bsd-_setjmp.S: Added.
1410         * sysdeps/powerpc/bsd-setjmp.S: Added.
1411         * sysdeps/powerpc/dl-machine.h: Added.
1412         * sysdeps/powerpc/ffs.c: Added.
1413         * sysdeps/powerpc/fpu_control.h: Added.
1414         * sysdeps/powerpc/jmp_buf.h: Added.
1415         * sysdeps/powerpc/setjmp.S: Added.
1416         * sysdeps/powerpc/strlen.s: Added.
1417         * sysdeps/powerpc/elf/start.c: Added.
1418         * sysdeps/powerpc/fpu_control.h: Added.
1419         * sysdeps/powerpc/jmp_buf.h: Added.
1420
1421         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
1422         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
1423         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
1424         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
1425         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
1426         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
1427         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
1428         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
1429         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
1430         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
1431         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
1432         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
1433         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
1434         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
1435         * sysdeps/unix/sysv/linux/powerpc/sys/syscall.h: Added.
1436
1437 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
1438
1439         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
1440         because knowing the first instruction of a PowerPC PLT trampoline
1441         is not very helpful.
1442
1443 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
1444
1445         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
1446         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
1447         a preference as to where executables should be loaded.
1448
1449 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
1450
1451         * elf/elf.h: Add in all those PowerPC reloc types.
1452
1453 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
1454
1455         * stdio-common/vfscanf.c: Use __va_copy if available.
1456
1457 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1458
1459         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
1460         clean up namespace.
1461
1462 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
1463
1464         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
1465         non-existing GET_WORDS macro, use EXTRACT_WORDS.
1466         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
1467
1468 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
1469
1470         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
1471         kernel-level sigaction structure is different.  handle this
1472         correctly.
1473         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
1474
1475 1997-03-06 05:55  David Engel  <david@sw.ods.com>
1476
1477         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
1478         recognize cache entries with flag == 3.
1479
1480 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
1481
1482         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
1483         (INADDR_LOOPBACK): Likewise.
1484         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1485
1486         * manual/socket.texi: Correct types of INADDR_* constants from
1487         unsigned long to unsigned.
1488
1489 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
1490
1491         * time/antarctica: Update from tzdata1997c.
1492         * time/asia: Likewise.
1493         * time/zone.tab: Likewise.
1494
1495 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1496
1497         * configure.in (libc_cv_asm_symver_directive,
1498         libc_cv_ld_version_script_option): Remove unknown instruction from
1499         assembler test file.
1500
1501 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1502
1503         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
1504         __USE_ISOC9X.
1505         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
1506         (fabs): Remove defininition, it is a gcc builtin.
1507         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
1508
1509 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
1510
1511         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
1512         generating file.
1513
1514 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
1515
1516         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
1517         instead to avoid namespace problems.
1518         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
1519
1520 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1521
1522         * login/utmp_file.c: Fix previous change.  Make portable by
1523         checking the _HAVE_UT_* feature macros.
1524
1525 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
1526
1527         * Makerules: Add rules to handle versioning.
1528         * config.h.in (DO_VERSIONING): New macro.
1529         * config.make.in (versioning): New variable.
1530         * configure.in: Add checks for .symver directive in gas and
1531         --version-script option to ld.  Define DO_VERSIONING and
1532         versioning if appropriate.
1533
1534         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
1535         s_fmin, and s_fdim.
1536         * math/math.h: Define ISO C 9X constants, macros and functions.
1537         * math/mathcalls.h: Likewise.
1538         * sysdeps/libm-ieee754/s_fdim.c: New file.
1539         * sysdeps/libm-ieee754/s_fdimf.c: New file.
1540         * sysdeps/libm-ieee754/s_fdiml.c: New file.
1541         * sysdeps/libm-ieee754/s_fmax.c: New file.
1542         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
1543         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
1544         * sysdeps/libm-ieee754/s_fmin.c: New file.
1545         * sysdeps/libm-ieee754/s_fminf.c: New file.
1546         * sysdeps/libm-ieee754/s_fminl.c: New file.
1547         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
1548         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
1549         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
1550         * sysdeps/libm-ieee754/s_signbit.c: New file.
1551         * sysdeps/libm-ieee754/s_signbitf.c: New file.
1552         * sysdeps/libm-ieee754/s_signbitl.c: New file.
1553
1554         * stdio-common/printf_fphex.c: Correct printing of decimal point
1555         character.
1556         Simplify conversion of mantissa to string.
1557         * stdio-common/vfscanf.c: Handle %A format.
1558         Optimize termination of floating-point scanning.
1559         * stdio-common/tstscanf.c (main): Add new test to scanf to test
1560         scanning float values with given width.
1561         * stdlib/strtod.c: Add handling of floating-point numbers in
1562         hexadecimal notation.
1563
1564         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
1565         functions.
1566         Pretty print #if directives.
1567         * string/string.h: Pretty print #if directives.
1568
1569         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
1570         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
1571         * sysdeps/ieee754/mpn2dbl.c: Likewise.
1572         * sysdeps/ieee754/mpn2flt.c: Likewise.
1573         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
1574
1575         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
1576         falling back to select-based implementation if syscall isn't
1577         available.
1578         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
1579
1580         * time/leapseconds: Update from tzdata1997b.
1581         * time/zic.c: Update from tzcode1997b.
1582
1583 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1584
1585         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
1586         depedencies between installed $(tzlinks) and $(tzbases) files.
1587
1588 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1589
1590         * math/math.h: Make compatible with traditional preprocessor;
1591         requires carefull placement of whitespace in macro arguments.
1592         Use __CONCAT instead of ##.
1593         Declare long double functions only if __STDC__ or __GNUC__.
1594         * math/mathcall.h: Avoid whitespace before argument of macro call
1595         that is used as function name.
1596
1597         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
1598         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
1599         of __NO_M81_MATH_INLINES.
1600         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
1601         starting with __ieee754.
1602         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
1603         functions as inlines.
1604         (__m81_defun): Put __attribute__ between return type and function
1605         name.
1606         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
1607         is defined.
1608         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
1609         instead of __NO_M81_MATH_INLINES.
1610         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1611         * sysdeps/m68k/fpu/k_cos.c: Likewise.
1612         * sysdeps/m68k/fpu/k_sin.c: Likewise.
1613         * sysdeps/m68k/fpu/k_tan.c: Likewise.
1614         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
1615         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1616         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1617         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1618         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1619         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1620
1621 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1622
1623         * Makefile (tests): Cope with $PATH not including the current
1624         directory.
1625
1626 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1627
1628         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
1629         $(common-objdir-compile).
1630         ($(common-objpfx)make-ioctls): Likewise.
1631         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
1632         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
1633         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
1634         Likewise.
1635         ($(common-objpfx)sys/syscall.h): Likewise.
1636         ($(common-objpfx)local_lim.h): Let make deal with command
1637         failure.
1638         ($(common-objpfx)param.h.dep): Use temporary file and update
1639         target atomically.
1640         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
1641         (include $(common-objpfx)param.h.dep): Ignore error.
1642
1643         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
1644         $(common-objdir-compile).
1645         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
1646         $(shell pwd) instead of $$cwd.
1647
1648         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
1649         $(common-objdir-compile).
1650         ($(objpfx)make_siglist): Use $(native-compile).
1651         (make_siglist-CFLAGS): New variable.
1652
1653         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
1654         the old name for the user to pass additional flags to the host
1655         compiler.  Fix reference to config header.
1656         (native-compile, common-objdir-compile): Rewritten to make more
1657         generally usable.
1658         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
1659         instead of BUILD_CFLAGS.
1660
1661         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
1662         defined.
1663
1664 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1665
1666         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
1667         New rules to generate dependencies for the RPC service objects.
1668
1669 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1670
1671         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
1672         supplied.
1673
1674 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
1675
1676         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
1677         so that clearing second word is necessary.
1678
1679         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
1680         header since it is wrong for 64 bit systems.
1681         Patch by a sun <asun@zoology.washington.edu>.
1682
1683 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
1684
1685         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
1686         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
1687         for the benefit of running foreign binaries.
1688
1689 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
1690
1691         * login/utmp_file.c (pututline_file): Correctly decide whether
1692         LAST_ENTRY matches DATA.
1693         Don't depend on ut_id ever being set.
1694         (proc_utmp_eq): New function.
1695         (internal_getut_r): Renamed from internal_getutid_r.
1696         Use proc_utmp_eq.
1697
1698         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
1699
1700 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
1701
1702         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
1703
1704 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
1705
1706         * manual/Makefile: Add rules to run and distribute xtract-typefun.
1707         * manual/xtract-typefun.awk: New file.  Script to extract function,
1708         variable, macro anchor to put into the `dir' file.
1709         * manual/signal.texi: Document difference between SysV and BSD
1710         signal(3) function and add documentation for sysv_signal.
1711
1712         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
1713         exponent before comparing.
1714
1715 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
1716
1717         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
1718         prototypes to use types with explicit width.  `unsigned long' is
1719         different on 64 bit systems.
1720         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1721         * sysdeps/generic/htonl.c: Likewise.
1722         * sysdeps/generic/htons.c: Likewise.
1723         * sysdeps/generic/ntohl.c: Likewise.
1724         * sysdeps/generic/ntohs.c: Likewise.
1725         Suggested by a sun <asun@zoology.washington.edu>.
1726
1727 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
1728
1729         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
1730         defined and we want optimization.
1731
1732 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1733
1734         * misc/getpass.c: Don't disable canonical input.
1735         Reverted patch of Mon Jan  6 01:35:29 1997.
1736
1737 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1738
1739         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
1740         match the hidden __in_chrg parameter of the destructor.
1741         (_IO_FINISH): Pass zero for it.
1742         * libio/genops.c (_IO_default_finish): Add second parameter, which
1743         is ignored.
1744         * libio/memstream.c (_IO_mem_finish): Likewise.
1745         * libio/fileops.c (_IO_file_finish): Likewise.
1746         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
1747
1748 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
1749
1750         * time/Makefile: Avoid using patterns in dependencies.
1751
1752 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1753
1754         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
1755         SPARC will convert the call _dl_start into a call into the PLT.
1756
1757         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
1758         of arg to make it point to the actual values.
1759
1760         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
1761         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
1762
1763         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
1764         them PIC aware.
1765
1766         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
1767         Implemented.
1768         (elf_machine_rela): Make it compile; fix existing relocation
1769         types; add unhandled relocation types.
1770         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
1771         (RTLD_START): Initial implementation, not yet finished.
1772
1773         * sysdeps/sparc/elf/start.S: Fix.
1774
1775         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
1776         __setfpucw.
1777
1778         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
1779         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
1780         sysdeps/sparc/urem.S : Regenerated.
1781
1782         * sysdeps/sparc/setjmp.S: Make it PIC aware.
1783
1784         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
1785         __ASSEMBLY__ before using kernel header.
1786
1787         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
1788         rtld.c.
1789
1790         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
1791         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
1792         to handle old signals.
1793         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
1794         for all Linux/SPARC kernels.
1795         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
1796         errno using __errno_location.
1797         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
1798         macros for assembler sources.
1799         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
1800
1801 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1802
1803         * elf/rtld.c (dl_main): Remove dead code that is never executed.
1804         Rename local variable l to main_map where it is used to point to
1805         the load_map for the executable.
1806
1807 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1808
1809         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
1810         could not be found.
1811
1812 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1813
1814         * Makerules: Generate implicit object suffix rules automagically.
1815         (o-iterator): Move before first use.
1816
1817         * Makeconfig (all-object-suffixes): Add .bo suffix.
1818
1819 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
1820
1821         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
1822         word on stack for overflow.
1823
1824 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1825
1826         * malloc/malloc.c (malloc_get_state): New function.
1827         Saves global malloc state to an opaque data structure which
1828         is dynamically allocated in the heap.
1829         * malloc/malloc.c (malloc_set_state): New function.
1830         Restore previously obtained state.
1831         * malloc/malloc.h: Add declaration of malloc_get_state()
1832         and malloc_set_state().
1833
1834 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
1835
1836         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
1837         position.
1838
1839 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
1840
1841         * misc/error.c: Make error and error_at_line weak aliases of
1842         __error and __error_at_line respectively.
1843         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
1844
1845         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
1846
1847 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1848
1849         * elf/ldd.bash.in: Run the program directly, not as argument
1850         to the dynamic linker, if it contains an interpreter segment.
1851         * elf/ldd.sh.in: Likewise.
1852
1853         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
1854         object contains an interpreter segment and exit with 2 if not.
1855
1856 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1857
1858         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
1859         and xlocale.h.  Make-dist adds them automagically.
1860
1861 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1862
1863         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
1864         time-era-num-entries.
1865
1866 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1867
1868         * rellns-sh: No need to check for existance of first parameter.
1869
1870 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
1871
1872         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
1873         to avoid duplicate mail.
1874
1875 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
1876
1877         * Makefile (distribute): Add isomac.c.
1878         (tests): Run isomac test.
1879
1880         * features.h (__USE_ISOC9X): New macro.
1881
1882         * catgets/catgets.c: Don't use global variable `optind'.  Instead
1883         use result computed by argp_parse.
1884         * db/makedb: Likewise.
1885         * locale/programs/locale.c: Likewise.
1886         * locale/programs/localedef.c: Likewise.
1887
1888         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
1889
1890         * libio/clearerr.c: Remove clearerr_locked alias.
1891         * libio/feof.c: Remove feof_locked alias.
1892         * libio/ferror.c: Remove feof_locked alias.
1893         * libio/fileno.c: Remove fileno_locked alias.
1894         * libio/fputc.c: Remove fputc_locked alias.
1895         * libio/getc.c: Remove getc_locked alias.
1896         * libio/getchar.c: Remove getchar_locked alias.
1897         * libio/iofflush.c: Remove fflush_locked alias.
1898         * libio/putc.c: Remove putc_locked alias.
1899         * libio/putc.c: Remove putchar_locked alias.
1900
1901         * stdio-common/printf_fp.c: When number is inifinity print INF
1902         or inf depending on case of specifier.  Same for NaN where NAN
1903         or nan is printed.  Specified in ISO C 9X.
1904
1905         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
1906         * stdio/stdio.h: Add __restrict to prototypes where necessary.
1907         * libio/stdio.h: Likewise.
1908         * stdlib/stdlib.h: Likewise.
1909         * string/string.h: Likewise.
1910         * time/time.h: Likewise.
1911         * wcsmbs/wchar.h: Likewise.
1912
1913         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
1914         NAN(...).
1915
1916         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
1917         of HUGE_VALf and HUGE_VALL.
1918         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
1919         instead of HUGE_VALf.
1920         * wcsmbs/wcstof.c: Likewise.
1921         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
1922         instead of HUGE_VALl.
1923         * wcsmbs/wcstold.c: Likewise.
1924
1925         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
1926         avoid warning.
1927
1928         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
1929         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
1930         * wcsmbs/wcscasecmp.c: New file.
1931         * wcsmbs/wcsncase.c: New file.
1932
1933         * stdlib/strtol.c: Define wide character quad word functions as
1934         wcstoll and wcstoull and normal versions as strtoll and strtoull.
1935         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
1936         * wcsmbs/wcstoq: Renamed to wcstoll.c.
1937         * wcsmbs/wcstouq: Renamed to wcstoull.c.
1938         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
1939         alias of wcstoll.
1940         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
1941         alias of wcstoull.
1942         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
1943         wcstoll and wcstoull respectively.
1944         * stdlib/strtoq.c: Rename to strtoll.c.
1945         * stdlib/strtouq.c: Rename to strtoull.c.
1946         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
1947         alias of strtoll.
1948         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
1949         alias of strtoull.
1950         * stdlib/Makefile (routines): Replace strtoq and strtouq by
1951         strtoll and strtoull respectively.
1952         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
1953         __strtouq_internal but instead __strtoll_internal and
1954         __strtoull_internal respectively.
1955         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
1956         (strtouq): Similar with __internal_strtoull.
1957         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
1958         (wcstouq): Similar with __internal_wcstoull.
1959
1960 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
1961
1962         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
1963         sign in the strtouXX functions.  The results gets simply negated.
1964         * stdio-common/tstscanf.c: Add testcase for above case.
1965         * stdlib/tst-strtol.c: Correct tests.
1966
1967         * manual/stdio-fp.c: New file.  Generate output for example program
1968         in stdio.texi.
1969
1970         * stdio-common/Makefile (routines): Add printf_fphex.
1971         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
1972         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
1973         specifier.
1974
1975 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
1976
1977         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
1978         __STRICT_ANSI__.
1979
1980         * math/math.h: Prevent definition of struct exception when using
1981         C++.  Use __exception instead.
1982
1983 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
1984
1985         * sysdeps/unix/syscalls.list: Dup takes only one argument.
1986         Reported by Greg McGary.
1987
1988 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
1989
1990         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
1991         than file_get_translator.
1992
1993         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
1994         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
1995
1996 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
1997
1998         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
1999         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2000
2001 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
2002
2003         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
2004         but ADDR also == 0.
2005
2006         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
2007         now instead of a weak extern, as some old programs expect it to be
2008         defined by ld.so.
2009
2010 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
2011
2012         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
2013
2014         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
2015         __hurd_threadvar_stack_offset): Restore initialized versions, so
2016         startup works correctly.
2017
2018         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
2019
2020 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
2021
2022         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
2023         not __mutex_try_lock.
2024         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
2025         (tsd_getspecific): Case variable to (void *) before returning.
2026
2027         * hurd/hurdinit.c (__libc_argv): Remove extern.
2028         (__libc_argc): New variable.
2029
2030 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
2031
2032         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2033         _HURD_THREADVAR_MALLOC.
2034         * malloc/thread-m.h
2035         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2036         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
2037         __mutex_*.
2038         (mutex_t): Type removed & replaced by new macro.
2039         (tsd_key_t): Typedef to int instead of pthread_key_t.
2040         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2041         (__pthread_initialize): New macro, work around assumption of pthreads.
2042         (tsd_keys_alloced): New static variable.
2043         <hurd/threadvar.h>: New include.
2044
2045         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
2046         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
2047         defined before using it.
2048
2049         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
2050         Make extern.
2051         * hurd/hurdinit.c (__libc_argv): Make extern.
2052
2053         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
2054         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
2055
2056         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
2057         __hurd_threadvar_stack_offset,
2058         __hurd_threadvar_stack_mask): New variables.
2059         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
2060         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2061         New variables (moved here from hurdstartup.c).
2062         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
2063         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2064         Variables removed (moved to hurdsig.c).
2065         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
2066         __hurd_threadvar_stack_mask): Variables removed.
2067         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2068         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
2069         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
2070         __hurd_threadvar_stack_mask): Variables removed.
2071
2072 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
2073
2074         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
2075         Declare extern.
2076
2077         * malloc/thread-m.h
2078         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2079         (mutex_t): Type removed.
2080         (mutex_t): New macro.
2081         (mutex_trylock): New macro.
2082         (__x_mutex_lock, __x_mutex_unlock): New functions.
2083         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
2084         the cthread definitions.
2085         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
2086         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2087         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
2088         (__pthread_initialize): New macro, work around assumption of pthreads.
2089
2090 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
2091
2092         * locale/weight.h (collate_rules): It's an u_int32_t array.
2093         (get_weight): Compute initial SLOT value correctly.
2094
2095 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
2096
2097         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
2098         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
2099         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2100         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2101         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2102         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2103         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2104         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2105         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2106         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2107         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2108         * sysdeps/unix/sysv/linux/send.S: Likewise.
2109         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2110         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2111         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2112         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2113         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2114
2115 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
2116
2117         * catgets/gencat.c: Change to use argp.
2118         * db/makedb: Likewise.
2119         * locale/programs/localedef.c: Likewise.
2120
2121         * locale/programs/locale.c: Little adjustment for better usage of
2122         argp.
2123
2124 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
2125
2126         * Makeconfig: Add rules for libc with bounded pointers.
2127         * Makerules: Likewise.
2128         * config.make.in: Likewise.
2129         * configure.in: Likewise.
2130
2131 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
2132
2133         * argp.h (OPTION_NO_USAGE): New macro.
2134         * argp-help.c (usage_long_opt, usage_argful_short_opt,
2135         add_argless_short_opt): Implement OPTION_NO_USAGE.
2136
2137 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2138
2139         * malloc/obstack.h: Fix typo.
2140
2141 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
2142
2143         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
2144         where NEXTLINE points one past the end of the active buffer.
2145
2146         * argp-help.c <stddef.h>: New include.
2147         (__argp_failure): Only exit if STATE says it's ok.
2148         (print_header, hol_entry_help): Use UPARAMS fields rather than
2149         constants.
2150         (_help): Call fill_in_uparams if necessary.
2151         (struct hol_help_state): New type.
2152         (struct pentry_state): Add hhstate field.  Remove prev_entry &
2153         sep_groups fields.
2154         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
2155         sep_groups parameters.
2156         Suppress duplicate arguments if requested, and note the fact.
2157         (print_header, comma): Use PEST->hhstate fields.
2158         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
2159         Remove LAST_ENTRY & SEP_GROUPS variables.
2160         If any suplicate arguments were suppressed, print explanatory note.
2161         (filter_doc): Replace PEST parameter with STATE.
2162         (struct uparams): New type.
2163         (uparams): New variable.
2164         (struct uparam_name): New type.
2165         (uparam_names): New variable.
2166         (fill_in_uparams): New function.
2167         (__argp_failure, __argp_error, __argp_state_help): Make STATE
2168         parameter const.
2169         * argp.h (argp_state_help, __argp_state_help, argp_usage,
2170         __argp_usage, argp_error, __argp_error, argp_failure,
2171         __argp_failure): Make STATE parameter const.
2172         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
2173
2174         * argp.h (argp_program_bug_address): Make const.
2175
2176 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
2177
2178         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
2179
2180 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
2181
2182         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
2183
2184 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2185
2186         * stdio-common/test-fseek.c: Remove temporary file, add
2187         copyright.
2188
2189 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
2190
2191         * sysdeps/generic/netinet/in.h: Protect contents using
2192         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
2193
2194         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
2195         * inet/Makefile (headers): Remove net/ethernet.h.
2196         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
2197         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
2198
2199 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2200
2201         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
2202         searching in sorted array.
2203
2204 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
2205
2206         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
2207         and protect modification of global data.
2208
2209 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
2210
2211         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
2212         (parser_init): Use the basename for PARSER->state.name.
2213         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
2214         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
2215
2216         * argp-parse.c (parser_init): Set PARSER->state.flags.
2217         Make check whether PARSER has the prog name in argv[0] at the
2218         proper place.
2219
2220 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
2221
2222         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
2223         Use default value instead of printing a warning.
2224
2225         * nss/XXX-lookup.c: Add misssing explanation.
2226
2227 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
2228
2229         * inet/in6_addr.c: Add missing braces.
2230
2231         * inet/getnameinfo.c: Include <arpa/inet.h>.
2232
2233         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
2234
2235 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
2236
2237         * string/strxfrm.c (STRCOLL): Correct handling of `position'
2238         levels with no non-IGNOREd element and handling of NUL byte.
2239         * string/strcoll.c (STRXFRM): Likewise.
2240         * locale/weight.h: Likewise.
2241
2242         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2243
2244 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
2245
2246         * argp/argp-help.c: Add support for user provided filter of help
2247         messages.
2248         * argp/argp-parse.c: Likewise.
2249         * argp/argp.h: Likewise.
2250         * argp/argp-namefrob.h: Define __argp_input.
2251
2252         * argp/argp-test.c: Add example for filter.
2253
2254 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
2255
2256         * argp.h: New file.
2257         * locale/programs/locale.c: Switch to use argp.
2258
2259         * errno.h: Make it possible to get definition of error_t even
2260         after having errno.h already.
2261
2262         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
2263         from dl-lookup.c.
2264         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
2265
2266         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
2267         * elf/dl-version.c: Likewise.
2268
2269         * elf/dl-lookup.c: Implement new versioning lookup scheme.
2270         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
2271         in l_versions member.
2272
2273         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
2274         and _dl_lookup_versioned_symbol.
2275
2276         * elf/link.h: Rename hash_name_pair to struct r_found_version.
2277         * sysdeps/alpha/dl-machine.h: Likewise.
2278         * sysdeps/i386/dl-machine.h: Likewise.
2279         * sysdeps/m68k/dl-machine.h: Likewise.
2280         * sysdeps/mips/dl-machine.h: Likewise.
2281
2282         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
2283         length of abs_filename.
2284
2285         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
2286
2287         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
2288         in mon_grouping information.  This means no more grouping.
2289         * locale/programs/ld-numeric.c (numeric_add): Write value \377
2290         when seein value 0 in grouping information.
2291         * locale/programs/linereader.c (lr_close): Don't free fname since
2292         it might be used in error messages.
2293
2294         * locale/programs/locale.c: Check whether output of `locale -a'
2295         really is locale directory.  Also print locale aliases.
2296
2297         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
2298         be const.
2299
2300 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
2301
2302         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
2303         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
2304
2305 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
2306
2307         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
2308
2309 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
2310
2311         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
2312         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2313
2314         * sysdeps/stub/msync.c (msync): Add missing third parameter.
2315
2316 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
2317
2318         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
2319         additional argument.
2320
2321 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
2322
2323         * inet/net/ethernet.h: New file.
2324         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
2325         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
2326         Contributed by a sun <asun@zoology.washington.edu>.
2327
2328         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
2329         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
2330         Reported by a sun <asun@zoology.washington.edu>.
2331
2332 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2333
2334         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
2335         makefiles which may change the distinfo variables.
2336
2337 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2338
2339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
2340         [$(subdir)=misc]: Add sys/quota.h.
2341         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
2342
2343 1997-02-17 13:12  aleph1@dfw.net
2344
2345         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
2346         strncpy.
2347
2348 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
2349
2350         * stdio-common/bug10.c (main): Correct parameter.
2351
2352 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
2353
2354         * malloc/obstack.h: Add `extern "C"' protection.
2355         * posix/regex.h: Likewise.
2356         * io/ftw.h: Likewise.
2357         * misc/libgen.h: Likewise.
2358         * login/utmp.h: Likewise.
2359         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
2360         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2361         * sunrpc/rpc/pmap_rmt.h: Likewise.
2362         * sunrpc/rpc/auth_des.h: Likewise.
2363         * elf/link.h: Likewise.
2364         Reported by HJ Lu.
2365
2366 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
2367
2368         Linux specific network headers.
2369         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
2370         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
2371         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
2372         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
2373         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
2374         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
2375         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
2376         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
2377         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
2378         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
2379         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
2380         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2381         Add sys/quota.h.
2382         [$(subdir)=inet] (sysdep_headers): Add new network header.
2383
2384         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
2385
2386         * inet/netinet/ip.h: Move to sysdeps/generic.
2387         * inet/netinet/tcp.h: Likewise.
2388         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
2389         * sysdeps/generic/netinet/tcp.h: Likewise.
2390
2391 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
2392
2393         * misc/sys/syslog.h (prioritynames): Correct definition to use
2394         braces where necessary.
2395         (facilitynames): Likewise.
2396         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
2397         Comment and beautify declarations.
2398
2399 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
2400
2401         * inet/Makefile (routines): Add in6_addr, getnameinfo.
2402         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
2403         by Craig Metz.
2404         * inet/in6_addr.c: New file.  IPv6 addressing constants.
2405         * posix/Makefile (routines): Add gai_strerror.
2406         * resolv/netdb.h: Add more constants for IPv6 basic API.
2407         * sysdeps/posix/gai_strerror.c: New file.
2408         * sysdeps/stub/gai_strerror.c New file.
2409         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
2410         basic API.
2411
2412         * sysdeps/posix/getaddrinfo.c: Update from latest version by
2413         Craig Metz and use reentrant getXXbyYY functions.
2414
2415 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
2416
2417         * argp/argp.h: Declare argp_program_version as const char.
2418         * argp/argp-test.c: Likewise
2419
2420         * stdlib/testrand.c (main): Declare main prototype.
2421         * stdlib/testdiv.c (main): Likewise.
2422         * string/testcopy.c (main): Likewise.
2423         * string/test-ffs.c (main): Likewise.
2424         * time/test_time.c (main): Likewise.
2425
2426         * locale/duplocale.c (__duplocale): Return result.
2427
2428 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
2429
2430         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
2431         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2432
2433         * nss/nss.h: Remove declaration of __nss_shlib_revision.
2434         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
2435
2436 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2437
2438         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
2439         _nss_nis_gethostton_r.
2440         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
2441
2442 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
2443
2444         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
2445         trying to resolv name as numeric IPv6 address.
2446         * nss/digits_dots.c: Likewise.
2447
2448 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
2449
2450         * locale/setlocale.c (setlocale): Don't try to be clever about
2451         unused locales.  When the existence of the locale files isn't
2452         tested the result of setlocale might be different.
2453
2454 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
2455
2456         * locale/setlocale.c (setlocale): Don't increment usage_count of
2457         new locale if it already has the value MAX_USAGE_COUNT (it might
2458         be the C locale data which is read-only).
2459
2460 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
2461
2462         * argp/argp-help.c: Gettextize sources.
2463         * argp/argp-parse.c: Likewise.
2464
2465 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
2466
2467         * features.h (__GLIBC_MINOR__): Bump to 1.
2468
2469         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
2470         * Makefile (distribute): Add xlocale.h.
2471         * locale/Makefile (routines): Add ctype_l.
2472         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
2473         Add __isblank_l, __toascii_l and __isascii_l.
2474         * ctype/ctype.h: Add definitions and declarations for *_l functions.
2475         * locale/Makefile (headers): Add xlocale.h.
2476         (routines): Add newlocale, duplocale, and freelocale.
2477         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
2478         (struct locale_data): Add new fields mmaped and usage_count.
2479         Correct various declarations.
2480         * locale/C-collate.c: Define value for new fields mmaped and
2481         usage_count.
2482         * locale/C-ctype.c: Likewise.
2483         * locale/C-messages.c: Likewise.
2484         * locale/C-monetary.c: Likewise.
2485         * locale/C-numeric.c: Likewise.
2486         * locale/C-time.c: Likewise.
2487         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
2488         usage_count fields.
2489         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
2490         Correct prototypes for __newlocale and __freelocale.
2491         Add prototype for __duplocale.
2492         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
2493         (_nl_remove_locale): New function.
2494         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
2495         * locale/setlocale.c: Likewise.
2496         * locale/weight.h: Change for use with locale objects.
2497         * locale/xlocale.h: New file.  Define __locale_t type.
2498         * locale/newlocale.c: New file.  Create new locale object.
2499         * locale/freelocale.c: New file.  Destroy locale object.
2500         * locale/duplocale.c: New file.  Create copy of locale object.
2501         * stdlib/Makefile (routines): Add strfmon_l.
2502         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
2503         * stdlib/strfmon.c: Add support for use in extended locale model.
2504         * stdlib/strfmon_l.c: New file.
2505         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
2506         * string/strcoll.c: Change for use in extended locale model.
2507         * string/strxfrm.c: Likewise.
2508         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
2509         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
2510         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
2511         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
2512         * wcsmbs/wcscoll.c: Change for use in extended locale model.
2513         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
2514         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
2515         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
2516         and towctrans_l.
2517         * wctype/cname-lookup.h: Prepare for use in extended locale model.
2518         * wctype/iswctype_l.c: New file.  Implement character classification
2519         functions for use with locale objects.
2520         * wctype/wctype.h: Declare functions for use with locale objects.
2521         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
2522         for use with locale objects.
2523         * wctype/wcfuncs_l.c: New file.  Implement wide character
2524         classification functions for use with locale objects.
2525         * wctype/wcextra.c: New file.  Implement real functions for
2526         non-standard classification functions.
2527
2528         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
2529         parameters to ld.so.  Use environment variables.
2530         * elf/ldd.sh.in: Likewise.
2531         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
2532         options.  Instead read environment variables.
2533
2534         * elf/link.h (receiver_fct): Add new argument to take error code.
2535         * elf/dl-error.c (_dl_signal_error): Call receiver function with
2536         another argument.
2537
2538         * elf/dl-object.c (_dl_new_object): Create new object with list of
2539         names in l_libname member.
2540         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
2541         find to object to the list in the link_map variable.
2542         (_dl_map_object): Use _dl_does_name_match_p to compare with all
2543         available names of the object.
2544         Optimize handling of LD_LIBRARY_PATH a bit.
2545         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
2546
2547         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
2548
2549         * elf/Makefile (routines): Add dl-version.
2550         * elf/link.h (hash_name_pair): New type.  Group pointer to string
2551         and its hash value.
2552         (struct link_map): Change l_libname member to be a list of names,
2553         not a single pointer to a name.
2554         Add new members l_nversions and l_versions.
2555         (_dl_does_name_match_p): New function to test for all names of an
2556         object.
2557         Add prototypes for new lookup and versioning functions.
2558         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
2559         when versioned symbol is requested.
2560         (_dl_lookup_symbol): Call do_lookup with another argument.
2561         (_dl_lookup_symbol_skip): Likewise.
2562         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
2563         versioned symbol.
2564         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
2565         _dl_lookup_symbol_skip.
2566         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
2567         _dl_lookup_symbol depending on availability of version information.
2568         * elf/dl-runtime.c (RESOLVE): Likewise.
2569         (fixup): Call elf_machine_relplt with additional argument to point
2570         to versioning information if available.
2571         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
2572         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
2573         for correct versions.
2574         * elf/dl-version.c: New file.  Check library versions and extract
2575         version information for easier access.
2576         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
2577         * elf/dlvsym.c: New file.  Implementation of function similar to
2578         dlsym, but looks for versioned symbol.
2579         * elf/elf.h: Add types and macros for versioning.
2580         * elf/rtld.c (dl_main): Check availability of needed versions.
2581         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
2582         argument for version information.  Call RESOLVE with additional
2583         argument.
2584         * sysdeps/i386/dl-machine.h: Likewise.
2585         * sysdeps/m68k/dl-machine.h: Likewise.
2586         * sysdeps/mips/dl-machine.h: Likewise.
2587
2588         * elf/dlerror.c: Change comment to align with guidelines.
2589         * elf/dlopen.c: Likewise.
2590         * elf/dlsym.c: Likewise.
2591
2592         * locale/programs/localedef.c: Implement --quiet option.
2593         * locale/programs/charset.h: Declare be_quiet variable.
2594         * locale/programs/locfile.h: Likewise.
2595         * locale/programs/charmap.c: Don't print warnings if quiet option
2596         was given.
2597         * locale/programs/ld-collate.c: Likewise.
2598         * locale/programs/ld-ctype.c: Likewise.
2599         * locale/programs/ld-messages.c: Likewise.
2600         * locale/programs/ld-monetary.c: Likewise.
2601         * locale/programs/ld-numeric.c: Likewise.
2602         * locale/programs/ld-time.c: Likewise.
2603         * locale/programs/locfile.c: Likewise.
2604
2605         * Makefile (subdirs): Add argp.
2606
2607         * catgets/catgets.c (catopen): Little code improvement.
2608
2609         * posix/execl.c: Remove restriction to 1024 arguments.
2610         * posix/execle.c: Likewise.
2611         * posix/execlp.c: Likewise.
2612
2613         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
2614         and make regular names weak aliases.
2615         * posix/getopt1.c: Likewise.
2616         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
2617         __ protected forms.
2618
2619         * posix/unistd.h: Add prototype for __sleep.
2620         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
2621         * sysdeps/posix/sleep.c: Likewise.
2622         * sysdeps/stub/sleep.c: Likewise.
2623         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2624
2625         * ctype/ctype-info.c: Update copyright.
2626         * ctype/ctype.c: Likewise.
2627         * ctype/test_ctype.c: Likewise.
2628         * dirent/alphasort.c: Likewise.
2629         * dirent/list.c: Likewise.
2630         * gmon/bb_exit_func.c: Likewise.
2631         * grp/fgetgrent.c: Likewise.
2632         * grp/getgrent.c: Likewise.
2633         * grp/getgrent_r.c: Likewise.
2634         * grp/getgrgid.c: Likewise.
2635         * grp/getgrgid_r.c: Likewise.
2636         * grp/getgrnam.c: Likewise.
2637         * grp/getgrnam_r.c: Likewise.
2638         * hurd/alloc-fd.c: Likewise.
2639         * hurd/catch-exc.c: Likewise.
2640         * hurd/ctty-input.c: Likewise.
2641         * hurd/ctty-output.c: Likewise.
2642         * hurd/dtable.c: Likewise.
2643         * hurd/fchroot.c: Likewise.
2644         * hurd/fd-close.c: Likewise.
2645         * hurd/fd-read.c: Likewise.
2646         * hurd/fd-write.c: Likewise.
2647         * hurd/fopenport.c: Likewise.
2648         * hurd/get-host.c: Likewise.
2649         * hurd/getdport.c: Likewise.
2650         * hurd/getuids.c: Likewise.
2651         * hurd/getumask.c: Likewise.
2652         * hurd/hurd-raise.c: Likewise.
2653         * hurd/hurd.h: Likewise.
2654         * hurd/hurdauth.c: Likewise.
2655         * hurd/hurdexec.c: Likewise.
2656         * hurd/hurdhost.h: Likewise.
2657         * hurd/hurdid.c: Likewise.
2658         * hurd/hurdinit.c: Likewise.
2659         * hurd/hurdioctl.c: Likewise.
2660         * hurd/hurdkill.c: Likewise.
2661         * hurd/hurdlookup.c: Likewise.
2662         * hurd/hurdmsg.c: Likewise.
2663         * hurd/hurdpid.c: Likewise.
2664         * hurd/hurdports.c: Likewise.
2665         * hurd/hurdprio.c: Likewise.
2666         * hurd/hurdrlimit.c: Likewise.
2667         * hurd/hurdsock.c: Likewise.
2668         * hurd/hurdstartup.c: Likewise.
2669         * hurd/hurdstartup.h: Likewise.
2670         * hurd/intern-fd.c: Likewise.
2671         * hurd/intr-msg.c: Likewise.
2672         * hurd/intr-rpc.defs: Likewise.
2673         * hurd/intr-rpc.h: Likewise.
2674         * hurd/msgportdemux.c: Likewise.
2675         * hurd/new-fd.c: Likewise.
2676         * hurd/openport.c: Likewise.
2677         * hurd/pid2task.c: Likewise.
2678         * hurd/port-cleanup.c: Likewise.
2679         * hurd/port2fd.c: Likewise.
2680         * hurd/ports-get.c: Likewise.
2681         * hurd/ports-set.c: Likewise.
2682         * hurd/privports.c: Likewise.
2683         * hurd/report-wait.c: Likewise.
2684         * hurd/set-host.c: Likewise.
2685         * hurd/setauth.c: Likewise.
2686         * hurd/setuids.c: Likewise.
2687         * hurd/siginfo.c: Likewise.
2688         * hurd/sigunwind.c: Likewise.
2689         * hurd/task2pid.c: Likewise.
2690         * hurd/thread-cancel.c: Likewise.
2691         * hurd/thread-self.c: Likewise.
2692         * hurd/vpprintf.c: Likewise.
2693         * hurd/hurd/fd.h: Likewise.
2694         * hurd/hurd/id.h: Likewise.
2695         * hurd/hurd/ioctl.h: Likewise.
2696         * hurd/hurd/lookup.h: Likewise.
2697         * hurd/hurd/port.h: Likewise.
2698         * hurd/hurd/resource.h: Likewise.
2699         * hurd/hurd/threadvar.h: Likewise.
2700         * hurd/hurd/userlink.h: Likewise.
2701         * inet/ether_aton.c: Likewise.
2702         * inet/ether_aton_r.c: Likewise.
2703         * inet/ether_ntoa.c: Likewise.
2704         * inet/ether_ntoa_r.c: Likewise.
2705         * inet/gethstbyad.c: Likewise.
2706         * inet/gethstbyad_r.c: Likewise.
2707         * inet/gethstent.c: Likewise.
2708         * inet/getnetbyad.c: Likewise.
2709         * inet/getnetbyad_r.c: Likewise.
2710         * inet/getnetbynm.c: Likewise.
2711         * inet/getnetbynm_r.c: Likewise.
2712         * inet/getnetent.c: Likewise.
2713         * inet/getnetent_r.c: Likewise.
2714         * inet/getproto.c: Likewise.
2715         * inet/getproto_r.c: Likewise.
2716         * inet/getprtent.c: Likewise.
2717         * inet/getprtent_r.c: Likewise.
2718         * inet/getprtname.c: Likewise.
2719         * inet/getrpcbyname.c: Likewise.
2720         * inet/getrpcbyname_r.c: Likewise.
2721         * inet/getrpcbynumber.c: Likewise.
2722         * inet/getrpcbynumber_r.c: Likewise.
2723         * inet/getrpcent.c: Likewise.
2724         * inet/getrpcent_r.c: Likewise.
2725         * inet/getservent.c: Likewise.
2726         * inet/getservent_r.c: Likewise.
2727         * inet/getsrvbynm.c: Likewise.
2728         * inet/getsrvbynm_r.c: Likewise.
2729         * inet/getsrvbypt.c: Likewise.
2730         * inet/getsrvbypt_r.c: Likewise.
2731         * inet/herrno.c: Likewise.
2732         * inet/netgroup.h: Likewise.
2733         * ient/netinet/ether.h: Likewise.
2734         * intl/bindtextdom.c: Likewise.
2735         * intl/dcgettext.c: Likewise.
2736         * intl/dgettext.c: Likewise.
2737         * intl/gettext.c: Likewise.
2738         * intl/gettext.h: Likewise.
2739         * intl/gettextP.h: Likewise.
2740         * intl/hash-string.h: Likewise.
2741         * intl/loadmsgcat.c: Likewise.
2742         * intl/localealias.c: Likewise.
2743         * intl/textdomain.c: Likewise.
2744         * io/creat.c: Likewise.
2745         * io/getdirname.c: Likewise.
2746         * io/lockf.c: Likewise.
2747         * io/pwd.c: Likewise.
2748         * io/test-utime.c: Likewise.
2749         * locale/categories.def: Likewise.
2750         * locale/codeset_name.c: Likewise.
2751         * locale/lc-collate.c: Likewise.
2752         * locale/lc-ctype.c: Likewise.
2753         * locale/lc-messages.c: Likewise.
2754         * locale/lc-monetary.c: Likewise.
2755         * locale/lc-numeric.c: Likewise.
2756         * locale/lc-time.c: Likewise.
2757         * locale/loadlocale.c: Likewise.
2758         * locale/localeconv.c: Likewise.
2759         * locale/nl_langinfo.c: Likewise.
2760         * locale/setlocale.c: Likewise.
2761         * locale/strlen-hash.h: Likewise.
2762         * locale/programs/charmap-kw.gperf: Likewise.
2763         * locale/programs/charmap-kw.h: Likewise.
2764         * locale/programs/charset.c: Likewise.
2765         * locale/programs/ld-ctype.c: Likewise.
2766         * locale/programs/ld-messages.c: Likewise.
2767         * locale/programs/ld-monetary.c: Likewise.
2768         * locale/programs/linereader.h: Likewise.
2769         * locale/programs/locale-spec.c: Likewise.
2770         * locale/programs/locales.h: Likewise.
2771         * locale/programs/locfile-kw.gperf: Likewise.
2772         * locale/programs/locfile-kw.h: Likewise.
2773         * locale/programs/locfile-token.h: Likewise.
2774         * locale/programs/simple-hash.h: Likewise.
2775         * locale/programs/stringtrans.c: Likewise.
2776         * locale/programs/stringtrans.h: Likewise.
2777         * login/logout.c: Likewise.
2778         * mach/bootprivport.c: Likewise.
2779         * mach/devstream.c: Likewise.
2780         * mach/hello.c: Likewise.
2781         * mach/mach.h: Likewise.
2782         * mach/mach_init.c: Likewise.
2783         * mach/mach_init.h: Likewise.
2784         * mach/mig-alloc.c: Likewise.
2785         * mach/mig-dealloc.c: Likewise.
2786         * mach/mutex-init.c: Likewise.
2787         * mach/mutex-solid.c: Likewise.
2788         * mach/setup-thread.c: Likewise.
2789         * mach/spin-lock.h: Likewise.
2790         * mach/spin-solid.c: Likewise.
2791         * mach/mach/mig_support.h: Likewise.
2792         * md5-crypt/md5-crypt.c: Likewise.
2793         * misc/nlist.h: Likewise.
2794         * nss/nss_files/files-ether.c: Likewise.
2795         * posix/confstr.c: Likewise.
2796         * posix/execl.c: Likewise.
2797         * posix/execle.c: Likewise.
2798         * posix/execlp.c: Likewise.
2799         * posix/execv.c: Likewise.
2800         * posix/execvp.c: Likewise.
2801         * posix/fnmatch.c: Likewise.
2802         * posix/getopt.c: Likewise.
2803         * posix/getopt.h: Likewise.
2804         * posix/getopt1.c: Likewise.
2805         * posix/id.c: Likewise.
2806         * posix/regex.c: Likewise.
2807         * posix/setpgrp.c: Likewise.
2808         * posix/unistd.h: Likewise.
2809         * posix/wordexp.c: Likewise.
2810         * pwd/fgetpwent.c: Likewise.
2811         * pwd/getpwent.c: Likewise.
2812         * pwd/getpwent_r.c: Likewise.
2813         * pwd/getpwnam.c: Likewise.
2814         * pwd/getpwnam_r.c: Likewise.
2815         * pwd/getpwuid.c: Likewise.
2816         * pwd/getpwuid_r.c: Likewise.
2817         * pwd/putpwent.c: Likewise.
2818         * resolv/gethnamaddr.c: Likewise.
2819         * resolv/res_hconf.c: Likewise.
2820         * resolv/res_hconf.h: Likewise.
2821         * setjmp/longjmp.c: Likewise.
2822         * setjmp/sigjmp.c: Likewise.
2823         * setjmp/tst-setjmp.c: Likewise.
2824         * stdio/clearerr.c: Likewise.
2825         * stdio/ferror.c: Likewise.
2826         * stdio/fgetc.c: Likewise.
2827         * stdio/fgetpos.c: Likewise.
2828         * stdio/fgets.c: Likewise.
2829         * stdio/fileno.c: Likewise.
2830         * stdio/fmemopen.c: Likewise.
2831         * stdio/fopen.c: Likewise.
2832         * stdio/fopncook.c: Likewise.
2833         * stdio/fputc.c: Likewise.
2834         * stdio/fputs.c: Likewise.
2835         * stdio/fread.c: Likewise.
2836         * stdio/freopen.c: Likewise.
2837         * stdio/fseek.c: Likewise.
2838         * stdio/fsetpos.c: Likewise.
2839         * stdio/ftell.c: Likewise.
2840         * stdio/fwrite.c: Likewise.
2841         * stdio/getchar.c: Likewise.
2842         * stdio/getdelim.c: Likewise.
2843         * stdio/gets.c: Likewise.
2844         * stdio/glue.c: Likewise.
2845         * stdio/internals.c: Likewise.
2846         * stdio/linewrap.c: Likewise.
2847         * stdio/linewrap.h: Likewise.
2848         * stdio/memstream.c: Likewise.
2849         * stdio/newstream.c: Likewise.
2850         * stdio/putchar.c: Likewise.
2851         * stdio/puts.c: Likewise.
2852         * stdio/rewind.c: Likewise.
2853         * stdio/setbuf.c: Likewise.
2854         * stdio/setbuffer.c: Likewise.
2855         * stdio/setlinebuf.c: Likewise.
2856         * stdio/setvbuf.c: Likewise.
2857         * stdio/ungetc.c: Likewise.
2858         * stdio/vasprintf.c: Likewise.
2859         * stdio/vscanf.c: Likewise.
2860         * stdio/vsnprintf.c: Likewise.
2861         * stdio/vsprintf.c: Likewise.
2862         * stdio/vsscanf.c: Likewise.
2863         * stdio-common/asprintf.c: Likewise.
2864         * stdio-common/dprintf.c: Likewise.
2865         * stdio-common/errnobug.c: Likewise.
2866         * stdio-common/fprintf.c: Likewise.
2867         * stdio-common/getline.c: Likewise.
2868         * stdio-common/getw.c: Likewise.
2869         * stdio-common/perror.c: Likewise.
2870         * stdio-common/psignal.c: Likewise.
2871         * stdio-common/putw.c: Likewise.
2872         * stdio-common/reg-printf.c: Likewise.
2873         * stdio-common/scanf.c: Likewise.
2874         * stdio-common/snprintf.c: Likewise.
2875         * stdio-common/sprintf.c: Likewise.
2876         * stdio-common/tempnam.c: Likewise.
2877         * stdio-common/test_rdwr.c: Likewise.
2878         * stdio-common/tst-fileno.c: Likewise.
2879         * stdio-common/tst-printf.c: Likewise.
2880         * stdio-common/tstgetln.c: Likewise.
2881         * stdio-common/vprintf.c: Likewise.
2882         * stdlib/drand48.c: Likewise.
2883         * stdlib/drand48_r.c: Likewise.
2884         * stdlib/erand48.c: Likewise.
2885         * stdlib/erand48_r.c: Likewise.
2886         * stdlib/exit.h: Likewise.
2887         * stdlib/strtoq.c: Likewise.
2888         * stdlib/strtoul.c: Likewise.
2889         * stdlib/strtouq.c: Likewise.
2890         * stdlib/test-canon.c: Likewise.
2891         * stdlib/testdiv.c: Likewise.
2892         * stdlib/testrand.c: Likewise.
2893         * string/argz-append.c: Likewise.
2894         * string/argz-count.c: Likewise.
2895         * string/argz-create.c: Likewise.
2896         * string/argz-ctsep.c: Likewise.
2897         * string/argz-delete.c: Likewise.
2898         * string/argz-extract.c: Likewise.
2899         * string/argz-insert.c: Likewise.
2900         * string/argz-next.c: Likewise.
2901         * string/argz-stringify.c: Likewise.
2902         * string/basename.c: Likewise.
2903         * string/envz.c: Likewise.
2904         * string/memfrob.c: Likewise.
2905         * string/strcoll.c: Likewise.
2906         * string/strdup.c: Likewise.
2907         * string/string.h: Likewise.
2908         * string/strndup.c: Likewise.
2909         * string/strnlen.c: Likewise.
2910         * string/strsignal.c: Likewise.
2911         * string/strxfrm.c: Likewise.
2912         * string/test-ffs.c: Likewise.
2913         * string/testcopy.c: Likewise.
2914         * sysdeps/generic/enbl-secure.c: Likewise.
2915         * sysdeps/generic/memcopy.h: Likewise.
2916         * sysdeps/generic/stpncpy.c: Likewise.
2917         * sysdeps/generic/strcasecmp.c: Likewise.
2918         * sysdeps/generic/strcat.c: Likewise.
2919         * sysdeps/generic/strchr.c: Likewise.
2920         * sysdeps/generic/strcpy.c: Likewise.
2921         * sysdeps/generic/strcspn.c: Likewise.
2922         * sysdeps/generic/strlen.c: Likewise.
2923         * sysdeps/generic/strncase.c: Likewise.
2924         * sysdeps/generic/strncat.c: Likewise.
2925         * sysdeps/generic/strncpy.c: Likewise.
2926         * sysdeps/generic/strpbrk.c: Likewise.
2927         * sysdeps/generic/strsep.c: Likewise.
2928         * sysdeps/generic/strspn.c: Likewise.
2929         * sysdeps/generic/strstr.c: Likewise.
2930         * sysdeps/generic/strtok.c: Likewise.
2931         * sysdeps/generic/strtok_r.c: Likewise.
2932         * sysdeps/mach/sleep.c: Likewise.
2933         * sysdeps/posix/sleep.c: Likewise.
2934         * sysdeps/stub/sleep.c: Likewise.
2935         * time/date.c: Likewise.
2936         * time/test_time.c: Likewise.
2937         * wcsmbs/wmemcpy.c: Likewise.
2938         * wctye/test_wctype.c: Likewise.
2939         * wctye/towctrans.c: Likewise.
2940         * wctye/wcfuncs.c: Likewise.
2941         * wctye/wctrans.c: Likewise.
2942
2943 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
2944
2945         * argp/Makefile: New file.
2946         * argp/argp.h: Likewise.
2947         * argp/argp-ba.c: Likewise.
2948         * argp/argp-fmtstream.c: Likewise.
2949         * argp/argp-fmtstream.h: Likewise.
2950         * argp/argp-fs-xinl.c: Likewise.
2951         * argp/argp-help.c: Likewise.
2952         * argp/argp-namefrob.h: Likewise.
2953         * argp/argp-parse.c: Likewise.
2954         * argp/argp-pv.c: Likewise.
2955         * argp/argp-pvh.c: Likewise.
2956         * argp/argp-test.c: Likewise.
2957         * argp/argp-xinl.c: Likewise.
2958
2959 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2960
2961         * stdlib/qsort.c: Add prototype for _quicksort.
2962
2963         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
2964
2965         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
2966         from dl-machine.h.
2967
2968 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
2969
2970         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
2971         Allow user to overwrite it.
2972
2973 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
2974
2975         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
2976         versions.  Reported by Andreas Jaeger.
2977
2978 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2979
2980         * time/tzfile.c (__tzfile_read): Change comment to follow
2981         change of 1997-02-12.
2982
2983 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
2984
2985         * time/time.h (__nanosleep): Define only when struct timespec is
2986         also available.
2987         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
2988
2989 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
2990
2991         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
2992         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
2993
2994 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
2995
2996         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
2997         of 1997-02-09 in resolv/gethnamaddr.c.
2998
2999 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
3000
3001         * libio/_G_config.h (_G_wint_t): New.
3002
3003 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3004
3005         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3006         to sizeof (buf.buf) while calling res_search ().
3007
3008 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3009
3010         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3011         val to keydat, stat to status.
3012
3013 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3014
3015         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3016
3017 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
3018
3019         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3020         by Keith Bostic.
3021
3022 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
3023
3024         * stdlib/atoll.c: Undefine atoll, not atol.
3025
3026 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3027
3028         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3029         unused arguments of shell script.
3030
3031         * Makeconfig (all-object-suffixes): New variable.
3032         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3033         of $(object-suffixes).
3034         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
3035
3036 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
3037
3038         * string/argz-ctsep.c: Initialize *LEN when successful.
3039
3040 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
3041
3042         * stdio-common/_itoa.h: Update copyright.
3043
3044 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
3045
3046         * version.h (VERSION): Bump to 2.0.2.
3047
3048         * posix/Makefile (routines): Add getopt_init.
3049         * posix/getopt.c: Don't get environment variable with nonoption
3050         flags here.  Depend on __getopt_nonoption_flags variable filled
3051         somewhere else.  This is necessary since the variable must be
3052         removed even when getopt isn't used in case exec(2) gets called.
3053         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
3054         and remove environment variable.
3055         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3056         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3057         * sysdeps/stub/init-first.c: Likewise.
3058         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3059
3060         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3061         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3062
3063         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3064         encryption is wanted.
3065
3066         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3067         * stdio/vsnprintf.c: Likewise.
3068         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3069
3070         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3071         * stdio/vsnprintf.c: Likewise.
3072         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3073
3074 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
3075
3076         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3077         Change PTR to void *.
3078         * sysdeps/posix/vdprintf.c: Change PTR to void *.
3079         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3080
3081 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
3082
3083         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3084
3085 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3086
3087         * rellns-sh: No need to check for existance of first parameter.
3088
3089 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3090
3091         * rellns-sh: No need to check for existance of first parameter.
3092
3093 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3094
3095         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
3096         by David Holland <dholland@eecs.harvard.edu>.
3097
3098 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3099
3100         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
3101         select, in case it is modified by the latter.
3102         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3103         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3104         * sunrpc/svc_tcp.c (readtcp): Likewise.
3105
3106         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
3107         array.
3108
3109         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
3110         and gid_t.
3111
3112         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
3113         argument.
3114
3115 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3116
3117         * elf/Makefile (extra-objs): Don't zap previous value.
3118         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
3119         twice.
3120
3121 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3122
3123         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
3124         braindamage (sigh!).
3125
3126 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
3127
3128         * manual/memory.texi: Correct `copystring' example for obstacks.
3129
3130 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
3131
3132         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
3133         GNU tr don't grok it.
3134
3135 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3136
3137         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
3138         Don't use GNU C extensions.
3139         (CMSG_DATA): Use portable definition.
3140
3141 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
3142
3143         * elf/ldd.bash.in: Add test for read permission and print appropriate
3144         message.  Change warning and error messages to print "ldd: " at start.
3145         * elf/ldd.sh.in: Likewise.
3146
3147         * stdlib/Makefile (routines): Add atoll.
3148         * stdlib/atoll.c: New file.
3149         * stdlib/stdlib.h: Add prototype and optimization for atoll.
3150
3151         * stdlib/a64l.c: Update copyright.
3152         * stdlib/abs.c: Likewise.
3153         * stdlib/atof.c: Likewise.
3154         * stdlib/atoi.c: Likewise.
3155         * stdlib/atol.c: Likewise.
3156         * stdlib/bsearch.c: Likewise.
3157         * stdlib/exit.c: Likewise.
3158         * stdlib/fpioconst.c: Likewise.
3159         * stdlib/fpioconst.h: Likewise.
3160         * stdlib/jrand48.c: Likewise.
3161         * stdlib/jrand48_r.c: Likewise.
3162         * stdlib/labs.c: Likewise.
3163         * stdlib/lcong48.c: Likewise.
3164         * stdlib/lcong48_r.c: Likewise.
3165         * stdlib/llabs.c: Likewise.
3166         * stdlib/lrand48.c: Likewise.
3167         * stdlib/lrand48_r.c: Likewise.
3168         * stdlib/mblen.c: Likewise.
3169         * stdlib/mbstowcs.c: Likewise.
3170         * stdlib/mbtowc.c: Likewise.
3171         * stdlib/mp_clz_tab.c: Likewise.
3172         * stdlib/mrand48.c: Likewise.
3173         * stdlib/mrand48_r.c: Likewise.
3174         * stdlib/msort.c: Likewise.
3175         * stdlib/nrand48.c: Likewise.
3176         * stdlib/nrand48_r.c: Likewise.
3177         * stdlib/qsort.c: Likewise.
3178         * stdlib/rpmatch.c: Likewise.
3179         * stdlib/seed48.c: Likewise.
3180         * stdlib/seed48_r.c: Likewise.
3181         * stdlib/srand48.c: Likewise.
3182         * stdlib/srand48_r.c: Likewise.
3183         * stdlib/strtod.c: Likewise.
3184         * stdlib/wcstombs.c: Likewise.
3185         * stdlib/wctomb.c: Likewise.
3186
3187 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
3188
3189         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
3190         as const.
3191
3192 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
3193
3194         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
3195         including <stddef.h>.
3196
3197 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3198
3199         * time/Makefile (tzbases, tzlinks): New.
3200         (tzfiles): Changed to $(tzbases) $(tzlinks).
3201         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
3202
3203 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3204
3205         * Makefile (install): Ignore error from ldconfig.
3206
3207         * time/zic.c (mkdirs): Double check the error return of mkdir ().
3208
3209 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
3210
3211         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
3212         like PPC where va_list is no integral type.
3213
3214 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
3215
3216         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
3217         if nonoption_flags_len == -1.
3218
3219 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
3220
3221         * Version 2.0.1 net release.
3222
3223 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
3224
3225         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
3226
3227 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
3228
3229         * stdlib/getsubopt.c: Don't return `=' for suboption which has
3230         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
3231
3232 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3233
3234         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
3235         values as in yp.x and yp.h.
3236
3237 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
3238
3239         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
3240         1997-02-03 02:17.  Sun's implementation internally corrects
3241         this bug but we don't want to hide this from the user.
3242         * nis/rpcsvc/yp.h: Likewise.
3243
3244 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3245
3246         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
3247         inclusion.
3248
3249 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3250
3251         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
3252         fixes.
3253
3254 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3255
3256         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
3257         (all-sources, all-headers): Use them instead of $(sources) and
3258         $(headers) when searching in sysdep directories.
3259
3260 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3261
3262         * Makerules (REAL_MAKE_VERSION): Use internal make function
3263         instead of shelling out.
3264
3265 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3266
3267         * time/Makefile (install-test-data): Remove mkdir command, zic can
3268         handle that gracefully.
3269
3270 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3271
3272         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
3273         somehow.
3274
3275 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3276
3277         * sunrpc/Makefile: Check $(cross-compiling) only after including
3278         ../Makeconfig.
3279         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
3280         being considered as a rule.
3281         (generated): Add stamp files before the inclusion of Makerules to
3282         magically mark them as not being intermediate via the `generated'
3283         target.
3284
3285 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
3286
3287         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
3288         entries.  This is still no complete implementation since AUXILIARY
3289         entries in other shared objects are not yet handled.
3290
3291         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
3292         place.
3293
3294         * po/es.po: Update.
3295         * po/fr.po: Update.
3296         * po/nl.po: Update.
3297
3298         * time/Makefile: Better cross-compile support.  Avoid test which
3299         cannot be run.
3300         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
3301         tzfile.h file.
3302         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
3303         in SUID programs.
3304         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
3305         default values as in tzfile.c.
3306
3307         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
3308         tags.
3309         * elf/link.h: Likewise.
3310         * elf/elf.h: Add tag definitions and data structures for versioning.
3311
3312 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
3313
3314         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
3315         "Sun bug".  This is the order of elements also used by 4.4BSD.
3316         * nis/rpcsvc/yp.h: Likewise.
3317         Reported by HJ Lu.
3318
3319 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3320
3321         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
3322         action.
3323
3324         * Makefile (install): Pass installation directories as arguments
3325         to ldconfig.
3326
3327 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
3328
3329         * malloc/malloc.c (__after_morecore_hook): New variable.
3330         (malloc_extend_top): Call __after_morecore_hook if set.
3331         (main_trim): Likewise.
3332         * malloc/malloc.h: Add declaration of __after_morecore_hook.
3333         Suggested by Marcus Daniels.
3334
3335 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
3336
3337         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
3338         #ifndef NO_THREADS.
3339         (mallinfo): Likewise.
3340
3341         * malloc/malloc.c (__morecore): Make external since it is used in
3342         programs.
3343
3344 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
3345
3346         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
3347         unsigned.
3348
3349 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
3350
3351         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
3352         use t6 as a temporary; it contains bits we still need in $u_head.
3353
3354 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
3355
3356         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
3357         using __ prefix.  Add prototype for log1p.
3358
3359 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
3360
3361         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
3362
3363 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
3364
3365         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
3366
3367 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
3368
3369         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
3370         structure plus related macros.
3371         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
3372         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
3373         (sysdep_routines): Add cmsg_nxthdr.
3374         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
3375         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
3376
3377 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
3378
3379         * time/strftime.c: Define _strftime_copytm without protecting arguments
3380         which breaks the definition.
3381
3382 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3383
3384         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
3385         definition of type for element.
3386
3387 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
3388
3389         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
3390         constants.
3391
3392 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
3393
3394         * Makefile: Pass PARALLELMFLAGS to sub-makes.
3395         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
3396
3397 1997-01-31  Paul Eggert  <eggert@twinsun.com>
3398
3399         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
3400         Define if _LIBC is defined.
3401         <limits.h>: Include if HAVE_LIMITS_H instead of if
3402         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
3403         <stdlib.h>: Similarly, include if STDC_HEADERS.
3404         (localtime_r): Redo #ifdef to make it clear that glibc has
3405         localtime_r now.
3406
3407 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3408
3409         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
3410         file to avoid unnecessary recompilation.
3411
3412 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3413
3414         * Makefile: Set install-others, not install_others.
3415         (before-compile): Use += to preserve previous value.
3416         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
3417         fix dependency name.
3418         ($(objpfx)lib-names.h): Remove rule.
3419         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
3420         with correct name, using an intermediate stamp file.
3421         (common-generated): Add gnu/lib-names.h.
3422         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
3423
3424 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
3425
3426         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
3427         to prevent warnings on 64 bit systems.
3428         Reported by Paul Wouters <paul@xtdnet.nl>.
3429
3430         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
3431         we assume it works.
3432
3433 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
3434
3435         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
3436         double word boundary before pushing args for main.  This way we
3437         don't get penalties for misaligned memory accesses.  Reported by
3438         Edward Seidl <seidl@janed.com>.
3439
3440         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
3441         Patch by HJ Lu.
3442
3443         * misc/bsd-compat.c: Update copyright.
3444         * misc/efgcvt.c: Likewise.
3445         * misc/efgcvt_r.c: Likewise.
3446         * misc/error.c: Likewise.
3447         * misc/error.h: Likewise.
3448         * misc/fstab.c: Likewise.
3449         * misc/init-misc.c: Likewise.
3450         * misc/lsearch.c: Likewise.
3451         * misc/mntent.c: Likewise.
3452         * misc/qefgcvt.c: Likewise.
3453         * misc/qefgcvt_r.c: Likewise.
3454         * nss/databases.def: Likewise.
3455         * nss/db-Makefile: Likewise.
3456         * nss/ethers-lookup.c: Likewise.
3457         * nss/hosts-lookup.c: Likewise.
3458         * nss/netgrp-lookup.c: Likewise.
3459         * nss/nsswitch.h: Likewise.
3460         * nss/proto-lookup.c: Likewise.
3461         * nss/rpc-lookup.c: Likewise.
3462         * nss/service-lookup.c: Likewise.
3463         * nss/nss_db/db-netgrp.c: Likewise.
3464         * nss/nss_files/files-grp.c: Likewise.
3465         * nss/nss_files/files-hosts.c: Likewise.
3466         * nss/nss_files/files-network.c: Likewise.
3467         * nss/nss_files/files-proto.c: Likewise.
3468         * nss/nss_files/files-pwd.c: Likewise.
3469         * nss/nss_files/files-rpc.c: Likewise.
3470         * nss/nss_files/files-service.c: Likewise.
3471         * nss/nss_files/files-spwd.c: Likewise.
3472         * shadow/fgetspent.c: Likewise.
3473         * shadow/fgetspent_r.c: Likewise.
3474         * shadow/getspent.c: Likewise.
3475         * shadow/getspent_r.c: Likewise.
3476         * shadow/getspnam.c: Likewise.
3477         * shadow/getspnam_r.c: Likewise.
3478         * shadow/putspent.c: Likewise.
3479         * shadow/sgetspent.c: Likewise.
3480         * shadow/sgetspent_r.c: Likewise.
3481         * sysdeps/i386/init-first.c: Likewise.
3482         * sysdeps/unix/i386/sysdep.S: Likewise.
3483
3484         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
3485         prepared to be running in a multi-threaded environment.  Change
3486         to __USE_MISC unless the function is defined in POSIX.1 (in this
3487         case also test for __USE_POSIX).
3488         * dirent/dirent.h: Likewise.
3489         * grp/grp.h: Likewise.
3490         * inet/aliases.h: Likewise.
3491         * libio/libio.h: Likewise.
3492         * libio/stdio.h: Likewise.
3493         * login/utmp.h: Likewise.
3494         * math/mathcalls.h: Likewise.
3495         * misc/mntent.h: Likewise.
3496         * pwd/pwd.h: Likewise.
3497         * resolv/netdb.h: Likewise.
3498         * stdlib/stdlib.h: Likewise.
3499         * string/string.h: Likewise.
3500         * sunrpc/rpc/netdb.h: Likewise.
3501         * sysdeps/generic/crypt.h: Likewise.
3502         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
3503         * time/time.h: Likewise.
3504
3505 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
3506
3507         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
3508         only if not cross compiling.
3509
3510 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
3511
3512         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
3513         NULL.
3514         * sysdeps/posix/sigwait.c: Likewise.
3515
3516 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3517
3518         * Makeconfig ($(common-objpfx)config.make): Depend on
3519         $(..)config.make.in.
3520
3521 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
3522
3523         * sunrpc/Makefile: Don't generate headers derived from .x files when
3524         crosscompiling.
3525
3526 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
3527
3528         * Makefile: Generate gnu/lib-names.h in before-compile.
3529         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
3530         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
3531         to the revision found for LIBNSS_FILES_SO.
3532         (nss_initilized): Removed.  It was tested but never set.
3533         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
3534
3535         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
3536         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
3537
3538         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
3539
3540 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
3541
3542         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
3543         override the definition.
3544
3545 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
3546
3547         * config.make.in (malloc): Remove.
3548
3549 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
3550
3551         * version.h (VERSION): Bump to 2.0.1.
3552
3553         * posix/getopt.c: Handle another problem introduced by the
3554         nonoption_flags array.  We must be able to work with reordered
3555         argv arrays.  Reported by Andreas Schwab.
3556
3557 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
3558
3559         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
3560         stack.
3561
3562 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3563
3564         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
3565         that it works with yp.h.
3566
3567 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
3568
3569         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
3570         __libc_malloc_initialized so that this variable is not shared with
3571         other users of GNU malloc.
3572         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3573
3574         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
3575
3576         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
3577         variables to prevent warnings.
3578         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
3579         using attribute regparm.
3580         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
3581         is changed by the resolver code.
3582
3583 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3584
3585         * malloc/malloc.c (weak_variable): Define.
3586         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
3587         __memalign_hook): Make them weak definitions.
3588
3589 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3590
3591         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
3592         limits, correctly take structure padding into account, use correct
3593         offset when resetting the stream, change heuristic to assume an
3594         average name length of 14 characters.
3595
3596 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3597
3598         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
3599         inclusion.
3600
3601
3602 See ChangeLog.6 for earlier changes.