Update.
[glibc.git] / ChangeLog
blobb11e3716c8b082cc38577dc617992e4562d98670
1 1997-08-23 23:50  Ulrich Drepper  <drepper@cygnus.com>
3         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
5         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
7 1997-08-17  Paul Eggert  <eggert@twinsun.com>
9         * tzset.c (__tzset_internal): Fix memory leak when the user
10         specifies a TZ value that uses a default rule file.
11         Do not assume US DST rules when the user specifies
12         that there is no DST.
14 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
16         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
17         they operate on internal kernel structures and have no place in a
18         user header.
20 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
22         * sysdeps/mach/libc-lock.h: Fix typo.
23         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
25 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
27         * sysdeps/mach/hurd/Dist: Add cthreads.c.
29         * catgets/gencat.c (usage): Fix help text.
31         Update of UTMP interface.
32         * login/Makefile (routines): Add utmpname, remove utmp_db.
33         * login/getutent.c: Rename to __getutent and make getutent a weak
34         alias.
35         * login/getutent.c: Rename to __getutid and make getutid a weak
36         alias.
37         * login/getutent.c: Rename to __getutline and make getutline a weak
38         alias.
39         * login/getutent_r.c: Rewrite to use jump table correctly.
40         * login/getutid_r.c: Likewise.
41         * login/getutline_r.c: Likewise.
42         * login/updwtmp.c: Likewise.
43         * login/login.c (login): Correct test for result of utmpname.
44         Use updwtmp instead of implementing this here again.
45         * login/logout.c (logout): Correct test for result of utmpname
46         and pututline.  Handle ut_type field correctly if it exists.
47         * login/utmp-private.h: Update for changed internal functions.
48         * login/utmp.h: Reformat and correct typos.
49         * login/utmp_file.c: Rewrite lock handling.
50         * login/utmpname.c: New file.
51         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
53         * socket/sys/socket.h (getpeername): Correct type of len argument.
54         Reported by a sun <asun@zoology.washington.edu>.
56         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
57         <bits/types.h>.
58         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
60         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
61         functions.
63         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
64         cthreads.
65         * sysdeps/mach/hurd/cthreads.c: New file.
67 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
69         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
70         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
72 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
74         * login/login.c (login): Check for correct return value of
75         utmpname.
77 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
79         * time/tzset.c: Interpret no DST information in user provided time
80         zone specification as it is meant: no DST.
81         Patch by Paul Eggert <eggert@twinsun.com>.
83 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
85         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
86         Add macros for key handling.
87         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
88         cthreads.
89         * sysdeps/mach/hurd/cthreads.c: New file.
90         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
92 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
94         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
96 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
98         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
99         for storage class.
100         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
102         * login/Makefile (routines): Add updwtmp.
103         * login/logwtmp.c: Move definition of updwtmp to ...
104         * login/updwtmp.c: here.  New file.
106         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
107         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
108         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
110 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
112         * libio/stdfiles.c (_libio_using_thunks): Define if
113         _G_USING_THUNKS is defined.
115         * libio/_G_config.h: Moved to
116         * sysdeps/generic/_G_config.h: ...here.
118         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
120 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
122         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
123         right place.
125 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
127         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
128         PC's in long long to avoid overflow.
130 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
132         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
133         New macros.
135 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
137         * gmon/gmon.c (_mcleanup): Fix typos.
139         * gmon/sys/gmon.h: Add prototype for write_profiling.
141 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
143         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
144         loop, to avoid dragging stdio into the dynamic linker.
146 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
148         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
149         (_mcleanup): Use write_gmon.
150         (write_profiling): This function can be safely called at any time
151         to write a current histogram without interfering with ongoing
152         profiling.
154         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
156 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
158         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
159         not be vm_deallocated; it's a stack buffer.
160         (profil_vm_deallocate): Delete prototype.
161         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
162         inclusion.
163         * sysdeps/mach/hurd/Makefile
164         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
165         this rule.
167         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
168         from profile_waiter.
169         (profile_waiter): Use fetch_samples.
170         (profil): When turning off profiling, fetch the last bunch of
171         samples before disabling PC sampling.
172         (fetch_samples): Add prototype.
174 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
176         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
177         source included by profil.c instead of trying to use
178         before-compile grot.
180 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
182         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
183         after releasing lock.  Use special RPC stubs and avoid assert,
184         thus making this function entirely independent of the threadvar
185         mechanism and of cthreads.
186         (lock): Convert to be a spin lock instead of a mutex, so that the
187         waiter thread need not use cthreads.  Use a fork prepare hook
188         instead of _hurd_fork_locks to make sure we are clean before
189         forking.
190         (fork_profil_child): Renamed from fork_profil.
191         (profil_reply_port): New variable.
192         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
193         stubs made by special hacks.
194         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
195         source files that profil.c needs if we are in the gmon directory.
197         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
198         cthreads bug that hasn't existed for two years.
200 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
202         * locale/programs/localedef.c (main): Set bit in avail for those
203         categories which are successfully read.
204         * locale/programs/locfile.c (check_all_categories): Don't check
205         categories if they are not available.
206         (write_all_categories): Don't write categories if they are not
207         available.
209         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
210         getsockopt, setsockopt, accept): Change size argument to type
211         socklen_t.
212         Pretty print.
213         * manual/socket.texi: Describe socklen_t and change prototypes of
214         socket functions to use socklen_t.
215         * sysdeps/generic/bits/socket.h: Define socklen_t.
216         (struct msghdr): Correct types to use socklen_t.
217         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
218         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
220         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
221         1.0 < x < 8.0.
222         * stdio-common/tfformat.c: Add new tests for above bug.
224         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
226         * wcsmbs/Makefile (tests): Add tst-wcstof.
227         * wcsmbs/tst-wcstof.c: New file.
228         * wcsmbs/wcstof.c (FLT): Define as FLT.
230 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
232         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
233         case since the __syscall_ptrace call already did this.
234         Reported by Philip Gladstone <philip@talon.raptor.com>.
236 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
238         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
239         <gnu/types.h> to <sys/types.h>.
241 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
243         * locale/programs/locale.c (print_escaped): New function.
244         (show_info): Use print_escaped if strings can control unprintable
245         characters.
246         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
248 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
250         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
251         dependencies.
253 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
255         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
256         for stream on input file.
257         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
258         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
259         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
260         * nss/nss_db/db-alias.c (internal_setent): Likewise.
261         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
262         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
263         * nss/nss_files/files-alias.c (internal_setent): Likewise.
264         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
266 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
268         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
269         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
270         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
271         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
273 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
275         * time/africa: Update from tzdata1997g.
276         * time/asia: Likewise.
277         * time/australasia: Likewise.
278         * time/europe: Likewise.
279         * time/iso3166.tab: Likewise.
280         * time/zone.tab: Likewise.
281         * time/private.h: Update from tzcode1997f.
282         * time/scheck.c: Likewise.
284 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
286         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
287         Synchronize with malloc/obstack.c.
289 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
291         * manual/Makefile (INSTALL_INFO): Introduce variable to override
292         path to install-info for systems like Debian that have an
293         install-info with a different command line interface from the
294         canonical GNU texinfo version.
296 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
298         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
299         * posix/unistd.h: Likewise.
300         * sysdeps/stub/ttyname_r.c: Likewise.
302 1997-06-22  Paul Eggert  <eggert@twinsun.com>
304         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
306         * time/tzfile.c (__tzstring): New decl.
307         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
308         (__tzfile_default): First two args are now const char *.
310         * time/tzset.c (__tzstring): New function.
311         (tz_rule): Name is now const char *.
312         (struct tzstring_head): New type.
313         (tzstring_list, tzstring_last_buffer_size): New static vars.
314         (__tzset_internal): Time zone names are now permanent, not temporary.
316 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
318         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
319         and && in tests to allow use in C++ code which overloads these
320         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
322 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
324         * login/login.c (tty_name): Test return value of ttyname_r for !=
325         0, not < 0.
326         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
327         0, not >= 0.
328         * sysdeps/unix/getlogin.c (getlogin): Test return value of
329         ttyname_r for != 0.
330         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
332 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
334         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
335         one.
337         * signal/sigandset.c: Include stddef.h to get NULL defined.
338         * signal/sigisempty.c: Likewise.
339         * signal/sigorset.c: Likewise.
341 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
343         * posix/execvp.c (execvp): Handle ESTALE.
345 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
347         * libio/fileops.c (_IO_file_underflow): Adjust pointers
348         before calling _IO_SYSREAD ().
350 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
352         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
353         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
355 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
357         * io/lockf.c (lockf): Clear fl before using.
358         Patch by sr@adb.fr.
360         * libio/strops.c: Correctly handle _IO_write_end.
362         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
363         panic if setnetgrent wasn't called before, return error.
364         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
366         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
367         if locally defined.
368         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
369         if locally defined.
370         Define tm_diff function as ftime_tm_diff if locally defined.
371         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
373 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
375         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
376         in cc1.  Cpp in gcc doesn't do it.
378 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
380         * login/login.c (tty_name): Use newly allocated buffer.
381         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
383         * time/asctime.c: Never translate week and month name according
384         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
386 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
388         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
389         setresgid.
391 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
393         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
394         Reported by a sun.
396 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
398         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
399         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
401 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
403         * math/math.h: Add warning about use of M_* constants.
404         Pretty print.
406 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
408         * locale/programs/locale.c: Correct comment.
410         * po/ko.po: Update.
412 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
414         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
416 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
418         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
420         * manual/Makefile (distribute): Add dir.
421         * manual/dir: New file.
423 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
425         * time/tzfile.c (__tzfile_read): Store getc () return in int.
427 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
429         * string/Makefile (routines): Add argz-replace.
431 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
433         * string/argz.h (__argz_replace, argz_replace): New declarations.
434         * string/argz-replace.c: New file.
436 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
438         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
439         character read in/put back.
440         * stdio-common/tstscanf.c: Add test case for this.
442 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
444         * manual/Makefile (install): Make sure `dir' file exists if we use
445         install-info.
447 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
449         * manual/Makefile (info): Depend on dir-add.info.
451 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
453         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
454         * sysdeps/stub/e_acosl.c: Likewise.
455         * sysdeps/stub/e_asinl.c: Likewise.
456         * sysdeps/stub/e_atan2l.c: Likewise.
457         * sysdeps/stub/e_expl.c: Likewise.
458         * sysdeps/stub/e_fmodl.c: Likewise.
459         * sysdeps/stub/e_j0l.c: Likewise.
460         * sysdeps/stub/e_j1l.c: Likewise.
461         * sysdeps/stub/e_jnl.c: Likewise.
462         * sysdeps/stub/e_lgammal_r.c: Likewise.
463         * sysdeps/stub/e_log10l.c: Likewise.
464         * sysdeps/stub/e_logl.c: Likewise.
465         * sysdeps/stub/e_powl.c: Likewise.
466         * sysdeps/stub/e_rem_pio2l.c: Likewise.
467         * sysdeps/stub/e_sqrtl.c: Likewise.
468         * sysdeps/stub/k_cosl.c: Likewise.
469         * sysdeps/stub/k_rem_pio2l.c: Likewise.
470         * sysdeps/stub/k_sinl.c: Likewise.
471         * sysdeps/stub/k_tanl.c: Likewise.
472         * sysdeps/stub/s_atanl.c: Likewise.
473         * sysdeps/stub/s_erfl.c: Likewise.
474         * sysdeps/stub/s_expm1l.c: Likewise.
475         * sysdeps/stub/s_log1pl.c: Likewise.
477 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
479         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
480         01:13:56 1996.
482 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
484         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
485         * sysdeps/libm-i387/s_asinhf.S: Likewise.
486         * sysdeps/libm-i387/s_asinhl.S: Likewise.
487         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
488         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
489         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
491 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
493         * Makefile (manual/dir-add.info): New rule.
495         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
496         `unsigned short'.
498         * manual/Makefile (dir-add.texi): Also emit wrapper text for
499         info/install-info.
500         (distribute): Add dir-add.texi and dir-add.info.
501         (mostlyclean): Add dir-add.info.
502         (realclean): Add dir-add.texi.
503         (install): Add entries in `dir' file using install-info.
505         * manual/libc.texinfo: Add @dircategory and @direntry text.
506         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
508 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
510         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
511         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
512         M_SQRT2.
513         * math/math.h (_Mldbl): Define even if M_* constants are not
514         defined.
515         Reported by corsepiu@faw.uni-ulm.de.
517 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
519         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
521 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
523         * misc/regexp.h (compile): Allow use of macro INIT for variable
524         declaration.  Add documentation for INIT.
525         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
527 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
529         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
531 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
533         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
534         netinet/icmp.h, add netatalk/at.h.
535         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
536         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
538 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
542 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
544         * string/argz-addsep.c: Correct weak alias.
545         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
547         * locale/setlocale.c (setlocale): Free variable with locale path
548         before returning.
549         (setname): Don't test for _nl_current[category] being NULL before
550         freeing.
551         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
553 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
555         * time/Makefile: Make tzselect depend on config.make.
557 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
559         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
560         type to `unsigned long int'.
561         Patch by Richard Henderson <richard@twiddle.rth.home>.
563 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
565         * nss/nss_files/files-hosts.c: Delete inclusion of
566         "../resolv/mapv4v6hostent.h".
568 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
570         * libio/libio.h: Define bits for libg++-2.8.
572 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
574         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
575         plan on doing so ever again.  Don't say alpha-linuxecoff is known
576         to work.
578         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
579         will last until I figure out how to build a parallel libm_ieee.
581         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
582         FP mode to round to nearest, no exceptions as for Intel.
583         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
584         (rdfpcr): Use excb rather than trapb.  Be more efficient about
585         getting at the fpcr.
586         (wrfpcr): Likewise.
587         (__setfpucw): Reformat.
589         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
590         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
591         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
592         sure the stack frame is released the very instruction before the
593         real jump out.
594         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
595         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
597         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
598         have gotten from <linux/posix_types.h>.
600         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
602 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
604         * Makefile (manual/dir-add.texi): Force execution.
606 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
608         * stdlib/strfmon.c: Don't run past EOS after `='.
610 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
612         Update resolver code to bind-4.9.6-T1A.
613         * resolv/Banner: Update.
614         * nss/digits_dots.c: Adapt text address matching to T1A.
615         * nss/nss_files/files-hosts.c: Always use inet_pton.
616         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
617         it would lead to warnings.
618         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
619         at several places.
620         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
621         * resolv/res_comp.c (dn_expand): Check for overflow.
622         (dn_comp): Likewise.
623         * resolv/res_debug.c (precsize_aton): Better implementation.
624         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
625         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
626         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
627         length at several places.
629 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
631         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
632         time_t.
634         * login/pty.h: Include <ioctl-types.h> for definition of struct
635         winsize.
637 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
639         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
640         number to four digits and to representable range for 4 byte time_t
641         values.
642         Patch by H.J. Lu <hjl@lucon.org>.
644 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
646         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
647         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
648         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
650 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
652         * login/login.c (tty_name): Use newly allocated buffer.
653         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
655         * time/asctime.c: Never translate week and month name according
656         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
658 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
660         * hurd/hurdsig.c: Include <hurd/id.h>.
661         (reauth_proc): Call proc_setowner appropriately too.
663 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
665         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
666         correct value for _POSIX_VDISABLE.
668 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
670         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
672         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
674 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
676         * Net release 2.0.4.
678 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
680         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
681         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
682         environments in which linking is not possible at configure time
683         (since te libc is just build).
684         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
686 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
688         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
689         state array only at right place.
690         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
692         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
693         [0.5,1.0) but really in [0.0, 1.0).
694         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
696 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
698         * sysdeps/i386/elf/start.S: Change local label "nofini"
699         to ".Lnofini".
701         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
703 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
705         * time/zic.c: Update from tzcode1997e.
707         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
708         are not defined.
710 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
712         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
713         monstartup.
715 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
717         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
718         values.
719         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
721         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
722         u_long.
724 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
726         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
727         not looking at the new thread-safe .plt, don't be lazy about relocs.
728         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
729         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
730         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
731         elf_machine_runtime_setup() decide if we can actually be lazy.
732         * elf/rtld.c (_dl_start): So don't call it.
733         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
734         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
735         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
736         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
737         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
738         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
739         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
740         skeleton definition.
742 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
744         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
745         stack by fxtract.
747 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
749         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
750         warning.
752         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
753         of USHRT_MAX.
755         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
757 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
759         * version.h (VERSION): Bump to 2.0.4.
761         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
762         and for Linux ld.so.
763         * login/Makefile (libutil.so): Likewise.
764         * math/Makefile (libm.so): Likewise.
765         * md5-crypt/Makefile (libcrypt.so): Likewise.
766         * nis/Makefile (libnss_%.so): Likewise.
767         * resolv/Makefile (libnss_dns.so): Likewise.
769 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
771         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
772         workaround.
774 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
776         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
778         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
779         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
780         Reported by Ian Taylor <ian@cygnus.com>.
782         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
784         * po/de.po: Updated.
786         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
788         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
790 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
792         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
793         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
795 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
797         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
798         msg_add_auth was overflowing it.
800 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
802         * time/sys/time.h: Make second argument of setitimer const.
803         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
804         * sysdeps/stub/setitimer.c: Likewise.
805         * sysdeps/mach/hurd/setitimer.c: Likewise.
807 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
809         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
810         when we can't find the symbol.
812 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
814         * posix/regex.c: Fix handling of 32-bit Windog environments.
815         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
817 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
819         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
821 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
823         * sysdeps/unix/sysv/linux/poll.c: Save errno.
825 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
827         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
829 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
831         * sys/ttydefaults.h: Removed.
833 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
835         * termios/sys/ttydefaults.h: Delete file.
836         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
837         TTYDEF_OFLAG.
838         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
839         XTABS in TTYDEF_OFLAG.
840         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
841         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
843 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
845         * posix/TESTS: Add some more tests for character class matching.
846         * posix/regex.c: Merge with GNU awk version.
847         (regex_compile): Use ISO C/amend 1 functions for character class
848         handling.
849         * posix/regex.h: Merge with GNU awk version.
851         * posix/getopt.c: Declare as master copies.
852         * posix/getopt1.c: Likewise.
853         * posix/getopt.h: Likewise.
855         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
856         value to mount functions.
857         Patch by a sun <asun@zoology.washington.edu>.
859 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
861         * sunrpc/svc_run.c (svc_exit): New, defined.
862         (svc_run): Test for svc_stop variable.
863         * sunrpc/rpc/svc.h (svc_exit): New, declared.
865 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
867         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
869         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
870         NaN.  Fix test for sign of infinite y.
872         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
874         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
876 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
878         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
879         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
881 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
883         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
884         kernel can return negative values.  Only fail when return value is
885         in range in range which is never returned as valid address.
886         Patch by Bruno Haible <haible@ilog.fr>.
888 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
890         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
891         case.
893         * time/strftime.c (add): Respect `0' padding flag.
894         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
896 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
898         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
899         will preserve non-call-saved registers; save and restore a0 across
900         the system call.
901         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
902         data onto the new thread's stack.
904 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
906         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
907         * config.make.in: Set cross-compiling from configure result.
908         * configure.in: Emit definition of `cross_compiling'.
909         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
911 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
913         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
914         * sysdeps/libm-i387/e_pow.S: Likewise.
915         * sysdeps/libm-i387/e_powl.S: Likewise.
917 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
919         * malloc/obstack.h (obstack_specify_allocation_with_arg,
920         obstack_chunkfun, obstack_freefun): Fix casts.
922 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
924         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
925         not <netinet/icmp.h>.
926         * inet/netinet/tcp.h: Move to...
927         * sysdeps/generic/netinet/tcp.h: ...here.
928         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
930 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
932         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
933         to command line of compiler.
934         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
936         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
937         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
939         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
940         in declaration.
941         Patch by Michael Widenius <monty@tcx.se>.
943         * time/strptime.c (strptime_internal): Fix %I format specifier
944         being off by one.
945         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
947 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
949         * Net release 2.0.3.
951 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
953         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
954         * stdlib/srand48_r.c: Likewise.
956 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
958         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
959         fpclassify & friends, and complex number operations.
960         Update various other math functions for ISO C 9X.
961         * manual/math.texi: Update various entries for ISO C 9X.
962         Add description for complex number functions.
963         Add description of rand48 function family.
964         * manual/string.h: Add description of a64l and l64a.
966         * math/cmathcalls.h: Fix typo.
968         * stdlib/a64l.c: Pretty printing.
970         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
971         * stdlib/srand48_r.c: Likewise.
973 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
975         * rellns-sh: Handle files in the same directory correctly.
977 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
979         * csu/initfini.c: Place ALIGN instruction at correct positions.
980         Patch by Richard Henderson <richard@twiddle.rth.home>.
982 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
984         * Make-dist: Don't automatically ignore .c files if .S or .s files
985         are ignored.
987         * csu/Makefile (distribute): Add defs.awk.
989 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
991         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
992         * sysdeps/stub/shmdt.c: Likewise.
993         Reported by Thomas Bushnell, n/BSG.
995 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
997         * sysdeps/unix/sysv/linux/Dist: Rename
998         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
999         Remove sysdeps/sysv/linux/netinet/icmp.h.
1001         * login/utmp.h: Add prototype for updwtmp.
1002         * login/logwtmp.c: Add new function updwtmp which allows to write
1003         a complete record to the wtmp file.
1004         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
1006 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
1008         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
1009         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1011 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
1013         * csu/initfini.c: Rewrite by Zack Weinberg
1014         <zack@rabi.phys.columbia.edu>.
1015         * csu/Makefile: Add rules for rewrite.
1016         * csu/defs.awk: Helper script to generate derived header.
1018 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
1020         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
1022 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
1024         * sysdeps/generic/Dist: Remove old math implementation files.
1025         * sysdeps/generic/mathimpl.h: Removed.
1026         * sysdeps/generic/trig.h: Removed.
1027         * sysdeps/generic/sincos.c: Removed.
1028         * sysdeps/generic/asincos.c: Removed.
1029         * sysdeps/generic/exp__E.c: Removed.
1030         * sysdeps/generic/log__L.c: Removed.
1032 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1034         * malloc/malloc.c (fREe): Small optimization.  Before returning,
1035         add fast check whether the heap containing top can go away.
1037 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1039         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
1040         failing to allocate a new chunk, also try the main_arena.  It may
1041         be that we are only running out of mmapped regions, and other
1042         arenas cannot be enlarged sufficiently.
1043         (new_heap, malloc_extend_top): Handle top_pad more consistently,
1044         i.e. only in new_heap().
1046 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
1048         * time/strftime.c (memset_space): Increment pointer.
1049         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
1050         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
1052 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
1054         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
1056         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
1057         63 bits.
1058         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
1060         * po/pl.po: Updated.
1062         * string/swab.c: Correctly handle array of odd length.
1064         * manual/string.texi: Correct prototype in memmem documentation.
1066 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1068         * manual/Makefile (dir-add.texi): Simplify.
1070 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
1072         * rellns-sh: Rewrite to work also in presence of symlinks.
1074         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
1075         Reported by Greg McGary <gkm@eng.ascend.com>.
1077         * manual/libc.texinfo: Update malloc documentation for new malloc.
1078         * manual/memory.texi: Likewise.
1079         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1081         * stdlib/erand48_r.c (erand48_r): Build double value using
1082         ieee754_double union and use random bits in different order to
1083         increase effect of seed.
1084         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
1086 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1088         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
1089         a read-only stream.
1091 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
1093         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
1094         in correct place.
1095         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1097 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
1099         * posix/getopt.c (_getopt_initialize): Preserve optind.
1100         (_getopt_internal): Set optind to 1 if optind == 0 before
1101         calling _getopt_initialize ().
1103 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1105         * libio/fileops.c (_IO_file_overflow): Set error when try to write
1106         on a read-only stream.
1108         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1109         (ut_time): Define it only if _NO_UT_TIME is not defined.
1111 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
1113         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
1114         get definition of sa_family_t for <linux/atalk.h>.
1115         Reported by a sun <asun@zoology.washington.edu>.
1117         * malloc/malloc.c (cALLOc): Little optimization.
1119 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
1121         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
1122         headers but instead add comments and parameter names.
1123         Don't use BSD specific types in prototypes.
1125         * manual/nss.texi: Correct a few typos and errors.
1127 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1129         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
1130         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1132         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
1133         TAB3, if one of them is defined.
1135 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
1137         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
1139 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
1141         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
1142         clearenv a weak alias.
1144         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
1145         of type clashes.  Add all definitions here.
1147         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
1148         to XPG4.2.
1149         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1150         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1152         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
1154         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
1155         use of kernel types.
1157 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
1159         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
1160         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
1162 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1164         * Makeconfig (all): Make sure this is always the default goal.
1166 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
1168         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
1169         Don't include <endian.h>.
1171 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1172         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
1173         Don't include <endian.h>.
1175 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
1177         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
1179 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
1181         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
1182         compiler.
1184 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
1186         * hurd/Makefile (sunrpc-headers): Add clnt.h.
1187         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1189 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
1191         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
1192         by 31 positions to get 0/1 result.
1193         Patch by Joe Keane <jgk@jgk.org>.
1195 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
1197         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
1198         to prevent from ld linking in getopt.o even if there is another
1199         incompatible one.
1201         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
1203 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
1205         * Makerules (depfiles): Remove $(test-srcs).
1207 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1209         * libio/fileops.c (_IO_file_overflow): Set error when try to write
1210         on a read-only stream.
1212         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1213         (ut_time): Define it only if _NO_UT_TIME is not defined.
1215 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
1217         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
1218         typo.
1220 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
1222         * Makefile: Add rule to easily generate dir-add.texi file.
1223         * manual/Makefile: Likewise.
1225 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
1227         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1228         (sysdep_headers): Remove netinet/icmp.h.
1230 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
1232         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
1233         adjustment if the underlying function say it is too small.
1234         * pwd/fgetpwent.c: Likewise.
1235         * shadow/fgetspent.c: Likewise.
1236         * shadow/sgetspent.c: Likewise.
1238         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
1239         this means there was not enough room for the gr_mem array.
1241         * nss/nss_files/files-XXX.c: Leave loop and return error if
1242         `parse_result' returns -1.
1244         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
1245         of trailing list fails because of low memory.
1246         (parse_list): Rewrite.  The logic was completly incorrect since
1247         the checks for overflowing the array were not executed when
1248         needed.
1250         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
1251         signals success.
1253         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
1254         * nss/getXXent.c: Likewise.
1256 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
1258         * manual/errno.texi: Add description of strerror_r.
1260 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
1262         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
1264 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
1266         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
1268 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1270         * stdlib/stdlib.h: Declare __clearenv.
1272 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1274         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
1275         the last change.
1277 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1279         * configure.in: Call AC_CANONICAL_BUILD before referencing
1280         $build.  Fix test for BUILD_CC.
1282 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
1284         * sysdeps/i386/memset.c: Fix typo.
1285         * sysdeps/stub/fchmod.c: Fix typo.
1286         * sysdeps/stub/fchdir.c: Fix typo.
1287         Reported by Fila Kolodny <fila@ibi.com>.
1289         * time/time.h (strftime): Remove __restrict in declaration.
1291 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
1293         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
1294         syntax for local label.
1295         * sysdeps/i386/add_n.S: Use correct local label syntax for the
1296         binary format.
1297         * sysdeps/i386/addmul_1.S: Likewise.
1298         * sysdeps/i386/lshift.S: Likewise.
1299         * sysdeps/i386/memchr.S: Likewise.
1300         * sysdeps/i386/memcmp.S: Likewise.
1301         * sysdeps/i386/mul_1.S: Likewise.
1302         * sysdeps/i386/rshift.S: Likewise.
1303         * sysdeps/i386/stpcpy.S: Likewise.
1304         * sysdeps/i386/stpncpy.S: Likewise.
1305         * sysdeps/i386/strchr.S: Likewise.
1306         * sysdeps/i386/strcspn.S: Likewise.
1307         * sysdeps/i386/strlen.S: Likewise.
1308         * sysdeps/i386/strpbrk.S: Likewise.
1309         * sysdeps/i386/strrchr.S: Likewise.
1310         * sysdeps/i386/strspn.S: Likewise.
1311         * sysdeps/i386/strtok.S: Likewise.
1312         * sysdeps/i386/sub_n.S: Likewise.
1313         * sysdeps/i386/submul_1.S: Likewise.
1314         * sysdeps/i386/i486/strcat.S: Likewise.
1315         * sysdeps/i386/i486/strlen.S: Likewise.
1316         * sysdeps/i386/i586/add_n.S: Likewise.
1317         * sysdeps/i386/i586/addmul_1.S: Likewise.
1318         * sysdeps/i386/i586/lshift.S: Likewise.
1319         * sysdeps/i386/i586/memset.S: Likewise.
1320         * sysdeps/i386/i586/mul_1.S: Likewise.
1321         * sysdeps/i386/i586/rshift.S: Likewise.
1322         * sysdeps/i386/i586/strchr.S: Likewise.
1323         * sysdeps/i386/i586/strlen.S: Likewise.
1324         * sysdeps/i386/i586/sub_n.S: Likewise.
1325         * sysdeps/i386/i586/submul_1.S: Likewise.
1327         * time/africa: Updated from ADO tzdata1997e.
1328         * time/antarctica: Likewise.
1329         * time/asia: Likewise.
1330         * time/australasia: Likewise.
1331         * time/europe: Likewise.
1332         * time/northamerica: Likewise.
1333         * time/southamerica: Likewise.
1334         * time/private.h: Updated from ADO tzcode1997d.
1335         * time/scheck.c: Likewise.
1337 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
1339         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
1340         thread-specific memory in multi-threaded programs.
1342         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
1343         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
1344         Suggested by a sun <asun@zoology.washington.edu>.
1346 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
1348         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
1349         of <netinet/icmp.h>.
1350         Patch by a sun <asun@zoology.washington.edu>.
1352 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
1354         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
1355         before using system.
1356         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
1357         before using popen.
1359 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
1361         * inet/rexec.c: Make string parameters `const'.
1362         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
1363         rresvport.
1365         * posix/glob.h: Add declaration for glob_pattern_p.
1366         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
1367         make glob_pattern_p a weak alias.  This function is used in other
1368         packages (e.g. bash).
1370         * signal/Makefile (routines): Add sigisempty, sigandset, and
1371         sigorset.
1372         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
1373         sigorset.
1374         * signal/sigisempty.c: New file.
1375         * signal/sigandset.c: New file.
1376         * signal/sigorset.c: New file.
1377         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
1378         and __sigorset.
1379         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
1381         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
1382         ip_icmp.h.  Reported by HJ Lu.
1384 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1386         * grp/grp.h: Include <stddef.h> only once.
1388 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
1390         * version.h (VERSION): Bump to 2.0.3.
1392 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1394         * Makerules (BUILD_CFLAGS): Fix reference to config file.
1396 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
1398         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
1399         is found.
1400         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
1402 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
1404         * Net release 2.0.2.
1406 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
1408         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
1409         XTABS.
1410         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1411         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
1412         of Sun Dec 15 16:33:44 1996.
1413         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1415 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
1417         * Makefile (distribute): Add BUGS.
1419         * sysdeps/generic/machine-gmon.h: Update copyright.
1421         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
1422         i386-mcount.
1423         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
1424         use regparam mechanism for call of `fixup' call.
1425         * sysdeps/i386/Dist: New file.
1426         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
1427         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
1428         of gmon definitions.
1430 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
1432         * stdlib/tst-strtol.c (main): Save the value of errno since printf
1433         may modify it, use the saved errno everywhere.
1434         * stdlib/tst-strtod.c (main): Likewise.
1436 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
1438         * posix/glob.c (glob): Fix completely broken handling of
1439         GLOB_BRACE and partly broken handling of GLOB_TILDE.
1440         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
1442 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
1444         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
1445         UIO_FASTIOV value by multiple readv calls since we need atomicity.
1446         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1447         Reported by Matthis Urlichs.
1449 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
1451         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
1452         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
1453         which clobbers %eax.
1455         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
1456         crtbegin.o/crtend.o, using gcc to find them.
1457         (+link): Use them.
1459 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
1461         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
1462         affect the alignment, and therefore the end padding of the structs.
1463         Reported by David Mosberger <davidm@azstarnet.com>.
1464         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
1465         Use __writev instead of write for the I/O.
1467         * misc/sys/uio.h: Declare __writev and __readv.
1468         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
1469         * sysdeps/posix/writev.c: Likewise for writev.
1470         * sysdeps/stub/readv.c: Likewise.
1471         * sysdeps/stub/writev.c: Likewise.
1472         * sysdeps/unix/syscalls.list: Likewise.
1473         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1474         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1476         * stdlib/testdiv.c: Exit with error status when we have an error.
1477         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
1478         * sysdeps/alpha/ldiv.S: Likewise.
1480         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
1482 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
1484         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
1485         generic prototype.
1487         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
1488         Future releases will have this function.
1489         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1490         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1491         Reported by HJ Lu.
1493 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
1495         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
1496         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
1497         `__sigsetjmp' in PIC code.
1498         * sysdeps/i386/bsd-setjmp.S: Likewise.
1500         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
1501         overflow.
1502         * sysdeps/libm-i387/e_powf.S: Likewise.
1503         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
1504         case since expm1(-0) == -0.
1505         * sysdeps/libm-i387/s_expm1f.S: Likewise.
1506         * sysdeps/libm-i387/s_expm1l.S: Likewise.
1507         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
1508         access to FP number.
1509         * sysdeps/libm-ieee754/s_modff.c: Likewise.
1510         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
1511         code.  It never worked correctly.
1512         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
1513         case since tanh(-0) == -0.
1514         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
1515         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
1517 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
1519         * time/Makefile: Correct dependencies for test-tz.
1521         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
1522         UIO_FASTIOV and set to 8 if not available.
1523         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1524         Patch by HJ Lu.
1526         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
1527         "kernel_stat.h".
1528         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1529         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1530         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
1532 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
1534         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
1536         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
1538         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
1540         * sysdeps/unix/sysv/Dist: Add direct.h.
1542         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
1544         * Make-dist ($(tardir).tar): Prefer writing temporary file to
1545         $TMPDIR is available.  The default is /tmp.
1547         * sysdeps/generic/ip.h: Move to...
1548         * sysdeps/generic/netinet/ip.h: ...here.
1550         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
1551         is placed in wrong place on the stack.
1552         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
1554 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
1556         * time/offtime.c (__offtime): Change type of `yg' to long int.
1557         Reported by a sun <asun@zoology.washington.edu>.
1559 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
1561         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
1562         2.2.0 to prevent version mismatch.
1564 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
1566         * Make-dist (srcs): Add $(test-srcs).
1567         * MakeTAGS (all-sources): Likewise.
1568         * Makerules (depfiles, common-mostlyclean): Likewise.
1569         * Rules (tests): Likewise.
1571 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
1573         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
1575 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
1577         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
1578         protocol=NULL to match any protocol rather than returning an
1579         error.
1581 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
1583         * nss/nss_files/files-service.c (servbyname): Match any protocol
1584         if proto==NULL.
1586 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
1588         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
1589         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
1590         Proposed by Thomas Bushnell, n/BSG.
1592 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
1594         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
1595         the buffer for replacement.
1597 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
1599         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
1600         sys_lstat and sys_stat.
1602 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1604         * mach/devstream.c (output/write_some): Don't try and write more
1605         than IO_INBAND_MAX in a single call to device_write_inband.
1607 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
1609         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
1610         type is SVID.
1611         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
1612         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
1614         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
1615         FLAGS parameter.
1617 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
1619         * manual/filesys.texi: Add documentation for scandir and alphasort.
1620         * manual/examples/dir2.c: New example for scandir.
1622         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
1623         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
1624         * sysdeps/ieee754/huge_val.h: Remove definition of long double
1625         definition.  Make it the same as the double definition.
1627         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
1628         * sysdeps/libm-i387/e_acosf.S: Likewise.
1629         * sysdeps/libm-i387/e_acosl.S: Likewise.
1630         * sysdeps/libm-i387/e_asin.S: Likewise.
1631         * sysdeps/libm-i387/e_asinf.S: Likewise.
1632         * sysdeps/libm-i387/e_asinl.S: Likewise.
1633         * sysdeps/libm-i387/e_exp.S: Likewise.
1634         * sysdeps/libm-i387/e_expf.S: Likewise.
1635         * sysdeps/libm-i387/e_expl.S: Likewise.
1636         * sysdeps/libm-i387/s_scalbn.S: Likewise.
1637         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
1638         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
1640         * sysdeps/libm-i387/e_log.S: Optimize branch code.
1641         * sysdeps/libm-i387/e_logf.S: Likewise.
1642         * sysdeps/libm-i387/e_logl.S: Likewise.
1643         * sysdeps/libm-i387/e_log10.S: Likewise.
1644         * sysdeps/libm-i387/e_log10f.S: Likewise.
1645         * sysdeps/libm-i387/e_log10l.S: Likewise.
1647         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
1648         * sysdeps/libm-i387/e_powf.S: Likewise.
1649         * sysdeps/libm-i387/e_powl.S: Likewise.
1651         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
1652         argument to -1.0.
1653         * sysdeps/libm-i387/s_expm1f.S: Likewise.
1654         * sysdeps/libm-i387/s_expm1l.S: Likewise.
1656         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
1658         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
1659         stack element after fxtract.
1661         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
1662         implementation for atan2 function.
1664         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
1665         _SVID_ mode when acos, asin, atan2, log, log10 is called with
1666         argument out of range.
1667         Add new error case for pow(+0,neg).
1669         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
1670         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
1671         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1673         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
1674         long double type.
1676         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
1677         in SVID mode.
1678         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
1679         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
1681         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
1682         or -0.
1683         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1684         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1686         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
1688         * sysdeps/stub/fcntlbits.h: Update copyright.
1689         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
1690         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
1691         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
1692         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
1693         * sysdeps/unix/common/fcntlbits.h: Likewise.
1694         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
1695         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
1696         and FNDELAY.
1697         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
1699         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
1700         only reclen bytes.
1702         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
1703         and O_NORW.
1704         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
1706         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
1708         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
1709         struct stat to user-level form.
1710         * sysdeps/unix/sysv/linux/lxstat: New file.
1711         * sysdeps/unix/sysv/linux/xstat: New file.
1712         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
1713         kernel.
1714         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
1715         to use prescribed types for elements.
1716         (_STAT_VER): Change to value 3.
1717         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1718         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
1719         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1721         * time/Makefile: Correct dependencies for test-tz.
1723         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
1725 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
1727         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
1728         kernel header.
1729         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
1731 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
1733         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
1734         without testing for last_bfp to be NULL.
1735         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
1737 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
1739         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
1740         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
1742 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
1744         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
1745         functions.  Compare result for correct address type.
1746         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
1747         * nss/nss_files/files-hosts.c: Likewise.
1748         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
1750 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
1752         * time/strptime.c (recursive): Return rp to caller.
1753         (strptime_internal): First check for long names, then abbreviated
1754         (month & weekday).
1756 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1758         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
1759         1900 from year, regardless of century.
1761 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
1763         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
1764         all numbers unsigned to make buggy gccs happy.
1765         Patch by Bryan W. Headley <bheadley@interaccess.com>.
1767         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
1768         definitions.  Patch by a sun <asun@zoology.washington.edu>.
1769         Pretty print header.
1771         * Makerules (build-shlib): Also create symlink if library is versioned.
1772         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
1773         Remove special rule to libc.so symlink.
1775 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
1777         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
1778         return values for acos, asin, and atan2.
1779         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1781 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1783         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
1785 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1787         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
1788         to pointers to directory entries so that alphasort really can be
1789         used as argument for scandir.
1791 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
1793         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
1794         instead of strcpy.
1796 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
1798         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
1799         catalogs, not only if the envvar NLSPATH is not available.
1800         Reported by Andries.Brouwer@cwi.nl.
1802 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
1804         * Makeconfig (localtime-file): Don't define using installation
1805         directory.
1806         (inst_localtime-file): New variable.
1807         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
1808         Reported by Edward Seidl <seidl@janed.com>.
1810 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
1812         * time/Makefile: Add source files to dependencies for test data.
1814 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
1816         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
1817         * nis/nss_nis/nis-proto.c: Likewise.
1818         * nis/nss_nis/nis-rpc.c: Likewise.
1819         * nis/nss_nis/nis-service.c: Likewise.
1821 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1823         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
1824         euidaccess weak alias.
1826 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1828         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
1830         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
1832 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1834         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
1836         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
1837         __file_name_split.
1839         * mach/mach_error.c (mach_error_string_int): Give full prototype.
1840         * mach/errstring.c (mach_error_string_int): Likewise.
1841         * mach/error_compat.c (__mach_error_map_compat): Likewise.
1842         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
1843         * stdio/vasprintf.c (vasprintf): Likewise.
1845         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
1847         * mach/spin-solid.c: Include <mach/mach_traps.h>.
1848         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
1849         swtch_pri.
1851         * mach/mach_init.c: Include <mach/mig_support.h>.
1853         * mach/mach_error.h (mach_error_string, mach_error,
1854         mach_error_type): Always provide prototypes.
1856         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
1857         appears to be entirely unused dead code.
1859 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
1861         * string/argz.h (__need_error_t): New macro, before including <errno.h>
1862         [!__const] (__const): New macro.
1863         [!__error_t_defined] (error_t): New typedef.
1865 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
1867         * posix/unistd.h: Add prototype for __euidaccess.
1868         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
1869         euidaccess weak alias.
1870         * sysdeps/stub/euidaccess.c: Likewise.
1871         * inet/rcmd.c: Use __ protected versions of non-standard functions.
1873         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
1874         binary locale files.  Use LOCALEDIR only.
1875         * locale/programs/locfile.c: When named file not found and not
1876         absolute use path in I18NPATH.
1878         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
1879         and AF_FILE as synonym for AF_LOCAL.
1880         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
1882         * time/Makefile: Rewrite rules for test to handle parallel builds.
1884 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
1886         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
1887         robbe@orcus.priv.at.
1889 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
1891         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
1892         8-byte boundary.
1894 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
1896         * elf/link.h: Include <features.h>.
1897         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
1899 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
1901         Rewrite NIS code to allow empty keys.
1902         * nis/nss_nis/nis-ethers.c: Rewritten.
1903         * nis/nss_nis/nis-proto.c: Rewritten.
1904         * nis/nss_nis/nis-publickey.c: Rewritten.
1905         * nis/nss_nis/nis-rpc.c: Rewritten.
1906         * nis/nss_nis/nis-service.c: Rewritten.
1908 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
1910         * time/scheck.c (scheck): Add extra const to second argument.
1912         * time/private.h: Correct prototypes to match definition.
1914 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
1916         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
1917         switching of UID before opening .rhosts.
1919         * posix/regex.c: Merge with regex sources from Arnold Robbins'
1920         version in GNU awk.
1921         * posix/regex.h: Likewise.
1923         Add regex test suite by Tom Lord.
1924         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
1925         (tests): Add runtests.
1926         (before-compile): Add testcases.h.
1927         (testcases.h): New rule to generate header with tests.
1928         * posix/TESTS: New file.
1929         * posix/TESTS2C.sed.: New file.
1930         * posix/runtests.c: New file.
1931         * posix/testcases.h: New file.
1933         * time/ialloc.c: Update from tzcode1997c.
1934         * time/private.h: Likewise.
1935         * time/scheck.c: Likewise.
1936         * time/tzselect.ksh: Likewise.
1937         * time/zdump.c: Likewise.
1938         * time/zic.c: Likewise.
1940         * time/tzfile.c: Pretty print.
1942 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
1944         * stdio-common/vfscanf.c: Use __va_copy if available.
1946 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1948         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
1949         clean up namespace.
1951 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
1953         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
1954         kernel-level sigaction structure is different.  handle this
1955         correctly.
1956         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
1958 1997-03-06 05:55  David Engel  <david@sw.ods.com>
1960         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
1961         recognize cache entries with flag == 3.
1963 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
1965         * time/antarctica: Update from tzdata1997c.
1966         * time/asia: Likewise.
1967         * time/zone.tab: Likewise.
1969 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1971         * sysdeps/m68k/fpu/__math.h: Update feature tests.
1972         (fabs): Remove defininition, it is a gcc builtin.
1973         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
1975 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
1977         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
1978         instead to avoid namespace problems.
1979         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
1981 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
1983         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
1984         falling back to select-based implementation if syscall isn't
1985         available.
1986         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
1988         * time/leapseconds: Update from tzdata1997b.
1989         * time/zic.c: Update from tzcode1997b.
1991 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1993         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
1994         depedencies between installed $(tzlinks) and $(tzbases) files.
1996 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1998         * math/math.h: Make compatible with traditional preprocessor;
1999         requires carefull placement of whitespace in macro arguments.
2000         Use __CONCAT instead of ##.
2001         Declare long double functions only if __STDC__ or __GNUC__.
2002         * math/mathcall.h: Avoid whitespace before argument of macro call
2003         that is used as function name.
2005         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
2006         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
2007         of __NO_M81_MATH_INLINES.
2008         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
2009         starting with __ieee754.
2010         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
2011         functions as inlines.
2012         (__m81_defun): Put __attribute__ between return type and function
2013         name.
2014         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
2015         is defined.
2016         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
2017         instead of __NO_M81_MATH_INLINES.
2018         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2019         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2020         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2021         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2022         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
2023         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2024         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2025         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2026         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2027         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2029 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
2031         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
2032         so that clearing second word is necessary.
2034         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
2035         header since it is wrong for 64 bit systems.
2036         Patch by a sun <asun@zoology.washington.edu>.
2038 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
2040         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
2041         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
2042         for the benefit of running foreign binaries.
2044 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
2046         * manual/Makefile: Add rules to run and distribute xtract-typefun.
2047         * manual/xtract-typefun.awk: New file.  Script to extract function,
2048         variable, macro anchor to put into the `dir' file.
2050         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
2051         exponent before comparing.
2053 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
2055         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
2056         prototypes to use types with explicit width.  `unsigned long' is
2057         different on 64 bit systems.
2058         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2059         * sysdeps/generic/htonl.c: Likewise.
2060         * sysdeps/generic/htons.c: Likewise.
2061         * sysdeps/generic/ntohl.c: Likewise.
2062         * sysdeps/generic/ntohs.c: Likewise.
2063         Suggested by a sun <asun@zoology.washington.edu>.
2065 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
2067         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
2068         defined and we want optimization.
2070 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2072         * misc/getpass.c: Don't disable canonical input.
2073         Reverted patch of Mon Jan  6 01:35:29 1997.
2075 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2077         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
2078         match the hidden __in_chrg parameter of the destructor.
2079         (_IO_FINISH): Pass zero for it.
2080         * libio/genops.c (_IO_default_finish): Add second parameter, which
2081         is ignored.
2082         * libio/memstream.c (_IO_mem_finish): Likewise.
2083         * libio/fileops.c (_IO_file_finish): Likewise.
2084         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
2086 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
2088         * time/Makefile: Avoid using patterns in dependencies.
2090 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
2092         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2094 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
2096         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
2097         word on stack for overflow.
2099 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2101         * malloc/malloc.c (malloc_get_state): New function.
2102         Saves global malloc state to an opaque data structure which
2103         is dynamically allocated in the heap.
2104         * malloc/malloc.c (malloc_set_state): New function.
2105         Restore previously obtained state.
2106         * malloc/malloc.h: Add declaration of malloc_get_state()
2107         and malloc_set_state().
2109 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
2111         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
2112         position.
2114 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
2116         * misc/error.c: Make error and error_at_line weak aliases of
2117         __error and __error_at_line respectively.
2118         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
2120 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2122         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
2123         time-era-num-entries.
2125 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
2127         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
2128         to avoid duplicate mail.
2130 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
2132         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
2133         numeric values.
2135 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
2137         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
2138         sign in the strtouXX functions.  The results gets simply negated.
2139         * stdlib/tst-strtol.c: Correct tests.
2141 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
2143         * math/math.h: Prevent definition of struct exception when using
2144         C++.
2146 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
2148         * sysdeps/unix/syscalls.list: Dup takes only one argument.
2149         Reported by Greg McGary.
2151 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
2153         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
2154         than file_get_translator.
2156         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
2157         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
2159 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
2161         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
2162         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2164 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
2166         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
2167         but ADDR also == 0.
2169         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
2170         now instead of a weak extern, as some old programs expect it to be
2171         defined by ld.so.
2173 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
2175         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
2177         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
2178         __hurd_threadvar_stack_offset): Restore initialized versions, so
2179         startup works correctly.
2181         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
2183 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
2185         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
2186         not __mutex_try_lock.
2187         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
2188         (tsd_getspecific): Case variable to (void *) before returning.
2190         * hurd/hurdinit.c (__libc_argv): Remove extern.
2191         (__libc_argc): New variable.
2193 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
2195         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2196         _HURD_THREADVAR_MALLOC.
2197         * malloc/thread-m.h
2198         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2199         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
2200         __mutex_*.
2201         (mutex_t): Type removed & replaced by new macro.
2202         (tsd_key_t): Typedef to int instead of pthread_key_t.
2203         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2204         (__pthread_initialize): New macro, work around assumption of pthreads.
2205         (tsd_keys_alloced): New static variable.
2206         <hurd/threadvar.h>: New include.
2208         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
2209         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
2210         defined before using it.
2212         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
2213         Make extern.
2214         * hurd/hurdinit.c (__libc_argv): Make extern.
2216         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
2217         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
2219         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
2220         __hurd_threadvar_stack_offset,
2221         __hurd_threadvar_stack_mask): New variables.
2222         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
2223         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2224         New variables (moved here from hurdstartup.c).
2225         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
2226         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2227         Variables removed (moved to hurdsig.c).
2228         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
2229         __hurd_threadvar_stack_mask): Variables removed.
2230         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2231         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
2232         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
2233         __hurd_threadvar_stack_mask): Variables removed.
2235 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
2237         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
2238         Declare extern.
2240         * malloc/thread-m.h
2241         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2242         (mutex_t): Type removed.
2243         (mutex_t): New macro.
2244         (mutex_trylock): New macro.
2245         (__x_mutex_lock, __x_mutex_unlock): New functions.
2246         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
2247         the cthread definitions.
2248         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
2249         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2250         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
2251         (__pthread_initialize): New macro, work around assumption of pthreads.
2253 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
2255         * sysdeps/generic/netinet/in.h: Protect contents using
2256         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
2258         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
2259         * inet/Makefile (headers): Remove net/ethernet.h.
2260         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
2261         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
2263 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
2265         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
2266         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
2268 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
2270         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
2272 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2274         * stdio-common/test-fseek.c: Remove temporary file, add
2275         copyright.
2277 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
2279         * string/strxfrm.c (STRCOLL): Correct handling of `position'
2280         levels with no non-IGNOREd element and handling of NUL byte.
2281         * string/strcoll.c (STRXFRM): Likewise.
2282         * locale/weight.h: Likewise.
2284         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2286 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
2288         * locale/programs/locale.c: Check whether output of `locale -a'
2289         really is locale directory.  Also print locale aliases.
2291 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
2293         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
2294         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2296 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
2298         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
2299         additional argument.
2301 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
2303         * inet/net/ethernet.h: New file.
2304         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
2305         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
2306         Contributed by a sun <asun@zoology.washington.edu>.
2308         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
2309         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
2310         Reported by a sun <asun@zoology.washington.edu>.
2312 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
2314         * stdio-common/bug10.c (main): Correct parameter.
2316         * string/strcoll.c: Update copyright.
2318 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
2320         * malloc/obstack.h: Add `extern "C"' protection.
2321         * posix/regex.h: Likewise.
2322         * io/ftw.h: Likewise.
2323         * misc/libgen.h: Likewise.
2324         * login/utmp.h: Likewise.
2325         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
2326         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2327         * sunrpc/rpc/pmap_rmt.h: Likewise.
2328         * sunrpc/rpc/auth_des.h: Likewise.
2329         * elf/link.h: Likewise.
2330         * inet/netinet/ether.h: Likewise.
2331         Reported by HJ Lu.
2333 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
2335         Linux specific network headers.
2336         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
2337         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
2338         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
2339         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
2340         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
2341         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
2342         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
2343         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
2344         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
2345         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
2346         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
2347         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2348         Add sys/quota.h.
2349         [$(subdir)=inet] (sysdep_headers): Add new network header.
2351         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
2352         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2354         * inet/netinet/ip.h: Move to sysdeps/generic.
2356 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2358         * inet/netinet/ip.h: Add protection.
2360 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
2362         * misc/sys/syslog.h (prioritynames): Correct definition to use
2363         braces where necessary.
2364         (facilitynames): Likewise.
2365         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
2366         Comment and beautify declarations.
2368 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
2370         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
2371         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2373 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2375         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
2376         _nss_nis_gethostton_r.
2377         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
2379 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
2381         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
2382         length of abs_filename.
2384 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
2386         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
2387         trying to resolv name as numeric IPv6 address.
2388         * nss/digits_dots.c: Likewise.
2390 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
2392         * locale/programs/localedef.c: Implement --quiet option.
2393         * locale/programs/charset.h: Declare be_quiet variable.
2394         * locale/programs/locfile.h: Likewise.
2395         * locale/programs/charmap.c: Don't print warnings if quiet option
2396         was given.
2397         * locale/programs/ld-collate.c: Likewise.
2398         * locale/programs/ld-ctype.c: Likewise.
2399         * locale/programs/ld-messages.c: Likewise.
2400         * locale/programs/ld-monetary.c: Likewise.
2401         * locale/programs/ld-numeric.c: Likewise.
2402         * locale/programs/ld-time.c: Likewise.
2403         * locale/programs/locfile.c: Likewise.
2405 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2407         * stdlib/qsort.c: Add prototype for _quicksort.
2409         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
2411         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
2412         from dl-machine.h.
2414 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
2416         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
2417         Allow user to overwrite it.
2419 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
2421         * libio/_G_config.h: Make sure win_t is also defined for old gcc
2422         versions.  Reported by Andreas Jaeger.
2424 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2426         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
2427         1997-02-12.
2429         * time/tzfile.c (__tzfile_read): Change comment to follow
2430         change of 1997-02-12.
2432 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
2434         * time/time.h (__nanosleep): Define only when struct timespec is
2435         also available.
2436         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
2438 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
2440         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
2441         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
2443 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
2445         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
2446         of 1997-02-09 in resolv/gethnamaddr.c.
2448 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
2450         * libio/_G_config.h (_G_wint_t): New.
2452 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2454         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
2455         to sizeof (buf.buf) while calling res_search ().
2457 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
2459         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
2460         val to keydat, stat to status.
2462 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
2464         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
2466 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
2468         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
2469         by Keith Bostic.
2471 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
2473         * stdlib/atoll.c: Undefine atoll, not atol.
2475 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2477         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
2478         unused arguments of shell script.
2480         * Makeconfig (all-object-suffixes): New variable.
2481         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
2482         of $(object-suffixes).
2483         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
2485 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
2487         * locale/weight.h (collate_rules): It's an u_int32_t array.
2488         (get_weight): Compute initial SLOT value correctly.
2490 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
2492         * string/argz-ctsep.c: Initialize *LEN when successful.
2494 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
2496         * version.h (VERSION): Bump to 2.0.2.
2498         * posix/Makefile (routines): Add getopt_init.
2499         * posix/getopt.c: Don't get environment variable with nonoption
2500         flags here.  Depend on __getopt_nonoption_flags variable filled
2501         somewhere else.  This is necessary since the variable must be
2502         removed even when getopt isn't used in case exec(2) gets called.
2503         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
2504         and remove environment variable.
2505         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
2506         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2507         * sysdeps/stub/init-first.c: Likewise.
2508         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2510         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
2511         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
2513         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
2514         encryption is wanted.
2516         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
2517         * stdio/vsnprintf.c: Likewise.
2518         Reported by Philip Blundell <pjb27@cam.ac.uk>.
2520         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
2521         * stdio/vsnprintf.c: Likewise.
2522         Reported by Philip Blundell <pjb27@cam.ac.uk>.
2524 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
2526         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
2527         Change PTR to void *.
2528         * sysdeps/posix/vdprintf.c: Change PTR to void *.
2529         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
2531 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
2533         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
2535 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2537         * rellns-sh: No need to check for existance of first parameter.
2539 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2541         * rellns-sh: No need to check for existance of first parameter.
2543 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2545         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
2546         by David Holland <dholland@eecs.harvard.edu>.
2548 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2550         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
2551         select, in case it is modified by the latter.
2552         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2553         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2554         * sunrpc/svc_tcp.c (readtcp): Likewise.
2556         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
2557         array.
2559         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
2560         and gid_t.
2562         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
2563         argument.
2565 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2567         * elf/Makefile (extra-objs): Don't zap previous value.
2568         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
2569         twice.
2571 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2573         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
2574         braindamage (sigh!).
2576 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
2578         * manual/memory.texi: Correct `copystring' example for obstacks.
2580 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
2582         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
2583         GNU tr don't grok it.
2585 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2587         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
2588         Don't use GNU C extensions.
2589         (CMSG_DATA): Use portable definition.
2591 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
2593         * elf/ldd.bash.in: Add test for read permission and print appropriate
2594         message.  Change warning and error messages to print "ldd: " at start.
2595         * elf/ldd.sh.in: Likewise.
2597         * stdlib/Makefile (routines): Add atoll.
2598         * stdlib/atoll.c: New file.
2599         * stdlib/stdlib.h: Add prototype and optimization for atoll.
2601         * stdlib/a64l.c: Update copyright.
2602         * stdlib/abs.c: Likewise.
2603         * stdlib/atof.c: Likewise.
2604         * stdlib/atoi.c: Likewise.
2605         * stdlib/atol.c: Likewise.
2606         * stdlib/bsearch.c: Likewise.
2607         * stdlib/exit.c: Likewise.
2608         * stdlib/fpioconst.c: Likewise.
2609         * stdlib/fpioconst.h: Likewise.
2610         * stdlib/jrand48.c: Likewise.
2611         * stdlib/jrand48_r.c: Likewise.
2612         * stdlib/labs.c: Likewise.
2613         * stdlib/lcong48.c: Likewise.
2614         * stdlib/lcong48_r.c: Likewise.
2615         * stdlib/llabs.c: Likewise.
2616         * stdlib/lrand48.c: Likewise.
2617         * stdlib/lrand48_r.c: Likewise.
2618         * stdlib/mblen.c: Likewise.
2619         * stdlib/mbstowcs.c: Likewise.
2620         * stdlib/mbtowc.c: Likewise.
2621         * stdlib/mp_clz_tab.c: Likewise.
2622         * stdlib/mrand48.c: Likewise.
2623         * stdlib/mrand48_r.c: Likewise.
2624         * stdlib/msort.c: Likewise.
2625         * stdlib/nrand48.c: Likewise.
2626         * stdlib/nrand48_r.c: Likewise.
2627         * stdlib/qsort.c: Likewise.
2628         * stdlib/rpmatch.c: Likewise.
2629         * stdlib/seed48.c: Likewise.
2630         * stdlib/seed48_r.c: Likewise.
2631         * stdlib/srand48.c: Likewise.
2632         * stdlib/srand48_r.c: Likewise.
2633         * stdlib/strtod.c: Likewise.
2634         * stdlib/wcstombs.c: Likewise.
2635         * stdlib/wctomb.c: Likewise.
2637 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
2639         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
2640         as const.
2642 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
2644         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
2645         including <stddef.h>.
2647 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
2649         * time/Makefile (tzbases, tzlinks): New.
2650         (tzfiles): Changed to $(tzbases) $(tzlinks).
2651         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
2653 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
2655         * Makefile (install): Ignore error from ldconfig.
2657         * time/zic.c (mkdirs): Double check the error return of mkdir ().
2659 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
2661         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
2662         like PPC where va_list is no integral type.
2664 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
2666         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
2667         if nonoption_flags_len == -1.
2669 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
2671         * Version 2.0.1 net release.
2673 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
2675         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
2677 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
2679         * stdlib/getsubopt.c: Don't return `=' for suboption which has
2680         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
2682 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2684         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
2685         values as in yp.x and yp.h.
2687 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
2689         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
2690         1997-02-03 02:17.  Sun's implementation internally corrects
2691         this bug but we don't want to hide this from the user.
2692         * nis/rpcsvc/yp.h: Likewise.
2694 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2696         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
2697         inclusion.
2699 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2701         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
2702         fixes.
2704 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2706         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
2707         (all-sources, all-headers): Use them instead of $(sources) and
2708         $(headers) when searching in sysdep directories.
2710 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2712         * Makerules (REAL_MAKE_VERSION): Use internal make function
2713         instead of shelling out.
2715 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2717         * time/Makefile (install-test-data): Remove mkdir command, zic can
2718         handle that gracefully.
2720 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2722         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
2723         somehow.
2725 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2727         * sunrpc/Makefile: Check $(cross-compiling) only after including
2728         ../Makeconfig.
2729         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
2730         being considered as a rule.
2731         (generated): Add stamp files before the inclusion of Makerules to
2732         magically mark them as not being intermediate via the `generated'
2733         target.
2735 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
2737         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
2738         entries.  This is still no complete implementation since AUXILIARY
2739         entries in other shared objects are not yet handled.
2741         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
2742         place.
2744         * po/es.po: Update.
2745         * po/fr.po: Update.
2746         * po/nl.po: Update.
2748         * time/Makefile: Better cross-compile support.  Avoid test which
2749         cannot be run.
2750         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
2751         tzfile.h file.
2752         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
2753         in SUID programs.
2754         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
2755         default values as in tzfile.c.
2757         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
2758         tags.
2759         * elf/link.h: Likewise.
2760         * elf/elf.h: Add tag definitions and data structures for versioning.
2762 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
2764         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
2765         "Sun bug".  This is the order of elements also used by 4.4BSD.
2766         * nis/rpcsvc/yp.h: Likewise.
2767         Reported by HJ Lu.
2769 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
2771         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
2772         action.
2774         * Makefile (install): Pass installation directories as arguments
2775         to ldconfig.
2777 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
2779         * malloc/malloc.c (__after_morecore_hook): New variable.
2780         (malloc_extend_top): Call __after_morecore_hook if set.
2781         (main_trim): Likewise.
2782         * malloc/malloc.h: Add declaration of __after_morecore_hook.
2783         Suggested by Marcus Daniels.
2785 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
2787         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
2788         #ifndef NO_THREADS.
2789         (mallinfo): Likewise.
2791         * malloc/malloc.c (__morecore): Make external since it is used in
2792         programs.
2794 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
2796         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
2797         unsigned.
2799 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
2801         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
2802         use t6 as a temporary; it contains bits we still need in $u_head.
2804 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
2806         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
2807         using __ prefix.  Add prototype for log1p.
2809 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
2811         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
2813 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
2815         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
2817 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
2819         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
2820         structure plus related macros.
2821         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
2822         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
2823         (sysdep_routines): Add cmsg_nxthdr.
2824         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
2825         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
2827 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
2829         * time/strftime.c: Define _strftime_copytm without protecting arguments
2830         which breaks the definition.
2832 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2834         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
2835         definition of type for element.
2837 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
2839         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
2840         constants.
2842 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
2844         * Makefile: Pass PARALLELMFLAGS to sub-makes.
2845         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
2847 1997-01-31  Paul Eggert  <eggert@twinsun.com>
2849         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
2850         Define if _LIBC is defined.
2851         <limits.h>: Include if HAVE_LIMITS_H instead of if
2852         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
2853         <stdlib.h>: Similarly, include if STDC_HEADERS.
2854         (localtime_r): Redo #ifdef to make it clear that glibc has
2855         localtime_r now.
2857 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2859         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
2860         file to avoid unnecessary recompilation.
2862 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2864         * Makefile: Set install-others, not install_others.
2865         (before-compile): Use += to preserve previous value.
2866         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
2867         fix dependency name.
2868         ($(objpfx)lib-names.h): Remove rule.
2869         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
2870         with correct name, using an intermediate stamp file.
2871         (common-generated): Add gnu/lib-names.h.
2872         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
2874 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
2876         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
2877         to prevent warnings on 64 bit systems.
2878         Reported by Paul Wouters <paul@xtdnet.nl>.
2880         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
2881         we assume it works.
2883 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
2885         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
2886         double word boundary before pushing args for main.  This way we
2887         don't get penalties for misaligned memory accesses.  Reported by
2888         Edward Seidl <seidl@janed.com>.
2890         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
2891         Patch by HJ Lu.
2893         * misc/bsd-compat.c: Update copyright.
2894         * misc/efgcvt.c: Likewise.
2895         * misc/efgcvt_r.c: Likewise.
2896         * misc/error.c: Likewise.
2897         * misc/error.h: Likewise.
2898         * misc/fstab.c: Likewise.
2899         * misc/init-misc.c: Likewise.
2900         * misc/lsearch.c: Likewise.
2901         * misc/mntent.c: Likewise.
2902         * misc/qefgcvt.c: Likewise.
2903         * misc/qefgcvt_r.c: Likewise.
2904         * nss/databases.def: Likewise.
2905         * nss/db-Makefile: Likewise.
2906         * nss/ethers-lookup.c: Likewise.
2907         * nss/hosts-lookup.c: Likewise.
2908         * nss/netgrp-lookup.c: Likewise.
2909         * nss/nsswitch.h: Likewise.
2910         * nss/proto-lookup.c: Likewise.
2911         * nss/rpc-lookup.c: Likewise.
2912         * nss/service-lookup.c: Likewise.
2913         * nss/nss_db/db-netgrp.c: Likewise.
2914         * nss/nss_files/files-grp.c: Likewise.
2915         * nss/nss_files/files-hosts.c: Likewise.
2916         * nss/nss_files/files-network.c: Likewise.
2917         * nss/nss_files/files-proto.c: Likewise.
2918         * nss/nss_files/files-pwd.c: Likewise.
2919         * nss/nss_files/files-rpc.c: Likewise.
2920         * nss/nss_files/files-service.c: Likewise.
2921         * nss/nss_files/files-spwd.c: Likewise.
2922         * shadow/fgetspent.c: Likewise.
2923         * shadow/fgetspent_r.c: Likewise.
2924         * shadow/getspent.c: Likewise.
2925         * shadow/getspent_r.c: Likewise.
2926         * shadow/getspnam.c: Likewise.
2927         * shadow/getspnam_r.c: Likewise.
2928         * shadow/putspent.c: Likewise.
2929         * shadow/sgetspent.c: Likewise.
2930         * shadow/sgetspent_r.c: Likewise.
2931         * sysdeps/i386/init-first.c: Likewise.
2932         * sysdeps/unix/i386/sysdep.S: Likewise.
2934         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
2935         prepared to be running in a multi-threaded environment.  Change
2936         to __USE_MISC unless the function is defined in POSIX.1 (in this
2937         case also test for __USE_POSIX).
2938         * dirent/dirent.h: Likewise.
2939         * grp/grp.h: Likewise.
2940         * inet/aliases.h: Likewise.
2941         * libio/libio.h: Likewise.
2942         * libio/stdio.h: Likewise.
2943         * login/utmp.h: Likewise.
2944         * math/mathcalls.h: Likewise.
2945         * misc/mntent.h: Likewise.
2946         * pwd/pwd.h: Likewise.
2947         * resolv/netdb.h: Likewise.
2948         * stdlib/stdlib.h: Likewise.
2949         * string/string.h: Likewise.
2950         * sunrpc/rpc/netdb.h: Likewise.
2951         * sysdeps/generic/crypt.h: Likewise.
2952         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
2953         * time/time.h: Likewise.
2955 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
2957         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
2958         only if not cross compiling.
2960 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
2962         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
2963         NULL.
2964         * sysdeps/posix/sigwait.c: Likewise.
2966 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2968         * Makeconfig ($(common-objpfx)config.make): Depend on
2969         $(..)config.make.in.
2971 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
2973         * sunrpc/Makefile: Don't generate headers derived from .x files when
2974         crosscompiling.
2976 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
2978         * Makefile: Generate gnu/lib-names.h in before-compile.
2979         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
2980         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
2981         to the revision found for LIBNSS_FILES_SO.
2982         (nss_initilized): Removed.  It was tested but never set.
2983         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
2985         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
2986         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
2988         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
2990 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
2992         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
2993         override the definition.
2995 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
2997         * config.make.in (malloc): Remove.
2999 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
3001         * version.h (VERSION): Bump to 2.0.1.
3003         * posix/getopt.c: Handle another problem introduced by the
3004         nonoption_flags array.  We must be able to work with reordered
3005         argv arrays.  Reported by Andreas Schwab.
3007 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
3009         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
3010         stack.
3012 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3014         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
3015         that it works with yp.h.
3017 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
3019         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
3020         __libc_malloc_initialized so that this variable is not shared with
3021         other users of GNU malloc.
3022         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3024         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
3026         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
3027         variables to prevent warnings.
3028         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
3029         using attribute regparm.
3030         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
3031         is changed by the resolver code.
3033 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3035         * malloc/malloc.c (weak_variable): Define.
3036         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
3037         __memalign_hook): Make them weak definitions.
3039 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3041         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
3042         limits, correctly take structure padding into account, use correct
3043         offset when resetting the stream, change heuristic to assume an
3044         average name length of 14 characters.
3046 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3048         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
3049         inclusion.
3052 See ChangeLog.6 for earlier changes.