Update.
[glibc.git] / ChangeLog
blob86057602b470f9cd5f6cb551835ac42f3b3554e7
1 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
3         * Makeconfig: Define build-programs to no if not set and $(config-os)
4         is none.
5         * Makerules (+depfiles): Don't add $(others) if not build-programs.
6         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
7         and $(install-sbin) if not build-programs.
8         * Makefile (subdirs): Remove login.
9         * sysdeps/mach/hurd/Subdirs: Add login.
10         * sysdeps/unix/Subdirs: Add login.
12         * sysdeps/generic/sys/mman.h: Test feature macros before defining
13         non-POSIX things.  Add MAP_FAILED.
14         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
15         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
16         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
17         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
18         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
19         but bits/mman.h.  Test feature macros before definitions non-POSIX
20         functions.
21         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
22         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
23         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
24         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
25         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
26         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
27         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
28         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
29         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
30         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
31         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
32         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
33         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
34         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
36         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
37         with MAP_FAILED and not -1.
38         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
39         * elf/dl-minimal.c (malloc): Likewise.
40         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
41         * locale/loadlocale.c (_nl_load_locale): Likewise.
42         * locale/programs/localedef.c: Likewise.
43         * malloc/malloc.c (mmap_chunk): Likewise.
44         (new_heap): Likewise.
45         * string/stratcliff.c: Likewise.
46         * string/tester.c: Add tests for stpcpy.
48         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
50         * gmon/sys/gmon.h: Add prototype for write_profiling.
52         * elf/dl-profile.c: Add decsriptions and implement reading of
53         existing data in profiling file.
54         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
55         lib profiling data.
57         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
58         parameter for class.
60         * inet/inet_ntoa.c: Make once control variable static.
61         Correctly handle case where key cannot be retrieved.
62         * inet/Makefile (tests): Add tst-ntoa.
63         * inet/tst-ntoa.c: New file.
65         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
66         ctime_r.
67         Mention that tzname values must not be changed.
69         * manual/users.texi: Document UTMP/WTMP handling functions.
70         Mainly written by Mark Kettenis.
72         * math/libm-test.c (cbrt_test): Add test for number with aboslute
73         value < 1.0.
75         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
76         failed with EGAIN return NSS_STATUS_TRYAGAIN.
77         * nss/nss_files/files-alias.c (internal_setent): Likewise.
79         * sysdeps/generic/bits/utmp.h: Pretty print.
81         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
82         * sysdeps/i386/i586/stpcpy.S: New file.
83         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
84         these are less efficient than i486/i386 versions.
86         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
87         version from libm-ieee754 be compiled since the later is not needed.
88         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
89         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
90         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
91         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
92         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
93         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
94         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
95         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
96         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
97         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
98         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
100         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
101         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
102         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
104         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
105         little bug.
107         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
108         msg_iovlen of type int.
110         * time/tzfile.c: Change return type of __tzstring to char *.
111         * time/tzset.c: Likewise.  Change definition of __tzstring.
113         * time/tzset.c: Interpret no DST information in user provided time
114         zone specification as it is meant: no DST.
115         Patch by Paul Eggert <eggert@twinsun.com>.
117 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
119         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
120         (_dl_map_object_from_fd): Use add_name_to_object.
121         (_dl_map_object): If an object's SONAME is used to resolve a
122         dependency, add it to the list of the object's names.
124         * inet/getnameinfo.c: Make `domain' non-const.
126         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
128         * math/test-fenv.c (feenv_nomask_test): Don't execute if
129         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
130         sets errno to ENOSYS.
132         * sysdeps/powerpc/dl-machine.h: Print proper error message on
133         unknown reloc type (rather than using assert).
135         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
136         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
138 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
140         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
141         (feclearexcept): New optimising macro.
142         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
143         (FE_ENABLED_ENV): Add.
144         (FE_NONIEEE_ENV): Add.
145         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
146         __fe_nonieee_env; delete __fe_nomask_env.
147         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
148         gets implemented in the kernel).
150         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
151         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
152         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
154         * io/ftw.c: Don't compare holes in structures.
155         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
156         macros to `int', because otherwise it might be `long long' which
157         the calling code is probably not expecting.
159         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
160         document the existence of some more.
162         * sysdeps/powerpc/s_llrint.c: New file.
163         * sysdeps/powerpc/s_lrint.c: New file.
164         * sysdeps/powerpc/s_llround.c: New file.
165         * sysdeps/powerpc/s_lround.c: New file.
167         * sysdeps/powerpc/s_sqrt.c: New file.
168         * sysdeps/powerpc/s_sqrtf.c: New file.
169         * sysdeps/powerpc/w_sqrt.s: New empty file.
170         * sysdeps/powerpc/w_sqrtf.s: New empty file.
171         * sysdeps/powerpc/t_sqrt.c: New file.
172         * sysdeps/powerpc/test-arithf.c: New file.
173         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
174         routines.  Add test-arithf to test programs.
176         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
178         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
179         and possibly faster (or possibly slower, depending on input).
181 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
183         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
184         macros.
185         * sysdeps/powerpc/s_rint.c: New file.
187 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
189         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
190         * sysdeps/powerpc/Dist: Add quad_float.h.
191         * sysdeps/powerpc/q_dtoq.c: New file.
192         * sysdeps/powerpc/q_itoq.c: New file.
193         * sysdeps/powerpc/q_lltoq.c: New file.
194         * sysdeps/powerpc/q_neg.c: New file.
195         * sysdeps/powerpc/q_qtoi.c: New file.
196         * sysdeps/powerpc/q_qtoll.c: New file.
197         * sysdeps/powerpc/q_qtos.c: New file.
198         * sysdeps/powerpc/q_qtou.c: New file.
199         * sysdeps/powerpc/q_qtoull.c: New file.
200         * sysdeps/powerpc/q_stoq.c: New file.
201         * sysdeps/powerpc/q_ulltoq.c: New file.
202         * sysdeps/powerpc/q_utoq.c: New file.
203         * sysdeps/powerpc/quad_float.h: New file.
204         * sysdeps/powerpc/test-arith.c: New file.
206         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
207         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
208         require a stack frame.
209         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
211 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
213         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
214         fesetenv_register): Add 'volatile'.
215         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
216         constants to use with them.
217         * sysdeps/powerpc/s_copysign.S: New file.
218         * sysdeps/powerpc/s_copysignf.s: New file.
219         * sysdeps/powerpc/s_fabs.S: New file.
220         * sysdeps/powerpc/s_fabsf.s: New file.
221         * sysdeps/powerpc/s_isnan.c: New file.
222         * sysdeps/powerpc/s_isnanf.s: New file.
223         * sysdeps/powerpc/s_rintf.c: New file.
225         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
226         bit in the FPSCR, not the enable bit.
227         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
228         * sysdeps/powerpc/fclrexcpt.c: Correct.
229         * sysdeps/powerpc/fsetexcptflag.c: Correct.
230         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
231         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
233         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
235         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
236         explaining some reentrancy issues with lazy PLT entries.
238 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
240         * login/logout.c (logout): utmpname returns -1 on error.
242         * login/libutil.map: Remove updwtmp.
244         * login/getutline.c: Rename getutline to __getutline and make
245         getutline a weak alias.  Make getutxline a weak alias for
246         __getutline.
247         * login/getutid.c: Rename getutid to __getutid and make getutid a
248         weak alias.  Make getutxid a weak alias for __getutid.
249         * libc.map: Add getutxid, getutxline.
251         * login/utmpname.c (__utmpname): Reset backend right after backend
252         endutent call.
253         * login/utmp_file.c: Reordered functions.  Remove unecessary
254         header files.
255         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
256         point the file is guaranteed to be open (assert!).
257         (getutid_r_file, getutline_r_file): Remove check for validity of file
258         descriptor.  At this point the file is guaranteed to be open.
259         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
260         updwtmp_file): Do not wait when unlocking file.
261         * login/utmp_daemon.c: General cleanup and a bit of reordering.
262         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
263         At this point the socket is guaranteed to be open (assert!).
264         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
265         valid.  At this point the socket is guaranteed to be open (assert!).
266         * login/getutline_r.c: Remove unnecessary header files.
267         (__getutline_r): Do not call backend setutent.
268         * login/getutid_r.c: Remove unnecessary header files.
269         (__getutid_r): Do not call backend setutent.
270         * login/getutent_r.c: Remove unneccesary header files.
271         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
272         getutline_r_unknown.
273         (setutent_unknown): Only set file backend if setutent for the file
274         backend was successful.
275         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
276         of __setutent.  Report failure if no backend was selected.
277         (getutid_r_unknown): New function.
278         (getutline_r_unknown): New function.
279         (__endutent): Reset backend.  This makes sure all backends are checked
280         on the next setutent call.
282 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
284         * nis_cache.c: Replace dummy functions.
286         * libc.map: Add xdr_sizeof symbol.
288         * sunrpc/Makefile: Add xdr_sizeof to routines.
289         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
290         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
292 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
294         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
296 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
298         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
299         right place.
301 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
303         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
304         PC's in long long to avoid overflow.
306 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
308         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
309         New macros.
311 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
313         * nis/Makefile (headers): Remove bits/nislib.h.
315 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
317         * sysdeps/mach/hurd/Subdirs: Add login.
319 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
321         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
322         the preferred block size.
324         * login/programs/database.c (store_state_entry): Don't compile if
325         there is no ut_type field.
326         (store_state_entry, store_process_entry): Use the ut_tv field
327         for timestamps if supported.
329         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
331         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
332         field for timestamps if supported.
334         * login/programs/xtmp.h: Fix xtmp/utmp typo.
336         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
338         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
339         * sysdeps/stub/send.c (send): Likewise.
340         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
341         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
342         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
344 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
346         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
347         tidy up formatting.
349         * Makefile (subdirs): Remove `login'.
350         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
351         for Unix systems.
353 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
355         * sysdeps/generic/bits/utmpx.h: New file.
357         * sysdeps/mach/hurd/Dist: Add some files.
358         * sysdeps/mips/Dist: Likewise.
359         * sysdeps/mips/mips64/Dist: Likewise.
360         * sysdeps/sparc/Dist: Likewise.
361         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
362         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
363         * sysdeps/mips/mipsel/Dist: New file.
364         * sysdeps/sparc64/elf/Dist: New file.
365         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
367 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
369         * libc.map: Add missing symbols.
371 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
373         * manual/socket.texi: Correct typos.
375         * manual/math.texi: Correct typos.
377         * manual/time.texi (Formatting Date and Time): Likewise.
379 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
381         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
382         (_mcleanup): Use write_gmon.
383         (write_profiling): This function can be safely called at any time
384         to write a current histogram without interfering with ongoing
385         profiling.
387         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
389 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
391         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
392         not be vm_deallocated; it's a stack buffer.
393         (profil_vm_deallocate): Delete prototype.
394         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
395         inclusion.
396         * sysdeps/mach/hurd/Makefile
397         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
398         this rule.
400         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
401         from profile_waiter.
402         (profile_waiter): Use fetch_samples.
403         (profil): When turning off profiling, fetch the last bunch of
404         samples before disabling PC sampling.
405         (fetch_samples): Add prototype.
407 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
409         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
410         source included by profil.c instead of trying to use
411         before-compile grot.
413 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
415         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
416         after releasing lock.  Use special RPC stubs and avoid assert,
417         thus making this function entirely independent of the threadvar
418         mechanism and of cthreads.
419         (lock): Convert to be a spin lock instead of a mutex, so that the
420         waiter thread need not use cthreads.  Use a fork prepare hook
421         instead of _hurd_fork_locks to make sure we are clean before
422         forking.
423         (fork_profil_child): Renamed from fork_profil.
424         (profil_reply_port): New variable.
425         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
426         stubs made by special hacks.
427         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
428         source files that profil.c needs if we are in the gmon directory.
430         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
431         cthreads bug that hasn't existed for two years.
433 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
435         * locale/programs/localedef.c (main): Set bit in avail for those
436         categories which are successfully read.
437         * locale/programs/locfile.c (check_all_categories): Don't check
438         categories if they are not available.
439         (write_all_categories): Don't write categories if they are not
440         available.
442         * login/setutent_r.c (setutent_unknown): Change return type to
443         int and return result of called function.
445         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
446         as macros (not functions).
447         * manual/libc.texinfo (UPDATED): Update.
448         * manual/math.texi: Document exceptions, functions to handle
449         exceptions, mathematical constants, FP comparison functions
450         and several new functions from ISO C 9X.
451         Change parameter of drand48, lrand48, and mrand48 to void (not
452         empty).
453         * manual/pattern.texi: Remove paragraph which explained that wordexp
454         is executed by running a shell.
455         * manual/time.texi: Explain difficulties with strftime if the
456         functions returns 0 and no error occurred.
458         * math/math.h: Correct comment for some M_* constants.
459         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
460         inunordered): Rewrite to make sure the arguments are evaluated
461         exactly once.
463         * nis/rpcsvc/nis.x: Undo last change.
464         * nis/rpcsvc/nis.h: Likewise.
465         * nis/rpcsvc/nislib.h: File moved back to here.
467         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
468         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
469         getsockopt, setsockopt, accept): Change size argument to type
470         socklen_t.
471         Pretty print.
472         * manual/socket.texi: Describe socklen_t and change prototypes of
473         socket functions to use socklen_t.
474         * sysdeps/generic/bits/socket.h: Define socklen_t.
475         (struct msghdr): Correct types to use socklen_t.
476         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
477         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
479         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
480         1.0 < x < 8.0.
481         * stdio-common/tfformat.c: Add new tests for above bug.
483         * stdlib/strtod.c: Fix typo.
485         * string/Makefile (headers): Add bits/string.h.
486         (CFLAGS-*): Add -D__NO_STRING_INLINES.
487         * string/string.h: Include <bits/string.h> if optimizing and
488         __NO_STRING_INLINES is not defined.
489         * sysdeps/stub/bits/string.h: New file.
491         * sysdeps/powerpc/bits/fenv.h: Fix typos.
493         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
494         if SIOGIFINDEX is not defined.
496         * sysdeps/wordsize-32/inttypes.h: Pretty print.
497         * sysdeps/wordsize-64/inttypes.h: Pretty print.
499         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
501         * wcsmbs/Makefile (tests): Add tst-wcstof.
502         * wcsmbs/tst-wcstof.c: New file.
504 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
506         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
507         loop, to avoid dragging stdio into the dynamic linker.
509 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
511         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
512         u_int32_t.
514 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
516         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
517         __getpwuid_r.
518         Include <stdio.h> to get prototypes of *printf.
519         (exec_comm): Remove unneeded variable *sh.
521         * libc.map: Add wordexp, wordfree.
523         * posix/Makefile (routines): Add wordexp.
525 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
527         * posix/wordexp.c: Correct typo in comment.
528         (wordexp): Likewise.
530         * manual/errno.texi (Error Codes): Fix typo.
532 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
534         * csu/initfini.c (SECTION): Don't put quotes around section name
535         since this is not understood by all assemblers.
536         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
538 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
540         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
541         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
542         * sysdeps/generic/netinet/inbits.h: Move to...
543         * sysdeps/generic/bits/in.h: ... here.
544         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
545         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
547         * nis/Makefile (headers): Add bits/nislib.h.
548         * nis/rpcsvc/nislib.h: Moved to ....
549         * nis/bits/nislib.h: ... here.
551         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
552         * nis/nss_compat/compat-pwd.c: Likewise.
553         * nis/nss_compat/compat-spwd.c: Likewise.
554         * nis/nss_nisplus/nisplus-alias.c: Likewise.
555         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
556         * nis/nss_nisplus/nisplus-grp.c: Likewise.
557         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
558         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
559         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
560         * nis/nss_nisplus/nisplus-proto.c: Likewise.
561         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
562         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
563         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
564         * nis/nss_nisplus/nisplus-service.c: Likewise.
565         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
567         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
568         * nis/rpcsvc/nis.h: Likewise.
570         * inet/getnameinfo.c (nrl_domainname): Change return type to const
571         char *.
572         (getnameinfo): Change type of local variable c to const char *.
574         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
575         * stdlib/fmtmsg.c: Likewise.
577         * intl/bindtextdom.c: Update from latest gettext.
578         * intl/dcgettext.c: Likewise.
579         * intl/finddomain.c: Likewise.
580         * intl/l10nflist.c: Likewise.
581         * intl/localealias.c: Likewise.
582         * intl/textdomain.c: Likewise.
584         * login/getutid_r.c: Remove parameter to setutent call.
585         * login/getutline_r.c: Likewise.
587         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
588         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
590         * stdio-common/printf_fp.c: Remove relative include paths.
591         * stdio-common/printf_fphex.c: Likewise.
593         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
594         elements unless __USE_GNU.
596         * sysdeps/generic/vlimit.c: Pretty print.
597         * sysdeps/generic/vtimes.c: Likewise.
599         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
600         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
601         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
602         weak definitions of setjmp and _setjmp.
604         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
606         * sysdeps/stub/if_index.h: Set errno in all functions and add
607         stub warnings.
609         * sysdeps/stub/libc-lock.h: Add __libc_once.
611 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
613         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
614         case since the __syscall_ptrace call already did this.
615         Reported by Philip Gladstone <philip@talon.raptor.com>.
617 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
619         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
620         <gnu/types.h> to <sys/types.h>.
622 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
624         * csu/defs.awk: Fix regexp for end and align.
625         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
627         * locale/programs/locale.c (print_escaped): New function.
628         (show_info): Use print_escaped if strings can control unprintable
629         characters.
630         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
632 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
634         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
635         * nis/nss_nisplus/nisplus-grp.c: Likewise.
637 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
639         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
640         instead of fprintf.
642 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
644         * manual/socket.texi (Host Address Functions): Fix arguments of
645         @deftypefun.
647 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
649         * elf/dl-runtime.c: Avoid warning about profile_fixup being
650         unused.
652         * sysdeps/m68k/dl-machine.h: Add support for shared library
653         profiling.
655 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
657         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
658         dependencies.
660 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
662         * Make-dist (subdirs): Distribute both aout and elf.
664 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
666         * login/utmp-private.h: Remove reset argument from backend
667         setutent.
668         * login/getutent_r.c (__setutent): Allways call the setutent
669         function in the daemon backend.
670         (setutent_unknown): Function removed.
671         (getutent_unknown, pututline_unknown): Call __setutent instead of
672         setutent_unknown.
673         * login/utmp_file.c (setutent_file): Removed reset argument.  All
674         callers changed.
675         * login/utmp_daemon.c (setutent_daemon): Removed reset
676         argument.  All callers changed.  Try to open connection even if a
677         previous connection failed, but first check if the sockets exist
678         in the filesystem.
680         * login/utmp_daemon.c (pututline_daemon): Try to open connection
681         before reporting failure.
683         * login/programs/database.c (open_database): Create compatibility
684         file if it does not already exist.  Supply mode argument in open
685         calls to guarantee that created files have the proper protection.
687         * login/programs/utmpd.c (main): Remove files created by a
688         previous `bind' before creating sockets.
689         Suggested by a sun <asum@zoology.washington.edu>.
691 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
693         * math/libm-test.c: Remove unneeded function check_int_exec.
695         * BUGS: Correct typos.
697         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
699 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
701         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
702         entry to confirm with expected behaviour of some scripts.
704         * libc.map: Add functions/variables in global namespace,
705         remove wildcards.
707 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
709         * resolv/libresolv.map: Add variables and routines used by named,
710         nslookup and other bind utils.
711         * libc.map: Likewise.
713 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
715         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
716         filesystem.
717         * inet/test_ifindex.c: New file.
718         * inet/Makefile (tests): Add test_ifindex.
720 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
722         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
723         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
725         * manual/errno.texi: Fix typo.
726         Reported by Erik Talvola <etalvo@sapient.com>.
728 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
730         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
731         monstartup.
732         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
733         to __monstartup.
734         * gmon/sys/gmon.h: Fix prototypes.
735         * gmon/sys/gmon_out.h: Pretty print.
737         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
738         * gmon/gmon.c (__monstartup): Likewise.
739         (write_hist): Remove dependency on 32 bit int.
740         (_mcleanup): Don't call perror, use fprintf.
742         * elf/dl-load.c: Fix handling of current directory in search path.
744         * elf/Makefile (dl-routines): Add dl-profile.
745         * elf/dl-profile.c: New file.
746         * elf/dl-runtime.c (fixup): Add new parameter with address to store
747         relocation result in to elf_machine_relplt.
748         (profile_fixup): New function.
749         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
750         to store relocation result in to elf_machine_relplt.
751         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
752         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
753         call elf_machine_runtime_setup with extra argument.
754         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
755         ELF_DYNAMIC_RELOCATE.
756         * elf/link.h: Add prototypes for new functions and variables.
757         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
758         variables and call _dl_start_profile if necessary.
759         * include/sys/gmon_out.h: New file.
760         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
761         new parameter to enable profiling.
762         (elf_machine_rela): Add new parameter to specify place to store
763         result in.
764         * sysdeps/m68k/dl-machine.h: Likewise.
765         * sysdeps/mips/dl-machine.h: Likewise.
766         * sysdeps/mips/mips64/dl-machine.h: Likewise.
767         * sysdeps/powerpc/dl-machine.h: Likewise.
768         * sysdeps/sparc/dl-machine.h: Likewise.
769         * sysdeps/sparc64/dl-machine.h: Likewise.
770         * sysdeps/i386/dl-machine.h: Likewise.
771         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
772         we do profiling.
773         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
775         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
776         for stream on input file.
777         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
778         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
779         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
780         * nss/nss_db/db-alias.c (internal_setent): Likewise.
781         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
782         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
783         * nss/nss_files/files-alias.c (internal_setent): Likewise.
784         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
786         * string/string.h: Pretty print.
788         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
789         Add float and long double versions.
791 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
793         * elf/rtld.c (print_unresolved): Replace empty object name by main
794         program name.
796 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
798         * sysdeps/generic/htons.c (htons): Renamed from __htons.
800 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
802         * sysdeps/m68k/bits/byteswap.h: New file.
804 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
806         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
807         advanced API.
808         * inet/netinet/in.h: Likewise.
809         * inet/netinet/ip6.h: Likewise.
810         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
811         * posix/sys/types.h: Add socklen_t.
813         * manual/socket.texi: Document some more IPv6 things.
814         * manual/libc.texinfo: Likewise.
816 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
818         * libc.map: Define missing symbol.
820 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
822         * nis/Makefile: Add nis_findserv.
823         * nis/lckcache.c: Fix typo.
824         * nis/nis_call.c: Fix problems with multihomed servers.
825         * nis/nis_findserv.c: New file.
826         * nis/nis_intern.h: Add more prototypes.
827         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
828         is unreachable.
829         * nis/nis_table.c (nis_list): Likewise.
830         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
831         in error case.
832         * nis/nis_util.c (__nis_finddirectory): Give the right error code
833         back.
834         * nis/ypclnt.c: Make sure, that all sockets are closed.
836 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
838         * elf/Makefile (distribute): Add genrtldtbl.awk.
839         (before-compile): Add rtldtbl.h.
840         (GAWK): New variable.
841         (generated): Add trusted-dirs.h and rtldtbl.h.
842         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
843         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
844         objects in machine dependent directories.
845         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
846         * elf/dl-support.c: Rename function to non_dynamic_init and add
847         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
848         and call to initializer for search path.
849         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
850         * elf/genrtldtbl.awk: New file.
851         * elf/link.h: Add type definitions and declarations for search
852         path cache.
853         * elf/rtld.c: Add definitions of variables used for search path cache.
854         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
855         _dl_platform.  Initialize _dl_pagesize early and use this value.
856         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
857         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
858         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
859         of calling getpagesize.
861         * elf/dl-error.c (_dl_signal_error): Make message nicer.
863         * nss/libnss_files.map: Fix typo.
864         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
866         * sysdeps/generic/strsep.c: Optimize case where separator set contains
867         only one character.
869         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
870         == +-Inf.
871         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
872         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
874 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
876         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
877         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
878         * sysdeps/unix/mips/sysdep.S: Likewise.
879         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
881         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
882         * sysdeps/mips/bsd-setjmp.S: Likewise.
884         * sysdeps/mips/dl-machine.h: Remove extra stuff.
885         * sysdeps/mips/mips64/dl-machine.h: Likewise.
887 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
889         * sysdeps/standalone/arm/sysdep.c: New file.
891 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
893         * aout/Makefile: New file.
894         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
896         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
897         __builtin_return_address().
898         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
899         above problem.
901 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
903         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
905 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
907         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
908         tests.
910 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
912         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
913         not shadow the variable in the outer scope.
915 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
917         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
919         * inet/Makefile (tests): Add htontest.
920         * inet/htontest.c: New file.
922         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
923         when they are no noops.
924         * sysdeps/alpha/htonl.S: Don't define __ protected names.
925         * sysdeps/alpha/htons.S: Likewise.
926         * sysdeps/generic/htonl.c: Likewise.
927         * sysdeps/generic/htons.c: Likewise.
928         * sysdeps/i386/htonl.S: Likewise.
929         * sysdeps/i386/htons.S: Likewise.
930         * sysdeps/i386/i486/htonl.S: Likewise.
931         * sysdeps/vax/htonl.s: Likewise.
932         * sysdeps/vax/htons.s: Likewise.
934         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
935         * string/byteswap.h: New file.
936         * sysdeps/generic/bits/byteswap.h: New file.
937         * sysdeps/i386/bits/byteswap.h: New file.
938         * sysdeps/generic/bits/htontoh.h: Removed.
939         * sysdeps/i386/bits/htontoh.h: Removed.
941         * misc/search.h: General cleanup.  Don't define reentrant hsearch
942         functions uless __USE_GNU.
944         * nss/nsswitch.c: Pretty print.
946         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
947         warning.
949         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
950         been fixed meanwhile.
951         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
953 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
955         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
956         exists for this port.
958 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
960         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
962 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
964         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
965         to format a proper minus sign.
967 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
969         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
970         specially, the standard doesn't require it.
972         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
973         if non-zero then don't test inexact flag.  Callers changed.
974         (set_single_exc): Ignore inexact flag if underflow or overflow
975         exception is raised.
977 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
979         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
980         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
981         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
982         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
984 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
986         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
987         and 1035 state that a fully qualified domain name cannot exceed 255
988         octets in length.
989         * resolv/nss_dns/dns-host.c: Likewise.
991 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
993         * inet/netinet/in.h (htons): Fix typos.
995         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
997 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
999         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
1000         functions.def.
1001         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1003 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
1005         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
1006         that optimizing is also selected for dependency generation.
1008         * configure.in: Add machine description for TI c[34]x.
1010         * inet/Makefile (routines): Remove ntohl and ntohs.
1011         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
1012         for little endian machines.
1013         * sysdeps/alpha/ntohl.s: Removed.
1014         * sysdeps/alpha/ntohs.s: Removed.
1015         * sysdeps/generic/ntohl.c: Removed.
1016         * sysdeps/generic/ntohs.c: Removed.
1017         * sysdeps/generic/htonl.c: Add aliases for ntohl.
1018         * sysdeps/vax/htonl.s: Likewise.
1019         * sysdeps/generic/htons.c: Add aliases for ntohs.
1020         * sysdeps/vax/htons.s: Likewise.
1021         * sysdeps/vax/ntohl.s: Removed.
1022         * sysdeps/vax/ntohs.s: Removed.
1023         * sysdeps/generic/bits/htontoh.h: New file.
1024         * sysdeps/i386/htonl.S: New file.
1025         * sysdeps/i386/htons.S: New file.
1026         * sysdeps/i386/i486/htonl.S: New file.
1028         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
1029         macros.
1031         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
1032         * sysdeps/mips/mips64/dl-machine.h: New file.
1034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
1035         syscall-list.h.
1037 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1039         * libc.map: Add missing symbol _obstack.
1041 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
1043         * sysdeps/mips/rtld-parms: New.
1045         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
1046         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
1048         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
1049         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
1051         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
1053 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
1055         * sysdeps/mips/dl-machine.h: Remove extra stuff.
1057 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
1059         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
1061         * stdlib/grouping.h: Suppress gcc warning about testing
1062         unsigned char for less-than-zero.
1063         * stdio-common/printf_fp.c: Likewise.
1064         * stdio-common/vfprintf.c: Likewise.
1066         * sysdeps/powerpc/add_n.s: New file.
1067         * sysdeps/powerpc/sub_n.s: New file.
1068         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
1069         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
1070         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
1071         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
1072         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
1074         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
1075         precomputed pi/6 rather than having gcc calculate it, otherwise
1076         tests give inaccurate result due to inaccurate input.
1077         * math/libm.map: Add __fe_*_env constants to list of exported
1078         symbols.
1080         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
1081         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
1082         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
1083         round-to-nearest value.
1085         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
1086         * sysdeps/libm-ieee754/e_log10.c: Likewise.
1087         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
1088         * sysdeps/libm-ieee754/e_logf.c: Likewise.
1089         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
1090         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
1091         * sysdeps/libm-ieee754/s_log2.c: Likewise.
1092         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1094 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1096         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
1097         and memory leaks.
1098         * nis/nss_compat/compat-pwd.c: Likewise.
1099         * nis/nss_compat/compat-spwd.c: Likewise.
1100         * nis/nss_nis/nis-alias.c: Likewise.
1101         * nis/nss_nis/nis-ethers.c: Likewise.
1102         * nis/nss_nis/nis-grp.c: Likewise.
1103         * nis/nss_nis/nis-hosts.c: Likewise.
1104         * nis/nss_nis/nis-network.c: Likewise.
1105         * nis/nss_nis/nis-proto.c: Likewise.
1106         * nis/nss_nis/nis-pwd.c: Likewise.
1107         * nis/nss_nis/nis-rpc.c: Likewise.
1108         * nis/nss_nis/nis-service.c: Likewise.
1109         * nis/nss_nis/nis-spwd.c: Likewise.
1110         * nis/nss_nisplus-alias.c: Likewise.
1111         * nis/nss_nisplus-ethers.c: Likewise.
1112         * nis/nss_nisplus-grp.c: Likewise.
1113         * nis/nss_nisplus-hosts.c: Likewise.
1114         * nis/nss_nisplus-netgrp.c: Likewise.
1115         * nis/nss_nisplus-network.c: Likewise.
1116         * nis/nss_nisplus-proto.c: Likewise.
1117         * nis/nss_nisplus-pwd.c: Likewise.
1118         * nis/nss_nisplus-rpc.c: Likewise.
1119         * nis/nss_nisplus-service.c: Likewise.
1120         * nis/nss_nisplus-spwd.c: Likewise.
1122         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
1124 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1126         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
1127         name in warning message.
1128         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
1129         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
1130         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1132         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
1133         first.
1135 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1137         * libc.map: Add _null_auth and _seterr_reply.
1139         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
1141 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
1143         * time/africa: Update from tzdata1997g.
1144         * time/asia: Likewise.
1145         * time/australasia: Likewise.
1146         * time/europe: Likewise.
1147         * time/iso3166.tab: Likewise.
1148         * time/zone.tab: Likewise.
1149         * time/private.h: Update from tzcode1997f.
1150         * time/scheck.c: Likewise.
1152         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
1154         * math/math.h: Correct comments.  Include <bits/mathinline.h>
1155         always when optimizing.
1157 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
1159         * time/getdate.c (__getdate_r):
1160         Report failure if string was not completely parsed.
1161         (getdate): Set getdate_err on failure.
1163 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1165         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1166         Synchronize with malloc/obstack.c.
1168 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
1170         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
1171         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
1172         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
1174 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1176         * manual/Makefile (INSTALL_INFO): Introduce variable to override
1177         path to install-info for systems like Debian that have an
1178         install-info with a different command line interface from the
1179         canonical GNU texinfo version.
1181 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1183         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1184         * posix/unistd.h: Likewise.
1185         * sysdeps/stub/ttyname_r.c: Likewise.
1187 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
1189         * inet/getnameinfo.c: Pretty print.
1190         Correctly enlarge buffers.
1192         * login/programs/utmpd.c: Use _() instead of gettext().
1194         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
1195         * nis/nss_nisplus/nisplus-network.c: Likewise.
1196         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1197         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1198         * nis/nss_nisplus/nisplus-service.c: Likewise.
1200         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
1201         __OPTIMIZE__.
1202         * sysdeps/powerpc/bits/mathinline.h: Likewise.
1203         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
1204         function always.
1205         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1206         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
1207         it should look like in real files.
1209         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
1210         prevent prototype trouble, use simple loop.
1211         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
1213         * sysdeps/mips/mips64/Implies: Imply ieee754.
1215         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
1216         installed.
1217         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
1219 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
1221         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
1222         * sysdeps/standalone/bits/stdio_lim.h: Removed.
1223         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1225 1997-06-22  Paul Eggert  <eggert@twinsun.com>
1227         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1229         * time/tzfile.c (__tzstring): New decl.
1230         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1231         (__tzfile_default): First two args are now const char *.
1233         * time/tzset.c (__tzstring): New function.
1234         (tz_rule): Name is now const char *.
1235         (struct tzstring_head): New type.
1236         (tzstring_list, tzstring_last_buffer_size): New static vars.
1237         (__tzset_internal): Time zone names are now permanent, not temporary.
1239 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
1241         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
1243         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
1244         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1245         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1246         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1248         * time/Makefile (routines): Add getdate.
1249         * time/time.h: Add prototype for getdate and getdate_r.
1250         * time/getdate.c: New file.
1251         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
1253 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
1255         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
1256         Sat Jun 21 18:11:21 1997:
1258         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
1259         (swapoff): New.
1261         * elf/Makefile: Add linker script support.
1262         (headers): Add bits/dlfcn.h.
1264         * elf/dl-load.c (MAP_BASE_ADDR): New.
1266         * elf/dlfcn.h: Include <bits/dlfcn.h>.
1268         * elf/elf.h: Add MIPS support.
1270         * sysdeps/generic/Dist: Add entry.h.
1271         * sysdeps/generic/entry.h: New, define the entry symbol.
1273         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
1274         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
1275         * mips/elf/start.S (_start): Likewise.
1277         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
1278         * sysdeps/mips/bsd-setjmp.S: Likewise.
1279         * sysdeps/mips/setjmp.S: Likewise.
1280         * mips/elf/start.S: Likewise.
1281         * sysdeps/unix/mips/brk.S: Likewise.
1282         * sysdeps/unix/mips/sysdep.S: Likewise.
1283         * sysdeps/unix/mips/sysdep.h: Likewise.
1284         * sysdeps/unix/mips/wait.S: Likewise.
1286         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
1287         * sysdeps/mips/fpu_control.h: Likewise.
1289         * sysdeps/generic/bits/dlfcn.h: New file.
1291         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
1292         * sysdeps/mips/rtld-parms: Likewise.
1293         * sysdeps/mips/bits/dlfcn.h: Likewise.
1294         * sysdeps/mips/mips64/rtld-parms: Likewise.
1295         * sysdeps/mips/mipsel/rtld-parms: Likewise.
1296         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1297         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1298         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1299         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
1300         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
1301         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
1302         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
1303         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
1304         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
1305         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
1306         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
1307         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
1308         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1309         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1310         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1311         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
1312         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
1313         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1314         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
1315         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1316         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1317         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1318         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
1319         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1320         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1321         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1322         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1323         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
1324         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
1325         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
1326         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1327         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
1328         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1329         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
1330         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
1331         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1333 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
1335         * isomac.c (xstrndup): New, use it instead of strndup ().
1337 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
1339         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
1340         the program name for different sizes.
1342 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
1344         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
1345         Add include of rpcsvc/nis.h.
1346         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
1347         * sysdeps/posix/getaddrinfo.c: Likewise.
1348         Change size of variable buffer to be big enough to hold an IPv6
1349         address in printable format.
1351 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
1353         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1354         and && in tests to allow use in C++ code which overloads these
1355         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1357         * configure.in: Move mips64* recognition before mips*.
1358         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1360 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1362         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
1363         automatic variables in dependency lists.
1364         (build-shlib): Always filter out the version script file.
1365         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
1367 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
1369         * login/login.c (tty_name): Test return value of ttyname_r for !=
1370         0, not < 0.
1371         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1372         0, not >= 0.
1373         * sysdeps/unix/getlogin.c (getlogin): Test return value of
1374         ttyname_r for != 0.
1375         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1377 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1379         * login/utmp_file.c (getutline_r_file): Fix type: compare with
1380         *result.
1382 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
1384         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
1386 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
1388         * login/programs/utmpd.c, login/programs/database.c,
1389         login/programs/request.c: Prepare messages for
1390         internationalization.
1392         * login/programs/utmpd.c:
1393         (main): Change handling of errors in opening the database.
1394         * login/programs/database.c:
1395         (open_database, synchronize_database, initialize_database):
1396         Properly handle errors.
1397         (get_mtime): Use fstat instead of stat.  All callers changed.
1399         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
1400         * login/getutent.c: Rename getutent to __getutent and make
1401         getutent a weak alias.
1402         Make getutxent a weak alias for __getutent.
1403         * login/utmpx.h: New file.
1404         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
1405         * sysdeps/gnu/bits/utmpx.h: New file.
1407 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
1409         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1410         one.
1412         * signal/sigandset.c: Include stddef.h to get NULL defined.
1413         * signal/sigisempty.c: Likewise.
1414         * signal/sigorset.c: Likewise.
1415         * sysdeps/stub/if_index.h: Likewise.
1416         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
1417         * wcsmbs/wcstof_l.c: Likewise.
1418         * wcsmbs/wcstol_l.c: Likewise.
1419         * wcsmbs/wcstold_l.c: Likewise.
1420         * wcsmbs/wcstoll_l.c: Likewise.
1421         * wcsmbs/wcstoul_l.c: Likewise.
1422         * wcsmbs/wcstoull_l.c: Likewise.
1423         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1425         * stdio-common/snprintf.c: Use ISO C function definition form.
1427         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
1428         __libc_setspecific as empty macros since they are used as
1429         function with return value.
1430         Reported by Andreas Jaeger.
1432         * stdio-common/strops.c: Partialy undo last change.  Will need
1433         more investigation.
1435 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
1437         * sysdeps/mach/hurd/select.c (__select): Need bit count for
1438         MACH_MSG_TYPE_INTEGER_T.
1440 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
1442         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
1443         * sysdeps/mvs/Implies: Likewise.
1445 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1447         * nis/Makefile: Add new source files.
1449         * nis/nis_intern.h: Add new internal functions.
1450         * nis/rpcsvc/nislib.h: Likewise.
1452         * nis/lckcache.c: New.
1453         * nis/nis_cache.c: New, dummy functions in the moment.
1454         * nis/nis_util.c: New.
1455         * nis/nisplus-parser.h: New.
1456         * nis/nss_nisplus/nisplus-parser.c: New.
1457         * nis/rpcsvc/nis_cache.h: New.
1458         * nis/rpcsvc/nis_cache.x: New.
1460         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
1461         * nis/nss_compat/compat-pwd.c: Likewise.
1462         * nis/nss_compat/compat-spwd.c: Likewise.
1463         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1464         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1465         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1466         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1467         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1468         * nis/nss_nisplus/nisplus-network.c: Likewise.
1469         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1470         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1471         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1472         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1473         * nis/nss_nisplus/nisplus-service.c: Likewise.
1474         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1476         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
1478         * nis/nis_intern.c: Removed.
1480         * nis/nis_call.c: Complete rewrite.
1481         * nis/nis_lookup.c: Likewise.
1482         * nis/nis_table.c: Likewise.
1484         * nis/libnsl.map: Add missing symbols.
1486         * nis/nis_print.c: Fix nis_print_link.
1487         * nis/nis_subr.c: Fix nis_getnames.
1489 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1491         * posix/execvp.c (execvp): Handle ESTALE.
1493 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
1495         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
1496         even if SYNTAX_TABLE is defined.
1497         Patch by Akim Demaille <demaille@inf.enst.fr>.
1499 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
1501         * libio/fileops.c (_IO_file_underflow): Adjust pointers
1502         before calling _IO_SYSREAD ().
1504 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1506         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
1507         (sysdep.h does the same job).
1508         * sysdeps/sparc/alloca.S: Likewise.
1509         * sysdeps/sparc/dotmul.S: Likewise.
1510         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
1512         * sysdeps/sparc/rem.S: Regenerated.
1513         * sysdeps/sparc/sdiv.S: Regenerated.
1514         * sysdeps/sparc/udiv.S: Regenerated.
1515         * sysdeps/sparc/urem.S: Regenerated.
1517         * sysdeps/sparc/DEFS.h: Removed.
1518         * sysdeps/sparc/elf/DEFS.h: Removed.
1519         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
1521         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
1522         directive #ifdef HAVE_ELF.  Minor format changes.
1524         * sysdeps/alpha/DEFS.h: Removed.
1525         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
1527 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
1529         * math/test-fenv.c (feenv_nomask_test): Move
1530         fesetenv (FE_NOMASK_ENV) after fork () to work with
1531         SMP.
1533         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
1535 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1537         * libc.map: Add _IO_peekc_locked.
1539 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
1541         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
1543 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1545         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
1546         right position.
1547         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
1549 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
1551         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1552         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1554 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
1556         * io/lockf.c (lockf): Clear fl before using.
1557         Patch by sr@adb.fr.
1559         * libio/strops.c: Correctly handle _IO_write_end.
1561         * nss/libnss_files.map: Add __nss_netgroup_parseline.
1562         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1563         panic if setnetgrent wasn't called before, return error.
1564         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
1566         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
1567         if locally defined.
1568         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
1569         if locally defined.
1570         Define tm_diff function as ftime_tm_diff if locally defined.
1571         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1573 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
1575         * isomac.c (get_null_defines): Put NULL at end of list.
1577         * hurd/Makefile: Remove special handling of sunrpc code.
1578         * sysdeps/mach/hurd/Makefile: Likewise.
1579         Compile CThreads code.
1580         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
1581         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
1582         functions.
1583         * sysdeps/stub/bits/libc-lock.h: Likewise.
1584         * sysdeps/mach/hurd/net/ethernet.h: New file.
1585         * sysdeps/mach/hurd/net/if.h: New file.
1586         * sysdeps/mach/hurd/net/if_arp.h: New file.
1587         * sysdeps/mach/hurd/net/if_ether.h: New file.
1588         * sysdeps/mach/hurd/net/if_ppp.h: New file.
1589         * sysdeps/mach/hurd/net/route.h: New file.
1590         Patches by  Fila Kolodny <fila@ibi.com>.
1592         * math/fenv-test.c: Add more tests.
1593         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1595         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
1596         INTFAST_MAX, and UINTFAST_MAX.
1597         * sysdeps/wordsize-64/inttypes.h: Likewise.
1598         Correct intmax_t definition.
1600 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
1602         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
1604 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
1606         * libc.map: Add missing symbol.
1608 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
1610         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
1611         in cc1.  Cpp in gcc doesn't do it.
1613 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1615         * libio/libioP.h: Remove second definition of _IO_file_attach.
1617         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
1619         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
1620         copyright.
1621         * manual/summary.awk: Likewise.
1622         * misc/bits/stab.def: Likewise.
1623         * posix/glob/Makefile.ami: Likewise.
1624         * posix/glob/Makefile.in: Likewise.
1625         * posix/glob/SMakefile: Likewise.
1626         * sysdeps/gnu/errlist.awk: Likewise.
1627         * sysdeps/mach/hurd/errnos.awk: Likewise.
1628         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
1629         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
1630         * sysdeps/unix/snarf-ioctls: Likewise.
1631         * sysdeps/vax/setjmp.c: Likewise.
1633 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1635         * login/login.c (tty_name): Use newly allocated buffer.
1636         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1638         * time/asctime.c: Never translate week and month name according
1639         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1641 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1643         * locale/setlocale.c (setname): Do nothing when reusing the same
1644         name.
1646 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1648         * libc.map: Add global variables of malloc.
1650 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1652         * elf/dl-version.c (find_needed): Look for needed objects also in
1653         the dependency list of the current object.  Added new parameter to
1654         find its link map, caller changed.
1656 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1658         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
1659         FE_UNDERFLOW cases.
1661 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1663         * elf/link.h: Remove final comma from enumerator list, forbidden
1664         by ISO C.  Use __inline instead of inline.
1666 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1668         * hurd/hurdsig.c: Include <hurd/id.h>.
1669         (reauth_proc): Call proc_setowner appropriately too.
1671 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
1673         * libc.map: Add missing symbol.
1675 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
1677         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
1678         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
1679         declaration of addr.
1681 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1683         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
1684         it work in TeX.
1686 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1688         * Makeconfig (+includes): Add include directory to include path.
1689         * configure.in (sysnames): Don't add it here.
1690         * Makefile (subdir-dirs): Define and add it to vpath for headers.
1691         * Make-dist (all-headers): Look in include directory for
1692         indirection headers.  Filter out header names pointing outside the
1693         source directory.
1695         * Makefile (distribute): Remove ansidecl.h, add libc.map.
1696         * Make-dist (+tsrcs): Add version scripts for extra libraries.
1697         * Makerules (distinfo-vars): Add %-map for extra libraries.
1699         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
1700         to kernel_termios.h.
1701         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
1702         termbits.h and sys/kernel_termios.h.
1703         * sysdeps/mips/mips64/Dist: New file.
1704         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
1706 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1708         * math/test-fenv.c (feenv_nomask_test): New test for non masked
1709         exceptions.
1710         (feenv_mask_test): New test for masked exceptions
1711         (feenv_tests): New function calls feenv_nomask_test and
1712         feenv_mask_test.
1713         (main): Call new tests.
1714         (initial_tests): New test for initilisation.
1716 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
1718         * config.make.in: Define need-nopic-initfini.
1719         * configure.in: Write out nopic_initfini.
1720         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
1721         is defined.
1723         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
1725         * sysdeps/sparc/rem.S: Get trap definition properly.
1726         * sysdeps/sparc/sdiv.S: Likewise.
1727         * sysdeps/sparc/udiv.S: Likewise.
1728         * sysdeps/sparc/urem.S: Likewise.
1729         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
1730         * sysdeps/sparc/sys/trap.h: New file.
1731         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
1733 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
1735         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
1737 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
1739         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
1740         to MACH_MSG_TYPE_INTEGER_T.
1742 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
1744         Initial sparc64-linux support:
1745         * configure.in: Recognize sparc64 as being different from sparc.
1746         * io/ftwtest-sh: Only invoke ld.so if it exists.
1747         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
1748         static tests to link.  Honour $(omit-long-double-fcts) == yes.
1749         * math/libm-test.c (test_single_exception): The argument to
1750         fetestexcept is `int' not `fexcept_t'.
1751         * shlib-versions: Recognize sparc64.
1752         * signal/signal.h: Add typedef for stack_t.
1754         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
1755         Attempt to fix up most of this by cleaning up assumptions below,
1756         but give up and change the defaults.
1758         * setjmp/longjmp.c: Moved to ...
1759         * sysdeps/generic/longjmp.c: ... here.
1760         * setjmp/sigjmp.c: Moved to ...
1761         * sysdeps/generic/sigjmp.c: ... here.
1763         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
1764         Ought to fix up gas to catch these silly things properly.
1765         * sysdeps/sparc/bsd-setjmp.S: Likewise.
1767         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
1768         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
1769         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
1770         the unused fields.
1772         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
1773         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
1774         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
1775         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
1776         * sysdeps/sparc/sparc64/lshift.s: Likewise.
1777         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
1778         * sysdeps/sparc/sparc64/rshift.s: Likewise.
1779         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
1780         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
1782         * sysdeps/sparc64/Implies: New file.
1783         * sysdeps/sparc64/Makefile: Likewise.
1784         * sysdeps/sparc64/bits/endian.h: Likewise.
1785         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
1786         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
1787         * sysdeps/sparc64/dl-machine.h: Likewise.
1788         * sysdeps/sparc64/elf/Makefile: Likewise.
1789         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
1790         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
1791         * sysdeps/sparc64/elf/crtend.S: Likewise.
1792         * sysdeps/sparc64/elf/crtendS.S: Likewise.
1793         * sysdeps/sparc64/elf/start.S: Likewise.
1794         * sysdeps/sparc64/fpu_control.h: Likewise.
1795         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
1796         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
1797         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
1798         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
1799         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
1800         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
1801         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
1802         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
1803         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
1804         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
1805         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
1806         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
1807         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
1808         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
1809         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
1811         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
1812         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
1813         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
1814         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
1816 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
1818         * configure.in: Add -nostartfiles -nostdlib when check for
1819         --version-script.
1821 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
1823         * sysdeps/powerpc/bits/endian.h: New file.
1825 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
1827         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
1828         setresgid.
1830 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
1832         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
1833         Reported by a sun <asun@zoology.washington.edu>.
1835         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
1837         * db/makedb.c: Exit with error if number of option is incorrect.
1839         * math/Makefile (tests): Add test-fenv.
1840         * math/test-fenv.c: New file.  Test for exception handling functions.
1841         Written mainly by Andreas Jaeger.
1843         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
1845         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
1846         compatibility version to 0.  Reported by Roland McGrath.
1848 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
1850         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
1851         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
1852         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
1854 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
1856         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
1858 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1860         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
1861         objects, including dependencies.
1863         * elf/dl-runtime.c (fixup): Always use version information if
1864         available.
1866 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1868         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
1870 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1872         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
1873         int, not pointer to fail_stack_elt_t.
1874         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
1875         type of this_reg.
1876         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
1877         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
1879 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
1881         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
1882         Reported by a sun.
1884 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
1886         * math/math.h: Move definition of macros for unordered comparison
1887         after inclusion of <bits/mathinline.h>.
1888         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
1889         unordered comparison before definition.
1890         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1892         * Makerules: Move definition of load-map-file before use.
1893         (lib%.so): Depend on load-map-file, not lib%-map.
1895         * manual/lgpl.texinfo: Update copyright.
1897 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1899         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
1900         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
1901         and infinity specially.
1902         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
1903         Adapted.
1905         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
1907 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
1909         * configure.in: Don't use .long in tests since some strange
1910         platforms without binutils don't know this.
1911         Redirect output of test commands correctly.
1912         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1914         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
1915         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
1917 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
1919         * sysdeps/mach/hurd/abi-tag.h: New file.
1921         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
1922         * sysdeps/stub/bits/libc-lock.h: Likewise.
1924         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
1925         Add variable addr containing the desired part of the union.
1926         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1927         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
1928         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1929         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
1930         * sysdeps/mach/hurd/bind.c (bind): Likewise.
1932         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
1933         to sizeof(MACH_MSG_TYPE_INTEGER_T).
1935         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
1937         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
1939         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
1940         paramater list since it is used.
1942         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
1944         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
1945         ss to argss.
1947 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1949         * Rules: Update copyright.
1950         * mach/Machrules: Likewise.
1952 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
1954         * configure.in: Fix accidently removed AC_OUTPUT line.
1955         Reported by Andreas Jaeger.
1957         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
1958         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
1960         * sysdeps/generic/getdomain.c: Include handling for stub case.
1961         This eliminated the only case of a function in generic and stub.
1962         * sysdeps/stub/getdomain.c: Removed.
1963         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1965 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1967         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
1968         remove trailing white spaces and send through unexpand.
1969         * sysdeps/alpha/bb_init_func.S: Likewise.
1970         * sysdeps/alpha/bzero.S: Likewise.
1971         * sysdeps/alpha/ffs.S: Likewise.
1972         * sysdeps/alpha/memset.S: Likewise.
1973         * sysdeps/alpha/s_fabs.S: Likewise.
1974         * sysdeps/alpha/strcmp.S: Likewise.
1975         * sysdeps/alpha/strlen.S: Likewise.
1976         * sysdeps/alpha/strncmp.S: Likewise.
1977         * sysdeps/alpha/strncpy.S: Likewise.
1978         * sysdeps/alpha/strrchr.S: Likewise.
1979         * sysdeps/alpha/stxcpy.S: Likewise.
1980         * sysdeps/alpha/stxncpy.S: Likewise.
1981         * sysdeps/alpha/elf/start.S: Likewise.
1982         * sysdeps/i386/strchr.S: Likewise.
1983         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
1984         * sysdeps/m68k/bsd-setjmp.S: Likewise.
1985         * sysdeps/m68k/elf/start.S: Likewise.
1986         * sysdeps/mach/alpha/syscall.S: Likewise.
1987         * sysdeps/mach/i386/syscall.S: Likewise.
1988         * sysdeps/mips/elf/start.S: Likewise.
1989         * sysdeps/sparc/alloca.S: Likewise.
1990         * sysdeps/standalone/i386/start.S: Likewise.
1991         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
1992         * sysdeps/standalone/i960/start.S: Likewise.
1993         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
1994         * sysdeps/unix/_exit.S: Likewise.
1995         * sysdeps/unix/fork.S: Likewise.
1996         * sysdeps/unix/getegid.S: Likewise.
1997         * sysdeps/unix/geteuid.S: Likewise.
1998         * sysdeps/unix/getppid.S: Likewise.
1999         * sysdeps/unix/syscall.S: Likewise.
2000         * sysdeps/unix/arm/brk.S: Likewise.
2001         * sysdeps/unix/arm/fork.S: Likewise.
2002         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
2003         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2004         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
2005         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2006         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2007         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
2008         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
2009         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
2010         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
2011         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
2012         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
2013         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
2014         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
2015         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
2016         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
2017         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
2018         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
2019         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
2020         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
2021         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
2022         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
2023         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
2024         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
2025         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
2026         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
2027         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
2028         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
2029         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
2030         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2031         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
2032         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
2033         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
2034         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
2035         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
2036         * sysdeps/unix/bsd/vax/brk.S: Likewise.
2037         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
2038         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
2039         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
2040         * sysdeps/unix/bsd/vax/wait.S: Likewise.
2041         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
2042         * sysdeps/unix/i386/brk.S: Likewise.
2043         * sysdeps/unix/i386/fork.S: Likewise.
2044         * sysdeps/unix/i386/pipe.S: Likewise.
2045         * sysdeps/unix/i386/sigreturn.S: Likewise.
2046         * sysdeps/unix/i386/syscall.S: Likewise.
2047         * sysdeps/unix/i386/vfork.S: Likewise.
2048         * sysdeps/unix/i386/wait.S: Likewise.
2049         * sysdeps/unix/mips/brk.S: Likewise.
2050         * sysdeps/unix/mips/fork.S: Likewise.
2051         * sysdeps/unix/mips/pipe.S: Likewise.
2052         * sysdeps/unix/mips/sigreturn.S: Likewise.
2053         * sysdeps/unix/mips/sysdep.S: Likewise.
2054         * sysdeps/unix/mips/wait.S: Likewise.
2055         * sysdeps/unix/sparc/brk.S: Likewise.
2056         * sysdeps/unix/sparc/fork.S: Likewise.
2057         * sysdeps/unix/sparc/pipe.S: Likewise.
2058         * sysdeps/unix/sparc/sysdep.S: Likewise.
2059         * sysdeps/unix/sparc/vfork.S: Likewise.
2060         * sysdeps/unix/sysv/i386/signal.S: Likewise.
2061         * sysdeps/unix/sysv/i386/time.S: Likewise.
2062         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
2063         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
2064         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
2065         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
2066         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
2067         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2068         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2069         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2070         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2071         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
2072         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
2073         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
2074         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
2075         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
2076         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
2077         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
2078         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
2079         * sysdeps/vax/bsd-_setjmp.S: Likewise.
2080         * sysdeps/vax/bsd-setjmp.S: Likewise.
2082 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
2084         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
2085         public.
2087         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
2088         dependency, not $(libc-map).
2090         * sysdeps/posix/mk-stdiolim.c: Pretty print.
2092 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
2094         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
2095         include of bits/types.h.
2097         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
2098         conditionalize this on whether we are cross-compiling.
2100 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
2102         * elf/dl-lookup.c (do_lookup): Use default definition
2103         for a default versioned symbol.
2105         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
2107         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
2109         * elf/link.h (r_found_version): Add the hidden field.
2111         * math/test-matherr.c: New file.
2113         * math/Makefile (tests): Add test-matherr.
2114         (libm-support): Put back s_matherr.
2115         (static-only-routines, aux): Remove s_matherr.
2117 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
2119         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
2120         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
2121         bits/endian.h.
2123         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
2124         function will not fail because of exceptions.
2126         * math/math.h: Add warning about use of M_* constants.
2127         Pretty print.
2129 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2131         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
2132         copyright, remove trailing white spaces and send through unexpand.
2133         * inet/netinet/icmp6.h: Likewise.
2134         * inet/netinet/in.h: Likewise.
2135         * inet/netinet/ip6.h: Likewise.
2136         * locale/programs/xmalloc.c: Likewise.
2137         * locale/programs/xstrdup.c: Likewise.
2138         * sysdeps/generic/make_siglist.c: Likewise.
2139         * sysdeps/generic/morecore.c: Likewise.
2140         * sysdeps/generic/sbrk.c: Likewise.
2141         * sysdeps/generic/signame.c: Likewise.
2142         * sysdeps/generic/signame.h: Likewise.
2143         * sysdeps/generic/netinet/inbits.h: Likewise.
2144         * sysdeps/posix/getpagesize.c: Likewise.
2145         * sysdeps/unix/errnos-tmpl.c: Likewise.
2146         * sysdeps/unix/getpagesize.c: Likewise.
2147         * sysdeps/unix/make_errlist.c: Likewise.
2148         * sysdeps/unix/mkfifo.c: Likewise.
2149         * sysdeps/unix/nlist.c: Likewise.
2150         * sysdeps/unix/start.c: Likewise.
2151         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
2153         * munch-tmpl.c: Update and reformat copyright, remove trailing
2154         white spaces and send through unexpand.
2155         * libio/clearerr_u.c: Likewise.
2156         * libio/memstream.c: Likewise.
2157         * libio/putc_u.c: Likewise.
2158         * libio/putchar_u.c: Likewise.
2159         * stdio-common/scanf.c: Likewise.
2160         * stdlib/longlong.h: Likewise.
2161         * sysdeps/alpha/__longjmp.c: Likewise.
2162         * sysdeps/alpha/divrem.h: Likewise.
2163         * sysdeps/alpha/machine-gmon.h: Likewise.
2164         * sysdeps/alpha/setjmp_aux.c: Likewise.
2165         * sysdeps/alpha/bits/setjmp.h: Likewise.
2166         * sysdeps/arm/fpu_control.h: Likewise.
2167         * sysdeps/generic/_strerror.c: Likewise.
2168         * sysdeps/generic/det_endian.c: Likewise.
2169         * sysdeps/generic/fdatasync.c: Likewise.
2170         * sysdeps/generic/fpu_control.c: Likewise.
2171         * sysdeps/generic/ftime.c: Likewise.
2172         * sysdeps/generic/getdomain.c: Likewise.
2173         * sysdeps/generic/group_member.c: Likewise.
2174         * sysdeps/generic/ldiv.c: Likewise.
2175         * sysdeps/generic/lldiv.c: Likewise.
2176         * sysdeps/generic/lxstat.c: Likewise.
2177         * sysdeps/generic/memcmp.c: Likewise.
2178         * sysdeps/generic/memmem.c: Likewise.
2179         * sysdeps/generic/mig-reply.c: Likewise.
2180         * sysdeps/generic/pagecopy.h: Likewise.
2181         * sysdeps/generic/profil-counter.h: Likewise.
2182         * sysdeps/generic/pselect.c: Likewise.
2183         * sysdeps/generic/setfpucw.c: Likewise.
2184         * sysdeps/generic/stpcpy.c: Likewise.
2185         * sysdeps/generic/uname.c: Likewise.
2186         * sysdeps/generic/varargs.h: Likewise.
2187         * sysdeps/generic/vlimit.c: Likewise.
2188         * sysdeps/generic/bits/sigaction.h: Likewise.
2189         * sysdeps/generic/bits/ustat.h: Likewise.
2190         * sysdeps/generic/netinet/if_ether.h: Likewise.
2191         * sysdeps/generic/sys/swap.h: Likewise.
2192         * sysdeps/generic/sys/sysinfo.h: Likewise.
2193         * sysdeps/i386/init-first.c: Likewise.
2194         * sysdeps/i386/ldbl2mpn.c: Likewise.
2195         * sysdeps/i386/memcopy.h: Likewise.
2196         * sysdeps/i386/i586/memcopy.h: Likewise.
2197         * sysdeps/i860/memcopy.h: Likewise.
2198         * sysdeps/m68k/__longjmp.c: Likewise.
2199         * sysdeps/m68k/fpu_control.h: Likewise.
2200         * sysdeps/m68k/memcopy.h: Likewise.
2201         * sysdeps/m68k/s_isinfl.c: Likewise.
2202         * sysdeps/m68k/s_isnanl.c: Likewise.
2203         * sysdeps/m68k/setjmp.c: Likewise.
2204         * sysdeps/mach/_strerror.c: Likewise.
2205         * sysdeps/mach/getsysstats.c: Likewise.
2206         * sysdeps/mach/mprotect.c: Likewise.
2207         * sysdeps/mach/munmap.c: Likewise.
2208         * sysdeps/mach/pagecopy.h: Likewise.
2209         * sysdeps/mach/start.c: Likewise.
2210         * sysdeps/mach/sysdep.h: Likewise.
2211         * sysdeps/mach/alpha/machine-lock.h: Likewise.
2212         * sysdeps/mach/alpha/machine-sp.h: Likewise.
2213         * sysdeps/mach/alpha/sysdep.h: Likewise.
2214         * sysdeps/mach/alpha/thread_state.h: Likewise.
2215         * sysdeps/mach/hppa/machine-lock.h: Likewise.
2216         * sysdeps/mach/hurd/access.c: Likewise.
2217         * sysdeps/mach/hurd/closedir.c: Likewise.
2218         * sysdeps/mach/hurd/dirstream.h: Likewise.
2219         * sysdeps/mach/hurd/dl-cache.c: Likewise.
2220         * sysdeps/mach/hurd/euidaccess.c: Likewise.
2221         * sysdeps/mach/hurd/fdatasync.c: Likewise.
2222         * sysdeps/mach/hurd/fexecve.c: Likewise.
2223         * sysdeps/mach/hurd/fork.c: Likewise.
2224         * sysdeps/mach/hurd/fpathconf.c: Likewise.
2225         * sysdeps/mach/hurd/fstatfs.c: Likewise.
2226         * sysdeps/mach/hurd/fxstat.c: Likewise.
2227         * sysdeps/mach/hurd/getcwd.c: Likewise.
2228         * sysdeps/mach/hurd/getpriority.c: Likewise.
2229         * sysdeps/mach/hurd/getrlimit.c: Likewise.
2230         * sysdeps/mach/hurd/getsid.c: Likewise.
2231         * sysdeps/mach/hurd/group_member.c: Likewise.
2232         * sysdeps/mach/hurd/kill.c: Likewise.
2233         * sysdeps/mach/hurd/lchown.c: Likewise.
2234         * sysdeps/mach/hurd/lxstat.c: Likewise.
2235         * sysdeps/mach/hurd/mig-reply.c: Likewise.
2236         * sysdeps/mach/hurd/mmap.c: Likewise.
2237         * sysdeps/mach/hurd/opendir.c: Likewise.
2238         * sysdeps/mach/hurd/pathconf.c: Likewise.
2239         * sysdeps/mach/hurd/profil.c: Likewise.
2240         * sysdeps/mach/hurd/ptrace.c: Likewise.
2241         * sysdeps/mach/hurd/readdir.c: Likewise.
2242         * sysdeps/mach/hurd/readdir_r.c: Likewise.
2243         * sysdeps/mach/hurd/send.c: Likewise.
2244         * sysdeps/mach/hurd/sendto.c: Likewise.
2245         * sysdeps/mach/hurd/setpriority.c: Likewise.
2246         * sysdeps/mach/hurd/statfs.c: Likewise.
2247         * sysdeps/mach/hurd/ttyname.c: Likewise.
2248         * sysdeps/mach/hurd/uname.c: Likewise.
2249         * sysdeps/mach/hurd/xstat.c: Likewise.
2250         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
2251         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
2252         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
2253         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
2254         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
2255         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
2256         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
2257         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
2258         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
2259         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
2260         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
2261         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2262         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
2263         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
2264         * sysdeps/mach/hurd/sys/param.h: Likewise.
2265         * sysdeps/mach/i386/machine-lock.h: Likewise.
2266         * sysdeps/mach/i386/machine-sp.h: Likewise.
2267         * sysdeps/mach/i386/sysdep.h: Likewise.
2268         * sysdeps/mach/i386/thread_state.h: Likewise.
2269         * sysdeps/posix/dup2.c: Likewise.
2270         * sysdeps/posix/flock.c: Likewise.
2271         * sysdeps/posix/getdtsz.c: Likewise.
2272         * sysdeps/posix/gettimeofday.c: Likewise.
2273         * sysdeps/posix/isatty.c: Likewise.
2274         * sysdeps/posix/killpg.c: Likewise.
2275         * sysdeps/posix/mk-stdiolim.c: Likewise.
2276         * sysdeps/posix/profil.c: Likewise.
2277         * sysdeps/posix/remove.c: Likewise.
2278         * sysdeps/posix/rename.c: Likewise.
2279         * sysdeps/posix/sigsuspend.c: Likewise.
2280         * sysdeps/posix/tempname.c: Likewise.
2281         * sysdeps/posix/truncate.c: Likewise.
2282         * sysdeps/posix/utimes.c: Likewise.
2283         * sysdeps/posix/wait.c: Likewise.
2284         * sysdeps/posix/wait3.c: Likewise.
2285         * sysdeps/rs6000/memcopy.h: Likewise.
2286         * sysdeps/sparc/memcopy.h: Likewise.
2287         * sysdeps/standalone/close.c: Likewise.
2288         * sysdeps/standalone/dirstream.h: Likewise.
2289         * sysdeps/standalone/filedesc.h: Likewise.
2290         * sysdeps/standalone/open.c: Likewise.
2291         * sysdeps/standalone/read.c: Likewise.
2292         * sysdeps/standalone/standalone.h: Likewise.
2293         * sysdeps/standalone/write.c: Likewise.
2294         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
2295         * sysdeps/standalone/i386/i386.h: Likewise.
2296         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
2297         * sysdeps/stub/__longjmp.c: Likewise.
2298         * sysdeps/stub/accept.c: Likewise.
2299         * sysdeps/stub/access.c: Likewise.
2300         * sysdeps/stub/acct.c: Likewise.
2301         * sysdeps/stub/adjtime.c: Likewise.
2302         * sysdeps/stub/alarm.c: Likewise.
2303         * sysdeps/stub/bind.c: Likewise.
2304         * sysdeps/stub/brk.c: Likewise.
2305         * sysdeps/stub/bsd-_setjmp.c: Likewise.
2306         * sysdeps/stub/bsd-setjmp.c: Likewise.
2307         * sysdeps/stub/chdir.c: Likewise.
2308         * sysdeps/stub/chflags.c: Likewise.
2309         * sysdeps/stub/chmod.c: Likewise.
2310         * sysdeps/stub/chown.c: Likewise.
2311         * sysdeps/stub/chroot.c: Likewise.
2312         * sysdeps/stub/clock.c: Likewise.
2313         * sysdeps/stub/close.c: Likewise.
2314         * sysdeps/stub/closedir.c: Likewise.
2315         * sysdeps/stub/connect.c: Likewise.
2316         * sysdeps/stub/ctermid.c: Likewise.
2317         * sysdeps/stub/cuserid.c: Likewise.
2318         * sysdeps/stub/dbl2mpn.c: Likewise.
2319         * sysdeps/stub/dirstream.h: Likewise.
2320         * sysdeps/stub/dup.c: Likewise.
2321         * sysdeps/stub/dup2.c: Likewise.
2322         * sysdeps/stub/exc2signal.c: Likewise.
2323         * sysdeps/stub/execve.c: Likewise.
2324         * sysdeps/stub/fchflags.c: Likewise.
2325         * sysdeps/stub/fchown.c: Likewise.
2326         * sysdeps/stub/fcntl.c: Likewise.
2327         * sysdeps/stub/fdopen.c: Likewise.
2328         * sysdeps/stub/fexecve.c: Likewise.
2329         * sysdeps/stub/flock.c: Likewise.
2330         * sysdeps/stub/fork.c: Likewise.
2331         * sysdeps/stub/fpathconf.c: Likewise.
2332         * sysdeps/stub/fpu_control.h: Likewise.
2333         * sysdeps/stub/fstatfs.c: Likewise.
2334         * sysdeps/stub/fsync.c: Likewise.
2335         * sysdeps/stub/ftruncate.c: Likewise.
2336         * sysdeps/stub/fxstat.c: Likewise.
2337         * sysdeps/stub/getcwd.c: Likewise.
2338         * sysdeps/stub/getdomain.c: Likewise.
2339         * sysdeps/stub/getdtsz.c: Likewise.
2340         * sysdeps/stub/getegid.c: Likewise.
2341         * sysdeps/stub/geteuid.c: Likewise.
2342         * sysdeps/stub/getgid.c: Likewise.
2343         * sysdeps/stub/getgroups.c: Likewise.
2344         * sysdeps/stub/gethostid.c: Likewise.
2345         * sysdeps/stub/gethostname.c: Likewise.
2346         * sysdeps/stub/getitimer.c: Likewise.
2347         * sysdeps/stub/getpeername.c: Likewise.
2348         * sysdeps/stub/getpgid.c: Likewise.
2349         * sysdeps/stub/getpid.c: Likewise.
2350         * sysdeps/stub/getppid.c: Likewise.
2351         * sysdeps/stub/getpriority.c: Likewise.
2352         * sysdeps/stub/getrlimit.c: Likewise.
2353         * sysdeps/stub/getrusage.c: Likewise.
2354         * sysdeps/stub/getsid.c: Likewise.
2355         * sysdeps/stub/getsockname.c: Likewise.
2356         * sysdeps/stub/getsockopt.c: Likewise.
2357         * sysdeps/stub/getsysstats.c: Likewise.
2358         * sysdeps/stub/gettimeofday.c: Likewise.
2359         * sysdeps/stub/getuid.c: Likewise.
2360         * sysdeps/stub/gtty.c: Likewise.
2361         * sysdeps/stub/if_index.c: Likewise.
2362         * sysdeps/stub/init-posix.c: Likewise.
2363         * sysdeps/stub/ioctl.c: Likewise.
2364         * sysdeps/stub/isatty.c: Likewise.
2365         * sysdeps/stub/isfdtype.c: Likewise.
2366         * sysdeps/stub/jmp-unwind.c: Likewise.
2367         * sysdeps/stub/kill.c: Likewise.
2368         * sysdeps/stub/killpg.c: Likewise.
2369         * sysdeps/stub/ldbl2mpn.c: Likewise.
2370         * sysdeps/stub/link.c: Likewise.
2371         * sysdeps/stub/listen.c: Likewise.
2372         * sysdeps/stub/lockfile.c: Likewise.
2373         * sysdeps/stub/longjmp-ts.c: Likewise.
2374         * sysdeps/stub/lseek.c: Likewise.
2375         * sysdeps/stub/lxstat.c: Likewise.
2376         * sysdeps/stub/machine-lock.h: Likewise.
2377         * sysdeps/stub/machine-sp.h: Likewise.
2378         * sysdeps/stub/madvise.c: Likewise.
2379         * sysdeps/stub/mkdir.c: Likewise.
2380         * sysdeps/stub/mkfifo.c: Likewise.
2381         * sysdeps/stub/mmap.c: Likewise.
2382         * sysdeps/stub/morecore.c: Likewise.
2383         * sysdeps/stub/mpn2dbl.c: Likewise.
2384         * sysdeps/stub/mpn2flt.c: Likewise.
2385         * sysdeps/stub/mpn2ldbl.c: Likewise.
2386         * sysdeps/stub/mprotect.c: Likewise.
2387         * sysdeps/stub/msgctl.c: Likewise.
2388         * sysdeps/stub/msgget.c: Likewise.
2389         * sysdeps/stub/msgrcv.c: Likewise.
2390         * sysdeps/stub/msgsnd.c: Likewise.
2391         * sysdeps/stub/munmap.c: Likewise.
2392         * sysdeps/stub/nanosleep.c: Likewise.
2393         * sysdeps/stub/nice.c: Likewise.
2394         * sysdeps/stub/nlist.c: Likewise.
2395         * sysdeps/stub/open.c: Likewise.
2396         * sysdeps/stub/opendir.c: Likewise.
2397         * sysdeps/stub/pathconf.c: Likewise.
2398         * sysdeps/stub/pause.c: Likewise.
2399         * sysdeps/stub/pipestream.c: Likewise.
2400         * sysdeps/stub/poll.c: Likewise.
2401         * sysdeps/stub/profil.c: Likewise.
2402         * sysdeps/stub/ptrace.c: Likewise.
2403         * sysdeps/stub/putenv.c: Likewise.
2404         * sysdeps/stub/read.c: Likewise.
2405         * sysdeps/stub/readdir.c: Likewise.
2406         * sysdeps/stub/readdir_r.c: Likewise.
2407         * sysdeps/stub/readlink.c: Likewise.
2408         * sysdeps/stub/reboot.c: Likewise.
2409         * sysdeps/stub/recv.c: Likewise.
2410         * sysdeps/stub/recvfrom.c: Likewise.
2411         * sysdeps/stub/recvmsg.c: Likewise.
2412         * sysdeps/stub/remove.c: Likewise.
2413         * sysdeps/stub/rename.c: Likewise.
2414         * sysdeps/stub/revoke.c: Likewise.
2415         * sysdeps/stub/rewinddir.c: Likewise.
2416         * sysdeps/stub/rmdir.c: Likewise.
2417         * sysdeps/stub/sbrk.c: Likewise.
2418         * sysdeps/stub/sched_getp.c: Likewise.
2419         * sysdeps/stub/sched_gets.c: Likewise.
2420         * sysdeps/stub/sched_primax.c: Likewise.
2421         * sysdeps/stub/sched_primin.c: Likewise.
2422         * sysdeps/stub/sched_rr_gi.c: Likewise.
2423         * sysdeps/stub/sched_setp.c: Likewise.
2424         * sysdeps/stub/sched_sets.c: Likewise.
2425         * sysdeps/stub/sched_yield.c: Likewise.
2426         * sysdeps/stub/seekdir.c: Likewise.
2427         * sysdeps/stub/select.c: Likewise.
2428         * sysdeps/stub/semctl.c: Likewise.
2429         * sysdeps/stub/semget.c: Likewise.
2430         * sysdeps/stub/semop.c: Likewise.
2431         * sysdeps/stub/send.c: Likewise.
2432         * sysdeps/stub/sendmsg.c: Likewise.
2433         * sysdeps/stub/sendto.c: Likewise.
2434         * sysdeps/stub/setdomain.c: Likewise.
2435         * sysdeps/stub/setegid.c: Likewise.
2436         * sysdeps/stub/setenv.c: Likewise.
2437         * sysdeps/stub/seteuid.c: Likewise.
2438         * sysdeps/stub/setgid.c: Likewise.
2439         * sysdeps/stub/setgroups.c: Likewise.
2440         * sysdeps/stub/sethostid.c: Likewise.
2441         * sysdeps/stub/sethostname.c: Likewise.
2442         * sysdeps/stub/setjmp.c: Likewise.
2443         * sysdeps/stub/setlogin.c: Likewise.
2444         * sysdeps/stub/setpgid.c: Likewise.
2445         * sysdeps/stub/setpriority.c: Likewise.
2446         * sysdeps/stub/setregid.c: Likewise.
2447         * sysdeps/stub/setreuid.c: Likewise.
2448         * sysdeps/stub/setrlimit.c: Likewise.
2449         * sysdeps/stub/setsid.c: Likewise.
2450         * sysdeps/stub/setsockopt.c: Likewise.
2451         * sysdeps/stub/settimeofday.c: Likewise.
2452         * sysdeps/stub/setuid.c: Likewise.
2453         * sysdeps/stub/shmctl.c: Likewise.
2454         * sysdeps/stub/shmget.c: Likewise.
2455         * sysdeps/stub/shutdown.c: Likewise.
2456         * sysdeps/stub/sigaction.c: Likewise.
2457         * sysdeps/stub/sigaltstack.c: Likewise.
2458         * sysdeps/stub/sigblock.c: Likewise.
2459         * sysdeps/stub/sigintr.c: Likewise.
2460         * sysdeps/stub/sigpending.c: Likewise.
2461         * sysdeps/stub/sigprocmask.c: Likewise.
2462         * sysdeps/stub/sigreturn.c: Likewise.
2463         * sysdeps/stub/sigsetmask.c: Likewise.
2464         * sysdeps/stub/sigstack.c: Likewise.
2465         * sysdeps/stub/sigsuspend.c: Likewise.
2466         * sysdeps/stub/sigvec.c: Likewise.
2467         * sysdeps/stub/socket.c: Likewise.
2468         * sysdeps/stub/socketpair.c: Likewise.
2469         * sysdeps/stub/sstk.c: Likewise.
2470         * sysdeps/stub/statfs.c: Likewise.
2471         * sysdeps/stub/stdio_init.c: Likewise.
2472         * sysdeps/stub/stime.c: Likewise.
2473         * sysdeps/stub/stty.c: Likewise.
2474         * sysdeps/stub/swapoff.c: Likewise.
2475         * sysdeps/stub/swapon.c: Likewise.
2476         * sysdeps/stub/symlink.c: Likewise.
2477         * sysdeps/stub/sync.c: Likewise.
2478         * sysdeps/stub/syscall.c: Likewise.
2479         * sysdeps/stub/sysd-stdio.c: Likewise.
2480         * sysdeps/stub/system.c: Likewise.
2481         * sysdeps/stub/tcdrain.c: Likewise.
2482         * sysdeps/stub/tcflow.c: Likewise.
2483         * sysdeps/stub/tcflush.c: Likewise.
2484         * sysdeps/stub/tcgetattr.c: Likewise.
2485         * sysdeps/stub/tcgetpgrp.c: Likewise.
2486         * sysdeps/stub/tcsendbrk.c: Likewise.
2487         * sysdeps/stub/tcsetpgrp.c: Likewise.
2488         * sysdeps/stub/telldir.c: Likewise.
2489         * sysdeps/stub/thread_state.h: Likewise.
2490         * sysdeps/stub/time.c: Likewise.
2491         * sysdeps/stub/times.c: Likewise.
2492         * sysdeps/stub/trampoline.c: Likewise.
2493         * sysdeps/stub/truncate.c: Likewise.
2494         * sysdeps/stub/ttyname.c: Likewise.
2495         * sysdeps/stub/ttyname_r.c: Likewise.
2496         * sysdeps/stub/ualarm.c: Likewise.
2497         * sysdeps/stub/ulimit.c: Likewise.
2498         * sysdeps/stub/umask.c: Likewise.
2499         * sysdeps/stub/unlink.c: Likewise.
2500         * sysdeps/stub/usleep.c: Likewise.
2501         * sysdeps/stub/ustat.c: Likewise.
2502         * sysdeps/stub/utime.c: Likewise.
2503         * sysdeps/stub/utimes.c: Likewise.
2504         * sysdeps/stub/vdprintf.c: Likewise.
2505         * sysdeps/stub/vhangup.c: Likewise.
2506         * sysdeps/stub/wait.c: Likewise.
2507         * sysdeps/stub/wait3.c: Likewise.
2508         * sysdeps/stub/wait4.c: Likewise.
2509         * sysdeps/stub/waitpid.c: Likewise.
2510         * sysdeps/stub/write.c: Likewise.
2511         * sysdeps/stub/xmknod.c: Likewise.
2512         * sysdeps/stub/xstat.c: Likewise.
2513         * sysdeps/stub/bits/errno.h: Likewise.
2514         * sysdeps/stub/bits/sigcontext.h: Likewise.
2515         * sysdeps/unix/fxstat.c: Likewise.
2516         * sysdeps/unix/mk-local_lim.c: Likewise.
2517         * sysdeps/unix/mkdir.c: Likewise.
2518         * sysdeps/unix/nice.c: Likewise.
2519         * sysdeps/unix/rmdir.c: Likewise.
2520         * sysdeps/unix/stime.c: Likewise.
2521         * sysdeps/unix/telldir.c: Likewise.
2522         * sysdeps/unix/xstat.c: Likewise.
2523         * sysdeps/unix/arm/sysdep.h: Likewise.
2524         * sysdeps/unix/bsd/ftime.c: Likewise.
2525         * sysdeps/unix/bsd/isatty.c: Likewise.
2526         * sysdeps/unix/bsd/setegid.c: Likewise.
2527         * sysdeps/unix/bsd/seteuid.c: Likewise.
2528         * sysdeps/unix/bsd/setsid.c: Likewise.
2529         * sysdeps/unix/bsd/sigaction.c: Likewise.
2530         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2531         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2532         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2533         * sysdeps/unix/bsd/times.c: Likewise.
2534         * sysdeps/unix/bsd/ulimit.c: Likewise.
2535         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
2536         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
2537         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
2538         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
2539         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2540         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2541         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2542         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2543         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
2544         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2545         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
2546         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
2547         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
2548         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
2549         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
2550         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
2551         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
2552         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
2553         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2554         * sysdeps/unix/common/lxstat.c: Likewise.
2555         * sysdeps/unix/common/tcsendbrk.c: Likewise.
2556         * sysdeps/unix/common/bits/dirent.h: Likewise.
2557         * sysdeps/unix/i386/sysdep.h: Likewise.
2558         * sysdeps/unix/mips/sysdep.h: Likewise.
2559         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2560         * sysdeps/unix/sysv/settimeofday.c: Likewise.
2561         * sysdeps/unix/sysv/sigaction.c: Likewise.
2562         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
2563         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2564         * sysdeps/unix/sysv/tcflow.c: Likewise.
2565         * sysdeps/unix/sysv/tcflush.c: Likewise.
2566         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2567         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2568         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2569         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
2570         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
2571         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
2572         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
2573         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2574         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2575         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
2576         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2577         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2578         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2579         * sysdeps/unix/sysv/linux/speed.c: Likewise.
2580         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2581         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
2582         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2583         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
2584         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2585         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2586         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
2587         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
2588         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2589         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2590         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
2591         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
2592         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
2593         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
2594         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
2595         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
2596         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
2597         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2598         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
2599         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2600         * sysdeps/vax/fl.h: Likewise.
2601         * sysdeps/vax/setjmp.c: Likewise.
2603 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2605         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
2606         and NaN strings.
2608 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2610         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
2611         argument.
2612         (__ilogb): Remove special case for zero, add stupid special case
2613         for NaN.
2614         (__ieee754_scalb): Remove definition.
2615         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
2616         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
2618         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
2619         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
2620         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
2622         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
2623         returning NaN.  Handle zero specially.
2624         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
2625         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
2627         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
2628         and NaN.
2629         (gamma_test): Use different argument when checking whether
2630         function is implemented.
2631         (scalb_test): Remove duplicate tests.
2633 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2635         * Makerules (+depfiles): Add dependencies for $(test-srcs).
2636         (distinfo-vars): Add test-srcs.
2638 1997-06-21 17:35  Ulrich Drepper  <drepper@cygnus.com>
2640         * argp/argp.h: Remove extra #endif.  Pretty print.
2641         * md5-crypt/md5.h: Likewise.
2643         * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
2644         * wctype/wctype.h: Likewise.
2646         * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
2647         directory.
2649         * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
2650         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2651         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
2652         * sysdeps/libm-i387/s_lrint.S: Likewise.
2653         * sysdeps/libm-i387/s_llrint.S: Likewise.
2655 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
2657         * config.h.in: Add DO_STATIC_NSS.
2658         * config.make.in: Add build-static-nss.
2660         * elf/eval.c: Use __getdelim instead of __getline.
2662         * locale/programs/locale.c: Correct comment.
2664         * manual/libc.texinfo: Update copyright and date.
2665         Remove A4 option.
2667         * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
2668         for gamma overflow.
2669         * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
2670         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2671         * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
2673         * po/ko.po: Update.
2675 1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>
2677         The Great Bit File Move:
2678         * configure.in (AC_INIT): Look in include/ for features.h.
2679         (sysnames): Add include as the final search directory.
2680         (AC_OUTPUT): Create a bits directory in the build directory.
2681         * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
2682         * Makefile: Make sure the target directory exists when installing
2683         <gnu/stubs.h> and <gnu/lib-names.h>.
2684         * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
2685         invoking $(CC) directly, as the former have the full include path.
2687         * ansidecl.h: Removed.
2689         * aliases.h: Moved to include/.
2690         * alloca.h: Likewise.
2691         * argp.h: Likewise.
2692         * argz.h: Likewise.
2693         * arpa/ftp.h: Likewise.
2694         * arpa/inet.h: Likewise.
2695         * arpa/nameser.h: Likewise.
2696         * arpa/telnet.h: Likewise.
2697         * arpa/tftp.h: Likewise.
2698         * assert.h: Likewise.
2699         * ctype.h: Likewise.
2700         * db.h: Likewise.
2701         * dirent.h: Likewise.
2702         * dlfcn.h: Likewise.
2703         * elf.h: Likewise.
2704         * endian.h: Likewise.
2705         * envz.h: Likewise.
2706         * err.h: Likewise.
2707         * errno.h: Likewise.
2708         * error.h: Likewise.
2709         * fcntl.h: Likewise.
2710         * features.h: Likewise.
2711         * fnmatch.h: Likewise.
2712         * ftw.h: Likewise.
2713         * getopt.h: Likewise.
2714         * glob.h: Likewise.
2715         * gnu-versions.h: Likewise.
2716         * grp.h: Likewise.
2717         * langinfo.h: Likewise.
2718         * libc-symbols.h: Likewise.
2719         * libgen.h: Likewise.
2720         * libintl.h: Likewise.
2721         * limits.h: Likewise.
2722         * linewrap.h: Likewise.
2723         * link.h: Likewise.
2724         * locale.h: Likewise.
2725         * malloc.h: Likewise.
2726         * math.h: Likewise.
2727         * mathcalls.h: Likewise.
2728         * mcheck.h: Likewise.
2729         * memory.h: Likewise.
2730         * netdb.h: Likewise.
2731         * netgroup.h: Likewise.
2732         * netinet/ether.h: Likewise.
2733         * netinet/in.h: Likewise.
2734         * nlist.h: Likewise.
2735         * nss.h: Likewise.
2736         * nsswitch.h: Likewise.
2737         * obstack.h: Likewise.
2738         * poll.h: Likewise.
2739         * posix1_lim.h: Likewise.
2740         * posix2_lim.h: Likewise.
2741         * printf.h: Likewise.
2742         * protocols/routed.h: Likewise.
2743         * protocols/rwhod.h: Likewise.
2744         * protocols/talkd.h: Likewise.
2745         * protocols/timed.h: Likewise.
2746         * pwd.h: Likewise.
2747         * regex.h: Likewise.
2748         * resolv.h: Likewise.
2749         * rpc/auth_unix.h: Likewise.
2750         * rpc/clnt.h: Likewise.
2751         * rpc/netdb.h: Likewise.
2752         * rpc/pmap_clnt.h: Likewise.
2753         * rpc/pmap_prot.h: Likewise.
2754         * rpc/pmap_rmt.h: Likewise.
2755         * rpc/rpc.h: Likewise.
2756         * rpc/rpc_msg.h: Likewise.
2757         * rpc/svc.h: Likewise.
2758         * rpc/svc_auth.h: Likewise.
2759         * rpc/types.h: Likewise.
2760         * rpc/xdr.h: Likewise.
2761         * sched.h: Likewise.
2762         * search.h: Likewise.
2763         * set-hooks.h: Likewise.
2764         * setjmp.h: Likewise.
2765         * sgtty.h: Likewise.
2766         * shadow.h: Likewise.
2767         * signal.h: Likewise.
2768         * stab.def: Likewise.
2769         * stab.h: Likewise.
2770         * stdio.h: Likewise.
2771         * stdlib.h: Likewise.
2772         * string.h: Likewise.
2773         * strings.h: Likewise.
2774         * sys/bitypes.h: Likewise.
2775         * sys/cdefs.h: Likewise.
2776         * sys/dir.h: Likewise.
2777         * sys/errno.h: Likewise.
2778         * sys/fcntl.h: Likewise.
2779         * sys/file.h: Likewise.
2780         * sys/gmon.h: Likewise.
2781         * sys/ioctl.h: Likewise.
2782         * sys/ipc.h: Likewise.
2783         * sys/msg.h: Likewise.
2784         * sys/poll.h: Likewise.
2785         * sys/queue.h: Likewise.
2786         * sys/resource.h: Likewise.
2787         * sys/select.h: Likewise.
2788         * sys/sem.h: Likewise.
2789         * sys/shm.h: Likewise.
2790         * sys/signal.h: Likewise.
2791         * sys/socket.h: Likewise.
2792         * sys/stat.h: Likewise.
2793         * sys/statfs.h: Likewise.
2794         * sys/syslog.h: Likewise.
2795         * sys/termios.h: Likewise.
2796         * sys/time.h: Likewise.
2797         * sys/timeb.h: Likewise.
2798         * sys/times.h: Likewise.
2799         * sys/types.h: Likewise.
2800         * sys/uio.h: Likewise.
2801         * sys/un.h: Likewise.
2802         * sys/unistd.h: Likewise.
2803         * sys/utsname.h: Likewise.
2804         * sys/vlimit.h: Likewise.
2805         * sys/vtimes.h: Likewise.
2806         * sys/wait.h: Likewise.
2807         * syscall.h: Likewise.
2808         * syslog.h: Likewise.
2809         * tar.h: Likewise.
2810         * termios.h: Likewise.
2811         * time.h: Likewise.
2812         * ttyent.h: Likewise.
2813         * unistd.h: Likewise.
2814         * utime.h: Likewise.
2815         * utmp.h: Likewise.
2816         * values.h: Likewise.
2817         * wchar.h: Likewise.
2818         * wctype.h: Likewise.
2819         * wordexp.h: Likewise.
2820         * xlocale.h: Likewise.
2821         * xopen_lim.h: Likewise.
2823         * sysdeps/mach/libc-lock.h: Likewise.
2824         * sysdeps/stub/libc-lock.h: Likewise.
2825         * sysdeps/mach/hurd/local_lim.h: Likewise.
2826         * sysdeps/stub/local_lim.h: Likewise.
2827         * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
2828         * sysdeps/unix/sysv/local_lim.h: Likewise.
2829         * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
2830         * sysdeps/mach/hurd/posix_opt.h: Likewise.
2831         * sysdeps/stub/posix_opt.h: Likewise.
2832         * sysdeps/unix/bsd/posix_opt.h: Likewise.
2833         * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
2834         * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
2835         * math/cmathcalls.h: -> bits/
2836         * math/mathcalls.h: Likewise.
2837         * misc/stab.def: -> bits/
2838         * posix/posix1_lim.h: -> bits/
2839         * posix/posix2_lim.h: Likewise.
2840         * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
2841         * sysdeps/i386/fpu/__math.h: Likewise.
2842         * sysdeps/m68k/fpu/__math.h: Likewise.
2843         * sysdeps/m68k/fpu/switch/__math.h: Likewise.
2844         * sysdeps/powerpc/__math.h: Likewise.
2845         * sysdeps/stub/__math.h: Likewise.
2846         * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
2847         * sysdeps/arm/bytesex.h: Likewise.
2848         * sysdeps/i386/bytesex.h: Likewise.
2849         * sysdeps/m68k/bytesex.h: Likewise.
2850         * sysdeps/mips/bytesex.h: Likewise.
2851         * sysdeps/mips/dec/bytesex.h: Likewise.
2852         * sysdeps/mips/mipsel/bytesex.h: Likewise.
2853         * sysdeps/mips/p40/bytesex.h: Likewise.
2854         * sysdeps/sparc/bytesex.h: Likewise.
2855         * sysdeps/stub/bytesex.h: Likewise.
2856         * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
2857         * sysdeps/i386/fpu/fenvbits.h: Likewise.
2858         * sysdeps/m68k/fpu/fenvbits.h: Likewise.
2859         * sysdeps/powerpc/fenvbits.h: Likewise.
2860         * sysdeps/stub/fenvbits.h: Likewise.
2861         * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
2862         * sysdeps/arm/jmp_buf.h: Likewise.
2863         * sysdeps/i386/jmp_buf.h: Likewise.
2864         * sysdeps/m68k/jmp_buf.h: Likewise.
2865         * sysdeps/mips/jmp_buf.h: Likewise.
2866         * sysdeps/sparc/jmp_buf.h: Likewise.
2867         * sysdeps/powerpc/jmp_buf.h: Likewise.
2868         * sysdeps/stub/jmp_buf.h: Likewise.
2869         * sysdeps/vax/jmp_buf.h: Likewise.
2870         * sysdeps/generic/confname.h: -> bits/
2871         * sysdeps/unix/sysv/irix4/confname.h: Likewise.
2872         * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
2873         * sysdeps/generic/gnu/types.h: -> ../bits/types.h
2874         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
2875         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
2876         * sysdeps/generic/ioctl-types.h: -> bits/
2877         * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
2878         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
2879         * sysdeps/generic/iovec.h: -> .../bits/uio.h
2880         * sysdeps/unix/sysv/linux/iovec.h: Likewise.
2881         * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
2882         * sysdeps/i386/fpu/mathbits.h: Likewise.
2883         * sysdeps/m68k/fpu/mathbits.h: Likewise.
2884         * sysdeps/powerpc/mathbits.h: Likewise.
2885         * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
2886         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
2887         * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
2888         * sysdeps/generic/schedbits.h: -> .../bits/sched.h
2889         * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
2890         * sysdeps/generic/selectbits.h: -> .../bits/select.h
2891         * sysdeps/i386/selectbits.h: Likewise.
2892         * sysdeps/generic/sigaction.h: -> bits/
2893         * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
2894         * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
2895         * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
2896         * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
2897         * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
2898         * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
2899         * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
2900         * sysdeps/generic/sigset.h: -> bits/
2901         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
2902         * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
2903         * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
2904         * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
2905         * sysdeps/generic/socketbits.h: -> .../bits/socket.h
2906         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
2907         * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
2908         * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
2909         * sysdeps/generic/termbits.h: -> .../bits/termios.h
2910         * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
2911         * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
2912         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
2913         * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
2914         * sysdeps/unix/sysv/linux/termbits.h: Likewise.
2915         * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
2916         * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
2917         * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
2918         * sysdeps/gnu/utmpbits.h: Likewise.
2919         * sysdeps/unix/sysv/utmpbits.h: Likewise.
2920         * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
2921         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
2922         * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
2923         * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
2924         * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
2925         * sysdeps/unix/sysv/utsnamelen.h: Likewise.
2926         * sysdeps/generic/waitstatus.h: -> bits/
2927         * sysdeps/i386/huge_val.h: -> bits/
2928         * sysdeps/ieee754/huge_val.h: Likewise.
2929         * sysdeps/m68k/huge_val.h: Likewise.
2930         * sysdeps/stub/huge_val.h: Likewise.
2931         * sysdeps/vax/huge_val.h: Likewise.
2932         * sysdeps/ieee754/nan.h: Likewise.
2933         * sysdeps/stub/nan.h: Likewise.
2934         * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
2935         * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
2936         * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
2937         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
2938         * sysdeps/stub/sigcontext.h: Likewise.
2939         * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
2940         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
2941         * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
2942         * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
2943         * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
2944         * sysdeps/standalone/arm/errnos.h: Likewise.
2945         * sysdeps/stub/errnos.h: Likewise.
2946         * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
2947         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
2948         * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
2949         * sysdeps/stub/fcntlbits.h: Likewise.
2950         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2951         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2952         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2953         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2954         * sysdeps/unix/common/fcntlbits.h: Likewise.
2955         * sysdeps/unix/sysv/fcntlbits.h: Likewise.
2956         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2957         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2958         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2959         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
2960         * sysdeps/mach/hurd/ioctls.h: -> bits/
2961         * sysdeps/stub/ioctls.h: Likewise.
2962         * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
2963         * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
2964         * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
2965         * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
2966         * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
2967         * sysdeps/stub/statbuf.h: Likewise.
2968         * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
2969         * sysdeps/unix/bsd/statbuf.h: Likewise.
2970         * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
2971         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2972         * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
2973         * sysdeps/unix/sysv/statbuf.h: Likewise.
2974         * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
2975         * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
2976         * sysdeps/standalone/stdio_lim.h: -> bits/
2977         * sysdeps/stub/stdio_lim.h: Likewise.
2978         * sysdeps/stub/direntry.h: -> ../bits/dirent.h
2979         * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
2980         * sysdeps/unix/bsd/direntry.h: Likewise.
2981         * sysdeps/unix/common/direntry.h: Likewise.
2982         * sysdeps/unix/sysv/direntry.h: Likewise.
2983         * sysdeps/unix/sysv/linux/direntry.h: Likewise.
2984         * sysdeps/stub/elfclass.h: -> bits/
2985         * sysdeps/wordsize-32/elfclass.h: Likewise.
2986         * sysdeps/wordsize-64/elfclass.h: Likewise.
2987         * sysdeps/stub/signum.h: -> bits/
2988         * sysdeps/unix/bsd/signum.h: Likewise.
2989         * sysdeps/unix/bsd/sun/signum.h: Likewise.
2990         * sysdeps/unix/sysv/irix4/signum.h: Likewise.
2991         * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
2992         * sysdeps/unix/sysv/linux/signum.h: Likewise.
2993         * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
2994         * sysdeps/unix/sysv/signum.h: Likewise.
2995         * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
2996         * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
2997         * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
2998         * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
2999         * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
3000         * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
3001         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
3002         * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
3003         * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
3004         * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
3005         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
3006         * sysdeps/stub/timebits.h: -> .../bits/time.h
3007         * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
3008         * sysdeps/unix/sysv/linux/timebits.h: Likewise.
3009         * sysdeps/stub/waitflags.h: -> bits/
3010         * sysdeps/unix/bsd/waitflags.h: Likewise.
3011         * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
3012         * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
3013         * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
3014         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
3015         * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
3016         * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
3018         * argp/argp-fmtstream.h: Standardize the multiple-include protect.
3019         * argp/argp.h: Likewise.
3020         * catgets/nl_types.h: Likewise.
3021         * crypt/sysdeps/unix/crypt.h: Likewise.
3022         * ctype/ctype.h: Likewise.
3023         * db/db.h: Likewise.
3024         * db/mpool.h: Likewise.
3025         * db/ndbm.h: Likewise.
3026         * dirent/dirent.h: Likewise.
3027         * elf/dlfcn.h: Likewise.
3028         * elf/elf.h: Likewise.
3029         * elf/link.h: Likewise.
3030         * gmon/sys/gmon.h: Likewise.
3031         * gmon/sys/gmon_out.h: Likewise.
3032         * grp/grp.h: Likewise.
3033         * inet/aliases.h: Likewise.
3034         * inet/arpa/ftp.h: Likewise.
3035         * inet/arpa/inet.h: Likewise.
3036         * inet/arpa/telnet.h: Likewise.
3037         * inet/arpa/tftp.h: Likewise.
3038         * inet/netinet/ether.h: Likewise.
3039         * inet/netinet/icmp6.h: Likewise.
3040         * inet/netinet/in.h: Likewise.
3041         * inet/netinet/ip6.h: Likewise.
3042         * inet/protocols/routed.h: Likewise.
3043         * inet/protocols/rwhod.h: Likewise.
3044         * inet/protocols/talkd.h: Likewise.
3045         * inet/protocols/timed.h: Likewise.
3046         * intl/libintl.h: Likewise.
3047         * io/fcntl.h: Likewise.
3048         * io/fts.h: Likewise.
3049         * io/ftw.h: Likewise.
3050         * io/sys/poll.h: Likewise.
3051         * io/sys/stat.h: Likewise.
3052         * io/sys/statfs.h: Likewise.
3053         * io/utime.h: Likewise.
3054         * locale/locale.h: Likewise.
3055         * login/pty.h: Likewise.
3056         * login/utmp.h: Likewise.
3057         * malloc/malloc.h: Likewise.
3058         * malloc/obstack.h: Likewise.
3059         * math/complex.h: Likewise.
3060         * math/fenv.h: Likewise.
3061         * math/math.h: Likewise.
3062         * md5-crypt/md5.h: Likewise.
3063         * misc/ar.h: Likewise.
3064         * misc/err.h: Likewise.
3065         * misc/error.h: Likewise.
3066         * misc/fstab.h: Likewise.
3067         * misc/libgen.h: Likewise.
3068         * misc/nlist.h: Likewise.
3069         * misc/sys/cdefs.h: Likewise.
3070         * misc/sys/file.h: Likewise.
3071         * misc/sys/ioctl.h: Likewise.
3072         * misc/sys/queue.h: Likewise.
3073         * misc/sys/select.h: Likewise.
3074         * misc/sys/syslog.h: Likewise.
3075         * misc/sys/uio.h: Likewise.
3076         * misc/sysexits.h: Likewise.
3077         * misc/ttyent.h: Likewise.
3078         * nss/nss.h: Likewise.
3079         * posix/fnmatch.h: Likewise.
3080         * posix/getopt.h: Likewise.
3081         * posix/glob.h: Likewise.
3082         * posix/regex.h: Likewise.
3083         * posix/sys/times.h: Likewise.
3084         * posix/sys/types.h: Likewise.
3085         * posix/sys/utsname.h: Likewise.
3086         * posix/sys/wait.h: Likewise.
3087         * posix/tar.h: Likewise.
3088         * posix/unistd.h: Likewise.
3089         * posix/wordexp.h: Likewise.
3090         * pwd/pwd.h: Likewise.
3091         * resolv/arpa/nameser.h: Likewise.
3092         * resolv/netdb.h: Likewise.
3093         * resolv/resolv.h: Likewise.
3094         * resource/sys/resource.h: Likewise.
3095         * resource/sys/vlimit.h: Likewise.
3096         * resource/sys/vtimes.h: Likewise.
3097         * setjmp/setjmp.h: Likewise.
3098         * shadow/shadow.h: Likewise.
3099         * socket/sys/socket.h: Likewise.
3100         * socket/sys/un.h: Likewise.
3101         * stdlib/exit.h: Likewise.
3102         * stdlib/fmtmsg.h: Likewise.
3103         * stdlib/monetary.h: Likewise.
3104         * stdlib/stdlib.h: Likewise.
3105         * string/argz.h: Likewise.
3106         * string/envz.h: Likewise.
3107         * string/memory.h: Likewise.
3108         * string/string.h: Likewise.
3109         * string/strings.h: Likewise.
3110         * sunrpc/rpc/rpc.h: Likewise.
3111         * sunrpc/rpc/svc.h: Likewise.
3112         * sunrpc/rpc/types.h: Likewise.
3113         * sunrpc/rpc/xdr.h: Likewise.
3114         * termios/sys/ttychars.h: Likewise.
3115         * termios/termios.h: Likewise.
3117         * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
3118         * crypt/sysdeps/unix/crypt_util.c: Likewise.
3119         * dirent/dirent.h: Likewise.
3120         * elf/link.h: Likewise.
3121         * grp/fgetgrent.c: Likewise.
3122         * grp/grp.h: Likewise.
3123         * hurd/hurd/ioctl.h: Likewise.
3124         * inet/getnameinfo.c: Likewise.
3125         * inet/getnetgrent_r.c: Likewise.
3126         * inet/inet_ntoa.c: Likewise.
3127         * inet/netinet/in.h: Likewise.
3128         * io/fcntl.h: Likewise.
3129         * io/ftw.h: Likewise.
3130         * io/sys/stat.h: Likewise.
3131         * io/sys/statfs.h: Likewise.
3132         * io/utime.h: Likewise.
3133         * libio/_G_config.h: Likewise.
3134         * libio/libio.h: Likewise.
3135         * libio/libioP.h: Likewise.
3136         * libio/stdio.h: Likewise.
3137         * locale/duplocale.c: Likewise.
3138         * locale/freelocale.c: Likewise.
3139         * locale/lc-time.c: Likewise.
3140         * locale/setlocale.c: Likewise.
3141         * login/getutent_r.c: Likewise.
3142         * login/getutid_r.c: Likewise.
3143         * login/getutline_r.c: Likewise.
3144         * login/lastlog.h: Likewise.
3145         * login/pty.h: Likewise.
3146         * login/utmp.h: Likewise.
3147         * login/utmpname.c: Likewise.
3148         * malloc/mtrace.c: Likewise.
3149         * malloc/thread-m.h: Likewise.
3150         * math/complex.h: Likewise.
3151         * math/fenv.h: Likewise.
3152         * math/libm-test.c: Likewise.
3153         * math/math.h: Likewise.
3154         * misc/sgtty.h: Likewise.
3155         * misc/stab.h: Likewise.
3156         * misc/sys/ioctl.h: Likewise.
3157         * misc/sys/select.h: Likewise.
3158         * misc/sys/uio.h: Likewise.
3159         * misc/sys/ustat.h: Likewise.
3160         * misc/syslog.c: Likewise.
3161         * nis/nss_compat/compat-grp.c: Likewise.
3162         * nis/nss_compat/compat-pwd.c: Likewise.
3163         * nis/nss_compat/compat-spwd.c: Likewise.
3164         * nis/nss_nis/nis-alias.c: Likewise.
3165         * nis/nss_nis/nis-ethers.c: Likewise.
3166         * nis/nss_nis/nis-grp.c: Likewise.
3167         * nis/nss_nis/nis-hosts.c: Likewise.
3168         * nis/nss_nis/nis-netgrp.c: Likewise.
3169         * nis/nss_nis/nis-network.c: Likewise.
3170         * nis/nss_nis/nis-proto.c: Likewise.
3171         * nis/nss_nis/nis-publickey.c: Likewise.
3172         * nis/nss_nis/nis-pwd.c: Likewise.
3173         * nis/nss_nis/nis-rpc.c: Likewise.
3174         * nis/nss_nis/nis-service.c: Likewise.
3175         * nis/nss_nis/nis-spwd.c: Likewise.
3176         * nss_nisplus/nisplus-alias.c: Likewise.
3177         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3178         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3179         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3180         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3181         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3182         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3183         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3184         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3185         * nis/nss_nisplus/nisplus-service.c: Likewise.
3186         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3187         * nis/ypclnt.c: Likewise.
3188         * nss/getXXbyYY.c: Likewise.
3189         * nss/getXXent.c: Likewise.
3190         * nss/getXXent_r.c: Likewise.
3191         * nss/nss_db/db-XXX.c: Likewise.
3192         * nss/nss_db/db-alias.c: Likewise.
3193         * nss/nss_db/db-netgrp.c: Likewise.
3194         * nss/nss_files/files-XXX.c: Likewise.
3195         * nss/nss_files/files-alias.c: Likewise.
3196         * nss/nsswitch.c: Likewise.
3197         * posix/sched.h: Likewise.
3198         * posix/sys/types.h: Likewise.
3199         * posix/sys/utsname.h: Likewise.
3200         * posix/sys/wait.h: Likewise.
3201         * posix/unistd.h: Likewise.
3202         * pwd/fgetpwent.c: Likewise.
3203         * pwd/pwd.h: Likewise.
3204         * resource/sys/resource.h: Likewise.
3205         * setjmp/setjmp.h: Likewise.
3206         * shadow/fgetspent.c: Likewise.
3207         * shadow/lckpwdf.c: Likewise.
3208         * shadow/sgetspent.c: Likewise.
3209         * signal/signal.h: Likewise.
3210         * signal/sigsetops.c: Likewise.
3211         * socket/sys/socket.h: Likewise.
3212         * socket/sys/un.h: Likewise.
3213         * stdio/stdio.h: Likewise.
3214         * stdio-common/vfprintf.c: Likewise.
3215         * stdio-common/vfscanf.c: Likewise.
3216         * stdlib/atexit.c: Likewise.
3217         * stdlib/fmtmsg.c: Likewise.
3218         * stdlib/random.c: Likewise.
3219         * string/endian.h: Likewise.
3220         * sysdeps/alpha/w_sqrt.S: Likewise.
3221         * sysdeps/arm/__longjmp.S: Likewise.
3222         * sysdeps/arm/setjmp.S: Likewise.
3223         * sysdeps/generic/abort.c: Likewise.
3224         * sysdeps/generic/netinet/ip.h: Likewise.
3225         * sysdeps/generic/setenv.c: Likewise.
3226         * generic/sys/mman.h: Likewise.
3227         * sysdeps/i386/__longjmp.S: Likewise.
3228         * sysdeps/i386/setjmp.S: Likewise.
3229         * sysdeps/mach/hurd/dirstream.h: Likewise.
3230         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
3231         * sysdeps/posix/mk-stdiolim.c: Likewise.
3232         * sysdeps/powerpc/__longjmp.S: Likewise.
3233         * sysdeps/powerpc/setjmp.S: Likewise.
3234         * sysdeps/sparc/__longjmp.S: Likewise.
3235         * sysdeps/sparc/setjmp.S: Likewise.
3236         * sysdeps/standalone/close.c: Likewise.
3237         * sysdeps/standalone/filedesc.h: Likewise.
3238         * sysdeps/standalone/open.c: Likewise.
3239         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
3240         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
3241         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
3242         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
3243         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
3244         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3245         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3246         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
3247         * sysdeps/unix/dirstream.h: Likewise.
3248         * sysdeps/unix/i386/sysdep.S: Likewise.
3249         * sysdeps/unix/mips/sysdep.S: Likewise.
3250         * sysdeps/unix/mk-local_lim.c: Likewise.
3251         * sysdeps/unix/sparc/sysdep.S: Likewise.
3252         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3253         * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
3254         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3255         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3256         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3257         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3258         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
3259         * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
3260         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3261         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3262         * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
3263         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
3264         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
3265         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
3266         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
3267         * sysvipc/sys/ipc.h: Likewise.
3268         * sysvipc/sys/msg.h: Likewise.
3269         * sysvipc/sys/sem.h: Likewise.
3270         * sysvipc/sys/shm.h: Likewise.
3271         * termios/termios.h: Likewise.
3272         * time/localtime.c: Likewise.
3273         * time/sys/time.h: Likewise.
3274         * time/time.h: Likewise.
3275         * time/tzset.c: Likewise.
3277         * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
3278         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3279         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3280         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3281         * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
3283         * Makefile (headers): foo.h -> bits/foo.h.
3284         * dirent/Makefile: Likewise.
3285         * elf/Makefile: Likewise.
3286         * io/Makefile: Likewise.
3287         * login/Makefile: Likewise.
3288         * math/Makefile: Likewise.
3289         * misc/Makefile: Likewise.
3290         * posix/Makefile: Likewise.
3291         * resource/Makefile: Likewise.
3292         * setjmp/Makefile: Likewise.
3293         * signal/Makefile: Likewise.
3294         * socket/Makefile: Likewise.
3295         * stdio-common/Makefile: Likewise.
3296         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3297         * sysvipc/Makefile: Likewise.
3298         * termios/Makefile: Likewise.
3299         * time/Makefile: Likewise.
3300         * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
3301         * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
3302         * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
3303         ioctls.h, termbits.h.
3305         * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
3306         -> kernel_termios.h, sys/socketcall.h -> socketcall.h
3308         * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
3309         for getting the proper length on the ELF types to be friendly to
3310         non-gcc compilers.
3311         * posix/sys/types.h: Notice when int8_t and friends are defined
3312         and don't redefine them.
3313         * sysdeps/wordsize-32/inttypes.h: Likewise.
3314         * sysdeps/wordsize-64/inttypes.h: Likewise.
3316         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
3317         via <signal.h> instead.
3318         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
3319         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
3321 1997-06-20 17:59  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
3323         * hurd/intr-msg.c: More 64bit changes.
3324         * mach/msg-destroy.c: Likewise.
3325         * sysdeps/mach/hurd/ioctl.c: Likewise.
3326         * sysdeps/mach/hurd/ioctls.h: Likewise.
3327         * sysdeps/mach/hurd/select.c: Likewise.
3328         * sysdeps/mach/hurd/statbuf.h: Likewise.
3330         * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
3331         * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
3332         * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
3333         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
3334         * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
3335         * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
3336         * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
3337         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
3338         * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
3339         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
3340         * sysdeps/mach/mips/cacheflush.c: Likewise.
3341         * sysdeps/mach/mips/machine-lock.h: Likewise.
3342         * sysdeps/mach/mips/machine-sp.h: Likewise.
3343         * sysdeps/mach/mips/syscall.S: Likewise.
3344         * sysdeps/mach/mips/sysdep.h: Likewise.
3345         * sysdeps/mach/mips/thread_state.h: Likewise.
3346         * sysdeps/mach/start.c: Likewise.
3348         * sysdeps/mips/dl-machine.h: MIPS changes.
3349         * sysdeps/mips/elf/start.S: Likewise.
3350         * sysdeps/mips/init-first.c: Likewise.
3351         * sysdeps/mips/fpu_control.h: Likewise.
3352         * sysdeps/mips/machine-gmon.h: Likewise.
3353         * sysdeps/mips/jmp_buf.h: Likewise.
3354         * sysdeps/mips/__longjmp.c: Likewise.
3355         * sysdeps/mips/bsd-_setjmp.S: Likewise.
3356         * sysdeps/mips/bsd-setjmp.S: Likewise.
3357         * sysdeps/mips/setjmp.S: Likewise.
3358         * sysdeps/mips/setjmp_aux.c: Likewise.
3359         * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
3360         * sysdeps/mips/add_n.S: New file.
3361         * sysdeps/mips/addmul_1.S: Likewise.
3362         * sysdeps/mips/lshift.S: Likewise.
3363         * sysdeps/mips/mul_1.S: Likewise.
3364         * sysdeps/mips/rshift.S: Likewise.
3365         * sysdeps/mips/sub_n.S: Likewise.
3366         * sysdeps/mips/submul_1.S: Likewise.
3367         * sysdeps/mips/mips64/Implies: Likewise.
3368         * sysdeps/mips/mips64/add_n.S: Likewise.
3369         * sysdeps/mips/mips64/addmul_1.S: Likewise.
3370         * sysdeps/mips/mips64/lshift.S: Likewise.
3371         * sysdeps/mips/mips64/mul_1.S: Likewise.
3372         * sysdeps/mips/mips64/rshift.S: Likewise.
3373         * sysdeps/mips/mips64/sub_n.S: Likewise.
3374         * sysdeps/mips/mips64/submul_1.S: Likewise.
3375         * sysdeps/mips/add_n.S: Removed.
3376         * sysdeps/mips/addmul_1.S: Likewise.
3377         * sysdeps/mips/lshift.S: Likewise.
3378         * sysdeps/mips/mul_1.S: Likewise.
3379         * sysdeps/mips/rshift.S: Likewise.
3380         * sysdeps/mips/sub_n.S: Likewise.
3381         * sysdeps/mips/submul_1.S: Likewise.
3383         * nss/Makefile: Prepare for static NSS.
3384         * resolv/Makefile: Likewise.
3385         * nss/nsswitch.c: Add code for static NSS.
3386         * nss/function.def: Define functions for static NSS.
3388 1997-06-19 11:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3390         * libc.map: Add yet more symbols.
3392 1997-06-19 20:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3394         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
3395         as object name to _dl_signal_error.
3396         (do_lookup): Skip objects that could not be opened.
3398         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
3399         symbol was found.
3400         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3401         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
3403 1997-06-20 03:13  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
3405         * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
3406         assumed.
3407         * ctype/ctype.h: Likewise.
3408         * math/math_private.h: Likewise.
3409         * inet/netinet/in.h: Likewise.
3410         * wctype/wctype.h: Likewise.
3412         * nss/Makefile: Only inhibit nss_files and nss_db modules if static
3413         NSS modules are not enabled.
3414         * resolv/Makefile: Likewise for nss_dns.
3415         * nss/function.def: New file.  List all available lookup functions
3416         for static NSS.
3417         * nss/nsswitch.c: Add code for static NSS.
3419 1997-06-15 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3421         * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
3422         behaviour.
3424 1997-06-15 20:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3426         * math/libm.map: Add all necessary functions, correct existing entries.
3428 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
3430         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
3432 1997-06-19 18:43  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3434         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
3435         Compare pointer with NULL.
3437         * login/logout.c (logout): Compare pututline result with NULL.
3439 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
3441         * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
3443         * elf/dl-minimal.c (__dcgettext): Remove assertion.
3445         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
3447         * manual/Makefile (distribute): Add dir.
3448         * manual/dir: New file.
3450         * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
3451         s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
3452         and s_llround respectively.
3453         (libm-calls): Add e_gamma_r.
3454         * math/libm-test.c (check_int_exc): New function.
3455         (signbit_test): Remove test for sign of NaN.
3456         (gamma_test): Clear exception after test of existence.
3457         Correct tests and and epsilons.
3458         (lgamma_test): Likewise.
3459         (ilogb_test): Correct all tests.
3460         (scalb_test): Rewrite.
3461         (rinttol_test): Rename to lrint_test and correct tests.
3462         (rinttoll_test): Likewise.
3463         (roundtol_test): Likewise.
3464         (roundtoll_test): Likewise.
3465         (main): Call lrint/lround functions instead of rinttol/roundtol.
3466         * math/math.h: Change prototypes for rinttol/roundtol.
3467         * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
3468         * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
3469         * sysdeps/i386/mathbits.h: Likewise.
3470         * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
3471         * sysdeps/libm-i387/e_scalbf.S: Likewise.
3472         * sysdeps/libm-i387/e_scalbl.S: Likewise.
3473         * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
3474         * sysdeps/libm-i387/s_asinhf.S: Likewise.
3475         * sysdeps/libm-i387/s_asinhl.S: Likewise.
3476         * sysdeps/libm-i387/s_ilogb.S: Optimize.
3477         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3478         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
3479         * sysdeps/libm-i387/s_rinttol.S: Rename to...
3480         * sysdeps/libm-i387/s_lrint.S: ...this.
3481         * sysdeps/libm-i387/s_rinttoll.S: Rename to...
3482         * sysdeps/libm-i387/s_llrint.S: ...this.
3483         * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
3484         * sysdeps/libm-i387/s_remquof.S: Likewise.
3485         * sysdeps/libm-i387/s_remquol.S: Likewise.
3486         * sysdeps/libm-i387/e_gamma_r.c: New file.  Implementation of gamma
3487         function according to ISO C.
3488         * sysdeps/libm-i387/e_gammaf_r.c: New file.
3489         * sysdeps/libm-i387/e_gammal_r.c: New file.
3490         * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
3491         generation of exceptions away.
3492         * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
3493         * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
3494         points of gamma function when not SVID mode.
3495         * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
3496         * sysdeps/libm-i387/s_llrint.c: ...this.
3497         * sysdeps/libm-i387/s_rinttol.c: Renamed to...
3498         * sysdeps/libm-i387/s_lrint.c: ...this.
3499         * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
3500         * sysdeps/libm-i387/s_llround.c: ...this.
3501         * sysdeps/libm-i387/s_roundtol.c: Renamed to...
3502         * sysdeps/libm-i387/s_lround.c: ..this.
3503         * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
3504         ISO C.
3505         * sysdeps/libm-i387/s_scalbnf.c: Likewise.
3506         * sysdeps/libm-i387/s_scalbnl.c: Likewise.
3507         * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
3508         mode is not _SVID_.
3509         * sysdeps/libm-i387/w_gammaf.c: Likewise.
3510         * sysdeps/libm-i387/w_gammal.c: Likewise.
3511         * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
3512         rinttol to lrint.
3513         * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
3514         * sysdeps/m68k/fpu/s_lrint.c: ...this.
3515         * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
3516         * sysdeps/m68k/fpu/s_llrint.c: ...this.
3518         * md5-crypt/Makefile: Link md5test program with md5.o.
3520         * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
3521         is not exported by the libc.so.
3523         * stdio-common/vfscanf.c: Correct scanning of strings after last
3524         change.
3526         * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
3528 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
3530         * time/tzfile.c (__tzfile_read): Store getc () return in int.
3532 1997-06-13  Miles Bader  <miles@gnu.ai.mit.edu>
3534         * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
3535         the no-version error text to indicate that something's fucked.
3536         [!_] (N_): New macro.
3537         (argp_default_options, argp_version_options): Wrap doc strings in N_().
3539 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
3541         * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
3542         options here.
3543         (parser_parse_arg): Handle ARGP_KEY_ARGS here.
3544         Adjust NEXT pointer back if we fail to parse anything.
3545         (parser_parse_next): Simplify arg code.  Leave state NEXT frobbing
3546         to parser_parse_arg.
3548 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
3550         * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
3551         * argp/argp-parse.c (parser_finalize): Do another pass over the
3552         parsers with ARGP_KEY_FINI.
3554 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
3556         * string/Makefile (routines): Add argz-replace.
3558 1997-06-16 00:16  Miles Bader  <miles@gnu.ai.mit.edu>
3560         * manual/string.texi (Argz Functions): Document argz_replace.
3562 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
3564         * string/argz.h (__argz_replace, argz_replace): New declarations.
3565         * string/argz-replace.c: New file.
3567 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
3569         * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
3571 1997-06-16 23:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3573         * Makeconfig (libc-map): Remove definition.
3574         * Makerules (libc-map): Define it here, using the full name.
3575         (load-map-file): Remove case for empty $(..).
3576         ($(common-objpfx)libc.so): Revert last change.
3578 1997-06-17 22:18  Mark Kettenis  <kettenis@phys.uva.nl>
3580         * login/programs/utmpd.c (main): Improve signal handling.
3582         * login/programs/request.c (do_setutent, do_updwtmp):
3583         Allow arbitrary length filenames.
3584         * login/programs/utmpd.h (setutent_request, updwtmp_request):
3585         Get rid of fixed length file field.
3586         * login/utmp_daemon.c (do_setutent, do_updwtmp):
3587         Allow arbitrary length filenames.
3589         * login/programs/request.c (do_pututline):
3590         Don't fail if connection->position is -1 on entry.
3592 1997-06-15 16:32  Mark Kettenis  <kettenis@phys.uva.nl>
3594         * login/utmp_file.c (updwtmp_file): Use the same method for
3595         appending an entry as in pututline_file.
3597 1997-06-11 18:59  Mark Kettenis  <kettenis@phys.uva.nl>
3599         * login/utmp_file.c (getutent_r_file):
3600         Use read lock instead of write lock.
3601         (getutline_r_file, internal_getut_r): Lock utmp file.
3602         (updwtmp_file): Use fcntl to lock file instead of flock.
3604 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3606         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
3607         character read in/put back.
3608         * stdio-common/tstscanf.c: Add test case for this.
3610 1997-06-17 22:17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3612         * libc.map: Add more symbols.
3614 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
3616         * manual/Makefile (install): Make sure `dir' file exists if we use
3617         install-info.
3619 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3621         * manual/Makefile (info): Depend on dir-add.info.
3623 1997-06-17 17:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3625         * elf/ldd.bash.in: Fix spacing in message.
3627 1997-06-17 14:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3629         * elf/do-rel.h (elf_dynamic_do_rel): Always use version
3630         information if available.
3632 1997-06-17 11:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3634         * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
3635         command non-empty to force make to recheck modification time.
3636         ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
3638 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3640         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
3641         * sysdeps/stub/e_acosl.c: Likewise.
3642         * sysdeps/stub/e_asinl.c: Likewise.
3643         * sysdeps/stub/e_atan2l.c: Likewise.
3644         * sysdeps/stub/e_expl.c: Likewise.
3645         * sysdeps/stub/e_fmodl.c: Likewise.
3646         * sysdeps/stub/e_j0l.c: Likewise.
3647         * sysdeps/stub/e_j1l.c: Likewise.
3648         * sysdeps/stub/e_jnl.c: Likewise.
3649         * sysdeps/stub/e_lgammal_r.c: Likewise.
3650         * sysdeps/stub/e_log10l.c: Likewise.
3651         * sysdeps/stub/e_logl.c: Likewise.
3652         * sysdeps/stub/e_powl.c: Likewise.
3653         * sysdeps/stub/e_rem_pio2l.c: Likewise.
3654         * sysdeps/stub/e_sqrtl.c: Likewise.
3655         * sysdeps/stub/k_cosl.c: Likewise.
3656         * sysdeps/stub/k_rem_pio2l.c: Likewise.
3657         * sysdeps/stub/k_sinl.c: Likewise.
3658         * sysdeps/stub/k_tanl.c: Likewise.
3659         * sysdeps/stub/s_atanl.c: Likewise.
3660         * sysdeps/stub/s_erfl.c: Likewise.
3661         * sysdeps/stub/s_exp2.c: Likewise.
3662         * sysdeps/stub/s_exp2f.c: Likewise.
3663         * sysdeps/stub/s_exp2l.c: Likewise.
3664         * sysdeps/stub/s_expm1l.c: Likewise.
3665         * sysdeps/stub/s_log1pl.c: Likewise.
3666         * sysdeps/stub/s_log2l.c: Likewise.
3668 1997-06-18 11:46  Ulrich Drepper  <drepper@cygnus.com>
3670         * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
3671         result as before last change.
3672         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3673         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3675 1997-06-16 23:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3677         * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
3678         quotient.
3679         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
3680         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
3682         * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
3683         quotient.
3685         * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
3686         function.  Don't use global signgam.
3687         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3688         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3690         * math/Makefile (libm-calls): Remove w_gamma_r.
3691         * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
3692         * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
3693         * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
3695         * math/libm-test.c (atanh_test): Declare x only if needed.
3696         (signbit_test): Fix typo.
3697         (gamma_test): Check whether function is implemented.  Add
3698         epsilons.
3699         (lgamma_test): Likewise.
3700         (fmod_test): Add epsilons.
3701         (exp2_test): Use right function for existence test.
3703 1997-06-07 09:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3705         * sysdeps/powerpc/Dist: Add fenv_const.c.
3706         * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
3707         * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
3708         syscall.h.
3709         * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
3710         * string/Makefile (distribute): Add tst-svc.expect.
3711         * nis/Makefile (distribute): Add nis_intern.h and Banner.
3712         * elf/Makefile (distribute): Add dl-hash.h.
3713         * Rules (subdir_echo-distinfo): Add headers from $(distribute).
3715         * login/Makefile (others): Add utmpdump.
3716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3717         net/if_slip.h.
3719         * manual/Makefile (dir-add.texi): Also look in indirectly included
3720         files.
3722 1997-06-16 23:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3724         * sysdeps/unix/sysv/linux/configure.in: Remove commands to
3725         generate stdio_lim.h.
3726         * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
3727         * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
3728         stdio_lim.h here.
3729         (common-generated): Add generated files.
3730         (inhibit-stdio_lim): Define.
3731         * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
3732         to generate stdio_lim.h.
3734         * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
3735         dependecy files if no_deps is set.
3736         ($(objpfx)syscall-%.d): Add header file as target to dependency
3737         generation.
3739 1997-06-14 19:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3741         * sysdeps/unix/sysv/linux/arm/Dist: New file.
3743 1997-06-14 17:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3745         * extra-lib.mk (others): Depend on versioned shared library, not
3746         the unversioned one.
3747         * Makerules (build-shlib): Don't make the version link here.
3748         ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
3749         version link.
3751 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
3753         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
3754         01:13:56 1996.
3756 1997-06-16 00:54  Ulrich Drepper  <drepper@cygnus.com>
3758         * libc.map: Add more symbols.
3760         * Makerules (load-map-file): Currectly handle missing map file.
3762 1997-06-15 17:00  Philip Blundell  <Philip.Blundell@pobox.com>
3764         * configure.in: Correct detection of generic uname implementation.
3766 1997-06-15 23:19  Ulrich Drepper  <drepper@cygnus.com>
3768         * math/libm-test.c: Fix typos.  Patch by Andreas Jaeger.
3770         * libc.map: Add __nss_configure_lookup.  Reported by Thorsten Kukuk.
3772 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
3774         * Makeconfig: Define libc-map here.
3775         * Makefile: And remove definition here.
3776         * Makerules (load-map-file): Handle case where map file is in
3777         other directory.
3778         (build-shlib): Likewise.
3780         * libc.map: Add more symbols.
3781         * resolv/libresolv.map: Likewise.
3783         * db/libdb.map: Add __dbopen.  Patch by HJ Lu.
3785         * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
3787         * locale/programs/localedef.c: Add normalize_codeset function.  We
3788         don't want to use the _nl_normalize_codeset functions from libc.
3790         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
3791         * sysdeps/libm-i387/s_asinhf.S: Likewise.
3792         * sysdeps/libm-i387/s_asinhl.S: Likewise.
3793         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
3794         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
3795         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
3797 1997-06-14 12:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3799         * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
3801         * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
3803         * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
3804         _nss_nisplus_gethostbyaddr_r interface.
3806         * nis/libnsl.map: Add all GLOBAL functions.
3808 1997-06-13 18:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3810         * libm-test.c   (main): Call new tests, reorder tests.
3811         (fmod_test): Test function fmod.
3812         (nearbyint_test): Test function nearbyint.
3813         (acos_test): Add more test cases.
3814         (signbit_test): Test macro signbit.
3815         (output_result_bool): Output result if test fails.
3816         (asin_test): Add another test case.
3817         (atan2_test): Add more tests.
3818         (asinh_test): Add more tests.
3819         (atanh_test): Add more tests.
3820         (hypot_test): Add more tests.
3821         (isfinite_test): Test macro isfinite.
3822         (isnormal_test): Test macro isnormal.
3823         (sincos_test): Tests for sincos.
3824         (main): Enable remquo_test since the tests are
3825         correct (according to ANSI/IEEE 754-1985).
3826         (remquo_test): Corrected tests cases and added more tests.
3827         (remainder_test): Tests for remainder.
3828         (check_int): New Function to compare int values.
3829         (check_isnan_exc_ext): New function.
3830         (sqrt_test): Add some extra tests for sqrt.
3831         (erf_test): Tests for erf.
3832         (erfc_test): Tests for erfc.
3833         (gamma_test): Tests for gamma.
3834         (lgamma_test): Tests for lgamma.
3836 1997-06-08 10:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
3838         * sysdeps/unix/sysv/linux/configure.in: Try to generate
3839         stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
3840         * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
3841         stdio_lim.h.
3842         * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
3843         target C preprocessor to extract OPEN_MAX and PATH_MAX.
3845 1997-06-14 17:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3847         * math/libm.map: Add inline functions, global variables.
3849 1997-06-14 00:39  Ulrich Drepper  <drepper@cygnus.com>
3851         * libc.map: Add more libio functions which are used in libio.h.
3853         * login/Makefile (libutil-routines): Move updwtmp to ...
3854         (routines): ...here.
3855         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
3857         * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
3858         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3860 1997-06-13 21:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3862         * nis/nis_add.c (nis_add): Create object name only if not set.
3864         * nis/nis_clone.c: Use calloc instead of malloc to prevent
3865         RPC encode errors.
3867         * nis/nis_modify.c (nis_modify): Create default object entrys if
3868         given are NULL.
3869         * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
3871 1997-06-13 14:17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3874         * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
3875         define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
3876         * sysdeps/i386/submul_1.S: Likewise.
3878 1997-06-13 12:19  Ulrich Drepper  <drepper@cygnus.com>
3880         * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
3881         and LD_VERBOSE are given.
3883         * elf/ldd.sh.in: Add -v|--verbose option.  Add author information
3884         as per Coding Standard.
3885         * elf/ldd.bash.in: Likewise.
3887 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
3889         * Makefile (libc-map): Define before including Makerules.
3890         * Makerules (lib%.so): Depend on $(lib%-map).
3891         (build-shlib): Adapt rule for above change.
3892         (libc.so): Depend on $(libc-map).
3893         * db/Makefile (libcdb-map): New definition.
3894         * elf/Makefile (libdl-map): New definition.
3895         * elf/dl-lookup.c: Don't use relative include path.
3896         (undefined_msg): New variable.  Use single string in all functions.
3897         (do_lookup): Correctly recognize default version.
3898         Return -2 if no version information is available.
3899         Stop processing hash entries when string was found.
3900         Don't bark about missing versioned symbol in file with original
3901         reference if it is a weak symbol.
3902         (_dl_lookup_symbol): Use undefined_msg.
3903         (_dl_lookup_versioned_symbol): Likewise.
3904         Give extra information if no verdef info is available.
3905         * elf/dl-version.c (file_needed): Remove first argument.  We must
3906         seek in the whole search list.
3907         (match_symbol): Correct check for available verdef info.
3908         (_dl_check_map_versions): Correct call of find_needed.
3909         * locale/Makefile (libBrokenLocale-map): New definition.
3910         * login/Makefile (libutil-map): New definition.
3911         * math/Makefile (libm-map): New definition.
3912         * md5-crypt/Makefile (libcrypt-map): New definition.
3913         * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
3914         libnss_nisplus-map): New definition.
3915         * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
3916         * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
3917         * libc.map: New file.
3918         * db/libdb.map: New file.
3919         * elf/libdl.map: New file.
3920         * locale/libBrokenLocale.map: New file.
3921         * login/libutil.map: New file.
3922         * math/libm.map: New file.
3923         * md5-crypt/libcrypt.map: New file.
3924         * nis/libnss_compat.map: New file.
3925         * nis/libnsl.map: New file.
3926         * nis/libnss_nis.map: New file.
3927         * nis/libnss_nisplus.map: New file.
3928         * nss/libnss_files.map: New file.
3929         * nss/libnss_db.map: New file.
3930         * resolv/libnss_dns.map: New file.
3931         * resolv/libresolv.map: New file.
3933         * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
3934         for R_386_NONE entries.
3936         * Makefile (manual/dir-add.info): New rule.
3938         * Makerules: Add vpath definition for .x files.
3940         * Makerules (distinfo): Make sure target directory exists.
3942         * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
3943         since it is used to distinguish filtered strings from unmodifed
3944         strings.
3946         * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
3947         * elf/dl-reloc.c: Fix typo.
3949         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
3950         `unsigned short'.
3952         * manual/Makefile (dir-add.texi): Also emit wrapper text for
3953         info/install-info.
3954         (distribute): Add dir-add.texi and dir-add.info.
3955         (mostlyclean): Add dir-add.info.
3956         (realclean): Add dir-add.texi.
3957         (install): Add entries in `dir' file using install-info.
3959         * manual/libc.texinfo: Add @dircategory and @direntry text.
3960         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
3962         * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
3963         GLOB_NOMAGIC.  Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
3965         * nis/nis_addmember.c: Little optimizations.
3966         * nis/nis_call.c: Likewise.
3967         * nis/nis_creategroup.c: Likewise.
3968         * nis/nis_defaults.c: Likewise.
3969         * nis/nis_destroygroup.c: Likewise.
3970         * nis/nis_ismember.c: Likewise.
3971         * nis/nis_local_names.c: Likewise.
3972         * nis/nis_print_group_entry.c: Likewise.
3973         * nis/nis_verifygroup.c: Likewise.
3975         * posix/unistd.h: Fix comment for getcwd.
3977         * stdlib/Makefile (headers): Remove inttypes.h.  It's a system
3978         dependent header.
3979         * sysdeps/wordsize-32/Dist: New file.
3980         * sysdeps/wordsize-32/Makefile: New file.
3981         * sysdeps/wordsize-64/Dist: New file.
3982         * sysdeps/wordsize-64/Makefile: New file.
3984         * sunrpc/Makefile: Adopt comment for real situation.
3986         * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
3987         * sysdeps/i386/addmul_1.s: Likewise.
3988         * sysdeps/i386/lshist.s: Likewise.
3989         * sysdeps/i386/rshift.s: Likewise.
3990         * sysdeps/i386/sub_n.s: Likewise.
3991         * sysdeps/i386/submul_1.s: Likewise.
3993         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3994         Add .type and .size.
3996 1997-06-12 13:32  Philip Blundell  <Philip.Blundell@pobox.com>
3998         * libc/sysdeps/unix/arm/brk.S: New file.
3999         * libc/sysdeps/unix/arm/sysdep.S: Likewise.
4000         * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
4002 1997-06-11 11:51  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4004         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
4005         Check if we have shadow information.
4007 1997-06-08 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4009         * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
4010         malloc, alloc memory for nis_server struct.
4011         * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
4012         the nis_server struct free, too.
4014         * nis/nis_removemember (nis_removemember): Fix for loop.
4016 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
4018         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
4019         cannot rely on M_SQRT2 being defined.
4020         (log1p): Use __M_SQRT2 not M_SQRT2.
4021         * math/math.h (_Mldbl): Define even if M_* constants are not
4022         defined.
4023         Reported by corsepiu@faw.uni-ulm.de.
4025 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
4027         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
4029 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
4031         * misc/regexp.h (compile): Allow use of macro INIT for variable
4032         declaration.  Add documentation for INIT.
4033         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
4035 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
4037         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
4039 1997-06-10 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
4041         * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
4042         for a signed 16-bit value.
4044 1997-06-07 07:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
4046         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4047         (_dl_sysdep_read_whole_file): Deleted.
4049         * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
4050         to FE_ALL_INVALID.
4052         * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
4053         Changed to FE_INVALID_SOFTWARE.
4054         (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
4056         * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
4058 1997-06-07 18:48  H.J. Lu  <hjl@gnu.ai.mit.edu>
4060         * shlib-versions (.*-.*-linux.*): Set libc to 6.
4062 1997-06-08 15:35  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4064         * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
4066         * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
4067         * nis/nis_clone.c: Likewise.
4068         * nis/nis_removemember.c (nis_removemember): Likewise.
4069         * nis/nis_table.c: Likewise.
4071         * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
4072         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4074         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
4075         group == NULL.
4077 1997-06-08 21:21  Mark Kettenis  <kettenis@phys.uva.nl>
4079         * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
4080         login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
4081         `#ifndef _LIBC' fragments.
4083         * login/programs/utmpd.c: Define DEFAULT_USER.
4084         (drop_priviliges): Use it.
4085         (main): Set locale and text domain.
4087         * login/programs/utmpd-private.h: Declare proc_utmp_eq.
4088         * login/programs/database.c (proc_utmp_eq): Removed.
4089         * login/programs/request.c (proc_utmp_eq): Made global.  Only use
4090         ut_id field if valid.
4092         * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
4093         Bader that was lost when adding the daemon backend; Only use ut_id
4094         field if valid.
4096 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4098         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
4099         netinet/icmp.h, add netatalk/at.h.
4100         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
4101         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
4103 1997-06-04 19:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4105         * stdlib/testsort.c (compare): Fix parameter types.
4107 1997-06-04 19:05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4109         * md5-crypt/Makefile (distribute): Fix name of file.
4111 1997-06-04 19:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4113         * login/Makefile (utmpd-routines): Remove utmpd again, which is
4114         already added implicitly through $(others).
4116 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
4118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
4120 1997-06-05 13:25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4122         * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
4124 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
4126         * string/argz-addsep.c: Correct weak alias.
4127         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
4129         * locale/setlocale.c (setlocale): Free variable with locale path
4130         before returning.
4131         (setname): Don't test for _nl_current[category] being NULL before
4132         freeing.
4133         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
4135 1997-06-04 12:41  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4137         * manual/intro.texi (XPG): Correct some typos.
4139 1997-06-04 05:09  Miles Bader  <miles@gnu.ai.mit.edu>
4141         * argp/argp-help.c (_help): Use uparams.usage_indent instead of
4142         the USAGE_INDENT macro.
4144         * manual/summary.awk: Strip trailing commas from node-names.
4146         * manual/.cvsignore: Ignore chapters-incl[12] rather than
4147         chapters-incl.
4149         * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
4150         single line.
4152         * manual/string.texi (Argz Functions, Envz Functions): Add magic
4153         comments for generating summary.texi.
4155 1997-06-02 22:18  Miles Bader  <miles@gnu.ai.mit.edu>
4157         * manual/argp.texi: New file.
4158         * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
4159         manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
4160         * manual/Makefile [chapters] (chapters-incl1): New rule & include.
4161         [chapters-incl1] (chapters-incl2): New rule & include.
4162         (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
4163         * manual/maint.texi (Contributors): Give myself credit.
4165 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
4167         * manual/getopt.texi: New file.
4168         * manual/startup.texi: Mention argp_parse in places that
4169         previously mentioned only getopt.
4170         Include getopt.texi (now containing all the getopt nodes that used
4171         to be here) and argp.texi.
4172         (Program Arguments): Move parsing bits into the new Parsing
4173         Program Arguments node.
4174         (Parsing Program Arguments): New node.
4175         (Parsing Options, Example of Getopt, Long Options, Long Option
4176         Example): Nodes removed.
4177         * manual/libc.texinfo (Program Arguments): Menu updated.
4178         (Parsing Program Arguments): New menu.
4180 1997-06-04 20:57  Ulrich Drepper  <drepper@cygnus.com>
4182         * manual/string.texi: Add comments to discourage use of index and
4183         rindex.
4184         (strtok, strsep): Apply function on copy of the strings in example.
4185         (l64a): Add example.
4187         * posix/unistd.h: Correct value for _POSIX_VERSION.
4189         * sunrpc/Makefile (defines): Remove definition.
4191         * sysdeps/ieee754/nan.h: Correct typo.
4193 1997-06-04 10:50  Fila Kolodny  <fila@ibi.com>
4195         * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
4197         * login/utmp_daemon.c: Correct location of utmpd.h.
4199 1997-06-03 19:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4201         * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
4202         $(objpfx)distinfo.
4203         * rpm/Makefile (distinfo): Adapted.
4205 1997-06-03 18:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4207         * rpm/Makefile (install-slib): Collect shared libraries here
4208         instead of in install-lib, including libc.
4209         (instvars): Add slib.
4211 1997-06-03 18:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4213         * login/Makefile (libutil-routines): Add updwtmp.
4215 1997-06-03 16:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4217         * monetary.h: New file, needed for localedata/tst-fmon.c.
4219 1997-06-02 20:31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4221         * math/libm-test.c (cpow_test): Add epsilon for long double in
4222         test for 2^10.
4223         (identities): Add epsilon for float in second identity test.
4225         * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
4226         DI and SI mode integers instead of bytes.  Fix value of HUGE_VALL.
4228         * sysdeps/m68k/nan.h: New file.
4230         * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
4231         islessequal, islessgreater, isunordered): Fix assembler syntax.
4233         * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
4234         optimize out the operations.
4236         * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
4237         constant.
4238         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
4239         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
4241         * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
4242         function.
4243         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4244         * sysdeps/libm-ieee754/s_fdim.c: Likewise.
4245         * sysdeps/libm-ieee754/s_fmax.c: Likewise.
4246         * sysdeps/libm-ieee754/s_fmin.c: Likewise.
4247         * sysdeps/libm-ieee754/s_log2.c: Likewise.
4248         * sysdeps/libm-ieee754/s_nan.c: Likewise.
4249         * sysdeps/libm-ieee754/s_remquo.c: Likewise.
4251 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
4253         * elf/dl-support.c: Define and initialize _dl_verbose used in
4254         dl-machine.h.
4256         * io/ftw.c: Expand stat/lstat calls.
4258         * manual/intro.texi: Also refer to ISO 9945.
4259         Update info about SVID.
4260         Add description for XPG.
4262         * md5-crypt/md5-crypt.c: Namespace cleanups.
4263         * md5-crypt/md5.c: Likewise.
4264         * md5-crypt/md5.h: Likewise.
4265         * sysdeps/generic/crypt-entry.c: Likewise.
4267         * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
4269         * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
4270         defined.
4272         * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
4273         * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
4275         * time/Makefile: Make tzselect depend on config.make.
4277 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
4279         * manual/string.texi (String and Array Utilities): Add `Argz and
4280         Envz Vectors' to the menu.
4281         (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
4283 1997-05-31 20:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4285         * login/Makefile (utmpd-routines): Add utmpd.
4286         (extra-objs): Add utmpd objects to get dependencies.
4287         (distribute): Add sources for utmpd.
4288         (subdir-dirs): Define.
4290 1997-06-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
4292         * sysdeps/wordsize-32/inttypes.h: Include features.h and use
4293         __CONCAT instead of defined __CONCAT__ ourself.
4294         * sysdeps/wordsize-64/inttypes.h: Likewise.
4296 1997-06-01 19:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4298         * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
4299         (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
4300         SCNoFAST, SCNxFAST): Correct format specifiers.
4302 1997-06-02 04:23  Ulrich Drepper  <drepper@cygnus.com>
4304         * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
4306 1997-06-01 19:17  Ulrich Drepper  <drepper@cygnus.com>
4308         * md5-crypt/Makefile: Correct libmd5crypt file to really generate
4309         DES free libcrypt.
4310         * md5-crypt/onlymd5-entry.c: New file.  Wrapper around
4311         sysdeps/generic/crypt-entry.c.
4313 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
4315         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
4316         type to `unsigned long int'.
4317         Patch by Richard Henderson <richard@twiddle.rth.home>.
4319 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4321         * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
4322         declaration style.
4324         * nss/nss_files/files-hosts.c: Delete inclusion of
4325         "../resolv/mapv4v6hostent.h".
4327 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
4329         * io/ftwtest-sh: More tests.
4331         * misc/tsearch.c: Rewrite tdestroy_recursive.
4333         * libio/libio.h: Define bits for libg++-2.8.
4335 1997-05-30 22:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4337         * nis/nss_nis/nis-hosts.c: Same changes as in
4338         nss/nss_files/files-hosts.c (Always use inet_pton).
4339         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4341 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
4343         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
4344         plan on doing so ever again.  Don't say alpha-linuxecoff is known
4345         to work.
4347         * elf/dl-lookup.c: Include <alloca.h>.
4348         * misc/tsearch.c: Include <string.h>.
4349         * posix/execle.c: Include <alloca.h>.
4350         * posix/execlp.c: Likewise.
4351         * stdio-common/printf_fphex.c: Include <string.h>.
4352         * sunrpc/xdr.c: Include <string.h>.
4353         * sysdeps/generic/memccpy.c: Include only <string.h>.
4355         * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
4356         parameters to network functions.
4357         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4358         * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
4359         (rendezvous_request): Likewise.
4360         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4361         (svcudp_recv): Similar, but go through a local variable.  The old code
4362         used &xprt->xp_addrlen.  Someone should determine if the type of the
4363         structure member should be changed instead.
4364         * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
4365         and transform a nonsense for-loop to a closed form calculation.
4366         (fill_input_buf): Another ptr->int warning.
4368         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
4369         will last until I figure out how to build a parallel libm_ieee.
4371         * sysdeps/alpha/fpu/fclrexcpt.c,
4372         * sysdeps/alpha/fpu/fegetenv.c,
4373         * sysdeps/alpha/fpu/fegetround.c,
4374         * sysdeps/alpha/fpu/feholdexcpt.c,
4375         * sysdeps/alpha/fpu/fenvbits.h,
4376         * sysdeps/alpha/fpu/fesetenv.c,
4377         * sysdeps/alpha/fpu/fesetround.c,
4378         * sysdeps/alpha/fpu/feupdateenv.c,
4379         * sysdeps/alpha/fpu/fgetexcptflg.c,
4380         * sysdeps/alpha/fpu/fraiseexcpt.c,
4381         * sysdeps/alpha/fpu/fsetexcptflg.c,
4382         * sysdeps/alpha/fpu/ftestexcept.c: New files.  There is, btw, a small
4383         kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
4384         this to work properly.
4386         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
4387         FP mode to round to nearest, no exceptions as for Intel.
4388         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
4389         (rdfpcr): Use excb rather than trapb.  Be more efficient about
4390         getting at the fpcr.
4391         (wrfpcr): Likewise.
4392         (__setfpucw): Reformat.
4394         * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
4395         a single DI-mode integer instead of bytes.  This produces better code
4396         on Alpha.  Similar for HUGE_VALF.
4397         * sysdeps/ieee754/nan.h: Similar for NAN.  Add NANF and NANL.
4399         * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
4401         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
4402         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
4403         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
4404         sure the stack frame is released the very instruction before the
4405         real jump out.
4406         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4407         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4409         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
4410         have gotten from <linux/posix_types.h>.
4412         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
4414 1997-05-30 13:05  Ulrich Drepper  <drepper@cygnus.com>
4416         * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
4417         warnings.
4419 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4421         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
4422         correct value for _POSIX_VDISABLE.
4424 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4426         * Makefile (manual/dir-add.texi): Force execution.
4428 1997-05-29 13:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4430         * sysexits.h: New file.
4432 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4434         * stdlib/strfmon.c: Don't run past EOS after `='.
4436 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
4438         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
4439         * io/ftw.h: Update for new implementation and XPG4.2.
4440         * io/Makefile (test-srcs): Add ftwtest.
4441         (distribute): Add ftwtest-sh.
4442         (tests): Call ftwtest-sh for this goal.
4443         * io/ftwtest-sh: New file.  Sets up test environment, calls test
4444         program and compares the result.
4445         * io/ftwtest.c: Test program for ftw.
4447         * misc/search.h: Add comments.  Declare tdestroy.
4448         * misc/tsearch.c (tdestroy): New function.
4450         * login/Makefile: Update for UTMP daemon implementation.
4452         Update resolver code to bind-4.9.6-T1A.
4453         * resolv/Banner: Update.
4454         * nss/digits_dots.c: Adapt text address matching to T1A.
4455         * nss/nss_files/files-hosts.c: Always use inet_pton.
4456         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
4457         it would lead to warnings.
4458         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
4459         at several places.
4460         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
4461         * resolv/res_comp.c (dn_expand): Check for overflow.
4462         (dn_comp): Likewise.
4463         * resolv/res_debug.c (precsize_aton): Better implementation.
4464         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
4465         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
4466         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
4467         length at several places.
4469 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
4471         * login/utmp-private.h (struct utfuncs): Add one more parameter
4472         to updwtmp function.
4473         Declare all three function jump tables.
4474         * login/utmp.h: Declare __utmpname.
4475         * login/getutent_r.c: Remove db backend and provide support for
4476         utmpd backend.
4477         * login/login.c: Use `updwtmp' function insteead of writing the
4478         record ourself.
4479         * login/logwtmp.c: Move `updwtmp' function to...
4480         * login/updwtmp.c: ...here.  New file.
4481         * login/utmp_db.h: Removed.
4482         * login/utmp_file.c: Add updwtmp function to write to file.
4483         * login/utmp_daemon.c: New file.  Daemon backend.
4484         * login/utmpname.c: New file.  Implementation of utmpname function.
4485         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
4486         * login/utmpd/connection.c: New file.
4487         * login/utmpd/database.c: New file.
4488         * login/utmpd/error.c: New file.
4489         * login/utmpd/request.c: New file.
4490         * login/utmpd/utmpd-private.h: New file.
4491         * login/utmpd/utmpd.c: New file.
4492         * login/utmpd/utmpd.h: New file.
4493         * login/utmpd/xtmp.c: New file.
4494         * login/utmpd/xtmp.h: New file.
4496 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
4498         * time/strftime.c: Correct/normalize indentation in cpp directives.
4500 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
4502         * nis/nis_error.c: Include <string.h> to fix warning.
4503         * nis/nis_print.c: Likewise.
4504         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
4505         is int* not size_t*.
4507 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4509         * math/cmathcalls.h: Correct typo in comment.
4511         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
4513         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
4514         IFNAMSIZ.
4516         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
4517         time_t.
4519         * login/pty.h: Include <ioctl-types.h> for definition of struct
4520         winsize.
4522         * misc/regexp.h (compile): Correct typo.
4524         * argp/argp.h: Put extern before __const in defintion of
4525         argp_program_bug_address.
4527 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
4529         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
4530         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
4531         * sysdeps/wordsize-64/inttypes.h: Likewise.
4532         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4534 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
4536         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
4537         ttydefaults.h file instead of non-existing version in termios/sys.
4538         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4540         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
4541         number to four digits and to representable range for 4 byte time_t
4542         values.
4543         Patch by H.J. Lu <hjl@lucon.org>.
4545 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
4547         * posix/execl.c: Include <alloca.h> to avoid warning.
4549 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4551         * math/libm-test.c: Implement testing of inlined functions, make
4552         output nicer, update comments.
4554         * math/test-idouble.c: New file.  Frontend for double tests of
4555         inlined functions.
4556         * math/test-ildoubl.c: New file.  Frontend for long double tests of
4557         inlined functions.
4558         * math/test-ifloat.c: New file.  Frontend for float tests of
4559         inlined functions.
4561         * math/test-longdouble.c: Rename to...
4562         * math/test-ldouble.c: ...this.
4564         * math/Makefile: Add rules for new test programs, change rules for
4565         renaming of longdouble test.
4567 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
4569         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
4570         (svc_register): Use __dispatch_fn_t in prototype.
4572 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
4574         * sysdeps/generic/bzero.c (bzero): Fix typo.
4575         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
4577 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4579         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
4581         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
4583         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
4585         * signal/tst-signal.c (handler): Correct function declaration to
4586         avoid warning.
4587         * stdlib/testsort.c (compare): Likewise.
4588         * string/tester.c: Likewise.
4590 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
4592         * argp/argp-help.c (argp_args_usage): Supply correct argp to
4593         filter_doc.
4595 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4597         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
4598         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
4599         with libm.
4601 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4603         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
4604         instead of explicit comparisons.
4606 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4608         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
4609         place in a generic header and is no user include file.
4611 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
4613         * stdio/obstream.c (obstack_printf): Fix bug in
4614         de-ansidecl-fication.
4615         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4617 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
4619         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
4620         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
4621         environments in which linking is not possible at configure time
4622         (since te libc is just build).
4623         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
4625         * time/scheck.c (scheck): Make 2nd parameter const.
4626         * time/private.h: Likewise.
4628 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
4630         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
4631         state array only at right place.
4632         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
4634         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
4635         [0.5,1.0) but really in [0.0, 1.0).
4636         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
4638 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
4640         * shlib-versions: Provide Linux/SPARC defaults.
4642 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
4644         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
4645         * stdlib/strtof_l.c: Likewise.
4646         * stdlib/strtol_l.c: Likewise.
4647         * stdlib/strtold_l.c: Likewise.
4648         * stdlib/strtoll_l.c: Likewise.
4649         * stdlib/strtoul_l.c: Likewise.
4650         * stdlib/strtoull_l.c: Likewise.
4652 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4654         * hurd/dtable.c: De-ansidecl-fy.
4655         * math/test-math.c: Likewise.
4656         * signal/tst-signal.c: Likewise.
4657         * stdio/getc.c: Likewise.
4658         * stdio/obstream.c: Likewise.
4659         * stdio/putc.c: Likewise.
4660         * stdio-common/bug1.c: Likewise.
4661         * stdio-common/bug2.c: Likewise.
4662         * stdio-common/bug6.c: Likewise.
4663         * stdio-common/fscanf.c: Likewise.
4664         * stdlib/testsort.c: Likewise.
4665         * string/tester.c: Likewise.
4666         * sysdeps/am29k/ffs.c: Likewise.
4667         * sysdeps/generic/bb_init_func.c: Likewise.
4668         * sysdeps/generic/bcopy.c: Likewise.
4669         * sysdeps/generic/bzero.c: Likewise.
4670         * sysdeps/generic/div.c: Likewise.
4671         * sysdeps/generic/ffs.c: Likewise.
4672         * sysdeps/generic/memccpy.c: Likewise.
4673         * sysdeps/generic/memcpy.c: Likewise.
4674         * sysdeps/generic/memmove.c: Likewise.
4675         * sysdeps/generic/memset.c: Likewise.
4676         * sysdeps/generic/vfork.c: Likewise.
4677         * sysdeps/generic/vtimes.c: Likewise.
4678         * sysdeps/i386/bzero.c: Likewise.
4679         * sysdeps/i386/ffs.c: Likewise.
4680         * sysdeps/i960/ffs.c: Likewise.
4681         * sysdeps/m68k/ffs.c: Likewise.
4682         * sysdeps/m88k/ffs.c: Likewise.
4683         * sysdeps/mach/hurd/_exit.c: Likewise.
4684         * sysdeps/mach/hurd/accept.c: Likewise.
4685         * sysdeps/mach/hurd/access.c: Likewise.
4686         * sysdeps/mach/hurd/adjtime.c: Likewise.
4687         * sysdeps/mach/hurd/bind.c: Likewise.
4688         * sysdeps/mach/hurd/brk.c: Likewise.
4689         * sysdeps/mach/hurd/chdir.c: Likewise.
4690         * sysdeps/mach/hurd/chflags.c: Likewise.
4691         * sysdeps/mach/hurd/chmod.c: Likewise.
4692         * sysdeps/mach/hurd/chown.c: Likewise.
4693         * sysdeps/mach/hurd/chroot.c: Likewise.
4694         * sysdeps/mach/hurd/close.c: Likewise.
4695         * sysdeps/mach/hurd/connect.c: Likewise.
4696         * sysdeps/mach/hurd/defs.c: Likewise.
4697         * sysdeps/mach/hurd/dup2.c: Likewise.
4698         * sysdeps/mach/hurd/execve.c: Likewise.
4699         * sysdeps/mach/hurd/fchdir.c: Likewise.
4700         * sysdeps/mach/hurd/fchflags.c: Likewise.
4701         * sysdeps/mach/hurd/fchmod.c: Likewise.
4702         * sysdeps/mach/hurd/fchown.c: Likewise.
4703         * sysdeps/mach/hurd/fcntl.c: Likewise.
4704         * sysdeps/mach/hurd/fdopen.c: Likewise.
4705         * sysdeps/mach/hurd/flock.c: Likewise.
4706         * sysdeps/mach/hurd/fsync.c: Likewise.
4707         * sysdeps/mach/hurd/ftruncate.c: Likewise.
4708         * sysdeps/mach/hurd/getdtsz.c: Likewise.
4709         * sysdeps/mach/hurd/getegid.c: Likewise.
4710         * sysdeps/mach/hurd/geteuid.c: Likewise.
4711         * sysdeps/mach/hurd/getgid.c: Likewise.
4712         * sysdeps/mach/hurd/getgroups.c: Likewise.
4713         * sysdeps/mach/hurd/gethostid.c: Likewise.
4714         * sysdeps/mach/hurd/gethostname.c: Likewise.
4715         * sysdeps/mach/hurd/getitimer.c: Likewise.
4716         * sysdeps/mach/hurd/getlogin.c: Likewise.
4717         * sysdeps/mach/hurd/getpeername.c: Likewise.
4718         * sysdeps/mach/hurd/getpgid.c: Likewise.
4719         * sysdeps/mach/hurd/getpid.c: Likewise.
4720         * sysdeps/mach/hurd/getppid.c: Likewise.
4721         * sysdeps/mach/hurd/getsockname.c: Likewise.
4722         * sysdeps/mach/hurd/getsockopt.c: Likewise.
4723         * sysdeps/mach/hurd/getuid.c: Likewise.
4724         * sysdeps/mach/hurd/ioctl.c: Likewise.
4725         * sysdeps/mach/hurd/isatty.c: Likewise.
4726         * sysdeps/mach/hurd/link.c: Likewise.
4727         * sysdeps/mach/hurd/listen.c: Likewise.
4728         * sysdeps/mach/hurd/lseek.c: Likewise.
4729         * sysdeps/mach/hurd/mkdir.c: Likewise.
4730         * sysdeps/mach/hurd/open.c: Likewise.
4731         * sysdeps/mach/hurd/pipe.c: Likewise.
4732         * sysdeps/mach/hurd/read.c: Likewise.
4733         * sysdeps/mach/hurd/readlink.c: Likewise.
4734         * sysdeps/mach/hurd/reboot.c: Likewise.
4735         * sysdeps/mach/hurd/recv.c: Likewise.
4736         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4737         * sysdeps/mach/hurd/rename.c: Likewise.
4738         * sysdeps/mach/hurd/rewinddir.c: Likewise.
4739         * sysdeps/mach/hurd/rmdir.c: Likewise.
4740         * sysdeps/mach/hurd/sbrk.c: Likewise.
4741         * sysdeps/mach/hurd/seekdir.c: Likewise.
4742         * sysdeps/mach/hurd/select.c: Likewise.
4743         * sysdeps/mach/hurd/setegid.c: Likewise.
4744         * sysdeps/mach/hurd/seteuid.c: Likewise.
4745         * sysdeps/mach/hurd/setgid.c: Likewise.
4746         * sysdeps/mach/hurd/setgroups.c: Likewise.
4747         * sysdeps/mach/hurd/sethostid.c: Likewise.
4748         * sysdeps/mach/hurd/sethostname.c: Likewise.
4749         * sysdeps/mach/hurd/setlogin.c: Likewise.
4750         * sysdeps/mach/hurd/setpgid.c: Likewise.
4751         * sysdeps/mach/hurd/setregid.c: Likewise.
4752         * sysdeps/mach/hurd/setreuid.c: Likewise.
4753         * sysdeps/mach/hurd/setrlimit.c: Likewise.
4754         * sysdeps/mach/hurd/setsid.c: Likewise.
4755         * sysdeps/mach/hurd/setsockopt.c: Likewise.
4756         * sysdeps/mach/hurd/settimeofday.c: Likewise.
4757         * sysdeps/mach/hurd/setuid.c: Likewise.
4758         * sysdeps/mach/hurd/shutdown.c: Likewise.
4759         * sysdeps/mach/hurd/sigaction.c: Likewise.
4760         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
4761         * sysdeps/mach/hurd/sigpending.c: Likewise.
4762         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
4763         * sysdeps/mach/hurd/sigstack.c: Likewise.
4764         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
4765         * sysdeps/mach/hurd/socket.c: Likewise.
4766         * sysdeps/mach/hurd/socketpair.c: Likewise.
4767         * sysdeps/mach/hurd/stdio_init.c: Likewise.
4768         * sysdeps/mach/hurd/symlink.c: Likewise.
4769         * sysdeps/mach/hurd/sync.c: Likewise.
4770         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
4771         * sysdeps/mach/hurd/telldir.c: Likewise.
4772         * sysdeps/mach/hurd/truncate.c: Likewise.
4773         * sysdeps/mach/hurd/umask.c: Likewise.
4774         * sysdeps/mach/hurd/unlink.c: Likewise.
4775         * sysdeps/mach/hurd/wait4.c: Likewise.
4776         * sysdeps/mach/hurd/utimes.c: Likewise.
4777         * sysdeps/mach/hurd/write.c: Likewise.
4778         * sysdeps/mach/adjtime.c: Likewise.
4779         * sysdeps/mach/gettimeofday.c: Likewise.
4780         * sysdeps/mach/usleep.c: Likewise.
4781         * sysdeps/mips/__longjmp.c: Likewise.
4782         * sysdeps/posix/clock.c: Likewise.
4783         * sysdeps/posix/ctermid.c: Likewise.
4784         * sysdeps/posix/defs.c: Likewise.
4785         * sysdeps/posix/dup.c: Likewise.
4786         * sysdeps/posix/libc_fatal.c: Likewise.
4787         * sysdeps/posix/stdio_init.c: Likewise.
4788         * sysdeps/rs6000/ffs.c: Likewise.
4789         * sysdeps/sparc/e_sqrt.c: Likewise.
4790         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
4791         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
4792         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
4793         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
4794         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
4795         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
4796         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
4797         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
4798         * sysdeps/standalone/brk.c: Likewise.
4799         * sysdeps/stub/_exit.c: Likewise.
4800         * sysdeps/stub/brdinit.c: Likewise.
4801         * sysdeps/stub/console.c: Likewise.
4802         * sysdeps/stub/defs.c: Likewise.
4803         * sysdeps/stub/errlist.c: Likewise.
4804         * sysdeps/stub/libc_fatal.c: Likewise.
4805         * sysdeps/stub/siglist.c: Likewise.
4806         * sysdeps/stub/stdio_init.c: Likewise.
4807         * sysdeps/stub/strtsupp.c: Likewise.
4808         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
4809         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
4810         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
4811         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
4812         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
4813         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
4814         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
4815         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
4816         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
4817         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4818         * sysdeps/unix/bsd/clock.c: Likewise.
4819         * sysdeps/unix/bsd/gtty.c: Likewise.
4820         * sysdeps/unix/bsd/init-posix.c: Likewise.
4821         * sysdeps/unix/bsd/setgid.c: Likewise.
4822         * sysdeps/unix/bsd/setrgid.c: Likewise.
4823         * sysdeps/unix/bsd/setruid.c: Likewise.
4824         * sysdeps/unix/bsd/setuid.c: Likewise.
4825         * sysdeps/unix/bsd/stty.c: Likewise.
4826         * sysdeps/unix/bsd/telldir.c: Likewise.
4827         * sysdeps/unix/bsd/ualarm.c: Likewise.
4828         * sysdeps/unix/common/glue-ctype.c: Likewise.
4829         * sysdeps/unix/sparc/start.c: Likewise.
4830         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
4831         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
4832         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
4833         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
4834         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
4835         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
4836         * sysdeps/unix/sysv/irix4/start.c: Likewise.
4837         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
4838         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
4839         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
4840         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
4841         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
4842         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
4843         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
4844         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
4845         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
4846         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
4847         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
4848         * sysdeps/unix/sysv/gethostname.c: Likewise.
4849         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4850         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4851         * sysdeps/unix/alarm.c: Likewise.
4852         * sysdeps/unix/make_errlist.c: Likewise.
4853         * sysdeps/unix/rewinddir.c: Likewise.
4854         * sysdeps/unix/seekdir.c: Likewise.
4855         * sysdeps/unix/time.c: Likewise.
4856         * sysdeps/unix/utime.c: Likewise.
4857         * sysdeps/vax/__longjmp.c: Likewise.
4858         * sysdeps/vax/memccpy.c: Likewise.
4859         * time/strftime.c: Likewise.
4861 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
4863         * argp/argp-parse.c (parser_init): For the special case where no
4864         parsing function is supplied for an argp, propagate its input to
4865         its first child, if any.
4867         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
4868         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
4869         Replace references to STATE->argp with STATE->root_argp.
4870         * argp/argp-parse.c (parser_init): Likewise.
4872 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
4874         * manual/main.texi: Clarify situation for other not supported ports.
4875         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4876         We recommend binutils 2.8.
4878 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
4880         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
4882 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
4884         * sysdeps/i386/elf/start.S: Change local label "nofini"
4885         to ".Lnofini".
4887         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
4889 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
4891         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
4893 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
4895         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
4896         * elf/rtld.c (_dl_verbose): New variable, define.
4897         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
4898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
4899         changed size in copy relocation only if symbol in shared object
4900         is larger or _dl_verbose is nonzero.
4901         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
4902         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
4903         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
4905         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
4906         <...>.
4907         * nis/nss_nis/nis-grp.c: Likewise.
4908         * nis/nss_nis/nis-hosts.c: Likewise.
4909         * nis/nss_nis/nis-network.c: Likewise.
4910         * nis/nss_nis/nis-proto.c: Likewise.
4911         * nis/nss_nis/nis-pwd.c: Likewise.
4912         * nis/nss_nis/nis-rpc.c: Likewise.
4913         * nis/nss_nis/nis-spwd.c: Likewise.
4914         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
4915         * wcsmbs/wcscoll.c: Likewise.
4916         * wcsmbs/wcstod.c: Likewise.
4917         * wcsmbs/wcstof.c: Likewise.
4918         * wcsmbs/wcstol.c: Likewise.
4919         * wcsmbs/wcstold.c: Likewise.
4920         * wcsmbs/wcsxfrm.c: Likewise.
4921         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4923         * time/strftime.c: Implement # flag which changes case of output for
4924         %a, %b, %B, %p, and %Z format.
4925         When printing numbers, the given field width is always respected.
4926         This means that padding happens only up to the given width.
4927         Proposed by Stephen Gildea <gildea@intouchsys.com>.
4929 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
4931         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
4932         values.
4933         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4935 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
4937         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
4938         struct stat) if it exists for this port.
4940 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
4942         * sysdeps/standalone/arm/errnos.h: Add EPERM.
4944 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
4946         * linewrap.h: New file, needed to compile argp without libio.
4948 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4950         * manual/stdio.texi (Formatted Messages): Corrected some typos.
4952 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
4954         * sysdeps/stub/start.c: Fix typo.
4956 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
4958         * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
4960 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
4962         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
4963         strtoull_l, strtof_l, strtod_l, and strtold_l.
4964         * stdlib/stdlib.h: Add prototypes for new functions.
4965         * stdlib/strtod.c: Change for compiling as strtoX_l.
4966         * stdlib/strtol.c: Likewise.
4967         * stdlib/strtof.c: Likewise.
4968         * stdlib/strtold.c: Likewise.
4969         * stdlib/strtod_l.c: New file.
4970         * stdlib/strtof_l.c: New file.
4971         * stdlib/strtold_l.c: New file.
4972         * stdlib/strtol_l.c: New file.
4973         * stdlib/strtoul_l.c: New file.
4974         * stdlib/strtoll_l.c: New file.
4975         * stdlib/strtoull_l.c: New file.
4976         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
4977         * string/string.h: Add prototypes for new functions.
4978         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
4979         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
4980         * sysdeps/generic/strcasecmp_l.c: New file.
4981         * sysdeps/generic/strncase_l.c: New file.
4982         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
4983         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
4984         wcsncase_l.
4985         * wcsmbs/wchar.h: Add prototypes for new functions.
4986         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
4987         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
4988         * wcsmbs/wcscasecmp_l.c: New file.
4989         * wcsmbs/wcsncase_l.c: New file.
4990         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
4991         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
4992         * wcsmcs/wcstod_l.c: New file.
4993         * wcsmcs/wcstof_l.c: New file.
4994         * wcsmcs/wcstold_l.c: New file.
4995         * wcsmcs/wcstol_l.c: New file.
4996         * wcsmcs/wcstoul_l.c: New file.
4997         * wcsmcs/wcstoll_l.c: New file.
4998         * wcsmcs/wcstoull_l.c: New file.
5000         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
5001         $(elf) is defined.  More to come later when other binary formats
5002         are supported.
5003         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
5004         Suggested by Philip Blundell.
5006         * stdlib/Makefile (headers): Add fmtmsg.h.
5007         (routines): Add fmtmsg.
5008         * stdlib/fmtmsg.c: New file.
5009         * stdlib/fmtmsg.h: New file.
5010         * manual/stdio.texi: Add description of fmtmsg and addseverity.
5011         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
5012         documentation.
5014 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
5016         * resolv/res_query.c (res_querydomain): Avoid potential buffer
5017         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
5019 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5021         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
5022         _dl_sysdep_read_whole_file): Moved functions to ...
5023         * elf/dl-misc.c: This new file.
5024         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
5025         * elf/dl-misc.c: ... here.
5026         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
5027         _dl_sysdep_read_whole_file): Delete functions; they now come from
5028         elf/dl-misc.c (dl-support.c had contained identical versions).
5029         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
5030         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
5031         that the regular ones in dl-misc work once we've initialized.
5032         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
5034 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
5036         * inet/Makefile (headers): Add netinet/inbits.h.
5037         * inet/netinet/in.h: New file.
5038         * sysdeps/generic/netinet/inbits.h: Likewise.
5039         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
5040         * sysdeps/generic/netinet/ip6.h: Move to...
5041         * inet/netinet/ip6.h: ... here.
5042         * sysdeps/generic/netinet/icmp6.h: Move to...
5043         * inet/netinet/icmp6.h: ... here.
5044         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
5045         * sysdeps/generic/netinet/in.h: Remove.
5047 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
5049         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
5050         not looking at the new thread-safe .plt, don't be lazy about relocs.
5051         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
5052         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
5053         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
5054         elf_machine_runtime_setup() decide if we can actually be lazy.
5055         * elf/rtld.c (_dl_start): So don't call it.
5056         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5057         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
5058         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5059         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
5060         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
5061         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
5062         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
5063         skeleton definition.
5065 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
5067         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
5068         stack by fxtract.
5070 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5072         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
5073         add cast to (xdrproc_t) where necessary to prevent warnings.
5075 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
5077         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
5079 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
5081         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
5082         to size_t to prevent warning.
5083         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
5084         instead of numeric values.
5085         Various cleanups.
5086         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
5087         for xdrmem_putbytes.
5088         * sunrpc/xdr_rec.c: Likewise.
5089         * sunrpc/xdr_stdio.c: Likewise.
5090         * sunrpc/rpc/xdr.h: Likewise.
5092         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
5093         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5094         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5096 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
5098         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
5099         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
5100         * sysdeps/generic/netinet/icmp6.h: Likewise.
5101         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
5102         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
5103         glob.c).
5104         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
5105         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
5106         * sysdeps/stub/accept.c (accept): Make args match prototype.
5107         * sysdeps/stub/bind.c (bind): Likewise.
5108         * sysdeps/stub/connect.c (connect): Likewise.
5109         * sysdeps/stub/getpeername.c (getpeername): Likewise.
5110         * sysdeps/stub/getsockname.c (getsockname): Likewise.
5111         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
5112         * sysdeps/stub/send.c (send): Likewise.
5113         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
5114         * sysdeps/stub/readv.c (readv): Likewise.
5115         * sysdeps/stub/writev.c (writev): Likewise.
5116         * sysdeps/stub/sendto.c (sendto): Likewise.
5117         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
5119 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
5121         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
5122         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
5124 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5126         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
5128         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
5129         functions, include <rpc/xdr.h>.
5131         * string/strverscmp.c: Correct typos in comment.
5133         * sunrpc/rpc/xdr.h: Add more `const'.
5134         * sunrpc/xdr_stdio.c: Likewise.
5135         * sunrpc/xdr_rec.c: Likewise.
5137 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
5139         * elf/Makefile (dl-routines): Add dl-sysdepio.
5140         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
5141         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
5142         _dl_sysdep_error and _dl_sysdep_warning to ...
5143         * sysdeps/generic/dl-sysdepio.c: ...here.
5144         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
5145         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
5146         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
5147         of functions.
5148         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
5150         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
5151         and for Linux ld.so.
5152         * login/Makefile (libutil.so): Likewise.
5153         * math/Makefile (libm.so): Likewise.
5154         * md5-crypt/Makefile (libcrypt.so): Likewise.
5155         * nis/Makefile (libnss_%.so): Likewise.
5156         * resolv/Makefile (libnss_dns.so): Likewise.
5158 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
5160         * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
5161         (argp_args_usage): Add filtering of the args doc string.
5162         (comma): Print cluster headers for the first entry too.
5163         * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
5165 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
5167         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
5168         interface was changed with addition of _obstack_memory_used.
5169         Suggested by Ian Taylor <ian@cygnus.com>.
5171         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
5172         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
5173         Reported by Ian Taylor <ian@cygnus.com>.
5175         * dirent/Makefile (routines): Add versionsort.
5176         * dirent/dirent.h: Add prototype for versionsort.
5177         * dirent/versionsort.c: New file.
5178         * manual/filesys.texi: Add documentation for versionsort.
5179         * manual/string.texi: Add documentation for strverscmp.
5180         * string/Makefile (routines): Add strverscmp.
5181         (tests): Add tst-svc.
5182         * string/string.h: Add prototype for strverscmp.
5183         * string/strverscmp.c: New file.
5184         * string/tst-svc.c: New file.  Test for strverscmp.
5185         * string/tst-svc.input: New file.  Input data for tst-svc.
5186         * string/tst-svc.expect: New file.  Expected out from tst-svc.
5187         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
5189         * math/Makefile (calls): Add s_signbit.
5191         * po/sv.po: Update.
5193         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
5194         * sunrpc/pmap_rmt.c: Likewise.
5196         * string/basename.c: Don't use ISO C definition style.
5197         Include <config.h> if HAVE_CONFIG_H is defined.
5199         * sunrpc/proto.h: Add `const' wherever possible.
5200         * sunrpc/rpc_cout.c: Likewise.
5201         * sunrpc/rpc_svcout.c: Likewise.
5202         * sunrpc/xdr_mem.c: Likewise.
5203         * sunrpc/xdr_rec.c: Likewise.
5204         * sunrpc/xdr_stdio.c: Likewise.
5205         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
5206         * sunrpc/xdr.c: Little code cleanups.
5207         * sunrpc/xdr_float.c: Likewise.
5208         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
5210         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
5212         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
5214         * time/europe: Update from tzdata1997f.
5215         * time/zic.c: Update from tzcode1997e.
5217 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
5219         * sysdeps/sparc/setjmp.S: Flush windows.
5220         Bug found by Richard Henderson.
5222 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5224         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
5226 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
5228         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
5229         atol instead of atoi.
5231 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
5233         * inet/Makefile (routines): Add if_index.
5234         * sysdeps/unix/sysv/linux/if_index.c: New file.
5235         * sysdeps/stub/if_index.c: New file.
5236         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
5237         if_index.c (required by IPv6 basic API).
5238         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
5240 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
5242         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
5243         for new advanced API draft.
5245 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5247         * stdio-common/printf_fp.c: Only use the field width for deciding
5248         on padding when printing special values.
5249         * stdio-common/printf_fphex.c: Likewise.
5251 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
5253         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
5254         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
5256 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5258         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
5259         msg_add_auth was overflowing it.
5261 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
5263         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
5264         when we can't find the symbol.
5266 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
5268         * posix/regex.c: Fix handling of 32-bit Windog environments.
5269         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
5271 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5273         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
5275 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5277         * elf/ldd.bash.in: Remove spurious quote character from version
5278         message.
5280 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5282         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
5283         loop if the file ends in a long line without newline.
5284         * locale/programs/charmap.c (charmap_read): Likewise.
5286 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
5288         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
5289         * sunrpc/rpc/svc_auth.h: Likewise.
5290         * sunrpc/rpc/svc.h: Likewise.
5291         * sunrpc/rpc/rpc_msg.h: Likewise.
5292         * sunrpc/rpc/pmap_rmt.h: Likewise.
5293         * sunrpc/rpc/pmap_clnt.h: Likewise.
5294         * sunrpc/rpc/clnt.h: Likewise.
5295         * sunrpc/rpc/auth_unix.h: Likewise.
5296         * sysdeps/generic/rpc/auth.h: Likewise.
5297         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
5299 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
5301         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
5302         * sysdeps/standalone/arm/errnos.h: New file.
5303         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
5304         * sysdeps/unix/arm/fork.S: New file.
5305         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
5306         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
5307         `streamptr' argument.
5308         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
5309         <stdarg.h> to get va_list defined, return 0 not NULL.
5310         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
5311         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
5312         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
5313         * sysdeps/stub/seekdir.c (seekdir): Likewise.
5314         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
5315         * sysdeps/standalone/dirstream.h: Define struct __dirstream
5316         not DIR; <dirent.h> provides typedef.
5317         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
5318         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
5319         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
5321 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
5323         * sysdeps/powerpc/Dist: New file.
5324         * sysdeps/powerpc/Makefile: New file.
5325         * sysdeps/powerpc/fclrexcpt.c: New file.
5326         * sysdeps/powerpc/fegetenv.c: New file.
5327         * sysdeps/powerpc/fegetround.c: New file.
5328         * sysdeps/powerpc/feholdexcpt.c: New file.
5329         * sysdeps/powerpc/fenvbits.h: New file.
5330         * sysdeps/powerpc/fenv_const.c: New file.
5331         * sysdeps/powerpc/fenv_libc.h: New file.
5332         * sysdeps/powerpc/fesetenv.c: New file.
5333         * sysdeps/powerpc/fesetround.c: New file.
5334         * sysdeps/powerpc/feupdateenv.c: New file.
5335         * sysdeps/powerpc/fgetexcptflg.c: New file.
5336         * sysdeps/powerpc/fraiseexcpt.c: New file.
5337         * sysdeps/powerpc/fsetexcptflg.c: New file.
5338         * sysdeps/powerpc/ftestexcept.c: New file.
5339         * sysdeps/powerpc/mathbits.h: New file.
5341         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
5342         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
5343         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
5345         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
5347         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
5349         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
5350         instead .section ".text".
5352 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
5354         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
5355         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5356         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5357         * sysdeps/powerpc/setjmp.S: Likewise.
5359         * sysdeps/unix/sysv/linux/clone.S: Likewise.
5360         * sysdeps/unix/sysv/linux/socket.S: Likewise.
5361         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
5363 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
5365         * sysdeps/powerpc/strchr.s: New file.
5366         * sysdeps/powerpc/strcmp.s: New (ugly) file.
5367         * sysdeps/powerpc/memset.s: New file.
5368         * string/tester.c: Include prototype and _GNU_SOURCE to make
5369         standalone compilation possible. Give strcmp a better
5370         test. Give memset a better test.
5372 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
5374         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
5375         tests before?). Changed to symbolic register numbering as an
5376         experiment.
5377         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
5378         exist.
5379         * sysdeps/rs6000/ffs.c: Likewise.
5381 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
5383         * time/sys/time.h: Make second argument of setitimer const.
5384         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
5385         * sysdeps/stub/setitimer.c: Likewise.
5386         * sysdeps/mach/hurd/setitimer.c: Likewise.
5388 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5390         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
5392         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
5393         namespace hierachy.
5394         * nis/nis_intern.h: Add new __nis_docall function prototypes.
5395         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
5396         rewritten functions.
5397         * nis/nis_checkpoint.c: Likewise.
5398         * nis/nis_lookup.c: Likewise.
5399         * nis/nis_mkdir.c: Likewise.
5400         * nis/nis_modify.c: Likewise.
5401         * nis/nis_ping.c: Likewise.
5402         * nis/nis_remove.c: Likewise.
5403         * nis/nis_rmdir.c: Likewise.
5404         * nis/nis_server.c: Likewise.
5405         * nis/nis_table.c: Likewise.
5407 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
5409         * argp/argp-eexst.c: Include <sysexits.h>.
5410         (argp_err_exit_status): Initialize to EX_USAGE.
5411         * argp/argp.h, argp/argp-help.c: Doc fixes.
5413 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
5415         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
5416         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
5418 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
5420         * sysdeps/unix/sysv/linux/poll.c: Save errno.
5422 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
5424         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
5426 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
5428         * sys/ttydefaults.h: Removed.
5430 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5432         * termios/sys/ttydefaults.h: Delete file.
5433         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
5434         TTYDEF_OFLAG.
5435         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
5436         XTABS in TTYDEF_OFLAG.
5437         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
5438         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
5440 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5442         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
5443         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
5445 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
5447         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
5448         _NL_CTYPE_MAP_NAMES field to stringlist.
5449         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
5450         * locale/localeinfo.h (enum value_type): Add stringlist.
5451         * locale/programs/locale.c (show_info): Handle stringlist.
5453         * locale/programs/charmap.c (charmap_read): If charmap file is not
5454         using the given name try to find it by looking through all available
5455         charmap files and compare the code set name.
5456         * locale/programs/locale.c (write_charmaps): Also print names of
5457         charset in <code_set_name> fields in the files.
5459         * elf/ldd.bash.in: Correct translatable strings.
5461         * posix/TESTS: Add some more tests for character class matching.
5462         * posix/regex.c: Merge with GNU awk version.
5463         (regex_compile): Use ISO C/amend 1 functions for character class
5464         handling.
5465         * posix/regex.h: Merge with GNU awk version.
5467         * posix/getopt.c: Declare as master copies.
5468         * posix/getopt1.c: Likewise.
5469         * posix/getopt.h: Likewise.
5471         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
5472         value to mount functions.
5473         Patch by a sun <asun@zoology.washington.edu>.
5475         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
5476         in size for copy relocation.
5477         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5478         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
5479         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
5480         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
5482 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
5484         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
5485         with other tests.
5486         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
5487         with other tests.
5489         * sunrpc/svc_run.c (svc_exit): New, defined.
5490         (svc_run): Test for svc_stop variable.
5491         * sunrpc/rpc/svc.h (svc_exit): New, declared.
5493 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5495         * math/libm-test.c (test_not_exception): Don't mix the internal
5496         exception flags with the host defined FE_* values.  All (indirect)
5497         callers of this and test_exceptions changed to pass the internal
5498         flag values.
5499         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
5500         in test names.
5501         (csinh_test): Allow invalid exception for NaN +- i Inf.
5503 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5505         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
5506         exception on infinite value.
5507         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
5508         __M81_COND_ZERO): New definitions.
5510         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
5511         Use __m81_test.
5513         * sysdeps/m68k/s_ccosh.c: Rewritten.
5514         * sysdeps/m68k/s_csinh.c: Rewritten.
5515         * sysdeps/m68k/s_cexp.c: Rewritten.
5516         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
5517         * sysdeps/m68k/s_ccoshl.c: Likewise.
5518         * sysdeps/m68k/s_csinhf.c: Likewise.
5519         * sysdeps/m68k/s_csinhl.c: Likewise.
5520         * sysdeps/m68k/s_cexpf.c: Likewise.
5521         * sysdeps/m68k/s_cexpl.c: Likewise.
5523         * sysdeps/m68k/s_ccos.c: New file.
5524         * sysdeps/m68k/s_ccosf.c: New file.
5525         * sysdeps/m68k/s_ccosl.c: New file.
5526         * sysdeps/m68k/s_csin.c: New file.
5527         * sysdeps/m68k/s_csinf.c: New file.
5528         * sysdeps/m68k/s_csinl.c: New file.
5530 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5532         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
5533         stamp files to avoid problems with long file names.
5535 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5537         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
5539         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
5540         NaN.  Fix test for sign of infinite y.
5542         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
5544         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
5546 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5548         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
5549         dependencies.
5551         * csu/abi-note.S: Replace undefined macro ALIGNARG.
5552         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
5553         character.
5555 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5557         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
5558         for local label.
5560 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5562         * nis/Makefile (libnsl-routines): Add a lot of new file names.
5564         * nis/nis_names.c (nis_add): Moved from here ...
5565         * nis/nis_add.c: ... to here and fix parameter flags.
5566         * nis/nis_names.c (nis_lookup): Moved from here ...
5567         * nis/nis_lookup.c: ... to here.
5568         * nis/nis_names.c (nis_modify): Moved from here ...
5569         * nis/nis_modify.c: ... to here and fix parameter flags.
5570         * nis/nis_names.c (nis_remove): Moved from here ...
5571         * nis/nis_remove.c: ... to here and fix parameter flags.
5572         * nis/nis_names.c: Removed.
5574         * nis/nis_subr.c (nis_domain_of): Moved from here ...
5575         * nis/nis_domain_of.c: .. to here.
5576         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
5577         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
5579         * nis/nis_addmember.c: New.
5580         * nis/nis_checkpoint.c: New.
5581         * nis/nis_creategroup.c: New.
5582         * nis/nis_defaults.c: New.
5583         * nis/nis_destroygroup.c: New.
5584         * nis/nis_getservlist.c: New.
5585         * nis/nis_ismember.c: New.
5586         * nis/nis_ping.c: New.
5587         * nis/nis_print_group_entry.c: New.
5588         * nis/nis_removemember.c: New.
5589         * nis/nis_mkdir.c: New.
5590         * nis/nis_rmdir.c: New.
5591         * nis/nis_verifygroup.c: New.
5593         * nis/rpcsvc/nislib.h: Fix internal function declarations.
5595         * nis/nis_server (nis_servstate): New.
5596         * nis/nis_server (nis_stats): New.
5598         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
5600         * nis/nis_call.c: Remove debug output.
5602         * nis/nis_intern.c (__nis_finddirectory): Remove.
5604 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
5606         * posix/TESTS2C.sed: Recognize only digits in first field.  This
5607         enables us to use colons in the pattern.
5609 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
5611         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
5612         will preserve non-call-saved registers; save and restore a0 across
5613         the system call.
5614         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
5615         data onto the new thread's stack.
5617 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
5619         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
5620         kernel can return negative values.  Only fail when return value is
5621         in range in range which is never returned as valid address.
5622         Patch by Bruno Haible <haible@ilog.fr>.
5624 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
5626         * math/libm-test.c: Implement test for exceptions.
5627         Partly due to Andreas Jaeger.
5628         (csin_test): New function.
5629         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
5630         * sysdeps/libm-i387/s_cexpf.S: Likewise.
5631         * sysdeps/libm-i387/s_cexpl.S: Likewise.
5632         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
5633         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
5634         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
5635         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
5636         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
5637         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
5638         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
5639         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
5640         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
5641         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
5642         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
5643         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
5644         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
5645         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
5646         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
5648         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
5649         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
5650         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
5651         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
5652         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
5653         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
5655         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
5656         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
5657         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
5659         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
5660         case.
5662         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
5663         for local label.
5665         * time/strftime.c (add): Respect `0' padding flag.
5666         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
5668 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
5670         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
5671         Use in +link macro.
5672         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
5673         (start-installed-name): Don't define here.
5674         When ELF generate file named by start-installed-name from start.o
5675         and abi-note.o.
5676         * csu/abi-note.S: New file.
5677         * sysdeps/stub/abi-tag.h: New file.
5678         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
5679         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
5681 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
5683         * manual/stdio.texi: Use @vtable where possible.
5684         Add TeX version of @multitable since texi2dvi cannot handle them
5685         correct in the moment.
5687         * po/de.po: Update.
5689 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
5691         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
5692         * config.make.in: Set cross-compiling from configure result.
5693         * configure.in: Emit definition of `cross_compiling'.
5694         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
5696 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
5698         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
5699         correct `int' sizes for struct members.
5701 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
5703         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
5704         * sysdeps/libm-i387/e_pow.S: Likewise.
5705         * sysdeps/libm-i387/e_powl.S: Likewise.
5707 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5709         * math/fenv.h: Correct typos.
5711 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
5713         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
5714         in t0 rather than a4 to avoid it being clobbered.
5716 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5718         * manual/summary.awk: Recognize @defmumblex.
5720         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
5721         second description header.
5723 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5725         * manual/arith.texi (Floating-Point Classes): Don't indent text,
5726         makeinfo doesn't like that.
5728 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5730         * malloc/obstack.h (obstack_specify_allocation_with_arg,
5731         obstack_chunkfun, obstack_freefun): Fix casts.
5733 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5735         * manual/xtract-typefun.awk: Allow names with only one character.
5737 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
5739         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
5740         not <netinet/icmp.h>.
5741         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
5743 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
5745         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
5746         to command line of compiler.
5747         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
5749         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
5750         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
5752         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
5753         in declaration.
5754         Patch by Michael Widenius <monty@tcx.se>.
5756         * time/strptime.c (strptime_internal): Fix %I format specifier
5757         being off by one.
5758         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
5760 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5762         * stdlib/lcong48_r.c: Include <limits.h>.
5763         * stdlib/seed48_r.c: Likewise.
5765         * stdio-common/printf_size.c (printf_size): Correct type of
5766         `units' and make robust against future changes.
5768 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5770         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
5771         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
5772         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
5774 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5776         * manual/arith.texi, manual/math.texi: Use @defmumblex for
5777         additional description headers.
5778         * manual/xtract-typefun.awk: Recognize them.
5780 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5782         * stdio-common/printf_size.c (printf_size): Correct size of array
5783         units.
5785 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
5787         * libgen.h: New file.
5789 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
5791         * stdlib/drand48.c: Cleanup namespace.
5792         * stdlib/drand48_r.c: Cleanup namespace.
5793         * stdlib/erand48.c: Cleanup namespace.
5794         * stdlib/erand48_r.c: Cleanup namespace.
5795         * stdlib/jrand48.c: Cleanup namespace.
5796         * stdlib/jrand48_r.c: Cleanup namespace.
5797         * stdlib/lrand48.c: Cleanup namespace.
5798         * stdlib/lrand48_r.c: Cleanup namespace.
5799         * stdlib/mrand48.c: Cleanup namespace.
5800         * stdlib/mrand48_r.c: Cleanup namespace.
5801         * stdlib/nrand48.c: Cleanup namespace.
5802         * stdlib/nrand48_r.c: Cleanup namespace.
5803         * stdlib/lcong48.c: Cleanup namespace.
5804         * stdlib/lcong48_r.c: Cleanup namespace.
5805         * stdlib/srand48.c: Cleanup namespace.
5806         * stdlib/srand48_r.c: Cleanup namespace.
5807         * stdlib/seed48.c: Cleanup namespace.
5808         * stdlib/seed48_r.c: Cleanup namespace.
5810         * stdlib/stdlib.h: Provide new prototypes.
5812 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
5814         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
5815         fpclassify & friends, and complex number operations.
5816         Update various other math functions for ISO C 9X.
5817         * manual/math.texi: Update various entries for ISO C 9X.
5818         Add description for complex number functions.
5819         Add description of rand48 function family.
5820         * manual/string.h: Add description of a64l and l64a.
5822         * math/cmathcalls.h: Fix typo.
5824         * stdlib/a64l.c: Pretty printing.
5826         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
5827         * stdlib/srand48_r.c: Likewise.
5828         * stdlib/stdlib.h: Pretty printing.
5830         * sysdeps/i386/fpu/__math.h: Fix typo.
5832         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
5833         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
5835 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5837         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
5839 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5841         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
5842         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
5843         isunordered.
5845 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
5847         * rellns-sh: Handle files in the same directory correctly.
5849 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
5851         * csu/initfini.c: Place ALIGN instruction at correct positions.
5852         Patch by Richard Henderson <richard@twiddle.rth.home>.
5854 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
5856         * Make-dist: Don't automatically ignore .c files if the .S or .s file
5857         is ignored.
5859         * csu/Makefile (distribute): Add defs.awk.
5861 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
5863         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
5864         * sysdeps/stub/shmdt.c: Likewise.
5865         Reported by Thomas Bushnell, n/BSG.
5867 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
5869         * manual/stdio.texi: Add description of printf_size and
5870         printf_size_info.  Partly based on the documentation by Larry McVoy.
5872 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
5874         * stdio-common/printf_size.c (printf_size): Correct values for
5875         `units'.
5876         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
5877         * stdio-common/tst-printfsz.c: New file.
5878         * stdio-common/Makefile (tests): Add tst-printfsz.c.
5879         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
5880         strings.
5882 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
5884         * login/utmp.h: Add prototype for updwtmp.
5885         * login/logwtmp.c: Add new function updwtmp which allows to write
5886         a complete record to the wtmp file.
5887         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
5889 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5891         * math/Makefile (headers): Add mathbits.h.
5893 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5895         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
5896         * sysdeps/m68k/fpu/s_sincos.c: New file.
5897         * sysdeps/m68k/fpu/s_sincosf.c: New file.
5898         * sysdeps/m68k/fpu/s_sincosl.c: New file.
5900         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
5901         functions.
5902         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
5904         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
5905         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
5906         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
5907         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
5908         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
5909         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
5911 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
5913         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
5914         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
5916 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
5918         * csu/initfini.c: Rewrite by Zack Weinberg
5919         <zack@rabi.phys.columbia.edu>.
5920         * csu/Makefile: Add rules for rewrite.
5921         * csu/defs.awk: Helper script to generate derived header.
5923 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
5925         * misc/libgen.h: Change prototype for of basename to XPG variant.
5926         * stdlib/Makefile (routines): Add xpg_basename.
5927         * stdlib/basename.c: New file.
5928         * string/string.h: Don't declare basename function if basename
5929         macro is available.
5931 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
5933         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
5935 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5937         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
5938         * sysdeps/m68k/fpu/fenvbits.h: New file.
5939         * sysdeps/m68k/fpu/fegetenv.c: New file.
5940         * sysdeps/m68k/fpu/fegetround.c: New file.
5941         * sysdeps/m68k/fpu/fesetenv.c: New file.
5942         * sysdeps/m68k/fpu/fesetround.c: New file.
5943         * sysdeps/m68k/fpu/feupdateenv.c: New file.
5944         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
5945         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
5946         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
5947         * sysdeps/m68k/fpu/ftestexcept.c: New file.
5948         * sysdeps/m68k/fpu/mathbits.h: New file.
5950         * sysdeps/m68k/fpu/s_remquo.c: New file.
5951         * sysdeps/m68k/fpu/s_remquol.c: New file.
5952         * sysdeps/m68k/fpu/s_remquof.c: New file.
5954         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
5955         mantissa overflows into exponent.  Fix priority of >> vs +.
5957         * math/libm-test.c (basic_tests): Use the appropriate isnan and
5958         isinf function to test the value of the nan function.
5960 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
5962         * sysdeps/libm-i387/s_finite.S: Fix typo.
5964         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
5965         isgreaterequal, isless, islessequal, islessgreater, and
5966         isunordered.
5968 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
5970         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
5972         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
5973         * math/mathcalls.h: Add prototype for sincos.
5974         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
5975         inlined sin and cos function.
5976         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
5977         Add optimized version of finite.
5978         Rewrite sincos function to handle too large arguments.
5979         * sysdeps/libm-i387/s_cos.S: Better code alignment.
5980         * sysdeps/libm-i387/s_cosl.S: Likewise.
5981         * sysdeps/libm-i387/s_sin.S: Likewise.
5982         * sysdeps/libm-i387/s_sinl.S: Likewise.
5983         * sysdeps/libm-i387/s_finite.S: Yet better code.
5984         * sysdeps/libm-i387/s_finitef.S: Likewise.
5985         * sysdeps/libm-i387/s_sincos.S: New file.
5986         * sysdeps/libm-i387/s_sincosf.S: New file.
5987         * sysdeps/libm-i387/s_sincosl.S: New file.
5988         * sysdeps/libm-ieee754/s_sincos.c: New file.
5989         * sysdeps/libm-ieee754/s_sincosf.c: New file.
5990         * sysdeps/libm-ieee754/s_sincosl.c: New file.
5992         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
5993         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
5994         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
5995         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
5996         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
5997         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
5998         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
5999         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
6000         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
6001         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
6002         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
6003         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
6004         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
6005         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
6006         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
6008         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
6009         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
6011         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
6012         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
6014         * nis/Makefile (services): Mention nisplus before compat.
6015         * nis/nis_call.c (__do_niscall): Change type of variable server_len
6016         to prevent warning.
6017         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
6018         cast to prevent warning.
6019         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
6020         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
6021         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
6022         type of variable `i' to prevent warning.
6023         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
6024         Likewise.
6025         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
6026         Likewise.
6027         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
6028         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
6029         Likewise.
6031         * sysdeps/generic/Dist: Remove old math implementation files.
6032         * sysdeps/generic/mathimpl.h: Removed.
6033         * sysdeps/generic/trig.h: Removed.
6034         * sysdeps/generic/sincos.c: Removed.
6035         * sysdeps/generic/asincos.c: Removed.
6036         * sysdeps/generic/exp__E.c: Removed.
6037         * sysdeps/generic/log__L.c: Removed.
6039 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6041         * malloc/malloc.c (fREe): Small optimization.  Before returning,
6042         add fast check whether the heap containing top can go away.
6044 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6046         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
6047         failing to allocate a new chunk, also try the main_arena.  It may
6048         be that we are only running out of mmapped regions, and other
6049         arenas cannot be enlarged sufficiently.
6050         (new_heap, malloc_extend_top): Handle top_pad more consistently,
6051         i.e. only in new_heap().
6053 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
6055         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
6056         if cross-compiling.
6058         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
6060         * configure.in: Add ARM support.
6061         * sysdeps/arm/Implies: New file.
6062         * sysdeps/arm/__longjmp.S: New file.
6063         * sysdeps/arm/bsd-_setjmp: New file.
6064         * sysdeps/arm/bsd-setjmp: New file.
6065         * sysdeps/arm/bytesex.h: New file.
6066         * sysdeps/arm/fpu_control.h: New file.
6067         * sysdeps/arm/jmp_buf.h: New file.
6068         * sysdeps/arm/setjmp.h: New file.
6069         * sysdeps/arm/sysdep.h: New file.
6070         * sysdeps/unix/arm/config.h: New file.
6072 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
6074         * sysdeps/libm-ieee754/s_cproj.c: New file.
6075         * sysdeps/libm-ieee754/s_cprojf.c: New file.
6076         * sysdeps/libm-ieee754/s_cprojl.c: New file.
6078 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
6080         * isomac.c: Improve messages.
6082         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
6083         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
6084         s_catanh, s_csqrt, and s_cpow.
6085         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
6086         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
6087         csqrt_test, cpow_test, rint_test.
6088         * math/math.h: Include new header mathbits.h which defines some
6089         more (system dependent) types and some macros.
6090         (isfinite): Use __finite instead of fpclassify.
6091         * sysdeps/generic/mathbits.h: New file.
6092         * sysdeps/i386/fpu/mathbits.h: New file.
6093         * sysdeps/i386/huge_val.h: Don't define INFINITY.
6094         * sysdeps/ieee754/huge_val.h: Likewise.
6095         * sysdeps/m68k/huge_val.h: Likewise.
6097         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
6098         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
6100         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
6101         standard first.
6103         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
6104         * sysdeps/libm-i387/s_finitef.S: Likewise.
6105         * sysdeps/libm-i387/s_finitel.S: Likewise.
6106         Provided by Joe Keane <jgk@jgk.org>.
6108         * sysdeps/libm-i387/s_nearbyint.S: New file.
6109         * sysdeps/libm-i387/s_nearbyintf.S: New file.
6110         * sysdeps/libm-i387/s_nearbyintl.S: New file.
6111         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
6112         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
6113         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
6115         * sysdeps/libm-ieee754/s_cacos.c: New file.
6116         * sysdeps/libm-ieee754/s_cacosf.c: New file.
6117         * sysdeps/libm-ieee754/s_cacosl.c: New file.
6118         * sysdeps/libm-ieee754/s_cacosh.c: New file.
6119         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
6120         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
6121         * sysdeps/libm-ieee754/s_casin.c: New file.
6122         * sysdeps/libm-ieee754/s_casinf.c: New file.
6123         * sysdeps/libm-ieee754/s_casinl.c: New file.
6124         * sysdeps/libm-ieee754/s_casinh.c: New file.
6125         * sysdeps/libm-ieee754/s_casinhf.c: New file.
6126         * sysdeps/libm-ieee754/s_casinhl.c: New file.
6127         * sysdeps/libm-ieee754/s_catan.c: New file.
6128         * sysdeps/libm-ieee754/s_catanf.c: New file.
6129         * sysdeps/libm-ieee754/s_catanl.c: New file.
6130         * sysdeps/libm-ieee754/s_catanh.c: New file.
6131         * sysdeps/libm-ieee754/s_catanhf.c: New file.
6132         * sysdeps/libm-ieee754/s_catanhl.c: New file.
6133         * sysdeps/libm-ieee754/s_ccos.c: New file.
6134         * sysdeps/libm-ieee754/s_ccosf.c: New file.
6135         * sysdeps/libm-ieee754/s_ccosl.c: New file.
6136         * sysdeps/libm-ieee754/s_cpow.c: New file.
6137         * sysdeps/libm-ieee754/s_cpowf.c: New file.
6138         * sysdeps/libm-ieee754/s_cpowl.c: New file.
6139         * sysdeps/libm-ieee754/s_csin.c: New file.
6140         * sysdeps/libm-ieee754/s_csinf.c: New file.
6141         * sysdeps/libm-ieee754/s_csinl.c: New file.
6142         * sysdeps/libm-ieee754/s_csqrt.c: New file.
6143         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
6144         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
6145         * sysdeps/libm-ieee754/s_ctan.c: New file.
6146         * sysdeps/libm-ieee754/s_ctanf.c: New file.
6147         * sysdeps/libm-ieee754/s_ctanl.c: New file.
6148         * sysdeps/libm-ieee754/s_ctanh.c: New file.
6149         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
6150         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
6152         * time/strftime.c (memset_space): Increment pointer.
6153         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
6154         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
6156 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
6158         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
6159         pipe, syscall.
6161 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6163         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
6164         probably still wrong.
6165         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
6166         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
6168         * math/libm-test.c (remquo_test): Corrected.
6170 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6172         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
6173         * sysdeps/m68k/fpu/s_rinttol.c: New file.
6174         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
6176         * math/libm-test.c (remquo_test): Use check_long to test the
6177         quotient.
6178         (cbrt_test): Add epsilons for long double.
6180 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6182         * locale/localeinfo.h: Update declaration of _nl_current.
6184 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
6186         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
6188         * math/Makefile (headers): Add fenv.h and fenvbits.h.
6189         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
6190         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
6191         fegetenv, feholdexcpt, fesetenv, feupdateenv.
6192         (libm-calls): Add s_round.
6193         * math/fenv.h: New file.
6194         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
6195         Add roundtol_check and roundtoll_check.
6196         * math/math.h: Pretty printing.
6197         * sysdeps/i386/fpu/fclrexcpt.c: New file.
6198         * sysdeps/i386/fpu/fegetenv.c: New file.
6199         * sysdeps/i386/fpu/fegetround.c: New file.
6200         * sysdeps/i386/fpu/feholdexcpt.c: New file.
6201         * sysdeps/i386/fpu/fenvbits.h: New file.
6202         * sysdeps/i386/fpu/fesetenv.c: New file.
6203         * sysdeps/i386/fpu/fesetround.c: New file.
6204         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
6205         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
6206         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
6207         * sysdeps/i386/fpu/ftestexcept.c: New file.
6208         * sysdeps/stub/fclrexcpt.c: New file.
6209         * sysdeps/stub/fegetenv.c: New file.
6210         * sysdeps/stub/fegetround.c: New file.
6211         * sysdeps/stub/feholdexcpt.c: New file.
6212         * sysdeps/stub/fenvbits.h: New file.
6213         * sysdeps/stub/fesetenv.c: New file.
6214         * sysdeps/stub/fesetround.c: New file.
6215         * sysdeps/stub/fgetexcptflg.c: New file.
6216         * sysdeps/stub/fraiseexcpt.c: New file.
6217         * sysdeps/stub/fsetexcptflg.c: New file.
6218         * sysdeps/stub/ftestexcept.c: New file.
6220         * sysdeps/libm-i387/s_trunc.S: New file.
6221         * sysdeps/libm-i387/s_truncf.S: New file.
6222         * sysdeps/libm-i387/s_truncl.S: New file.
6224         * sysdeps/libm-ieee754/s_round.c: New file.
6225         * sysdeps/libm-ieee754/s_roundf.c: New file.
6226         * sysdeps/libm-ieee754/s_roundl.c: New file.
6228         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
6229         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
6230         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
6231         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
6232         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
6233         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
6234         * sysdeps/libm-ieee754/s_clog.c: Likewise.
6235         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
6236         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
6237         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
6238         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
6239         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
6241         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
6242         63 bits.
6243         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
6245         * po/pl.po: Updated.
6247         * string/swab.c: Correctly handle array of odd length.
6249         * sysdeps/generic/memmem.c: Update copyright.
6250         * manual/string.texi: Correct prototype in memmem documentation.
6252 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
6254         * hurd/Makefile (sunrpc-headers): Add clnt.h.
6255         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
6257 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
6259         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
6260         the proper value from the GOT.  Pass argument block to
6261         init function.
6263         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
6264         _init ().
6266         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
6267         wrong the first time.
6269         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
6270         register.
6272         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
6274         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
6275         SYSDEP_CALL_INIT.
6277         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
6278         NSIG and duplicated SIGIOT.
6280 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6282         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
6283         probably still wrong.
6284         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
6285         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
6287         * math/libm-test.c (remquo_test): Corrected.
6289 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6291         * Makefile (parent-tests): New target to run the tests to that
6292         they are executed even if some subdir tests have failed.
6293         (tests): Depend on parent-tests instead of running the tests
6294         directly.
6296 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6298         Clean up name space pollution in libnss_*.so:
6299         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
6300         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
6301         memcpy and bcmp by memcmp to clean up namespace.
6302         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
6303         dbopen.
6304         * nss/nss_db/db-alias.c (internal_setent): Likewise.
6305         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
6306         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
6307         the latter a weak alias.
6308         * db/db.h: Declare __dbopen.
6309         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
6310         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
6311         prefix and make the old names weak aliases.
6312         * db/mpool.h: Declare the new internal names.
6314 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6316         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
6317         * stdio-common/tstscanf.c: Add test case for this.
6319 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6321         * math/libm-test.c: Fix more typos.
6323 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6325         * math/libm-test.c (csinh_test): Fix test names.
6326         (ccosh_test): Likewise.
6328         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
6329         computing it directly.
6330         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
6331         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
6333         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
6334         computing it directly.
6335         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
6336         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
6338         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
6339         of wrapper.
6340         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
6341         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
6342         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
6343         special values.  Avoid use of fsincos if all that is needed is the
6344         quadrant.
6346         * sysdeps/m68k/fpu/s_ccosh.c: New file.
6347         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
6348         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
6349         * sysdeps/m68k/fpu/s_csinh.c: New file.
6350         * sysdeps/m68k/fpu/s_csinhl.c: New file.
6351         * sysdeps/m68k/fpu/s_csinhf.c: New file.
6353 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6355         * manual/Makefile (dir-add.texi): Simplify.
6357 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
6359         * rellns-sh: Rewrite to work also in presence of symlinks.
6361         * argp/argp-fmtstream.c: Add casts to prevent warnings.
6362         * argp/argp-fmtstream.h: Likewise.
6363         * argp/argp-help.c: Likewise.
6365         * elf/dl-minimal.c: Add definition of calloc.
6366         * elf/version.c: Add casts to prevent warnings.
6367         (_dl_check_map_versions): Use calloc instead of malloc+memset.
6369         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
6370         Reported by Greg McGary <gkm@eng.ascend.com>.
6372         * manual/libc.texinfo: Update malloc documentation for new malloc.
6373         * manual/memory.texi: Likewise.
6374         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
6376         * math/libm-test.c (check_long): New function.
6377         (check_longlong): New function.
6378         (rinttol_test): New function.
6379         (rinttoll_test): New function.
6381         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
6382         * nis/nss_compat/compat-pwd.c: Likewise.
6383         * nis/nss_compat/compat-spwd.c: Likewise.
6385         * stdlib/erand48_r.c (erand48_r): Build double value using
6386         ieee754_double union and use random bits in different order to
6387         increase effect of seed.
6388         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
6390         * sunrpc/svc_auth.c: Moved to ...
6391         * sysdeps/generic/svc_auth.c: ...here.
6393         * time/time.h: Pretty print.
6395 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
6397         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
6398         a read-only stream.
6400 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
6402         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
6403         in correct place.
6404         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
6406 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
6408         * stdio-common/Makefile (tests): Add tst-ferror.
6409         * stdio-common/tst-ferror.c: New file.  Some tests for error
6410         indicator of streams.
6411         * stdio-common/tst-ferror.input: New file.
6413         * isomac.c: Let tests not fail because the compiler defines itself
6414         symbols which violate the name space rules.  gcc defines symbols
6415         for the architecture which are not protected by an underscore
6416         character.
6418         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
6419         (libm-calls): Add s_clog.
6420         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
6421         logarithm of complex value.
6422         * sysdeps/libm-ieee754/s_clogf.c: New file.
6423         * sysdeps/libm-ieee754/s_clogl.c: New file.
6424         * math/libm-test.c (clog_test): Compile this function.  Fix a few
6425         typos.
6426         (main): Call clog_test.
6428         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
6429         value to long int.
6430         * sysdeps/libm-i387/s_rinttol.S: New file.
6431         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
6432         value to long long int.
6433         * sysdeps/libm-i387/s_rinttoll.S: New file.
6435         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
6436         version was full of errors.
6438         * math/math.h (rinttol): Argument is of type `long double' not
6439         `double'.
6440         (rinttoll): Likewise.
6441         (roundtol): Likewise.
6442         (roundtoll): Likewise.
6444 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
6446         * posix/getopt.c (_getopt_initialize): Preserve optind.
6447         (_getopt_internal): Set optind to 1 if optind == 0 before
6448         calling _getopt_initialize ().
6450 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6452         * nis/rpcsvc/nislib.h: Change const nis_name to new type
6453         const_nis_name.
6454         * nis/nis_intern.c: Likewise.
6455         * nis/nis_intern.h: Likewise.
6456         * nis/nis_server.c: Likewise.
6457         * nis/nis_subr.c: Likewise.
6458         * nis/nis_table.c: Likewise.
6459         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
6460         nis_add().
6462         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
6463         * nis/nss_compat/compat-spwd.c: Likewise.
6465 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
6467         * libio/fileops.c (_IO_file_overflow): Set error when try to write
6468         on a read-only stream.
6470         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
6471         (ut_time): Define it only if _NO_UT_TIME is not defined.
6473 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
6475         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
6476         if not already defined.
6478 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
6480         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
6481         get definition of sa_family_t for <linux/atalk.h>.
6482         Reported by a sun <asun@zoology.washington.edu>.
6484         * malloc/malloc.c (cALLOc): Little optimization.
6486 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
6488         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
6489         headers but instead add comments and parameter names.
6490         Don't use BSD specific types in prototypes.
6492         * manual/nss.texi: Correct a few typos and errors.
6494         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
6495         algorithm.
6496         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
6497         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
6499         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
6500         with new algorithm.
6501         * sysdeps/libm-i387/s_cbrtf.S: New file.
6502         * sysdeps/libm-i387/s_cbrtl.S: New file.
6504         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
6505         * sysdeps/libm-i387/s_frexpf.S: Likewise.
6506         * sysdeps/libm-i387/s_frexpl.S: Likewise.
6508 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6510         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
6512         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
6513         DES part only with secure RPC add-on.
6515         * nis/nis_names.c (nis_modify): Fix rpc function number.
6517         * nis/nis_server.c: Fix typos.
6519         * nis/nss_compat/compat-grp.c: Add NIS+ support.
6520         * nis/nss_compat/compat-pwd.c: Likewise.
6521         * nis/nss_compat/compat-spwd.c: Likewise.
6523         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
6524         signals success.
6526         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
6527         secure RPC.
6528         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6529         * nis/ypclnt.c: Likewise.
6530         * nis/nis_intern.h: Likewise.
6532         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
6533         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6534         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6535         * nis/nss_nisplus/nisplus-network.c: Likewise.
6536         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6537         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6538         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6539         * nis/nss_nisplus/nisplus-service.c: Likewise.
6540         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6542         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
6543         and speedup.
6544         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6546 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
6548         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
6549         arguments.
6551 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
6553         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
6554         typo.
6556 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
6558         * sysdeps/libm-ieee754/s_nanf.c:
6559         * sysdeps/libm-ieee754/s_nan.c:
6560         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
6561         declaration of sprintf.
6563 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
6565         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
6566         strong_alias.
6567         Reported by sun <asun@zoology.washington.edu>.
6569         * rpc/auth.h: Removed.
6570         * rpc/auth_des.h: Removed.
6571         * sunrpc/rpc/auth.h: Moved to ...
6572         * sysdeps/generic/rpc/auth.h: ...here.
6573         * sunrpc/rpc/auth_des.h: Moved to ...
6574         * sysdeps/generic/rpc/auth_des.h: ...here.
6576 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
6578         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
6579         * sysdeps/libm-i387/s_frexpf.S: New file.
6580         * sysdeps/libm-i387/s_frexpl.S: New file.
6582 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
6584         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
6585         (sysdep_headers): Remove netinet/icmp.h.
6587 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
6589         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
6590         threaded programs.
6591         * manual/stdio.texi: Change wording for snprintf description a bit.
6592         Correct typo in example.
6593         * manual/lang.texi: Add documentation of __va_copy.
6595         * Makefile: Add rule to easily generate dir-add.texi file.
6596         * manual/Makefile: Likewise.
6598         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
6599         Change description of strtoll and strtoull to make clear these
6600         are the preferred names.
6601         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
6602         and friends.
6603         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
6604         HUGE_VALL.
6606 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
6608         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
6609         adjustment if the underlying function say it is too small.
6610         * pwd/fgetpwent.c: Likewise.
6611         * shadow/fgetspent.c: Likewise.
6612         * shadow/sgetspent.c: Likewise.
6614         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
6615         this means there was not enough room for the gr_mem array.
6617         * nss/nss_files/files-XXX.c: Leave loop and return error if
6618         `parse_result' returns -1.
6620         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
6621         of trailing list fails because of low memory.
6622         (parse_list): Rewrite.  The logic was completly incorrect since
6623         the checks for overflowing the array were not executed when
6624         needed.
6626         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
6627         signals success.
6629         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
6630         * nss/getXXent.c: Likewise.
6632         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
6633         is set in mantissa.
6634         * stdlib/strtof.c: Likewise.
6635         * stdlib/strtold.c: Likewise.
6636         * wcsmbs/wcstof.c: Likewise.
6637         * wcsmbs/wcstold.c: Likewise.
6639         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
6640         string.
6641         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
6642         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
6644 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
6646         * manual/errno.texi: Add description of strerror_r.
6648 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
6650         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
6652 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
6654         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
6656 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6658         * sysdeps/m68k/fpu/s_cexp.c: New file.
6659         * sysdeps/m68k/fpu/s_cexpf.c: New file.
6660         * sysdeps/m68k/fpu/s_cexpl.c: New file.
6661         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
6662         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
6663         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
6664         * sysdeps/m68k/fpu/s_trunc.c: New file.
6665         * sysdeps/m68k/fpu/s_truncf.c: New file.
6666         * sysdeps/m68k/fpu/s_truncl.c: New file.
6668         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
6669         * sysdeps/m68k/fpu/s_modff.c: Adapted.
6670         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
6672         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
6673         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
6674         typo in test for `y = 0.5'.
6676         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
6677         __nearbyint.  Remove __modf.
6679         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
6680         Define for gcc bug workaround.
6682         * math/libm-test.c (log2_test): Add epsilon for long double to
6683         "log2 (e)" and "log2 (16)".
6684         (modf_test): Fix test name.
6685         (sqrt_test): Add missing FUNC.
6687 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6689         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
6691 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6693         * stdlib/stdlib.h: Declare __clearenv.
6695 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6697         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
6698         the last change.
6700 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6702         * configure.in: Call AC_CANONICAL_BUILD before referencing
6703         $build.  Fix test for BUILD_CC.
6705 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
6707         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
6709 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
6711         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
6713 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
6715         * sysdeps/i386/memset.c: Fix typo.
6716         * sysdeps/stub/fchmod.c: Fix typo.
6717         * sysdeps/stub/fchdir.c: Fix typo.
6718         Reported by Fila Kolodny <fila@ibi.com>.
6720 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
6722         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
6723         * math/libm-test.c (initialize): Make strings unique and force
6724         values to memory.
6726         * posix/regex.c: Debug debugging code.
6728         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
6729         syntax for local label.
6730         * sysdeps/i386/add_n.S: Use correct local label syntax for the
6731         binary format.
6732         * sysdeps/i386/addmul_1.S: Likewise.
6733         * sysdeps/i386/lshift.S: Likewise.
6734         * sysdeps/i386/memchr.S: Likewise.
6735         * sysdeps/i386/memcmp.S: Likewise.
6736         * sysdeps/i386/mul_1.S: Likewise.
6737         * sysdeps/i386/rshift.S: Likewise.
6738         * sysdeps/i386/stpcpy.S: Likewise.
6739         * sysdeps/i386/stpncpy.S: Likewise.
6740         * sysdeps/i386/strchr.S: Likewise.
6741         * sysdeps/i386/strcspn.S: Likewise.
6742         * sysdeps/i386/strlen.S: Likewise.
6743         * sysdeps/i386/strpbrk.S: Likewise.
6744         * sysdeps/i386/strrchr.S: Likewise.
6745         * sysdeps/i386/strspn.S: Likewise.
6746         * sysdeps/i386/strtok.S: Likewise.
6747         * sysdeps/i386/sub_n.S: Likewise.
6748         * sysdeps/i386/submul_1.S: Likewise.
6749         * sysdeps/i386/i486/strcat.S: Likewise.
6750         * sysdeps/i386/i486/strlen.S: Likewise.
6751         * sysdeps/i386/i586/add_n.S: Likewise.
6752         * sysdeps/i386/i586/addmul_1.S: Likewise.
6753         * sysdeps/i386/i586/lshift.S: Likewise.
6754         * sysdeps/i386/i586/memset.S: Likewise.
6755         * sysdeps/i386/i586/mul_1.S: Likewise.
6756         * sysdeps/i386/i586/rshift.S: Likewise.
6757         * sysdeps/i386/i586/strchr.S: Likewise.
6758         * sysdeps/i386/i586/strlen.S: Likewise.
6759         * sysdeps/i386/i586/sub_n.S: Likewise.
6760         * sysdeps/i386/i586/submul_1.S: Likewise.
6762         * sysdeps/stub/s_log2l.c: Correct function name.
6764         * time/africa: Updated from ADO tzdata1997e.
6765         * time/antarctica: Likewise.
6766         * time/asia: Likewise.
6767         * time/australasia: Likewise.
6768         * time/europe: Likewise.
6769         * time/northamerica: Likewise.
6770         * time/southamerica: Likewise.
6771         * time/private.h: Updated from ADO tzcode1997d.
6772         * time/scheck.c: Likewise.
6774 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
6776         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
6778 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
6780         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
6781         * string/tst-strlen.c: Also test various string alignments.
6783 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
6785         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
6786         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
6788         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
6789         program base address is 0x01800000 if we can't otherwise tell what
6790         it is.
6791         (elf_machine_rela): Replace `assertion failed' with real error
6792         messages.
6794         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
6795         Put in extra parentheses to make explicit the relative precedence
6796         of + and >>.
6798         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
6799         pass.
6800         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
6802         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
6803         instead of .text.
6805 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
6807         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
6808         instead.
6810         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
6811         thread-specific memory in multi-threaded programs.
6813         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
6814         * sysdeps/stub/s_exp2f.c: New file.
6815         * sysdeps/stub/s_exp2l.c: New file.
6816         Reported by a sun <asun@zoology.washington.edu>.
6818         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
6819         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
6820         Suggested by a sun <asun@zoology.washington.edu>.
6822 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
6824         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
6825         of <netinet/icmp.h>.
6826         Patch by a sun <asun@zoology.washington.edu>.
6828 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
6830         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
6831         csqrt_test.
6833 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
6835         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
6837         * math/complex.h: Add C++ protection.
6839         * math/libm-test.c (cexp_test): Correct a few bugs.
6840         (csinh_test): New function.
6841         (ccosh_test): New function.
6842         (cacos_test): New function.
6843         (cacosh_test): New function.
6844         (casinh_test): New function.
6845         (catanh_test): New function.
6846         (main): Add calls to csinh_test and ccosh_test.
6848         * misc/Makefile (tests): Add tst-tsearch.
6849         Add rule to link tst-tsearch against libm.
6850         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
6851         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6852         * misc/tst-tsearch.c: New file.
6854         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
6855         before using system.
6856         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
6857         before using popen.
6859         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
6860         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
6861         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
6863         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
6864         of complex exponential function.
6865         * sysdeps/libm-i387/s_cexpf.S: New file.
6866         * sysdeps/libm-i387/s_cexpl.S: New file.
6868         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
6869         complex cosh function.
6870         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
6871         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
6872         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
6873         complex sinh function.
6874         * sysdeps/libm-ieee754/s_csinhf.c: New file.
6875         * sysdeps/libm-ieee754/s_csinhl.c: New file.
6877         * math/carg.c: New file.  Generic implementatio of carg function.
6878         * math/cargf.c: New file.
6879         * math/cargl.c: New file.
6881 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
6883         * sysdeps/posix/system.c: Update copyright.
6885 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
6887         * elf/dl-error.c (_dl_catch_error): Add another argument which is
6888         passed to OPERATE.
6889         (_dl_receive_error): Likewise.
6890         * elf/link.h: Change prototypes for _dl_catch_error and
6891         _dl_receive_error to reflect above change.
6892         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
6893         with additional argument with pointer to data.
6894         * elf/dlclose.c: Likewise.
6895         * elf/dlerror.c: Likewise.
6896         * elf/dlopen.c: Likewise.
6897         * elf/dlsym.c: Likewise.
6898         * elf/dlvsym.c: Likewise.
6899         * elf/rtld.c: Likewise.
6900         * nss/nsswitch.c: Likewise.
6901         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6903 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
6905         * elf/dl-error.c: Manually set up the values of "c", this avoids a
6906         call to memcpy and a zero 152 bytes structure.
6908         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
6909         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
6910         pass.
6912         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
6914         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
6915         kernel_sigaction.h
6917         Add Linux/SPARC specific definitions.
6918         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
6919         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
6920         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
6921         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
6922         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
6923         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
6924         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
6926 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
6928         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
6929         __getservbyname_r() not getservbyname().
6930         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
6932 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
6934         * gmon/gmon.c (monstartup): Mark all messages.
6935         (write_call_graph): Rewrite to use larger I/O vector for writev
6936         call to reduce syscall overhead.
6937         (write_bb_counts): Simplify writev handling.
6939         * inet/rexec.c: Make string parameters `const'.
6940         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
6941         rresvport.
6943         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
6944         in libm-test.
6945         * math/libm-test.c (this_does_nothing): Remove functions.  It's
6946         notuseful on any platform but ix86.
6947         (inverse_func_pair_test): Don't use this_does_nothing.  Use
6948         memory reference.
6949         (identities1_test): Likewise.
6950         (identities2_test): Likewise.
6951         (identities3_test): Likewise.
6952         (basic_test): Likewise.
6953         Patch by Andreas Schwab.
6954         (BUILD_COMPLEX): New macro.  Create complex number from real and
6955         imaginary parts.  This works around bugs/inefficiencies in current
6956         gcc.
6957         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
6959         * nss/nsswitch.c: Fix typo.
6961         * posix/glob.h: Add declaration for glob_pattern_p.
6962         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
6963         make glob_pattern_p a weak alias.  This function is used in other
6964         packages (e.g. bash).
6966         * signal/Makefile (routines): Add sigisempty, sigandset, and
6967         sigorset.
6968         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
6969         sigorset.
6970         * signal/sigisempty.c: New file.
6971         * signal/sigandset.c: New file.
6972         * signal/sigorset.c: New file.
6973         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
6974         and __sigorset.
6975         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
6977         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
6978         determines the bits in the mantissa part of the NaN.
6979         * stdlib/strtof.c: Define SET_MANTISSA for float type.
6980         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
6981         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
6982         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
6984         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
6985         complex number components.  Some more corrects for special cases.
6986         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
6987         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
6989         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
6991         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
6992         ip_icmp.h.  Reported by HJ Lu.
6994 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6996         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
6998         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
6999         i386.
7000         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
7001         ELF_MACHINE_RELOC_NOPLT): Define.
7003 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7005         * grp/grp.h: Include <stddef.h> only once.
7007 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7009         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
7010         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
7012         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
7013         TAB3, if one of them is defined.
7015 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
7017         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
7018         is found.
7019         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
7021 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7023         * sunrpc/Makefile: Comment gccwarn out.
7024         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
7025         with enabled warnings.
7026         * sunrpc/auth_unix.c: Likewise.
7027         * sunrpc/authuxprot.c: Likewise.
7028         * sunrpc/bindrsvprt.c: Likewise.
7029         * sunrpc/clnt_gen.c: Likewise.
7030         * sunrpc/clnt_perr.c: Likewise.
7031         * sunrpc/clnt_raw.c: Likewise.
7032         * sunrpc/clnt_simp.c: Likewise.
7033         * sunrpc/clnt_tcp.c: Likewise.
7034         * sunrpc/clnt_udp.c: Likewise.
7035         * sunrpc/get_myaddr.c: Likewise.
7036         * sunrpc/getrpcport.c: Likewise.
7037         * sunrpc/pm_getmaps.c: Likewise.
7038         * sunrpc/pm_getport.c: Likewise.
7039         * sunrpc/pmap_clnt.c: Likewise.
7040         * sunrpc/pmap_prot.c: Likewise.
7041         * sunrpc/pmap_prot2.c: Likewise.
7042         * sunrpc/pmap_rmt.c: Likewise.
7043         * sunrpc/rpc/auth.h: Likewise.
7044         * sunrpc/rpc/clnt.h: Likewise.
7045         * sunrpc/rpc/pmap_clnt.h: Likewise.
7046         * sunrpc/rpc/svc.h: Likewise.
7047         * sunrpc/rpc/svc_auth.h: Likewise.
7048         * sunrpc/rpc/types.h: Likewise.
7049         * sunrpc/rpc/xdr.h: Likewise.
7050         * sunrpc/rpc_clntout.c: Likewise.
7051         * sunrpc/rpc_cmsg.c: Likewise.
7052         * sunrpc/rpc_dtable.c: Likewise.
7053         * sunrpc/rpc_prot.c: Likewise.
7054         * sunrpc/svc.c: Likewise.
7055         * sunrpc/svc_auth.c: Likewise.
7056         * sunrpc/svc_authux.c: Likewise.
7057         * sunrpc/svc_raw.c: Likewise.
7058         * sunrpc/svc_run.c: Likewise.
7059         * sunrpc/svc_simple.c: Likewise.
7060         * sunrpc/svc_tcp.c: Likewise.
7061         * sunrpc/svc_udp.c: Likewise.
7062         * sunrpc/xdr.c: Likewise.
7063         * sunrpc/xdr_array.c: Likewise.
7064         * sunrpc/xdr_mem.c: Likewise.
7065         * sunrpc/xdr_rec.c: Likewise.
7066         * sunrpc/xdr_ref.c: Likewise.
7067         * sunrpc/xdr_stdio.c: Likewise.
7069 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
7071         * math/libm-test.c (log2_test): Compile this function and call it.
7072         (exp2_test): Likewise, but check whether function really exists
7073         before testing.
7075         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
7077 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
7079         Implement exp2 function.
7080         * sysdeps/libm-i387/s_exp2.S: New file.
7081         * sysdeps/libm-i387/s_exp2f.S: New file.
7082         * sysdeps/libm-i387/s_exp2l.S: New file.
7084         Implement log2 function.
7085         * sysdeps/libm-i387/s_log2.S: New file.
7086         * sysdeps/libm-i387/s_log2f.S: New file.
7087         * sysdeps/libm-i387/s_log2l.S: New file.
7088         * sysdeps/libm-ieee754/s_log2.c: New file.
7089         * sysdeps/libm-ieee754/s_log2f.c: New file.
7090         * sysdeps/stub/s_log2.c: New file.  Stub version.
7092 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
7094         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
7096         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
7097         change to tst-setjmp.c.
7099         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
7100         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
7101         * sysdeps/sparc/dl-machine.h: Likewise.
7103         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
7104         Add missing qs variable.
7105         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
7107 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
7109         * gmon/gmon.c: Optimize a bit by using more sets of records to
7110         write in a single writev call.
7112         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
7113         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
7114         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
7115         `const'.
7116         Use __MATHDECLX for isinf and finite.
7118         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
7119         clearenv a weak alias.
7121         Implement complex exponential function.
7122         * sysdeps/libm-ieee754/s_cexp.c: New file.
7123         * sysdeps/libm-ieee754/s_cexpf.c: New file.
7124         * sysdeps/libm-ieee754/s_cexpl.c: New file.
7126         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
7127         nan a weak alias.
7128         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
7129         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
7131         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
7132         of type clashes.  Add all definitions here.
7134         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
7135         to XPG4.2.
7136         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
7137         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7139         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
7141         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
7142         use of kernel types.
7144 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
7146         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
7147         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
7149 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7151         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
7153 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7155         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
7157 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7159         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
7160         * sysdeps/m68k/fpu/s_logb.c: Removed.
7161         * sysdeps/m68k/fpu/s_logbf.c: Removed.
7162         * sysdeps/m68k/fpu/s_logbl.c: Removed.
7164         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
7165         Don't define here.
7166         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
7167         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7168         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
7169         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
7170         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
7171         * sysdeps/m68k/fpu/e_powl.c: Likewise.
7173         * sysdeps/m68k/fpu/s_log2.c: New file.
7174         * sysdeps/m68k/fpu/s_log2f.c: New file.
7175         * sysdeps/m68k/fpu/s_log2l.c: New file.
7176         * sysdeps/m68k/fpu/s_exp2.c: New file.
7177         * sysdeps/m68k/fpu/s_exp2f.c: New file.
7178         * sysdeps/m68k/fpu/s_exp2l.c: New file.
7180 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7182         * Makeconfig (all): Make sure this is always the default goal.
7184 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7186         * math/libm-test.c: Increase epsilon in many places.  Fix many
7187         typos.  Allow optinal argument also for short option.
7189 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7191         * math/Makefile ($(objpfx)$(tests)): Link against libm.
7193 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
7195         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
7196         denormalized numbers.
7198         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
7199         Don't include <endian.h>.
7201 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7202         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
7203         Don't include <endian.h>.
7205 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
7207         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
7209 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7211         * math/cmathcalls.h: Remove whitespace before function name in use
7212         of __MATHDECL macro, to make it compilable with a traditional
7213         preprocessor.
7215 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
7217         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
7218         compiler.
7220 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
7222         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
7223         by 31 positions to get 0/1 result.
7224         Patch by Joe Keane <jgk@jgk.org>.
7226 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
7228         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
7229         to prevent from ld linking in getopt.o even if there is another
7230         incompatible one.
7232         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
7234 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7236         * nis/nis_call.c (__do_niscall): Print message if cold start file
7237         does not exist.
7238         * nis/nis_file.c: Don't print error messages.
7239         * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
7240         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
7241         * nis/rpcsvc/nis.h: Likewise.
7242         * nis/ypclnt.c: Fix prototypes.
7244 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
7246         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
7247         returning.
7248         * sysdeps/libm-i387/e_scalbf.S: Likewise.
7249         * sysdeps/libm-i387/e_scalbl.S: Likewise.
7250         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
7252         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
7253         dynamic linker was called implicitly by the kernel.
7254         Reported by Eric Youngdale <eric@andante.jic.com>.
7256         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
7257         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
7258         prevent clever optimizations which corrupt the tests.
7260 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
7262         * math/libm-test.c (scalb_test): New function.
7263         (sqrt_test): New function.
7264         (scalbn_test): New function.
7265         (ilogb_test): New function.
7266         (main): Added calls for new test functions.
7267         (ldexp_test): Add another test for ldexp(x,0).
7269 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
7271         * math/libm-test.c (remquo_test): Correct messages so that they
7272         match the tests.
7273         (copysign_test): Likewise.
7275 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
7277         * stdio-common/Makefile (routines): Add printf_size.
7279         * stdio-common/printf.h: Add declarations for printf_size and
7280         printf_size_info.
7282         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
7283         declaration.
7284         (parse_one_spec): Test whether __printf_function_table is not NULL
7285         before using registered handlers and don't test
7286         __printf_arginfo_table.  Update nargs also when handler is
7287         registered.
7289         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
7290         processed in fast loop.
7292         * stdio-common/printf_size: New file.
7294 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
7296         * time/sys/time.h: Make values ITIMER_* also available as macros.
7298         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
7299         __fstat but instead __fxstat directly to avoid dependency on
7300         libc.a when inline failed.
7301         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
7303         * math/Makefile (libm-routines): Add s_remquo.
7304         * sysdeps/libm-i387/s_remquo.S: New file.
7305         * sysdeps/libm-i387/s_remquof.S: New file.
7306         * sysdeps/libm-i387/s_remquol.S: New file.
7307         * sysdeps/libm-ieee754/s_remquo.c: New file.
7308         * sysdeps/libm-ieee754/s_remquof.c: New file.
7309         * sysdeps/libm-ieee754/s_remquol.c: New file.
7311         * math/libm-test.c (remquo_test): New function.
7313         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
7314         correctly.
7316 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
7318         * math/Makefile (libm-calls): Add s_nan.
7319         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
7320         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
7321         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
7323         * math/libm-test.c (basic_tests): Add tests for `nan' function.
7325         * math/libm-test.c (copysign_test): New function.
7326         (main): Call copysign_test.
7328 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
7330         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
7331         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
7332         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
7333         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
7335         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
7336         New functions.  Test these functions.
7337         (main): Call above new functions.
7339 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
7341         * Net release 2.0.2.
7343 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
7345         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
7346         XTABS.
7347         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
7348         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
7349         of Sun Dec 15 16:33:44 1996.
7350         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
7352 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
7354         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
7355         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
7356         consult their values.
7357         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
7358         ELF_MACHINE_RELOC_NOPLT): New macros.
7360         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
7361         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
7362         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
7364         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
7365         symbol lookup before checking reloc type except for R_386_RELATIVE.
7366         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
7368         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
7369         per-machine since it supposedly can't happen on i386.
7371         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
7372         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
7373         indirection from REF arg; change callers.
7374         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
7375         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
7376         FLAGS arg altogether.
7377         * elf/dlsym.c: Remove argument of FLAGS parameter.
7378         * elf/dlvsym.c: Likewise.
7379         * elf/link.h: Update decls.
7381 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
7383         * Makefile (distribute): Add BUGS.
7385         * sysdeps/generic/machine-gmon.h: Update copyright.
7387         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
7388         i386-mcount.
7389         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
7390         use regparam mechanism for call of `fixup' call.
7391         * sysdeps/i386/Dist: New file.
7392         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
7393         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
7394         of gmon definitions.
7396 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
7398         * stdlib/tst-strtol.c (main): Save the value of errno since printf
7399         may modify it, use the saved errno everywhere.
7400         * stdlib/tst-strtod.c (main): Likewise.
7402 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
7404         * posix/glob.c (glob): Fix completely broken handling of
7405         GLOB_BRACE and partly broken handling of GLOB_TILDE.
7406         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
7408 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
7410         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
7411         UIO_FASTIOV value by multiple readv calls since we need atomicity.
7412         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7413         Reported by Matthis Urlichs.
7415 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
7417         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
7418         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
7419         which clobbers %eax.
7421         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
7422         crtbegin.o/crtend.o, using gcc to find them.
7423         (+link): Use them.
7425 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
7427         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
7428         affect the alignment, and therefore the end padding of the structs.
7429         Reported by David Mosberger <davidm@azstarnet.com>.
7430         * gmon.c: Declare the variables with aligned tags to compensate.
7431         Use __writev instead of write for the I/O.
7433         * misc/sys/uio.h: Declare __writev and __readv.
7434         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
7435         * sysdeps/posix/writev.c: Likewise for writev.
7436         * sysdeps/stub/readv.c: Likewise.
7437         * sysdeps/stub/writev.c: Likewise.
7438         * sysdeps/unix/syscalls.list: Likewise.
7439         * sysdeps/unix/sysv/linux/readv.c: Likewise.
7440         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7442         * stdlib/testdiv.c: Exit with error status when we have an error.
7443         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
7444         * sysdeps/alpha/ldiv.S: Likewise.
7446         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
7448 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
7450         * nis/nis_file.c: Unify error handling.
7452 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7454         * nis/nis_file.c (writeColdStartFile): Fix typo.
7455         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
7456         * nis/nis_free.c (nis_free_servers): Likewise.
7457         * nis/rpcsvc/nislib.h: Likewise.
7459         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
7461 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
7463         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
7465         * sysdeps/unix/sparc/sysdep.h: Update copyright.
7467 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
7469         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
7470         it.
7472         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
7473         macro on ELF systems.
7475         * sysdeps/sparc/configure.in: Fix.
7477         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
7479         * sysdeps/sparc/setjmp.S: Fix my bugs.
7481         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
7482         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
7483         as-FLAGS-.so.
7484         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
7485         syscall.
7486         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
7487         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
7488         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
7489         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
7491         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
7492         symbol.
7493         (_dl_lookup_symbol): Test against the symbol being global not
7494         against the symbol being not weak (fixes important problem with
7495         the SPARC linker)
7497         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
7499         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
7500         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
7502 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
7504         * Makeconfig: (rpath-link): Add math/ directory.
7505         (math-objdir): New variable.
7506         (link-extra-lib): Define to special version when
7507         $(common-objpfx)!=$(objpfx) to allow libraries outside
7508         $(common-objpfx) be linked to the application.
7510         * math/Makefile: Add rules to build and run test programs.
7511         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
7512         (check_equal): Correct check for error.
7513         (ceil_test): Fix typo.
7514         (log_test): Fix typo.
7515         (floor_test): Fix typo.
7516         (pow_test): Fix typos.
7517         (log10_test): Allow slight incorrectness for `log10(e)'.
7518         (modf_test): New functions to test `modf' et.al.
7519         (hypot_test): Rewrite test completely.
7520         Patch partly by Andreas Jaeger.
7521         * math/test-double.h (__NO_MATH_INLINES): Define only if not
7522         already defined.
7523         * math/test-float.h: Likewise.
7524         * math/test-logdouble.h: Likewise.
7526         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
7527         * setjmp/tst-setjmp.c: Correct and extend test suite.
7528         * sysdeps/i386/__longjmp.S: Update copyright.
7529         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
7530         `__sigsetjmp' in PIC code.
7531         * sysdeps/i386/bsd-setjmp.S: Likewise.
7533         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
7534         overflow.
7535         * sysdeps/libm-i387/e_powf.S: Likewise.
7536         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
7537         case since expm1(-0) == -0.
7538         * sysdeps/libm-i387/s_expm1f.S: Likewise.
7539         * sysdeps/libm-i387/s_expm1l.S: Likewise.
7540         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
7541         access to FP number.
7542         * sysdeps/libm-ieee754/s_modff.c: Likewise.
7543         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
7544         code.  It never worked correctly.
7545         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
7546         case since tanh(-0) == -0.
7547         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
7548         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
7550 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
7552         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
7553         `thousands' to support systems with sizeof(wchar_t) !=
7554         sizeof(wint_t).  Blargh.
7556         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
7557         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
7558         appropriate headers.
7560         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
7561         UIO_FASTIOV and set to 8 if not available.
7562         * sysdeps/unix/sysv/linux/readv.c: Likewise.
7563         Patch by HJ Lu.
7565         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
7566         "kernel_stat.h".
7567         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7568         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
7569         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
7571 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
7573         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
7575         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
7577         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
7579         * sysdeps/unix/sysv/Dist: Add direct.h.
7581         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
7583         * Make-dist ($(tardir).tar): Prefer writing temporary file to
7584         $TMPDIR is available.  The default is /tmp.
7586         * sysdeps/generic/ip.h: Move to...
7587         * sysdeps/generic/netinet/ip.h: ...here.
7589         * Makefile (tests): Quote $(CC) argument to isomac program.
7590         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
7592         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
7593         is placed in wrong place on the stack.
7594         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
7595         * sysdeps/tst-setjmp.c: Add new test for above problem.
7597         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
7598         * sysdeps/libm-i387/e_powf.S: Likewise.
7599         * sysdeps/libm-i387/e_powl.S: Likewise.
7601 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
7603         * time/offtime.c (__offtime): Change type of `yg' to long int.
7604         Reported by a sun <asun@zoology.washington.edu>.
7606 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
7608         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
7609         2.2.0 to prevent version mismatch.
7611 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
7613         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
7614         already defined.
7616 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
7618         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
7619         in ioctls.h.
7621         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
7622         loader first relocates itself.
7623         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
7624         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
7625         jump slot relocation. Prefer relative branches (some PowerPC chips
7626         don't predict absolute branches).
7627         (elf_machine_runtime_setup): Simplify and correct expressions.
7628         (RTLD_START): Fix bug changing _dl_starting_up.
7629         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
7630         strange Linux/PPC padding of initial stack.
7632 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
7634         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
7635         for future expansion.
7636         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
7637         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
7638         can't have a switch statement.
7639         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
7640         static.
7642         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
7643         confusing gcc's idea of the current section.
7644         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
7645         RTLD_START): Likewise.
7647 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
7649         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
7650         elf_machine_runtime_setup): Flush data & instruction caches when
7651         necessary, for 603/604 support. Add better support for large PLTs.
7652         (elf_machine_rela): Remove relocations that wouldn't work if
7653         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
7654         Never target branch relocations at a PLT entry.
7656         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
7657         generating PIC.
7658         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
7659         * sysdeps/powerpc/setjmp.S: Likewise.
7660         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
7661         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
7662         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
7665         * sysdeps/powerpc/elf/start.c: Clean up.
7667         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
7668         setjmp call.
7670         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
7672 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
7674         * Make-dist (srcs): Add $(test-srcs).
7675         * MakeTAGS (all-sources): Likewise.
7676         * Makerules (depfiles, common-mostlyclean): Likewise.
7677         * Rules (tests): Likewise.
7679 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
7681         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
7683 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
7685         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
7686         protocol=NULL to match any protocol rather than returning an
7687         error.
7689 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
7691         * nss/nss_files/files-service.c (servbyname): Match any protocol
7692         if proto==NULL.
7694 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
7696         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
7697         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
7698         Proposed by Thomas Bushnell, n/BSG.
7700 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
7702         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
7703         the buffer for replacement.
7705 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
7707         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
7708         sys_lstat and sys_stat.
7710 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7712         Add NIS+ functions
7713         * shlib-versions: Add libnss_nisplus.
7714         * nis/Makefile: Add NIS+ source files.
7715         * nis/nis_call.c: New file.
7716         * nis/nis_clone.c: New file.
7717         * nis/nis_error.c: New file.
7718         * nis/nis_file.c: New file.
7719         * nis/nis_free.c: New file.
7720         * nis/nis_intern.c: New file.
7721         * nis/nis_intern.h: New file.
7722         * nis/nis_local_names.c: New file.
7723         * nis/nis_names.c: New file.
7724         * nis/nis_print.c: New file.
7725         * nis/nis_server.c: New file.
7726         * nis/nis_subr.c: New file.
7727         * nis/nis_table.c: New file.
7728         * nis/nis_xdr.c: New file.
7729         * nis/nss-nisplus.h: New file.
7730         * nis/nss_nisplus/nisplus-alias.c: New file.
7731         * nis/nss_nisplus/nisplus-ethers.c: New file.
7732         * nis/nss_nisplus/nisplus-grp.c: New file.
7733         * nis/nss_nisplus/nisplus-hosts.c: New file.
7734         * nis/nss_nisplus/nisplus-netgrp.c: New file.
7735         * nis/nss_nisplus/nisplus-network.c: New file.
7736         * nis/nss_nisplus/nisplus-proto.c: New file.
7737         * nis/nss_nisplus/nisplus-publickey.c: New file.
7738         * nis/nss_nisplus/nisplus-pwd.c: New file.
7739         * nis/nss_nisplus/nisplus-rpc.c: New file.
7740         * nis/nss_nisplus/nisplus-service.c: New file.
7741         * nis/nss_nisplus/nisplus-spwd.c: New file.
7742         * nis/rpcsvc/nis.h: New file.
7743         * nis/rpcsvc/nis.x: New file.
7744         * nis/rpcsvc/nis_object.x: New file.
7745         * nis/rpcsvc/nis_tags.h: New file.
7746         * nis/rpcsvc/nislib.h: New file.
7748 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7750         * mach/devstream.c (output/write_some): Don't try and write more
7751         than IO_INBAND_MAX in a single call to device_write_inband.
7753 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
7755         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
7756         type is SVID.
7757         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
7758         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
7760         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
7761         FLAGS parameter.
7763 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
7765         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
7766         Change msg_iovlen and msg_controllen (in struct msghdr) to
7767         `size_t' to keep in step with kernel.
7769 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
7771         * manual/filesys.texi: Add documentation for scandir and alphasort.
7772         * manual/examples/dir2.c: New example for scandir.
7774         * math/math.c (fpclassify): Correct stupid typos.
7776         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
7777         * math/test/float.c: New file.  Frontend for float tests.
7778         * math/test/double.c: New file.  Frontend for double tests.
7779         * math/test/longdouble.c: New file.  Frontend for long double  tests.
7781         * posix/Makefile (routines): Add bsd-getpgrp.
7782         * posix/bsd-getpgrp.c: New file.
7783         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
7784         calls to __bsd_getpgrp.
7786         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
7788         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
7789         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
7790         * sysdeps/ieee754/huge_val.h: Remove definition of long double
7791         definition.  Make it the same as the double definition.
7793         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
7794         * sysdeps/libm-i387/e_acosf.S: Likewise.
7795         * sysdeps/libm-i387/e_acosl.S: Likewise.
7796         * sysdeps/libm-i387/e_asin.S: Likewise.
7797         * sysdeps/libm-i387/e_asinf.S: Likewise.
7798         * sysdeps/libm-i387/e_asinl.S: Likewise.
7799         * sysdeps/libm-i387/e_exp.S: Likewise.
7800         * sysdeps/libm-i387/e_expf.S: Likewise.
7801         * sysdeps/libm-i387/e_expl.S: Likewise.
7802         * sysdeps/libm-i387/s_scalbn.S: Likewise.
7803         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
7804         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
7806         * sysdeps/libm-i387/e_log.S: Optimize branch code.
7807         * sysdeps/libm-i387/e_logf.S: Likewise.
7808         * sysdeps/libm-i387/e_logl.S: Likewise.
7809         * sysdeps/libm-i387/e_log10.S: Likewise.
7810         * sysdeps/libm-i387/e_log10f.S: Likewise.
7811         * sysdeps/libm-i387/e_log10l.S: Likewise.
7813         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
7814         * sysdeps/libm-i387/e_powf.S: Likewise.
7815         * sysdeps/libm-i387/e_powl.S: Likewise.
7817         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
7818         argument to -1.0.
7819         * sysdeps/libm-i387/s_expm1f.S: Likewise.
7820         * sysdeps/libm-i387/s_expm1l.S: Likewise.
7822         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
7824         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
7825         stack element after fxtract.
7827         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
7828         implementation for atan2 function.
7830         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
7831         _SVID_ mode when acos, asin, atan2, log, log10 is called with
7832         argument out of range.
7833         Add new error case for pow(+0,neg).
7835         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
7836         NaN and +-inf.
7837         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
7838         digit in stupid 80 bit formats.
7840         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
7841         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
7842         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7844         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
7845         long double type.
7847         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
7848         in SVID mode.
7849         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
7850         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
7852         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
7853         or -0.
7854         * sysdeps/libm-ieee754/w_powf.c: Likewise.
7855         * sysdeps/libm-ieee754/w_powl.c: Likewise.
7857         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
7859         * sysdeps/stub/fcntlbits.h: Update copyright.
7860         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
7861         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
7862         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
7863         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
7864         * sysdeps/unix/common/fcntlbits.h: Likewise.
7865         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
7866         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
7867         and FNDELAY.
7868         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
7870         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
7871         only reclen bytes.
7873         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
7874         and O_NORW.
7875         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
7877         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
7879         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
7880         struct stat to user-level form.
7881         * sysdeps/unix/sysv/linux/lxstat: New file.
7882         * sysdeps/unix/sysv/linux/xstat: New file.
7883         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
7884         kernel.
7885         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
7886         to use prescribed types for elements.
7887         (_STAT_VER): Change to value 3.
7888         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
7889         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
7890         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
7892         * time/Makefile: Correct dependencies for test-tz.
7894 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
7896         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
7897         (needed for IPv6 basic sockets API).
7899 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
7901         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
7902         kernel header.
7903         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
7905 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
7907         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
7908         without testing for last_bfp to be NULL.
7909         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
7911 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
7913         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
7915 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
7917         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
7918         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
7920 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
7922         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
7923         functions.  Compare result for correct address type.
7924         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
7925         * nss/nss_files/files-hosts.c: Likewise.
7926         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
7928 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
7930         * time/strptime.c (recursive): Return rp to caller.
7931         (strptime_internal): First check for long names, then abbreviated
7932         (month & weekday).
7934 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7936         * Makeconfig: Remove useless definitions of ASFLAGS-%.
7937         * config.make.in (ASFLAGS-.so): Remove.
7938         * configure.in: Don't substitute ASFLAGS_SO.
7939         * sysdeps/sparc/configure.in: Remove file.
7940         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
7942 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7944         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
7945         1900 from year, regardless of century.
7947 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
7949         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
7950         all numbers unsigned to make buggy gccs happy.
7951         Patch by Bryan W. Headley <bheadley@interaccess.com>.
7953         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
7954         definitions.  Patch by a sun <asun@zoology.washington.edu>.
7955         Pretty print header.
7957         * Makerules (build-shlib): Also create symlink if library is versioned.
7958         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
7959         Remove special rule to libc.so symlink.
7961 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
7963         * manual/math.texi (Domain and Range Errors): Change descriptions
7964         according to recent changes for ISO C 9X.
7966 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
7968         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
7969         return values for acos, asin, and atan2.
7970         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
7972 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7974         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
7976 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
7978         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
7979         to pointers to directory entries so that alphasort really can be
7980         used as argument for scandir.
7982 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
7984         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
7985         instead of strcpy.
7987 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
7989         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
7990         catalogs, not only if the envvar NLSPATH is not available.
7991         Reported by Andries.Brouwer@cwi.nl.
7993 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
7995         * Makeconfig (localtime-file): Don't define using installation
7996         directory.
7997         (inst_localtime-file): New variable.
7998         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
7999         Reported by Edward Seidl <seidl@janed.com>.
8001 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
8003         * time/Makefile: Add source files to dependencies for test data.
8005 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
8007         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
8008         * nis/nss_nis/nis-proto.c: Likewise.
8009         * nis/nss_nis/nis-rpc.c: Likewise.
8010         * nis/nss_nis/nis-service.c: Likewise.
8012 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
8014         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
8015         versioning;  Added missing R_SPARC_WDISP30 handling.
8016         (RTLD_START): Implement it.
8018         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
8020         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
8021         Linux/SPARC.
8023 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
8025         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
8026         the dynamic linker instead of having a new conditional define.
8027         Thanks to Richard Henderson for pointing this out.
8028         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
8030 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8032         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
8033         euidaccess weak alias.
8035 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8037         * stdio-common/printf_fphex.c (MIN): New macro.
8039         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
8041         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
8043         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
8044         API.  (See change by Philip Blundell on Feb 16, 1997.)
8046 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8048         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
8050         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
8051         __file_name_split.
8053         * mach/mach_error.c (mach_error_string_int): Give full prototype.
8054         * mach/errstring.c (mach_error_string_int): Likewise.
8055         * mach/error_compat.c (__mach_error_map_compat): Likewise.
8056         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
8057         * stdio/vasprintf.c (vasprintf): Likewise.
8059         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
8061         * mach/spin-solid.c: Include <mach/mach_traps.h>.
8062         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
8063         swtch_pri.
8065         * mach/mach_init.c: Include <mach/mig_support.h>.
8067         * mach/mach_error.h (mach_error_string, mach_error,
8068         mach_error_type): Always provide prototypes.
8070         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
8071         appears to be entirely unused dead code.
8073 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
8075         * string/argz.h (__need_error_t): New macro, before including <errno.h>
8076         [!__const] (__const): New macro.
8077         [!__error_t_defined] (error_t): New typedef.
8079 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
8081         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
8082         -fPIC.
8083         * Makerules (compile.S): Use ASFLAGS-%.
8084         (COMPILE.S): Likewise.
8085         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
8086         * configure.in: Substitute ASFLAGS_SO.
8087         * sysdeps/sparc/configure.in: New file.
8089         * posix/unistd.h: Add prototype for __euidaccess.
8090         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
8091         euidaccess weak alias.
8092         * sysdeps/stub/euidaccess.c: Likewise.
8093         * inet/rcmd.c: Use __ protected versions of non-standard functions.
8095         * locale/setlocale.c (setlocale): Don't set usage_count to
8096         MAX_USAGE_COUNT if it already has this value.
8098         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
8099         binary locale files.  Use LOCALEDIR only.
8100         * locale/programs/locfile.c: When named file not found and not
8101         absolute use path in I18NPATH.
8103         * stdlib/Makefile (headers): Add inttypes.h.
8104         * sysdeps/wordsize-32/inttypes.h: New file.
8105         * sysdeps/wordsize-64/inttypes.h: New file.
8107         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
8108         and AF_FILE as synonym for AF_LOCAL.
8109         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
8111         * time/Makefile: Rewrite rules for test to handle parallel builds.
8113 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
8115         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
8116         robbe@orcus.priv.at.
8118 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
8120         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
8121         8-byte boundary.
8123 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
8125         * elf/link.h: Define __need_NULL to get definition.  Include
8126         <features.h>.
8127         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
8129 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
8131         Rewrite NIS code to allow empty keys.
8132         * nis/nss_nis/nis-ethers.c: Rewritten.
8133         * nis/nss_nis/nis-proto.c: Rewritten.
8134         * nis/nss_nis/nis-publickey.c: Rewritten.
8135         * nis/nss_nis/nis-rpc.c: Rewritten.
8136         * nis/nss_nis/nis-service.c: Rewritten.
8138 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
8140         * time/scheck.c (scheck): Add extra const to second argument.
8142         * time/private.h: Correct prototypes to match definition.
8144 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
8146         * sysdeps/alpha/__math.h: Remove cabs inline definition.
8147         Reported by Philip Blundell <pjb27@cam.ac.uk>.
8149 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
8151         * argp/Makefile (routines): Add argp-eexst.
8152         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
8153         * argp/argp-eexst.c: New file.  Define exit status variable.
8154         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
8155         variable instead of always exiting with value 1.
8156         * argp/argp-pv.c (argp_program_version): Make `const'.
8157         * argp/argp.h: Declare argp_err_exit_status.
8158         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
8160         * locale/programs/localedef.c: Use argp_err_exit_status to
8161         terminate with correct value.
8163         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
8164         switching of UID before opening .rhosts.
8166         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
8167         proposal.  The return value now is always the number of characters
8168         which would be written if enough space is available.
8169         * manual/stdio.texi: Update description for new behaviour.
8171         * locale/locale.h (__locale_t): Don't use __locale_t for struct
8172         name and pointer to struct since old gccs cannot keep the namespaces
8173         apart.  Rename struct to __locale_struct.
8174         * locale/duplocale.h: Likewise.
8175         * locale/newlocale.h: Likewise.
8177         * math/Makefile (headers): Add complex.h and cmathcalls.h.
8178         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
8179         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
8180         after use.
8181         (signgam): Move declaration to here from mathcalls.h.
8182         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
8183         Correct comment for fmin and fmax.
8184         Start implementing complex math function from ISO C 9X.
8185         * math/complex.h: New file.
8186         * math/cmathcalls.h: New file.
8187         * math/cabs.c: New file.
8188         * math/cabsf.c: New file.
8189         * math/cabsl.c: New file.
8190         * math/cimag.c: New file.
8191         * math/cimagf.c: New file.
8192         * math/cimagl.c: New file.
8193         * math/conj.c: New file.
8194         * math/conjf.c: New file.
8195         * math/conjl.c: New file.
8196         * math/creal.c: New file.
8197         * math/crealf.c: New file.
8198         * math/creall.c: New file.
8199         * sysdeps/libm-ieee754/w_cabs.c: Removed.
8200         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
8201         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
8203         * posix/regex.c: Merge with regex sources from Arnold Robbins'
8204         version in GNU awk.
8205         * posix/regex.h: Likewise.
8207         Add regex test suite by Tom Lord.
8208         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
8209         (tests): Add runtests.
8210         (before-compile): Add testcases.h.
8211         (testcases.h): New rule to generate header with tests.
8212         * posix/TESTS: New file.
8213         * posix/TESTS2C.sed.: New file.
8214         * posix/runtests.c: New file.
8215         * posix/testcases.h: New file.
8217         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
8218         available and use fall-back implementation if not.
8220         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
8222         * time/ialloc.c: Update from tzcode1997c.
8223         * time/private.h: Likewise.
8224         * time/scheck.c: Likewise.
8225         * time/tzselect.ksh: Likewise.
8226         * time/zdump.c: Likewise.
8227         * time/zic.c: Likewise.
8229         * time/tzfile.c: Pretty print.
8231 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
8233         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
8234         on a 601.
8236         * sysdeps/powerpc/Implies: Added.
8237         * sysdeps/powerpc/__longjmp.S: Added.
8238         * sysdeps/powerpc/__math.h: Added.
8239         * sysdeps/powerpc/bsd-_setjmp.S: Added.
8240         * sysdeps/powerpc/bsd-setjmp.S: Added.
8241         * sysdeps/powerpc/dl-machine.h: Added.
8242         * sysdeps/powerpc/ffs.c: Added.
8243         * sysdeps/powerpc/fpu_control.h: Added.
8244         * sysdeps/powerpc/jmp_buf.h: Added.
8245         * sysdeps/powerpc/setjmp.S: Added.
8246         * sysdeps/powerpc/strlen.S: Added.
8247         * sysdeps/powerpc/elf/start.c: Added.
8248         * sysdeps/powerpc/fpu_control.h: Added.
8249         * sysdeps/powerpc/jmp_buf.h: Added.
8251         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
8252         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
8253         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
8254         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
8255         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
8256         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
8257         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
8258         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
8259         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
8260         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
8261         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
8262         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
8263         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
8264         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
8266 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
8268         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
8269         because knowing the first instruction of a PowerPC PLT trampoline
8270         is not very helpful.
8272 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
8274         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
8275         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
8276         a preference as to where executables should be loaded.
8278 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
8280         * elf/elf.h: Add in all those PowerPC reloc types.
8282 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
8284         * stdio-common/vfscanf.c: Use __va_copy if available.
8286 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8288         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
8289         clean up namespace.
8291 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
8293         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
8294         non-existing GET_WORDS macro, use EXTRACT_WORDS.
8295         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
8297 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
8299         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
8300         kernel-level sigaction structure is different.  handle this
8301         correctly.
8302         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
8304 1997-03-06 05:55  David Engel  <david@sw.ods.com>
8306         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
8307         recognize cache entries with flag == 3.
8309 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
8311         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
8312         (INADDR_LOOPBACK): Likewise.
8313         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
8315         * manual/socket.texi: Correct types of INADDR_* constants from
8316         unsigned long to unsigned.
8318 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
8320         * time/antarctica: Update from tzdata1997c.
8321         * time/asia: Likewise.
8322         * time/zone.tab: Likewise.
8324 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8326         * configure.in (libc_cv_asm_symver_directive,
8327         libc_cv_ld_version_script_option): Remove unknown instruction from
8328         assembler test file.
8330 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8332         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
8333         __USE_ISOC9X.
8334         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
8335         (fabs): Remove defininition, it is a gcc builtin.
8336         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
8338 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
8340         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
8341         generating file.
8343 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
8345         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
8346         instead to avoid namespace problems.
8347         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
8349 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8351         * login/utmp_file.c: Fix previous change.  Make portable by
8352         checking the _HAVE_UT_* feature macros.
8354 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
8356         * Makerules: Add rules to handle versioning.
8357         * config.h.in (DO_VERSIONING): New macro.
8358         * config.make.in (versioning): New variable.
8359         * configure.in: Add checks for .symver directive in gas and
8360         --version-script option to ld.  Define DO_VERSIONING and
8361         versioning if appropriate.
8363         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
8364         s_fmin, and s_fdim.
8365         * math/math.h: Define ISO C 9X constants, macros and functions.
8366         * math/mathcalls.h: Likewise.
8367         * sysdeps/libm-ieee754/s_fdim.c: New file.
8368         * sysdeps/libm-ieee754/s_fdimf.c: New file.
8369         * sysdeps/libm-ieee754/s_fdiml.c: New file.
8370         * sysdeps/libm-ieee754/s_fmax.c: New file.
8371         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
8372         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
8373         * sysdeps/libm-ieee754/s_fmin.c: New file.
8374         * sysdeps/libm-ieee754/s_fminf.c: New file.
8375         * sysdeps/libm-ieee754/s_fminl.c: New file.
8376         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
8377         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
8378         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
8379         * sysdeps/libm-ieee754/s_signbit.c: New file.
8380         * sysdeps/libm-ieee754/s_signbitf.c: New file.
8381         * sysdeps/libm-ieee754/s_signbitl.c: New file.
8383         * stdio-common/printf_fphex.c: Correct printing of decimal point
8384         character.
8385         Simplify conversion of mantissa to string.
8386         * stdio-common/vfscanf.c: Handle %A format.
8387         Optimize termination of floating-point scanning.
8388         * stdio-common/tstscanf.c (main): Add new test to scanf to test
8389         scanning float values with given width.
8390         * stdlib/strtod.c: Add handling of floating-point numbers in
8391         hexadecimal notation.
8393         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
8394         functions.
8395         Pretty print #if directives.
8396         * string/string.h: Pretty print #if directives.
8398         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
8399         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
8400         * sysdeps/ieee754/mpn2dbl.c: Likewise.
8401         * sysdeps/ieee754/mpn2flt.c: Likewise.
8402         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
8404         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
8405         falling back to select-based implementation if syscall isn't
8406         available.
8407         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
8409         * time/leapseconds: Update from tzdata1997b.
8410         * time/zic.c: Update from tzcode1997b.
8412 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8414         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
8415         depedencies between installed $(tzlinks) and $(tzbases) files.
8417 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8419         * math/math.h: Make compatible with traditional preprocessor;
8420         requires carefull placement of whitespace in macro arguments.
8421         Use __CONCAT instead of ##.
8422         Declare long double functions only if __STDC__ or __GNUC__.
8423         * math/mathcall.h: Avoid whitespace before argument of macro call
8424         that is used as function name.
8426         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
8427         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
8428         of __NO_M81_MATH_INLINES.
8429         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
8430         starting with __ieee754.
8431         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
8432         functions as inlines.
8433         (__m81_defun): Put __attribute__ between return type and function
8434         name.
8435         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
8436         is defined.
8437         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
8438         instead of __NO_M81_MATH_INLINES.
8439         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8440         * sysdeps/m68k/fpu/k_cos.c: Likewise.
8441         * sysdeps/m68k/fpu/k_sin.c: Likewise.
8442         * sysdeps/m68k/fpu/k_tan.c: Likewise.
8443         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
8444         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8445         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8446         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8447         * sysdeps/m68k/fpu/s_modf.c: Likewise.
8448         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8450 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8452         * Makefile (tests): Cope with $PATH not including the current
8453         directory.
8455 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8457         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
8458         $(common-objdir-compile).
8459         ($(common-objpfx)make-ioctls): Likewise.
8460         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
8461         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
8462         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
8463         Likewise.
8464         ($(common-objpfx)sys/syscall.h): Likewise.
8465         ($(common-objpfx)local_lim.h): Let make deal with command
8466         failure.
8467         ($(common-objpfx)param.h.dep): Use temporary file and update
8468         target atomically.
8469         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
8470         (include $(common-objpfx)param.h.dep): Ignore error.
8472         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
8473         $(common-objdir-compile).
8474         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
8475         $(shell pwd) instead of $$cwd.
8477         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
8478         $(common-objdir-compile).
8479         ($(objpfx)make_siglist): Use $(native-compile).
8480         (make_siglist-CFLAGS): New variable.
8482         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
8483         the old name for the user to pass additional flags to the host
8484         compiler.  Fix reference to config header.
8485         (native-compile, common-objdir-compile): Rewritten to make more
8486         generally usable.
8487         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
8488         instead of BUILD_CFLAGS.
8490         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
8491         defined.
8493 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8495         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
8496         New rules to generate dependencies for the RPC service objects.
8498 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8500         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
8501         supplied.
8503 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
8505         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
8506         so that clearing second word is necessary.
8508         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
8509         header since it is wrong for 64 bit systems.
8510         Patch by a sun <asun@zoology.washington.edu>.
8512 1997-02-27 10:34  Richard Henderson  <rth@tamu.edu>
8514         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
8515         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
8516         for the benefit of running foreign binaries.
8518 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
8520         * login/utmp_file.c (pututline_file): Correctly decide whether
8521         LAST_ENTRY matches DATA.
8522         Don't depend on ut_id ever being set.
8523         (proc_utmp_eq): New function.
8524         (internal_getut_r): Renamed from internal_getutid_r.
8525         Use proc_utmp_eq.
8527         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
8529 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
8531         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
8533 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
8535         * manual/Makefile: Add rules to run and distribute xtract-typefun.
8536         * manual/xtract-typefun.awk: New file.  Script to extract function,
8537         variable, macro anchor to put into the `dir' file.
8538         * manual/signal.texi: Document difference between SysV and BSD
8539         signal(3) function and add documentation for sysv_signal.
8541         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
8542         exponent before comparing.
8544 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
8546         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
8547         prototypes to use types with explicit width.  `unsigned long' is
8548         different on 64 bit systems.
8549         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
8550         * sysdeps/generic/htonl.c: Likewise.
8551         * sysdeps/generic/htons.c: Likewise.
8552         * sysdeps/generic/ntohl.c: Likewise.
8553         * sysdeps/generic/ntohs.c: Likewise.
8554         Suggested by a sun <asun@zoology.washington.edu>.
8556 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
8558         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
8559         defined and we want optimization.
8561 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8563         * misc/getpass.c: Don't disable canonical input.
8564         Reverted patch of Mon Jan  6 01:35:29 1997.
8566 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8568         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
8569         match the hidden __in_chrg parameter of the destructor.
8570         (_IO_FINISH): Pass zero for it.
8571         * libio/genops.c (_IO_default_finish): Add second parameter, which
8572         is ignored.
8573         * libio/memstream.c (_IO_mem_finish): Likewise.
8574         * libio/fileops.c (_IO_file_finish): Likewise.
8575         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
8577 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
8579         * time/Makefile: Avoid using patterns in dependencies.
8581 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
8583         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
8584         SPARC will convert the call _dl_start into a call into the PLT.
8586         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
8587         of arg to make it point to the actual values.
8589         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
8590         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
8592         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
8593         them PIC aware.
8595         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
8596         Implemented.
8597         (elf_machine_rela): Make it compile; fix existing relocation
8598         types; add unhandled relocation types.
8599         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
8600         (RTLD_START): Initial implementation, not yet finished.
8602         * sysdeps/sparc/elf/start.S: Fix.
8604         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
8605         __setfpucw.
8607         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
8608         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
8609         sysdeps/sparc/urem.S : Regenerated.
8611         * sysdeps/sparc/setjmp.S: Make it PIC aware.
8613         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
8614         __ASSEMBLY__ before using kernel header.
8616         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
8617         rtld.c.
8619         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
8620         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
8621         to handle old signals.
8622         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
8623         for all Linux/SPARC kernels.
8624         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
8625         errno using __errno_location.
8626         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
8627         macros for assembler sources.
8628         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
8630 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8632         * elf/rtld.c (dl_main): Remove dead code that is never executed.
8633         Rename local variable l to main_map where it is used to point to
8634         the load_map for the executable.
8636 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8638         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
8639         could not be found.
8641 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8643         * Makerules: Generate implicit object suffix rules automagically.
8644         (o-iterator): Move before first use.
8646         * Makeconfig (all-object-suffixes): Add .bo suffix.
8648 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
8650         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
8651         word on stack for overflow.
8653 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8655         * malloc/malloc.c (malloc_get_state): New function.
8656         Saves global malloc state to an opaque data structure which
8657         is dynamically allocated in the heap.
8658         * malloc/malloc.c (malloc_set_state): New function.
8659         Restore previously obtained state.
8660         * malloc/malloc.h: Add declaration of malloc_get_state()
8661         and malloc_set_state().
8663 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
8665         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
8666         position.
8668 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
8670         * misc/error.c: Make error and error_at_line weak aliases of
8671         __error and __error_at_line respectively.
8672         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
8674         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
8676 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8678         * elf/ldd.bash.in: Run the program directly, not as argument
8679         to the dynamic linker, if it contains an interpreter segment.
8680         * elf/ldd.sh.in: Likewise.
8682         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
8683         object contains an interpreter segment and exit with 2 if not.
8685 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8687         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
8688         and xlocale.h.  Make-dist adds them automagically.
8690 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8692         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
8693         time-era-num-entries.
8695 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8697         * rellns-sh: No need to check for existance of first parameter.
8699 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
8701         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
8702         to avoid duplicate mail.
8704 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
8706         * Makefile (distribute): Add isomac.c.
8707         (tests): Run isomac test.
8709         * features.h (__USE_ISOC9X): New macro.
8711         * catgets/catgets.c: Don't use global variable `optind'.  Instead
8712         use result computed by argp_parse.
8713         * db/makedb: Likewise.
8714         * locale/programs/locale.c: Likewise.
8715         * locale/programs/localedef.c: Likewise.
8717         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
8719         * libio/clearerr.c: Remove clearerr_locked alias.
8720         * libio/feof.c: Remove feof_locked alias.
8721         * libio/ferror.c: Remove feof_locked alias.
8722         * libio/fileno.c: Remove fileno_locked alias.
8723         * libio/fputc.c: Remove fputc_locked alias.
8724         * libio/getc.c: Remove getc_locked alias.
8725         * libio/getchar.c: Remove getchar_locked alias.
8726         * libio/iofflush.c: Remove fflush_locked alias.
8727         * libio/putc.c: Remove putc_locked alias.
8728         * libio/putc.c: Remove putchar_locked alias.
8730         * stdio-common/printf_fp.c: When number is inifinity print INF
8731         or inf depending on case of specifier.  Same for NaN where NAN
8732         or nan is printed.  Specified in ISO C 9X.
8734         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
8735         * stdio/stdio.h: Add __restrict to prototypes where necessary.
8736         * libio/stdio.h: Likewise.
8737         * stdlib/stdlib.h: Likewise.
8738         * string/string.h: Likewise.
8739         * time/time.h: Likewise.
8740         * wcsmbs/wchar.h: Likewise.
8742         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
8743         NAN(...).
8745         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
8746         of HUGE_VALf and HUGE_VALL.
8747         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
8748         instead of HUGE_VALf.
8749         * wcsmbs/wcstof.c: Likewise.
8750         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
8751         instead of HUGE_VALl.
8752         * wcsmbs/wcstold.c: Likewise.
8754         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
8755         avoid warning.
8757         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
8758         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
8759         * wcsmbs/wcscasecmp.c: New file.
8760         * wcsmbs/wcsncase.c: New file.
8762         * stdlib/strtol.c: Define wide character quad word functions as
8763         wcstoll and wcstoull and normal versions as strtoll and strtoull.
8764         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
8765         * wcsmbs/wcstoq: Renamed to wcstoll.c.
8766         * wcsmbs/wcstouq: Renamed to wcstoull.c.
8767         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
8768         alias of wcstoll.
8769         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
8770         alias of wcstoull.
8771         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
8772         wcstoll and wcstoull respectively.
8773         * stdlib/strtoq.c: Rename to strtoll.c.
8774         * stdlib/strtouq.c: Rename to strtoull.c.
8775         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
8776         alias of strtoll.
8777         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
8778         alias of strtoull.
8779         * stdlib/Makefile (routines): Replace strtoq and strtouq by
8780         strtoll and strtoull respectively.
8781         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
8782         __strtouq_internal but instead __strtoll_internal and
8783         __strtoull_internal respectively.
8784         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
8785         (strtouq): Similar with __internal_strtoull.
8786         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
8787         (wcstouq): Similar with __internal_wcstoull.
8789 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
8791         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
8792         sign in the strtouXX functions.  The results gets simply negated.
8793         * stdio-common/tstscanf.c: Add testcase for above case.
8794         * stdlib/tst-strtol.c: Correct tests.
8796         * manual/stdio-fp.c: New file.  Generate output for example program
8797         in stdio.texi.
8799         * stdio-common/Makefile (routines): Add printf_fphex.
8800         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
8801         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
8802         specifier.
8804 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
8806         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
8807         __STRICT_ANSI__.
8809         * math/math.h: Prevent definition of struct exception when using
8810         C++.  Use __exception instead.
8812 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
8814         * sysdeps/unix/syscalls.list: Dup takes only one argument.
8815         Reported by Greg McGary.
8817 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
8819         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
8820         than file_get_translator.
8822         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
8823         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
8825 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
8827         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
8828         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8830 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
8832         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
8833         but ADDR also == 0.
8835         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
8836         now instead of a weak extern, as some old programs expect it to be
8837         defined by ld.so.
8839 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
8841         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
8843         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
8844         __hurd_threadvar_stack_offset): Restore initialized versions, so
8845         startup works correctly.
8847         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
8849 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
8851         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
8852         not __mutex_try_lock.
8853         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
8854         (tsd_getspecific): Case variable to (void *) before returning.
8856         * hurd/hurdinit.c (__libc_argv): Remove extern.
8857         (__libc_argc): New variable.
8859 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
8861         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
8862         _HURD_THREADVAR_MALLOC.
8863         * malloc/thread-m.h
8864         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
8865         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
8866         __mutex_*.
8867         (mutex_t): Type removed & replaced by new macro.
8868         (tsd_key_t): Typedef to int instead of pthread_key_t.
8869         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
8870         (__pthread_initialize): New macro, work around assumption of pthreads.
8871         (tsd_keys_alloced): New static variable.
8872         <hurd/threadvar.h>: New include.
8874         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
8875         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
8876         defined before using it.
8878         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
8879         Make extern.
8880         * hurd/hurdinit.c (__libc_argv): Make extern.
8882         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
8883         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
8885         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
8886         __hurd_threadvar_stack_offset,
8887         __hurd_threadvar_stack_mask): New variables.
8888         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
8889         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
8890         New variables (moved here from hurdstartup.c).
8891         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
8892         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
8893         Variables removed (moved to hurdsig.c).
8894         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
8895         __hurd_threadvar_stack_mask): Variables removed.
8896         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
8897         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
8898         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
8899         __hurd_threadvar_stack_mask): Variables removed.
8901 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
8903         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
8904         Declare extern.
8906         * malloc/thread-m.h
8907         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
8908         (mutex_t): Type removed.
8909         (mutex_t): New macro.
8910         (mutex_trylock): New macro.
8911         (__x_mutex_lock, __x_mutex_unlock): New functions.
8912         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
8913         the cthread definitions.
8914         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
8915         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
8916         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
8917         (__pthread_initialize): New macro, work around assumption of pthreads.
8919 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
8921         * locale/weight.h (collate_rules): It's an u_int32_t array.
8922         (get_weight): Compute initial SLOT value correctly.
8924 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
8926         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
8927         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
8928         * sysdeps/unix/sysv/linux/bind.S: Likewise.
8929         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8930         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
8931         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
8932         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
8933         * sysdeps/unix/sysv/linux/listen.S: Likewise.
8934         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8935         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8936         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8937         * sysdeps/unix/sysv/linux/send.S: Likewise.
8938         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8939         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8940         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
8941         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
8942         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
8944 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
8946         * catgets/gencat.c: Change to use argp.
8947         * db/makedb: Likewise.
8948         * locale/programs/localedef.c: Likewise.
8950         * locale/programs/locale.c: Little adjustment for better usage of
8951         argp.
8953 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
8955         * Makeconfig: Add rules for libc with bounded pointers.
8956         * Makerules: Likewise.
8957         * config.make.in: Likewise.
8958         * configure.in: Likewise.
8960 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
8962         * argp/argp.h (OPTION_NO_USAGE): New macro.
8963         * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
8964         add_argless_short_opt): Implement OPTION_NO_USAGE.
8966 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8968         * malloc/obstack.h: Fix typo.
8970 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
8972         * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
8973         where NEXTLINE points one past the end of the active buffer.
8975         * argp/argp-help.c <stddef.h>: New include.
8976         (__argp_failure): Only exit if STATE says it's ok.
8977         (print_header, hol_entry_help): Use UPARAMS fields rather than
8978         constants.
8979         (_help): Call fill_in_uparams if necessary.
8980         (struct hol_help_state): New type.
8981         (struct pentry_state): Add hhstate field.  Remove prev_entry &
8982         sep_groups fields.
8983         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
8984         sep_groups parameters.
8985         Suppress duplicate arguments if requested, and note the fact.
8986         (print_header, comma): Use PEST->hhstate fields.
8987         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
8988         Remove LAST_ENTRY & SEP_GROUPS variables.
8989         If any suplicate arguments were suppressed, print explanatory note.
8990         (filter_doc): Replace PEST parameter with STATE.
8991         (struct uparams): New type.
8992         (uparams): New variable.
8993         (struct uparam_name): New type.
8994         (uparam_names): New variable.
8995         (fill_in_uparams): New function.
8996         (__argp_failure, __argp_error, __argp_state_help): Make STATE
8997         parameter const.
8998         * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
8999         __argp_usage, argp_error, __argp_error, argp_failure,
9000         __argp_failure): Make STATE parameter const.
9001         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
9003         * argp/argp.h (argp_program_bug_address): Make const.
9005 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
9007         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
9009 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
9011         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
9013 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
9015         * stdio-common/test-fseek.c: Remove temporary file, add
9016         copyright.
9018 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
9020         * sysdeps/generic/netinet/in.h: Protect contents using
9021         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
9023         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
9024         * inet/Makefile (headers): Remove net/ethernet.h.
9025         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
9026         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
9028 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
9030         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
9031         searching in sorted array.
9033 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
9035         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
9036         and protect modification of global data.
9038 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
9040         * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
9041         (parser_init): Use the basename for PARSER->state.name.
9042         * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
9043         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
9045         * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
9046         Make check whether PARSER has the prog name in argv[0] at the
9047         proper place.
9049 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
9051         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
9052         Use default value instead of printing a warning.
9054         * nss/XXX-lookup.c: Add missing explanation.
9056 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
9058         * inet/in6_addr.c: Add missing braces.
9060         * inet/getnameinfo.c: Include <arpa/inet.h>.
9062         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
9064 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
9066         * string/strxfrm.c (STRCOLL): Correct handling of `position'
9067         levels with no non-IGNOREd element and handling of NUL byte.
9068         * string/strcoll.c (STRXFRM): Likewise.
9069         * locale/weight.h: Likewise.
9071         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
9073 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
9075         * argp/argp-help.c: Add support for user provided filter of help
9076         messages.
9077         * argp/argp-parse.c: Likewise.
9078         * argp/argp.h: Likewise.
9079         * argp/argp-namefrob.h: Define __argp_input.
9081         * argp/argp-test.c: Add example for filter.
9083 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
9085         * argp.h: New file.
9086         * locale/programs/locale.c: Switch to use argp.
9088         * errno.h: Make it possible to get definition of error_t even
9089         after having errno.h already.
9091         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
9092         from dl-lookup.c.
9093         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
9095         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
9096         * elf/dl-version.c: Likewise.
9098         * elf/dl-lookup.c: Implement new versioning lookup scheme.
9099         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
9100         in l_versions member.
9102         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
9103         and _dl_lookup_versioned_symbol.
9105         * elf/link.h: Rename hash_name_pair to struct r_found_version.
9106         * sysdeps/alpha/dl-machine.h: Likewise.
9107         * sysdeps/i386/dl-machine.h: Likewise.
9108         * sysdeps/m68k/dl-machine.h: Likewise.
9109         * sysdeps/mips/dl-machine.h: Likewise.
9111         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
9112         length of abs_filename.
9114         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
9116         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
9117         in mon_grouping information.  This means no more grouping.
9118         * locale/programs/ld-numeric.c (numeric_add): Write value \377
9119         when seein value 0 in grouping information.
9120         * locale/programs/linereader.c (lr_close): Don't free fname since
9121         it might be used in error messages.
9123         * locale/programs/locale.c: Check whether output of `locale -a'
9124         really is locale directory.  Also print locale aliases.
9126         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
9127         be const.
9129 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
9131         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
9132         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
9134 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
9136         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
9138 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
9140         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
9141         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
9143         * sysdeps/stub/msync.c (msync): Add missing third parameter.
9145 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
9147         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
9148         additional argument.
9150 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
9152         * inet/net/ethernet.h: New file.
9153         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
9154         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
9155         Contributed by a sun <asun@zoology.washington.edu>.
9157         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
9158         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
9159         Reported by a sun <asun@zoology.washington.edu>.
9161 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9163         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
9164         makefiles which may change the distinfo variables.
9166 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
9169         [$(subdir)=misc]: Add sys/quota.h.
9170         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
9172 1997-02-17 13:12  aleph1@dfw.net
9174         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
9175         strncpy.
9177 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
9179         * stdio-common/bug10.c (main): Correct parameter.
9181 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
9183         * malloc/obstack.h: Add `extern "C"' protection.
9184         * posix/regex.h: Likewise.
9185         * io/ftw.h: Likewise.
9186         * misc/libgen.h: Likewise.
9187         * login/utmp.h: Likewise.
9188         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
9189         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
9190         * sunrpc/rpc/pmap_rmt.h: Likewise.
9191         * sunrpc/rpc/auth_des.h: Likewise.
9192         * elf/link.h: Likewise.
9193         Reported by HJ Lu.
9195 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
9197         Linux specific network headers.
9198         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
9199         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
9200         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
9201         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
9202         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
9203         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
9204         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
9205         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
9206         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
9207         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
9208         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
9209         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
9210         Add sys/quota.h.
9211         [$(subdir)=inet] (sysdep_headers): Add new network header.
9213         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
9215         * inet/netinet/ip.h: Move to sysdeps/generic.
9216         * inet/netinet/tcp.h: Likewise.
9217         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
9218         * sysdeps/generic/netinet/tcp.h: Likewise.
9220 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
9222         * misc/sys/syslog.h (prioritynames): Correct definition to use
9223         braces where necessary.
9224         (facilitynames): Likewise.
9225         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
9226         Comment and beautify declarations.
9228 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
9230         * inet/Makefile (routines): Add in6_addr, getnameinfo.
9231         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
9232         by Craig Metz.
9233         * inet/in6_addr.c: New file.  IPv6 addressing constants.
9234         * posix/Makefile (routines): Add gai_strerror.
9235         * resolv/netdb.h: Add more constants for IPv6 basic API.
9236         * sysdeps/posix/gai_strerror.c: New file.
9237         * sysdeps/stub/gai_strerror.c New file.
9238         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
9239         basic API.
9241         * sysdeps/posix/getaddrinfo.c: Update from latest version by
9242         Craig Metz and use reentrant getXXbyYY functions.
9244 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
9246         * argp/argp.h: Declare argp_program_version as const char.
9247         * argp/argp-test.c: Likewise
9249         * stdlib/testrand.c (main): Declare main prototype.
9250         * stdlib/testdiv.c (main): Likewise.
9251         * string/testcopy.c (main): Likewise.
9252         * string/test-ffs.c (main): Likewise.
9253         * time/test_time.c (main): Likewise.
9255         * locale/duplocale.c (__duplocale): Return result.
9257 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
9259         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
9260         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
9262         * nss/nss.h: Remove declaration of __nss_shlib_revision.
9263         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
9265 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
9267         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
9268         _nss_nis_gethostton_r.
9269         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
9271 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
9273         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
9274         trying to resolv name as numeric IPv6 address.
9275         * nss/digits_dots.c: Likewise.
9277 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
9279         * locale/setlocale.c (setlocale): Don't try to be clever about
9280         unused locales.  When the existence of the locale files isn't
9281         tested the result of setlocale might be different.
9283 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
9285         * locale/setlocale.c (setlocale): Don't increment usage_count of
9286         new locale if it already has the value MAX_USAGE_COUNT (it might
9287         be the C locale data which is read-only).
9289 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
9291         * argp/argp-help.c: Gettextize sources.
9292         * argp/argp-parse.c: Likewise.
9294 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
9296         * features.h (__GLIBC_MINOR__): Bump to 1.
9298         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
9299         * Makefile (distribute): Add xlocale.h.
9300         * locale/Makefile (routines): Add ctype_l.
9301         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
9302         Add __isblank_l, __toascii_l and __isascii_l.
9303         * ctype/ctype.h: Add definitions and declarations for *_l functions.
9304         * locale/Makefile (headers): Add xlocale.h.
9305         (routines): Add newlocale, duplocale, and freelocale.
9306         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
9307         (struct locale_data): Add new fields mmaped and usage_count.
9308         Correct various declarations.
9309         * locale/C-collate.c: Define value for new fields mmaped and
9310         usage_count.
9311         * locale/C-ctype.c: Likewise.
9312         * locale/C-messages.c: Likewise.
9313         * locale/C-monetary.c: Likewise.
9314         * locale/C-numeric.c: Likewise.
9315         * locale/C-time.c: Likewise.
9316         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
9317         usage_count fields.
9318         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
9319         Correct prototypes for __newlocale and __freelocale.
9320         Add prototype for __duplocale.
9321         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
9322         (_nl_remove_locale): New function.
9323         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
9324         * locale/setlocale.c: Likewise.
9325         * locale/weight.h: Change for use with locale objects.
9326         * locale/xlocale.h: New file.  Define __locale_t type.
9327         * locale/newlocale.c: New file.  Create new locale object.
9328         * locale/freelocale.c: New file.  Destroy locale object.
9329         * locale/duplocale.c: New file.  Create copy of locale object.
9330         * stdlib/Makefile (routines): Add strfmon_l.
9331         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
9332         * stdlib/strfmon.c: Add support for use in extended locale model.
9333         * stdlib/strfmon_l.c: New file.
9334         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
9335         * string/strcoll.c: Change for use in extended locale model.
9336         * string/strxfrm.c: Likewise.
9337         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
9338         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
9339         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
9340         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
9341         * wcsmbs/wcscoll.c: Change for use in extended locale model.
9342         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
9343         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
9344         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
9345         and towctrans_l.
9346         * wctype/cname-lookup.h: Prepare for use in extended locale model.
9347         * wctype/iswctype_l.c: New file.  Implement character classification
9348         functions for use with locale objects.
9349         * wctype/wctype.h: Declare functions for use with locale objects.
9350         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
9351         for use with locale objects.
9352         * wctype/wcfuncs_l.c: New file.  Implement wide character
9353         classification functions for use with locale objects.
9354         * wctype/wcextra.c: New file.  Implement real functions for
9355         non-standard classification functions.
9357         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
9358         parameters to ld.so.  Use environment variables.
9359         * elf/ldd.sh.in: Likewise.
9360         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
9361         options.  Instead read environment variables.
9363         * elf/link.h (receiver_fct): Add new argument to take error code.
9364         * elf/dl-error.c (_dl_signal_error): Call receiver function with
9365         another argument.
9367         * elf/dl-object.c (_dl_new_object): Create new object with list of
9368         names in l_libname member.
9369         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
9370         find to object to the list in the link_map variable.
9371         (_dl_map_object): Use _dl_does_name_match_p to compare with all
9372         available names of the object.
9373         Optimize handling of LD_LIBRARY_PATH a bit.
9374         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
9376         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
9378         * elf/Makefile (routines): Add dl-version.
9379         * elf/link.h (hash_name_pair): New type.  Group pointer to string
9380         and its hash value.
9381         (struct link_map): Change l_libname member to be a list of names,
9382         not a single pointer to a name.
9383         Add new members l_nversions and l_versions.
9384         (_dl_does_name_match_p): New function to test for all names of an
9385         object.
9386         Add prototypes for new lookup and versioning functions.
9387         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
9388         when versioned symbol is requested.
9389         (_dl_lookup_symbol): Call do_lookup with another argument.
9390         (_dl_lookup_symbol_skip): Likewise.
9391         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
9392         versioned symbol.
9393         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
9394         _dl_lookup_symbol_skip.
9395         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
9396         _dl_lookup_symbol depending on availability of version information.
9397         * elf/dl-runtime.c (RESOLVE): Likewise.
9398         (fixup): Call elf_machine_relplt with additional argument to point
9399         to versioning information if available.
9400         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9401         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
9402         for correct versions.
9403         * elf/dl-version.c: New file.  Check library versions and extract
9404         version information for easier access.
9405         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
9406         * elf/dlvsym.c: New file.  Implementation of function similar to
9407         dlsym, but looks for versioned symbol.
9408         * elf/elf.h: Add types and macros for versioning.
9409         * elf/rtld.c (dl_main): Check availability of needed versions.
9410         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
9411         argument for version information.  Call RESOLVE with additional
9412         argument.
9413         * sysdeps/i386/dl-machine.h: Likewise.
9414         * sysdeps/m68k/dl-machine.h: Likewise.
9415         * sysdeps/mips/dl-machine.h: Likewise.
9417         * elf/dlerror.c: Change comment to align with guidelines.
9418         * elf/dlopen.c: Likewise.
9419         * elf/dlsym.c: Likewise.
9421         * locale/programs/localedef.c: Implement --quiet option.
9422         * locale/programs/charset.h: Declare be_quiet variable.
9423         * locale/programs/locfile.h: Likewise.
9424         * locale/programs/charmap.c: Don't print warnings if quiet option
9425         was given.
9426         * locale/programs/ld-collate.c: Likewise.
9427         * locale/programs/ld-ctype.c: Likewise.
9428         * locale/programs/ld-messages.c: Likewise.
9429         * locale/programs/ld-monetary.c: Likewise.
9430         * locale/programs/ld-numeric.c: Likewise.
9431         * locale/programs/ld-time.c: Likewise.
9432         * locale/programs/locfile.c: Likewise.
9434         * Makefile (subdirs): Add argp.
9436         * catgets/catgets.c (catopen): Little code improvement.
9438         * posix/execl.c: Remove restriction to 1024 arguments.
9439         * posix/execle.c: Likewise.
9440         * posix/execlp.c: Likewise.
9442         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
9443         and make regular names weak aliases.
9444         * posix/getopt1.c: Likewise.
9445         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
9446         __ protected forms.
9448         * posix/unistd.h: Add prototype for __sleep.
9449         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
9450         * sysdeps/posix/sleep.c: Likewise.
9451         * sysdeps/stub/sleep.c: Likewise.
9452         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9454         * ctype/ctype-info.c: Update copyright.
9455         * ctype/ctype.c: Likewise.
9456         * ctype/test_ctype.c: Likewise.
9457         * dirent/alphasort.c: Likewise.
9458         * dirent/list.c: Likewise.
9459         * gmon/bb_exit_func.c: Likewise.
9460         * grp/fgetgrent.c: Likewise.
9461         * grp/getgrent.c: Likewise.
9462         * grp/getgrent_r.c: Likewise.
9463         * grp/getgrgid.c: Likewise.
9464         * grp/getgrgid_r.c: Likewise.
9465         * grp/getgrnam.c: Likewise.
9466         * grp/getgrnam_r.c: Likewise.
9467         * hurd/alloc-fd.c: Likewise.
9468         * hurd/catch-exc.c: Likewise.
9469         * hurd/ctty-input.c: Likewise.
9470         * hurd/ctty-output.c: Likewise.
9471         * hurd/dtable.c: Likewise.
9472         * hurd/fchroot.c: Likewise.
9473         * hurd/fd-close.c: Likewise.
9474         * hurd/fd-read.c: Likewise.
9475         * hurd/fd-write.c: Likewise.
9476         * hurd/fopenport.c: Likewise.
9477         * hurd/get-host.c: Likewise.
9478         * hurd/getdport.c: Likewise.
9479         * hurd/getuids.c: Likewise.
9480         * hurd/getumask.c: Likewise.
9481         * hurd/hurd-raise.c: Likewise.
9482         * hurd/hurd.h: Likewise.
9483         * hurd/hurdauth.c: Likewise.
9484         * hurd/hurdexec.c: Likewise.
9485         * hurd/hurdhost.h: Likewise.
9486         * hurd/hurdid.c: Likewise.
9487         * hurd/hurdinit.c: Likewise.
9488         * hurd/hurdioctl.c: Likewise.
9489         * hurd/hurdkill.c: Likewise.
9490         * hurd/hurdlookup.c: Likewise.
9491         * hurd/hurdmsg.c: Likewise.
9492         * hurd/hurdpid.c: Likewise.
9493         * hurd/hurdports.c: Likewise.
9494         * hurd/hurdprio.c: Likewise.
9495         * hurd/hurdrlimit.c: Likewise.
9496         * hurd/hurdsock.c: Likewise.
9497         * hurd/hurdstartup.c: Likewise.
9498         * hurd/hurdstartup.h: Likewise.
9499         * hurd/intern-fd.c: Likewise.
9500         * hurd/intr-msg.c: Likewise.
9501         * hurd/intr-rpc.defs: Likewise.
9502         * hurd/intr-rpc.h: Likewise.
9503         * hurd/msgportdemux.c: Likewise.
9504         * hurd/new-fd.c: Likewise.
9505         * hurd/openport.c: Likewise.
9506         * hurd/pid2task.c: Likewise.
9507         * hurd/port-cleanup.c: Likewise.
9508         * hurd/port2fd.c: Likewise.
9509         * hurd/ports-get.c: Likewise.
9510         * hurd/ports-set.c: Likewise.
9511         * hurd/privports.c: Likewise.
9512         * hurd/report-wait.c: Likewise.
9513         * hurd/set-host.c: Likewise.
9514         * hurd/setauth.c: Likewise.
9515         * hurd/setuids.c: Likewise.
9516         * hurd/siginfo.c: Likewise.
9517         * hurd/sigunwind.c: Likewise.
9518         * hurd/task2pid.c: Likewise.
9519         * hurd/thread-cancel.c: Likewise.
9520         * hurd/thread-self.c: Likewise.
9521         * hurd/vpprintf.c: Likewise.
9522         * hurd/hurd/fd.h: Likewise.
9523         * hurd/hurd/id.h: Likewise.
9524         * hurd/hurd/ioctl.h: Likewise.
9525         * hurd/hurd/lookup.h: Likewise.
9526         * hurd/hurd/port.h: Likewise.
9527         * hurd/hurd/resource.h: Likewise.
9528         * hurd/hurd/threadvar.h: Likewise.
9529         * hurd/hurd/userlink.h: Likewise.
9530         * inet/ether_aton.c: Likewise.
9531         * inet/ether_aton_r.c: Likewise.
9532         * inet/ether_ntoa.c: Likewise.
9533         * inet/ether_ntoa_r.c: Likewise.
9534         * inet/gethstbyad.c: Likewise.
9535         * inet/gethstbyad_r.c: Likewise.
9536         * inet/gethstent.c: Likewise.
9537         * inet/getnetbyad.c: Likewise.
9538         * inet/getnetbyad_r.c: Likewise.
9539         * inet/getnetbynm.c: Likewise.
9540         * inet/getnetbynm_r.c: Likewise.
9541         * inet/getnetent.c: Likewise.
9542         * inet/getnetent_r.c: Likewise.
9543         * inet/getproto.c: Likewise.
9544         * inet/getproto_r.c: Likewise.
9545         * inet/getprtent.c: Likewise.
9546         * inet/getprtent_r.c: Likewise.
9547         * inet/getprtname.c: Likewise.
9548         * inet/getrpcbyname.c: Likewise.
9549         * inet/getrpcbyname_r.c: Likewise.
9550         * inet/getrpcbynumber.c: Likewise.
9551         * inet/getrpcbynumber_r.c: Likewise.
9552         * inet/getrpcent.c: Likewise.
9553         * inet/getrpcent_r.c: Likewise.
9554         * inet/getservent.c: Likewise.
9555         * inet/getservent_r.c: Likewise.
9556         * inet/getsrvbynm.c: Likewise.
9557         * inet/getsrvbynm_r.c: Likewise.
9558         * inet/getsrvbypt.c: Likewise.
9559         * inet/getsrvbypt_r.c: Likewise.
9560         * inet/herrno.c: Likewise.
9561         * inet/netgroup.h: Likewise.
9562         * ient/netinet/ether.h: Likewise.
9563         * intl/bindtextdom.c: Likewise.
9564         * intl/dcgettext.c: Likewise.
9565         * intl/dgettext.c: Likewise.
9566         * intl/gettext.c: Likewise.
9567         * intl/gettext.h: Likewise.
9568         * intl/gettextP.h: Likewise.
9569         * intl/hash-string.h: Likewise.
9570         * intl/loadmsgcat.c: Likewise.
9571         * intl/localealias.c: Likewise.
9572         * intl/textdomain.c: Likewise.
9573         * io/creat.c: Likewise.
9574         * io/getdirname.c: Likewise.
9575         * io/lockf.c: Likewise.
9576         * io/pwd.c: Likewise.
9577         * io/test-utime.c: Likewise.
9578         * locale/categories.def: Likewise.
9579         * locale/codeset_name.c: Likewise.
9580         * locale/lc-collate.c: Likewise.
9581         * locale/lc-ctype.c: Likewise.
9582         * locale/lc-messages.c: Likewise.
9583         * locale/lc-monetary.c: Likewise.
9584         * locale/lc-numeric.c: Likewise.
9585         * locale/lc-time.c: Likewise.
9586         * locale/loadlocale.c: Likewise.
9587         * locale/localeconv.c: Likewise.
9588         * locale/nl_langinfo.c: Likewise.
9589         * locale/setlocale.c: Likewise.
9590         * locale/strlen-hash.h: Likewise.
9591         * locale/programs/charmap-kw.gperf: Likewise.
9592         * locale/programs/charmap-kw.h: Likewise.
9593         * locale/programs/charset.c: Likewise.
9594         * locale/programs/ld-ctype.c: Likewise.
9595         * locale/programs/ld-messages.c: Likewise.
9596         * locale/programs/ld-monetary.c: Likewise.
9597         * locale/programs/linereader.h: Likewise.
9598         * locale/programs/locale-spec.c: Likewise.
9599         * locale/programs/locales.h: Likewise.
9600         * locale/programs/locfile-kw.gperf: Likewise.
9601         * locale/programs/locfile-kw.h: Likewise.
9602         * locale/programs/locfile-token.h: Likewise.
9603         * locale/programs/simple-hash.h: Likewise.
9604         * locale/programs/stringtrans.c: Likewise.
9605         * locale/programs/stringtrans.h: Likewise.
9606         * login/logout.c: Likewise.
9607         * mach/bootprivport.c: Likewise.
9608         * mach/devstream.c: Likewise.
9609         * mach/hello.c: Likewise.
9610         * mach/mach.h: Likewise.
9611         * mach/mach_init.c: Likewise.
9612         * mach/mach_init.h: Likewise.
9613         * mach/mig-alloc.c: Likewise.
9614         * mach/mig-dealloc.c: Likewise.
9615         * mach/mutex-init.c: Likewise.
9616         * mach/mutex-solid.c: Likewise.
9617         * mach/setup-thread.c: Likewise.
9618         * mach/spin-lock.h: Likewise.
9619         * mach/spin-solid.c: Likewise.
9620         * mach/mach/mig_support.h: Likewise.
9621         * md5-crypt/md5-crypt.c: Likewise.
9622         * misc/nlist.h: Likewise.
9623         * nss/nss_files/files-ether.c: Likewise.
9624         * posix/confstr.c: Likewise.
9625         * posix/execl.c: Likewise.
9626         * posix/execle.c: Likewise.
9627         * posix/execlp.c: Likewise.
9628         * posix/execv.c: Likewise.
9629         * posix/execvp.c: Likewise.
9630         * posix/fnmatch.c: Likewise.
9631         * posix/getopt.c: Likewise.
9632         * posix/getopt.h: Likewise.
9633         * posix/getopt1.c: Likewise.
9634         * posix/id.c: Likewise.
9635         * posix/regex.c: Likewise.
9636         * posix/setpgrp.c: Likewise.
9637         * posix/unistd.h: Likewise.
9638         * posix/wordexp.c: Likewise.
9639         * pwd/fgetpwent.c: Likewise.
9640         * pwd/getpwent.c: Likewise.
9641         * pwd/getpwent_r.c: Likewise.
9642         * pwd/getpwnam.c: Likewise.
9643         * pwd/getpwnam_r.c: Likewise.
9644         * pwd/getpwuid.c: Likewise.
9645         * pwd/getpwuid_r.c: Likewise.
9646         * pwd/putpwent.c: Likewise.
9647         * resolv/gethnamaddr.c: Likewise.
9648         * resolv/res_hconf.c: Likewise.
9649         * resolv/res_hconf.h: Likewise.
9650         * setjmp/longjmp.c: Likewise.
9651         * setjmp/sigjmp.c: Likewise.
9652         * setjmp/tst-setjmp.c: Likewise.
9653         * stdio/clearerr.c: Likewise.
9654         * stdio/ferror.c: Likewise.
9655         * stdio/fgetc.c: Likewise.
9656         * stdio/fgetpos.c: Likewise.
9657         * stdio/fgets.c: Likewise.
9658         * stdio/fileno.c: Likewise.
9659         * stdio/fmemopen.c: Likewise.
9660         * stdio/fopen.c: Likewise.
9661         * stdio/fopncook.c: Likewise.
9662         * stdio/fputc.c: Likewise.
9663         * stdio/fputs.c: Likewise.
9664         * stdio/fread.c: Likewise.
9665         * stdio/freopen.c: Likewise.
9666         * stdio/fseek.c: Likewise.
9667         * stdio/fsetpos.c: Likewise.
9668         * stdio/ftell.c: Likewise.
9669         * stdio/fwrite.c: Likewise.
9670         * stdio/getchar.c: Likewise.
9671         * stdio/getdelim.c: Likewise.
9672         * stdio/gets.c: Likewise.
9673         * stdio/glue.c: Likewise.
9674         * stdio/internals.c: Likewise.
9675         * stdio/linewrap.c: Likewise.
9676         * stdio/linewrap.h: Likewise.
9677         * stdio/memstream.c: Likewise.
9678         * stdio/newstream.c: Likewise.
9679         * stdio/putchar.c: Likewise.
9680         * stdio/puts.c: Likewise.
9681         * stdio/rewind.c: Likewise.
9682         * stdio/setbuf.c: Likewise.
9683         * stdio/setbuffer.c: Likewise.
9684         * stdio/setlinebuf.c: Likewise.
9685         * stdio/setvbuf.c: Likewise.
9686         * stdio/ungetc.c: Likewise.
9687         * stdio/vasprintf.c: Likewise.
9688         * stdio/vscanf.c: Likewise.
9689         * stdio/vsnprintf.c: Likewise.
9690         * stdio/vsprintf.c: Likewise.
9691         * stdio/vsscanf.c: Likewise.
9692         * stdio-common/asprintf.c: Likewise.
9693         * stdio-common/dprintf.c: Likewise.
9694         * stdio-common/errnobug.c: Likewise.
9695         * stdio-common/fprintf.c: Likewise.
9696         * stdio-common/getline.c: Likewise.
9697         * stdio-common/getw.c: Likewise.
9698         * stdio-common/perror.c: Likewise.
9699         * stdio-common/psignal.c: Likewise.
9700         * stdio-common/putw.c: Likewise.
9701         * stdio-common/reg-printf.c: Likewise.
9702         * stdio-common/scanf.c: Likewise.
9703         * stdio-common/snprintf.c: Likewise.
9704         * stdio-common/sprintf.c: Likewise.
9705         * stdio-common/tempnam.c: Likewise.
9706         * stdio-common/test_rdwr.c: Likewise.
9707         * stdio-common/tst-fileno.c: Likewise.
9708         * stdio-common/tst-printf.c: Likewise.
9709         * stdio-common/tstgetln.c: Likewise.
9710         * stdio-common/vprintf.c: Likewise.
9711         * stdlib/drand48.c: Likewise.
9712         * stdlib/drand48_r.c: Likewise.
9713         * stdlib/erand48.c: Likewise.
9714         * stdlib/erand48_r.c: Likewise.
9715         * stdlib/exit.h: Likewise.
9716         * stdlib/strtoq.c: Likewise.
9717         * stdlib/strtoul.c: Likewise.
9718         * stdlib/strtouq.c: Likewise.
9719         * stdlib/test-canon.c: Likewise.
9720         * stdlib/testdiv.c: Likewise.
9721         * stdlib/testrand.c: Likewise.
9722         * string/argz-append.c: Likewise.
9723         * string/argz-count.c: Likewise.
9724         * string/argz-create.c: Likewise.
9725         * string/argz-ctsep.c: Likewise.
9726         * string/argz-delete.c: Likewise.
9727         * string/argz-extract.c: Likewise.
9728         * string/argz-insert.c: Likewise.
9729         * string/argz-next.c: Likewise.
9730         * string/argz-stringify.c: Likewise.
9731         * string/basename.c: Likewise.
9732         * string/envz.c: Likewise.
9733         * string/memfrob.c: Likewise.
9734         * string/strcoll.c: Likewise.
9735         * string/strdup.c: Likewise.
9736         * string/string.h: Likewise.
9737         * string/strndup.c: Likewise.
9738         * string/strnlen.c: Likewise.
9739         * string/strsignal.c: Likewise.
9740         * string/strxfrm.c: Likewise.
9741         * string/test-ffs.c: Likewise.
9742         * string/testcopy.c: Likewise.
9743         * sysdeps/generic/enbl-secure.c: Likewise.
9744         * sysdeps/generic/memcopy.h: Likewise.
9745         * sysdeps/generic/stpncpy.c: Likewise.
9746         * sysdeps/generic/strcasecmp.c: Likewise.
9747         * sysdeps/generic/strcat.c: Likewise.
9748         * sysdeps/generic/strchr.c: Likewise.
9749         * sysdeps/generic/strcpy.c: Likewise.
9750         * sysdeps/generic/strcspn.c: Likewise.
9751         * sysdeps/generic/strlen.c: Likewise.
9752         * sysdeps/generic/strncase.c: Likewise.
9753         * sysdeps/generic/strncat.c: Likewise.
9754         * sysdeps/generic/strncpy.c: Likewise.
9755         * sysdeps/generic/strpbrk.c: Likewise.
9756         * sysdeps/generic/strsep.c: Likewise.
9757         * sysdeps/generic/strspn.c: Likewise.
9758         * sysdeps/generic/strstr.c: Likewise.
9759         * sysdeps/generic/strtok.c: Likewise.
9760         * sysdeps/generic/strtok_r.c: Likewise.
9761         * sysdeps/mach/sleep.c: Likewise.
9762         * sysdeps/posix/sleep.c: Likewise.
9763         * sysdeps/stub/sleep.c: Likewise.
9764         * time/date.c: Likewise.
9765         * time/test_time.c: Likewise.
9766         * wcsmbs/wmemcpy.c: Likewise.
9767         * wctye/test_wctype.c: Likewise.
9768         * wctye/towctrans.c: Likewise.
9769         * wctye/wcfuncs.c: Likewise.
9770         * wctye/wctrans.c: Likewise.
9772 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
9774         * argp/Makefile: New file.
9775         * argp/argp.h: Likewise.
9776         * argp/argp-ba.c: Likewise.
9777         * argp/argp-fmtstream.c: Likewise.
9778         * argp/argp-fmtstream.h: Likewise.
9779         * argp/argp-fs-xinl.c: Likewise.
9780         * argp/argp-help.c: Likewise.
9781         * argp/argp-namefrob.h: Likewise.
9782         * argp/argp-parse.c: Likewise.
9783         * argp/argp-pv.c: Likewise.
9784         * argp/argp-pvh.c: Likewise.
9785         * argp/argp-test.c: Likewise.
9786         * argp/argp-xinl.c: Likewise.
9788 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
9790         * stdlib/qsort.c: Add prototype for _quicksort.
9792         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
9794         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
9795         from dl-machine.h.
9797 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
9799         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
9800         Allow user to overwrite it.
9802 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
9804         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
9805         versions.  Reported by Andreas Jaeger.
9807 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
9809         * time/tzfile.c (__tzfile_read): Change comment to follow
9810         change of 1997-02-12.
9812 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
9814         * time/time.h (__nanosleep): Define only when struct timespec is
9815         also available.
9816         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
9818 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
9820         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
9821         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
9823 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
9825         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
9826         of 1997-02-09 in resolv/gethnamaddr.c.
9828 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
9830         * libio/_G_config.h (_G_wint_t): New.
9832 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
9834         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
9835         to sizeof (buf.buf) while calling res_search ().
9837 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
9839         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
9840         val to keydat, stat to status.
9842 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
9844         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
9846 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
9848         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
9849         by Keith Bostic.
9851 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
9853         * stdlib/atoll.c: Undefine atoll, not atol.
9855 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9857         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
9858         unused arguments of shell script.
9860         * Makeconfig (all-object-suffixes): New variable.
9861         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
9862         of $(object-suffixes).
9863         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
9865 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
9867         * string/argz-ctsep.c: Initialize *LEN when successful.
9869 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
9871         * stdio-common/_itoa.h: Update copyright.
9873 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
9875         * version.h (VERSION): Bump to 2.0.2.
9877         * posix/Makefile (routines): Add getopt_init.
9878         * posix/getopt.c: Don't get environment variable with nonoption
9879         flags here.  Depend on __getopt_nonoption_flags variable filled
9880         somewhere else.  This is necessary since the variable must be
9881         removed even when getopt isn't used in case exec(2) gets called.
9882         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
9883         and remove environment variable.
9884         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
9885         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9886         * sysdeps/stub/init-first.c: Likewise.
9887         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9889         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
9890         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
9892         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
9893         encryption is wanted.
9895         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
9896         * stdio/vsnprintf.c: Likewise.
9897         Reported by Philip Blundell <pjb27@cam.ac.uk>.
9899         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
9900         * stdio/vsnprintf.c: Likewise.
9901         Reported by Philip Blundell <pjb27@cam.ac.uk>.
9903 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
9905         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
9906         Change PTR to void *.
9907         * sysdeps/posix/vdprintf.c: Change PTR to void *.
9908         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
9910 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
9912         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
9914 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9916         * rellns-sh: No need to check for existance of first parameter.
9918 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9920         * rellns-sh: No need to check for existance of first parameter.
9922 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9924         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
9925         by David Holland <dholland@eecs.harvard.edu>.
9927 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9929         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
9930         select, in case it is modified by the latter.
9931         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9932         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9933         * sunrpc/svc_tcp.c (readtcp): Likewise.
9935         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
9936         array.
9938         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
9939         and gid_t.
9941         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
9942         argument.
9944 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9946         * elf/Makefile (extra-objs): Don't zap previous value.
9947         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
9948         twice.
9950 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9952         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
9953         braindamage (sigh!).
9955 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
9957         * manual/memory.texi: Correct `copystring' example for obstacks.
9959 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
9961         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
9962         GNU tr don't grok it.
9964 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9966         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
9967         Don't use GNU C extensions.
9968         (CMSG_DATA): Use portable definition.
9970 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
9972         * elf/ldd.bash.in: Add test for read permission and print appropriate
9973         message.  Change warning and error messages to print "ldd: " at start.
9974         * elf/ldd.sh.in: Likewise.
9976         * stdlib/Makefile (routines): Add atoll.
9977         * stdlib/atoll.c: New file.
9978         * stdlib/stdlib.h: Add prototype and optimization for atoll.
9980         * stdlib/a64l.c: Update copyright.
9981         * stdlib/abs.c: Likewise.
9982         * stdlib/atof.c: Likewise.
9983         * stdlib/atoi.c: Likewise.
9984         * stdlib/atol.c: Likewise.
9985         * stdlib/bsearch.c: Likewise.
9986         * stdlib/exit.c: Likewise.
9987         * stdlib/fpioconst.c: Likewise.
9988         * stdlib/fpioconst.h: Likewise.
9989         * stdlib/jrand48.c: Likewise.
9990         * stdlib/jrand48_r.c: Likewise.
9991         * stdlib/labs.c: Likewise.
9992         * stdlib/lcong48.c: Likewise.
9993         * stdlib/lcong48_r.c: Likewise.
9994         * stdlib/llabs.c: Likewise.
9995         * stdlib/lrand48.c: Likewise.
9996         * stdlib/lrand48_r.c: Likewise.
9997         * stdlib/mblen.c: Likewise.
9998         * stdlib/mbstowcs.c: Likewise.
9999         * stdlib/mbtowc.c: Likewise.
10000         * stdlib/mp_clz_tab.c: Likewise.
10001         * stdlib/mrand48.c: Likewise.
10002         * stdlib/mrand48_r.c: Likewise.
10003         * stdlib/msort.c: Likewise.
10004         * stdlib/nrand48.c: Likewise.
10005         * stdlib/nrand48_r.c: Likewise.
10006         * stdlib/qsort.c: Likewise.
10007         * stdlib/rpmatch.c: Likewise.
10008         * stdlib/seed48.c: Likewise.
10009         * stdlib/seed48_r.c: Likewise.
10010         * stdlib/srand48.c: Likewise.
10011         * stdlib/srand48_r.c: Likewise.
10012         * stdlib/strtod.c: Likewise.
10013         * stdlib/wcstombs.c: Likewise.
10014         * stdlib/wctomb.c: Likewise.
10016 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
10018         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
10019         as const.
10021 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
10023         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
10024         including <stddef.h>.
10026 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
10028         * time/Makefile (tzbases, tzlinks): New.
10029         (tzfiles): Changed to $(tzbases) $(tzlinks).
10030         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
10032 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
10034         * Makefile (install): Ignore error from ldconfig.
10036         * time/zic.c (mkdirs): Double check the error return of mkdir ().
10038 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
10040         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
10041         like PPC where va_list is no integral type.
10043 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
10045         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
10046         if nonoption_flags_len == -1.
10048 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
10050         * Version 2.0.1 net release.
10052 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
10054         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
10056 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
10058         * stdlib/getsubopt.c: Don't return `=' for suboption which has
10059         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
10061 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
10063         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
10064         values as in yp.x and yp.h.
10066 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
10068         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
10069         1997-02-03 02:17.  Sun's implementation internally corrects
10070         this bug but we don't want to hide this from the user.
10071         * nis/rpcsvc/yp.h: Likewise.
10073 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10075         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
10076         inclusion.
10078 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10080         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
10081         fixes.
10083 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10085         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
10086         (all-sources, all-headers): Use them instead of $(sources) and
10087         $(headers) when searching in sysdep directories.
10089 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10091         * Makerules (REAL_MAKE_VERSION): Use internal make function
10092         instead of shelling out.
10094 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10096         * time/Makefile (install-test-data): Remove mkdir command, zic can
10097         handle that gracefully.
10099 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10101         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
10102         somehow.
10104 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10106         * sunrpc/Makefile: Check $(cross-compiling) only after including
10107         ../Makeconfig.
10108         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
10109         being considered as a rule.
10110         (generated): Add stamp files before the inclusion of Makerules to
10111         magically mark them as not being intermediate via the `generated'
10112         target.
10114 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
10116         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
10117         entries.  This is still no complete implementation since AUXILIARY
10118         entries in other shared objects are not yet handled.
10120         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
10121         place.
10123         * po/es.po: Update.
10124         * po/fr.po: Update.
10125         * po/nl.po: Update.
10127         * time/Makefile: Better cross-compile support.  Avoid test which
10128         cannot be run.
10129         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
10130         tzfile.h file.
10131         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
10132         in SUID programs.
10133         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
10134         default values as in tzfile.c.
10136         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
10137         tags.
10138         * elf/link.h: Likewise.
10139         * elf/elf.h: Add tag definitions and data structures for versioning.
10141 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
10143         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
10144         "Sun bug".  This is the order of elements also used by 4.4BSD.
10145         * nis/rpcsvc/yp.h: Likewise.
10146         Reported by HJ Lu.
10148 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
10150         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
10151         action.
10153         * Makefile (install): Pass installation directories as arguments
10154         to ldconfig.
10156 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
10158         * malloc/malloc.c (__after_morecore_hook): New variable.
10159         (malloc_extend_top): Call __after_morecore_hook if set.
10160         (main_trim): Likewise.
10161         * malloc/malloc.h: Add declaration of __after_morecore_hook.
10162         Suggested by Marcus Daniels.
10164 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
10166         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
10167         #ifndef NO_THREADS.
10168         (mallinfo): Likewise.
10170         * malloc/malloc.c (__morecore): Make external since it is used in
10171         programs.
10173 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
10175         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
10176         unsigned.
10178 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
10180         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
10181         use t6 as a temporary; it contains bits we still need in $u_head.
10183 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
10185         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
10186         using __ prefix.  Add prototype for log1p.
10188 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
10190         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
10192 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
10194         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
10196 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
10198         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
10199         structure plus related macros.
10200         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
10201         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
10202         (sysdep_routines): Add cmsg_nxthdr.
10203         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
10204         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
10206 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
10208         * time/strftime.c: Define _strftime_copytm without protecting arguments
10209         which breaks the definition.
10211 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
10213         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
10214         definition of type for element.
10216 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
10218         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
10219         constants.
10221 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
10223         * Makefile: Pass PARALLELMFLAGS to sub-makes.
10224         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
10226 1997-01-31  Paul Eggert  <eggert@twinsun.com>
10228         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
10229         Define if _LIBC is defined.
10230         <limits.h>: Include if HAVE_LIMITS_H instead of if
10231         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
10232         <stdlib.h>: Similarly, include if STDC_HEADERS.
10233         (localtime_r): Redo #ifdef to make it clear that glibc has
10234         localtime_r now.
10236 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10238         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
10239         file to avoid unnecessary recompilation.
10241 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10243         * Makefile: Set install-others, not install_others.
10244         (before-compile): Use += to preserve previous value.
10245         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
10246         fix dependency name.
10247         ($(objpfx)lib-names.h): Remove rule.
10248         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
10249         with correct name, using an intermediate stamp file.
10250         (common-generated): Add gnu/lib-names.h.
10251         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
10253 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
10255         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
10256         to prevent warnings on 64 bit systems.
10257         Reported by Paul Wouters <paul@xtdnet.nl>.
10259         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
10260         we assume it works.
10262 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
10264         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
10265         double word boundary before pushing args for main.  This way we
10266         don't get penalties for misaligned memory accesses.  Reported by
10267         Edward Seidl <seidl@janed.com>.
10269         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
10270         Patch by HJ Lu.
10272         * misc/bsd-compat.c: Update copyright.
10273         * misc/efgcvt.c: Likewise.
10274         * misc/efgcvt_r.c: Likewise.
10275         * misc/error.c: Likewise.
10276         * misc/error.h: Likewise.
10277         * misc/fstab.c: Likewise.
10278         * misc/init-misc.c: Likewise.
10279         * misc/lsearch.c: Likewise.
10280         * misc/mntent.c: Likewise.
10281         * misc/qefgcvt.c: Likewise.
10282         * misc/qefgcvt_r.c: Likewise.
10283         * nss/databases.def: Likewise.
10284         * nss/db-Makefile: Likewise.
10285         * nss/ethers-lookup.c: Likewise.
10286         * nss/hosts-lookup.c: Likewise.
10287         * nss/netgrp-lookup.c: Likewise.
10288         * nss/nsswitch.h: Likewise.
10289         * nss/proto-lookup.c: Likewise.
10290         * nss/rpc-lookup.c: Likewise.
10291         * nss/service-lookup.c: Likewise.
10292         * nss/nss_db/db-netgrp.c: Likewise.
10293         * nss/nss_files/files-grp.c: Likewise.
10294         * nss/nss_files/files-hosts.c: Likewise.
10295         * nss/nss_files/files-network.c: Likewise.
10296         * nss/nss_files/files-proto.c: Likewise.
10297         * nss/nss_files/files-pwd.c: Likewise.
10298         * nss/nss_files/files-rpc.c: Likewise.
10299         * nss/nss_files/files-service.c: Likewise.
10300         * nss/nss_files/files-spwd.c: Likewise.
10301         * shadow/fgetspent.c: Likewise.
10302         * shadow/fgetspent_r.c: Likewise.
10303         * shadow/getspent.c: Likewise.
10304         * shadow/getspent_r.c: Likewise.
10305         * shadow/getspnam.c: Likewise.
10306         * shadow/getspnam_r.c: Likewise.
10307         * shadow/putspent.c: Likewise.
10308         * shadow/sgetspent.c: Likewise.
10309         * shadow/sgetspent_r.c: Likewise.
10310         * sysdeps/i386/init-first.c: Likewise.
10311         * sysdeps/unix/i386/sysdep.S: Likewise.
10313         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
10314         prepared to be running in a multi-threaded environment.  Change
10315         to __USE_MISC unless the function is defined in POSIX.1 (in this
10316         case also test for __USE_POSIX).
10317         * dirent/dirent.h: Likewise.
10318         * grp/grp.h: Likewise.
10319         * inet/aliases.h: Likewise.
10320         * libio/libio.h: Likewise.
10321         * libio/stdio.h: Likewise.
10322         * login/utmp.h: Likewise.
10323         * math/mathcalls.h: Likewise.
10324         * misc/mntent.h: Likewise.
10325         * pwd/pwd.h: Likewise.
10326         * resolv/netdb.h: Likewise.
10327         * stdlib/stdlib.h: Likewise.
10328         * string/string.h: Likewise.
10329         * sunrpc/rpc/netdb.h: Likewise.
10330         * sysdeps/generic/crypt.h: Likewise.
10331         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
10332         * time/time.h: Likewise.
10334 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
10336         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
10337         only if not cross compiling.
10339 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
10341         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
10342         NULL.
10343         * sysdeps/posix/sigwait.c: Likewise.
10345 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10347         * Makeconfig ($(common-objpfx)config.make): Depend on
10348         $(..)config.make.in.
10350 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
10352         * sunrpc/Makefile: Don't generate headers derived from .x files when
10353         crosscompiling.
10355 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
10357         * Makefile: Generate gnu/lib-names.h in before-compile.
10358         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
10359         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
10360         to the revision found for LIBNSS_FILES_SO.
10361         (nss_initilized): Removed.  It was tested but never set.
10362         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
10364         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
10365         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
10367         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
10369 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
10371         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
10372         override the definition.
10374 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
10376         * config.make.in (malloc): Remove.
10378 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
10380         * version.h (VERSION): Bump to 2.0.1.
10382         * posix/getopt.c: Handle another problem introduced by the
10383         nonoption_flags array.  We must be able to work with reordered
10384         argv arrays.  Reported by Andreas Schwab.
10386 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
10388         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
10389         stack.
10391 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
10393         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
10394         that it works with yp.h.
10396 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
10398         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
10399         __libc_malloc_initialized so that this variable is not shared with
10400         other users of GNU malloc.
10401         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
10403         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
10405         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
10406         variables to prevent warnings.
10407         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
10408         using attribute regparm.
10409         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
10410         is changed by the resolver code.
10412 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10414         * malloc/malloc.c (weak_variable): Define.
10415         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
10416         __memalign_hook): Make them weak definitions.
10418 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10420         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
10421         limits, correctly take structure padding into account, use correct
10422         offset when resetting the stream, change heuristic to assume an
10423         average name length of 14 characters.
10425 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10427         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
10428         inclusion.
10431 See ChangeLog.6 for earlier changes.