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