Net interface definition
[glibc.git] / ChangeLog
blobf3997d6a357cce4601edb3bcdeabd9230f5ccffe
1 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
3         * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
4         variable as well.
6         * locale/C-ctype.c: Correct data for isw* functions.
7         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
8         byte order.
9         * wctype/test_wctype.c: Add test for isw* functions.
10         * wctype/wctype.c: Return value with expected byte order.
12         * sysdeps/alpha/__math.h: Remove cabs definition.
13         * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
15         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
17         * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
18         __libc_* names.
20         * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
21         net/if_slip.h, and sys/prctl.h.  Remove sys/module.h.
22         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
23         Remove sys/module.h.  Add sys/prctl.h and scsi/sg.h.
24         [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
26         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
28         * sysdeps/unix/sysv/linux/sys/module.h: Removed.
30 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
32         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
33         * sysdeps/unix/sysv/linux/send.S: Likewise.
34         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37         * sysdeps/unix/sysv/linux/recv.S: Likewise.
38         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
39         * sysdeps/unix/sysv/linux/connect.S: Likewise.
41 1997-12-07 15:49  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
43         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
44         handle for /etc/group back in some more cases.
45         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
46         handle for /etc/passwd back in some more cases.
47         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
48         handle for /etc/shadow back in some more cases.
50 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
52         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
53         beyound its size.
54         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
55         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
57 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
59         Alpha changes for EGCS:
60         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
61         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
62         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
63         (_start): Likewise.
64         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
66         * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
67         * sysdeps/alpha/__longjmp.S: Likewise.
68         * sysdeps/alpha/bsd-_setjmp.S: Likewise.
69         * sysdeps/alpha/bsd-setjmp.S: Likewise.
70         * sysdeps/alpha/jmp_buf.h: Likewise.
71         * sysdeps/alpha/setjmp.S: Likewise.
72         * sysdeps/alpha/__longjmp.c: Removed.
73         * sysdeps/alpha/setjmp_aux.c: Removed.
75 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
77         * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
78         constants from Linux headers.  Pointed out by
79         csmall@scooter.o.i.net. [PR libc/369]
81 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
83         * grp/initgroups.c: Increase buffer if it is too small.
85 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
87         * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
88         constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
89         [PR libc/367].
91 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
93         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
94         __typeof for C++ since this fails for class members.
95         Reported by Neal Becker <neal@ctd.comsat.com>.
97 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
99         * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
100         incompatible with Linux 2.1.x. Packages using modules
101         (e.g. modutils) should/do provide their own version. Suggested by
102         Richard Henderson.
104         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
107         [$(subdir)=socket]: Remove sys/module.h.
109 1997-11-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
111         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
112         not shadow the variable in the outer scope. Carry over from glibc 2.1.
114 1997-11-21 21:33  Ulrich Drepper  <drepper@cygnus.com>
116         * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
118 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
120         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
121         return value.
123 1997-11-19 23:50  Ulrich Drepper  <drepper@cygnus.com>
125         * configure.in: Update from 2.1 version.
126         * glibcbug.in: Likewise.
127         * manual/maint.texi: Likewise.
129         * math/mathcalls.c: Remove declaration of infnan and cabs.
131         * libio/stdio.h: Don't use _POSIX_SOURCE in header.
133         * manual/errno.texi: Define new Linux errors.
135         * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
136         and __kernel_rem_pio2{,f,l}.
138         * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
140         * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
142         * sysdeps/i386/selectbits.h: Don't use casts, use element access.
144         * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
146         * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
147         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
148         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
150         * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
151         <bits/libc-lock.h>.
153         * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
154         types in struct cmsghdr.
156         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
157         loading of return address.
159         * sysdeps/unix/sysv/linux/net/if.h: Add new values.
160         * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
162         * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
164 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
166         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
167         value type to long int.
168         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
169         types.
171 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
173         * sysdeps/posix/writev.c: Correct condition to leave the loop.
175 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
177         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
178         zero isn't enough to determine illegal arguments.
179         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
180         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
182 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
184         * sysdeps/libm-i387/e_remainder.S: Pretty print.
185         * sysdeps/libm-i387/e_remainderf.S: Likewise.
186         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
188 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
190         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
192 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
194         * stdlib/stdlib.h: Remove mblen optimization.
195         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
196         Reported by anderson@metrolink.com.
198 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
200         * po/Makefile ($(mo-installed)): Don't fail during installation if
201         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
202         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
204 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
206         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
207         header is used in some others as well for historical reasons.
209 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
211         * locale/setlocale.c (setname): Only remove old name when it
212         is for category LC_ALL.
214 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
216         * intl/localealias.c (read_alias_file): Correct handling of line
217         reader which sometimes skipped complete lines (PR 205).
219 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
221         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
222         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
224         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
225         produce ±0.0.  Reported by Joe Keane <jgk@jgk.org>.
227 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
229         * Makerules (libc.so): Fix typo.
231         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
232         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
234         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
235         produce ±0.0.  Reported by Joe Keane <jgk@jgk.org>.
237 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
239         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
240         compilers.
241         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
243         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
244         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
246 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
248         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
249         for NULL.
250         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
251         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
253         * configure.in: Correct test for bash2.
254         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
256         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
257         (CFLAGS-locfile.c): Likewise.
258         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
260         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
261         non-existing entry if the table is full.
263         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
265 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
267         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
268         Replace revoke call by use of REVOKE.
269         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
270         empty and #include generic version.
271         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
273 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
275         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
276         again after successful call.
277         Patch by Marc Lehmann <pcg@goof.com>.
279 1997-11-17 02:02  Ulrich Drepper  <drepper@cygnus.com>
281         * malloc/thread-m.h: Remove malloc_key-data definition.
282         Reported by Trevor Johnson <trevor@jpj.net>.
284 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
286         * manual/filesys.texi (Scanning Directory Content): Document error
287         case more.
289         * dirent/scandir.c (scandir): Ignore errors from select function.
290         Suggested by urbanw@cs.umu.se (closes PR libc/316).
292 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
294         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
295         * termios/termios.h: Change prototype accordingly.
297 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
299         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
300         for C++.
302 1997-11-14 05:59  Ulrich Drepper  <drepper@cygnus.com>
304         * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
305         bugs.
307 1997-11-13 15:00  Ulrich Drepper  <drepper@cygnus.com>
309         * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
310         2.1 development version  to fix some more severe bugs.
311         * nis/nss_compat/compat-pwd.c: Likewise.
312         * nis/nss_compat/compat-spwd.c: Likewise.
313         * nis/ypclnt.c: Likewise.
314         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
316         * version.h (VERSION): Bump to 2.0.6.
318 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
320         * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
321         produce ±0.0.  Reported by Joe Keane <jgk@jgk.org>.
323 1997-10-31 23:08  Ulrich Drepper  <drepper@cygnus.com>
325         * posix/glob.c (glob): If calling glob_in_dir for a list which was
326         generated by a glob call disable GLOB_ERR since there might be
327         non-directories in the list (PR203).
329 1997-10-30 06:04  Ulrich Drepper  <drepper@cygnus.com>
331         * misc/efgcvt.c: Call correct reentrant functions.
333 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
335         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
336         timezone variable.
337         * time/tzset.c (tz_compute): Likewise.
338         Reported by Erik Troan <ewt@redhat.com>.
340 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
342         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
343         in all error cases (PR 244).
345 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
347         * manual/filesys.texi: Correct prototype in readdir_r description.
348         Reported by Jim Meyering <meyering@eng.ascend.com>.
350 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
352         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
353         matching of version function if both the general (1) and
354         glibc-specific (3) entry are present.
356 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
358         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
359         elements in struct msghdr and struct cmsghdr, to keep in step with
360         the kernel.
362 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
364         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
365         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
366         struct and not a pointer.  Little optimizations.
368 1997-10-07  Paul Eggert  <eggert@twinsun.com>
370         * intl/loadmsgcat.c (_nl_load_domain):
371         Fix &&/|| typo when checking file size.
373 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
375         * time/africa: Update from tzdata1997i.
377 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
379         * malloc/obstack.h (obstack_empty_p): New macro.
381 1997-09-09  Paul Eggert  <eggert@twinsun.com>
383         * time/mktime.c (__mktime_internal): Declare sec_requested even if
384         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
385         for time_t overflow.
387 1997-09-10 04:42  Ulrich Drepper  <drepper@cygnus.com>
389         * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
390         type of fw_pcnt and fw_bcnt fields to match kernel.
391         Patch by a sun <asun@zoology.washington.edu>.
393 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
395         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
396         Reported by Erik Troan <ewt@redhat.com>.
398 1997-09-06  Paul Eggert  <eggert@twinsun.com>
400         Fix gmtime so that it reports leap seconds when TZ
401         indicates that leap seconds are desired.
403         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
404         (gmtime): Put after gmtime_r, to help the compiler inline.
405         (__tz_convert): New decl.
406         (gmtime_r): Use __tz_convert instead of __offtime,
407         so that leap seconds are handled correctly.
409         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
410         are now unnecessary.
411         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
412         __tzset_lock): Remove extern decls that are now unnecessary.
413         (localtime_internal): Moved to __tz_convert in tzset.c.
414         so that localtime and gmtime can both use it easily.
415         (localtime): Put after localtime_r, to help the compiler inline.
416         (localtime_r): Use __tz_convert instead of localtime_internal.
418         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
419         decl.
421         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
423         * time/tzset.c (<errno.h>): Include.
424         (_tmbuf): New decl.
425         (__tzfile_compute): New function.
426         (tz_compute): Renamed from __tz_compute.  No longer extern.
427         Remove redundant call to tzset_internal.
428         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
429         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
430         (__tz_convert): New function, containing functionality of old
431         localtime_internal function, plus locking and optional UTC.
433 1997-09-06  Paul Eggert  <eggert@twinsun.com>
435         * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
436         string, just use UTC without leap seconds.  This is for compatibility
437         with the Olson code.
439 1997-09-06  Paul Eggert  <eggert@twinsun.com>
441         * time/tzset.c (__tzname_max): Lock tz data structures before
442         invoking tzset_internal.
444         * time/tzfile.c: Define compute_tzname_max statically.
446 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
448         * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
449         __FD_ISSET): Use correct casts to address array correctly.
450         Reported by urbanw@cs.umu.se.
452 1997-09-05 06:11  Ulrich Drepper  <drepper@cygnus.com>
454         * gmon/gmon.c (write_bb_counts): Make sure entries are written before
455         next head.  Reported by baccala@FreeSoft.org.
457 1997-09-01 14:16  Ulrich Drepper  <drepper@cygnus.com>
459         * sysdeps/stub/sigaction.c: Fix typo.
460         Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
462 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
464         * catgets/catgets.c (catopen): Correctly determine length of string
465         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
467 1997-08-26 20:17  Ulrich Drepper  <drepper@cygnus.com>
469         * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
471 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
473         * sysdeps/i386/selectbits.h: Correct assembler versions to work even
474         for descriptors >= 32.
476         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
477         is used __alloca is not defined to __builtin_alloca and so might
478         not be available.
479         Reported by Uwe Ohse <uwe@ohse.de>.
481         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
482         way if gcc is not used and so dev_t is an array.
483         Reported by Uwe Ohse <uwe@ohse.de>.
485         * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
486         of sys/cdefs.h.  Pretty print.
488 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
490         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
491         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
492         with g++ internal symbols.
493         Patch by Sudish Joseph <sj@eng.mindspring.net>.
495 1997-08-24 18:36  Ulrich Drepper  <drepper@cygnus.com>
497         * string/argz.h: Add missing __END_DECLS.
498         Patch by Miles Bader <miles@gnu.ai.mit.edu>.
500 1997-08-24 00:48  Ulrich Drepper  <drepper@cygnus.com>
502         * locale/iso-4217.def: Update for more complete ISO 4217 match.
504         * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
506         * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
508 1997-08-17  Paul Eggert  <eggert@twinsun.com>
510         * tzset.c (__tzset_internal): Fix memory leak when the user
511         specifies a TZ value that uses a default rule file.
512         Do not assume US DST rules when the user specifies
513         that there is no DST.
515 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
517         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
518         they operate on internal kernel structures and have no place in a
519         user header.
521 1997-08-18 01:52  Ulrich Drepper  <drepper@cygnus.com>
523         * sysdeps/mach/libc-lock.h: Fix typo.
524         Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
526 1997-08-16 21:33  Ulrich Drepper  <drepper@cygnus.com>
528         * sysdeps/mach/hurd/Dist: Add cthreads.c.
530         * catgets/gencat.c (usage): Fix help text.
532         Update of UTMP interface.
533         * login/Makefile (routines): Add utmpname, remove utmp_db.
534         * login/getutent.c: Rename to __getutent and make getutent a weak
535         alias.
536         * login/getutent.c: Rename to __getutid and make getutid a weak
537         alias.
538         * login/getutent.c: Rename to __getutline and make getutline a weak
539         alias.
540         * login/getutent_r.c: Rewrite to use jump table correctly.
541         * login/getutid_r.c: Likewise.
542         * login/getutline_r.c: Likewise.
543         * login/updwtmp.c: Likewise.
544         * login/login.c (login): Correct test for result of utmpname.
545         Use updwtmp instead of implementing this here again.
546         * login/logout.c (logout): Correct test for result of utmpname
547         and pututline.  Handle ut_type field correctly if it exists.
548         * login/utmp-private.h: Update for changed internal functions.
549         * login/utmp.h: Reformat and correct typos.
550         * login/utmp_file.c: Rewrite lock handling.
551         * login/utmpname.c: New file.
552         Patches by Mark Kettenis <kettenis@phys.uva.nl>.
554         * socket/sys/socket.h (getpeername): Correct type of len argument.
555         Reported by a sun <asun@zoology.washington.edu>.
557         * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
558         <bits/types.h>.
559         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
561         * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
562         functions.
564         * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
565         cthreads.
566         * sysdeps/mach/hurd/cthreads.c: New file.
568 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
570         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
571         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
573 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
575         * login/login.c (login): Check for correct return value of
576         utmpname.
578 1997-08-10 18:44  Ulrich Drepper  <drepper@cygnus.com>
580         * time/tzset.c: Interpret no DST information in user provided time
581         zone specification as it is meant: no DST.
582         Patch by Paul Eggert <eggert@twinsun.com>.
584 1997-08-09 13:12  Ulrich Drepper  <drepper@cygnus.com>
586         * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
587         Add macros for key handling.
588         * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
589         cthreads.
590         * sysdeps/mach/hurd/cthreads.c: New file.
591         Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
593 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
595         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
597 1997-08-08 02:25  Ulrich Drepper  <drepper@cygnus.com>
599         * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
600         for storage class.
601         * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
603         * login/Makefile (routines): Add updwtmp.
604         * login/logwtmp.c: Move definition of updwtmp to ...
605         * login/updwtmp.c: here.  New file.
607         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
608         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
609         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
611 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
613         * libio/stdfiles.c (_libio_using_thunks): Define if
614         _G_USING_THUNKS is defined.
616         * libio/_G_config.h: Moved to
617         * sysdeps/generic/_G_config.h: ...here.
619         * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
621 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
623         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
624         right place.
626 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
628         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
629         PC's in long long to avoid overflow.
631 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
633         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
634         New macros.
636 1997-08-06 13:54  Ulrich Drepper  <drepper@cygnus.com>
638         * gmon/gmon.c (_mcleanup): Fix typos.
640         * gmon/sys/gmon.h: Add prototype for write_profiling.
642 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
644         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
645         loop, to avoid dragging stdio into the dynamic linker.
647 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
649         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
650         (_mcleanup): Use write_gmon.
651         (write_profiling): This function can be safely called at any time
652         to write a current histogram without interfering with ongoing
653         profiling.
655         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
657 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
659         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
660         not be vm_deallocated; it's a stack buffer.
661         (profil_vm_deallocate): Delete prototype.
662         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
663         inclusion.
664         * sysdeps/mach/hurd/Makefile
665         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
666         this rule.
668         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
669         from profile_waiter.
670         (profile_waiter): Use fetch_samples.
671         (profil): When turning off profiling, fetch the last bunch of
672         samples before disabling PC sampling.
673         (fetch_samples): Add prototype.
675 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
677         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
678         source included by profil.c instead of trying to use
679         before-compile grot.
681 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
683         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
684         after releasing lock.  Use special RPC stubs and avoid assert,
685         thus making this function entirely independent of the threadvar
686         mechanism and of cthreads.
687         (lock): Convert to be a spin lock instead of a mutex, so that the
688         waiter thread need not use cthreads.  Use a fork prepare hook
689         instead of _hurd_fork_locks to make sure we are clean before
690         forking.
691         (fork_profil_child): Renamed from fork_profil.
692         (profil_reply_port): New variable.
693         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
694         stubs made by special hacks.
695         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
696         source files that profil.c needs if we are in the gmon directory.
698         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
699         cthreads bug that hasn't existed for two years.
701 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
703         * locale/programs/localedef.c (main): Set bit in avail for those
704         categories which are successfully read.
705         * locale/programs/locfile.c (check_all_categories): Don't check
706         categories if they are not available.
707         (write_all_categories): Don't write categories if they are not
708         available.
710         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
711         getsockopt, setsockopt, accept): Change size argument to type
712         socklen_t.
713         Pretty print.
714         * manual/socket.texi: Describe socklen_t and change prototypes of
715         socket functions to use socklen_t.
716         * sysdeps/generic/bits/socket.h: Define socklen_t.
717         (struct msghdr): Correct types to use socklen_t.
718         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
719         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
721         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
722         1.0 < x < 8.0.
723         * stdio-common/tfformat.c: Add new tests for above bug.
725         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
727         * wcsmbs/Makefile (tests): Add tst-wcstof.
728         * wcsmbs/tst-wcstof.c: New file.
729         * wcsmbs/wcstof.c (FLT): Define as FLT.
731 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
733         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
734         case since the __syscall_ptrace call already did this.
735         Reported by Philip Gladstone <philip@talon.raptor.com>.
737 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
739         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
740         <gnu/types.h> to <sys/types.h>.
742 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
744         * locale/programs/locale.c (print_escaped): New function.
745         (show_info): Use print_escaped if strings can control unprintable
746         characters.
747         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
749 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
751         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
752         dependencies.
754 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
756         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
757         for stream on input file.
758         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
759         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
760         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
761         * nss/nss_db/db-alias.c (internal_setent): Likewise.
762         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
763         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
764         * nss/nss_files/files-alias.c (internal_setent): Likewise.
765         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
767 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
769         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
770         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
771         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
772         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
774 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
776         * time/africa: Update from tzdata1997g.
777         * time/asia: Likewise.
778         * time/australasia: Likewise.
779         * time/europe: Likewise.
780         * time/iso3166.tab: Likewise.
781         * time/zone.tab: Likewise.
782         * time/private.h: Update from tzcode1997f.
783         * time/scheck.c: Likewise.
785 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
787         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
788         Synchronize with malloc/obstack.c.
790 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
792         * manual/Makefile (INSTALL_INFO): Introduce variable to override
793         path to install-info for systems like Debian that have an
794         install-info with a different command line interface from the
795         canonical GNU texinfo version.
797 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
799         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
800         * posix/unistd.h: Likewise.
801         * sysdeps/stub/ttyname_r.c: Likewise.
803 1997-06-22  Paul Eggert  <eggert@twinsun.com>
805         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
807         * time/tzfile.c (__tzstring): New decl.
808         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
809         (__tzfile_default): First two args are now const char *.
811         * time/tzset.c (__tzstring): New function.
812         (tz_rule): Name is now const char *.
813         (struct tzstring_head): New type.
814         (tzstring_list, tzstring_last_buffer_size): New static vars.
815         (__tzset_internal): Time zone names are now permanent, not temporary.
817 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
819         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
820         and && in tests to allow use in C++ code which overloads these
821         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
823 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
825         * login/login.c (tty_name): Test return value of ttyname_r for !=
826         0, not < 0.
827         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
828         0, not >= 0.
829         * sysdeps/unix/getlogin.c (getlogin): Test return value of
830         ttyname_r for != 0.
831         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
833 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
835         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
836         one.
838         * signal/sigandset.c: Include stddef.h to get NULL defined.
839         * signal/sigisempty.c: Likewise.
840         * signal/sigorset.c: Likewise.
842 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
844         * posix/execvp.c (execvp): Handle ESTALE.
846 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
848         * libio/fileops.c (_IO_file_underflow): Adjust pointers
849         before calling _IO_SYSREAD ().
851 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
853         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
854         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
856 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
858         * io/lockf.c (lockf): Clear fl before using.
859         Patch by sr@adb.fr.
861         * libio/strops.c: Correctly handle _IO_write_end.
863         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
864         panic if setnetgrent wasn't called before, return error.
865         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
867         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
868         if locally defined.
869         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
870         if locally defined.
871         Define tm_diff function as ftime_tm_diff if locally defined.
872         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
874 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
876         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
877         in cc1.  Cpp in gcc doesn't do it.
879 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
881         * login/login.c (tty_name): Use newly allocated buffer.
882         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
884         * time/asctime.c: Never translate week and month name according
885         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
887 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
889         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
890         setresgid.
892 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
894         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
895         Reported by a sun.
897 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
899         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
900         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
902 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
904         * math/math.h: Add warning about use of M_* constants.
905         Pretty print.
907 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
909         * locale/programs/locale.c: Correct comment.
911         * po/ko.po: Update.
913 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
915         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
917 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
919         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
921         * manual/Makefile (distribute): Add dir.
922         * manual/dir: New file.
924 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
926         * time/tzfile.c (__tzfile_read): Store getc () return in int.
928 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
930         * string/Makefile (routines): Add argz-replace.
932 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
934         * string/argz.h (__argz_replace, argz_replace): New declarations.
935         * string/argz-replace.c: New file.
937 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
939         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
940         character read in/put back.
941         * stdio-common/tstscanf.c: Add test case for this.
943 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
945         * manual/Makefile (install): Make sure `dir' file exists if we use
946         install-info.
948 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
950         * manual/Makefile (info): Depend on dir-add.info.
952 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
954         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
955         * sysdeps/stub/e_acosl.c: Likewise.
956         * sysdeps/stub/e_asinl.c: Likewise.
957         * sysdeps/stub/e_atan2l.c: Likewise.
958         * sysdeps/stub/e_expl.c: Likewise.
959         * sysdeps/stub/e_fmodl.c: Likewise.
960         * sysdeps/stub/e_j0l.c: Likewise.
961         * sysdeps/stub/e_j1l.c: Likewise.
962         * sysdeps/stub/e_jnl.c: Likewise.
963         * sysdeps/stub/e_lgammal_r.c: Likewise.
964         * sysdeps/stub/e_log10l.c: Likewise.
965         * sysdeps/stub/e_logl.c: Likewise.
966         * sysdeps/stub/e_powl.c: Likewise.
967         * sysdeps/stub/e_rem_pio2l.c: Likewise.
968         * sysdeps/stub/e_sqrtl.c: Likewise.
969         * sysdeps/stub/k_cosl.c: Likewise.
970         * sysdeps/stub/k_rem_pio2l.c: Likewise.
971         * sysdeps/stub/k_sinl.c: Likewise.
972         * sysdeps/stub/k_tanl.c: Likewise.
973         * sysdeps/stub/s_atanl.c: Likewise.
974         * sysdeps/stub/s_erfl.c: Likewise.
975         * sysdeps/stub/s_expm1l.c: Likewise.
976         * sysdeps/stub/s_log1pl.c: Likewise.
978 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
980         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
981         01:13:56 1996.
983 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
985         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
986         * sysdeps/libm-i387/s_asinhf.S: Likewise.
987         * sysdeps/libm-i387/s_asinhl.S: Likewise.
988         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
989         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
990         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
992 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
994         * Makefile (manual/dir-add.info): New rule.
996         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
997         `unsigned short'.
999         * manual/Makefile (dir-add.texi): Also emit wrapper text for
1000         info/install-info.
1001         (distribute): Add dir-add.texi and dir-add.info.
1002         (mostlyclean): Add dir-add.info.
1003         (realclean): Add dir-add.texi.
1004         (install): Add entries in `dir' file using install-info.
1006         * manual/libc.texinfo: Add @dircategory and @direntry text.
1007         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
1009 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
1011         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
1012         cannot rely on M_SQRT2 being defined.  (log1p): Use __M_SQRT2 not
1013         M_SQRT2.
1014         * math/math.h (_Mldbl): Define even if M_* constants are not
1015         defined.
1016         Reported by corsepiu@faw.uni-ulm.de.
1018 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
1020         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
1022 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
1024         * misc/regexp.h (compile): Allow use of macro INIT for variable
1025         declaration.  Add documentation for INIT.
1026         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
1028 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
1030         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
1032 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1034         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
1035         netinet/icmp.h, add netatalk/at.h.
1036         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
1037         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
1039 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
1041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
1043 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
1045         * string/argz-addsep.c: Correct weak alias.
1046         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1048         * locale/setlocale.c (setlocale): Free variable with locale path
1049         before returning.
1050         (setname): Don't test for _nl_current[category] being NULL before
1051         freeing.
1052         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1054 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
1056         * time/Makefile: Make tzselect depend on config.make.
1058 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
1060         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
1061         type to `unsigned long int'.
1062         Patch by Richard Henderson <richard@twiddle.rth.home>.
1064 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1066         * nss/nss_files/files-hosts.c: Delete inclusion of
1067         "../resolv/mapv4v6hostent.h".
1069 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
1071         * libio/libio.h: Define bits for libg++-2.8.
1073 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
1075         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
1076         plan on doing so ever again.  Don't say alpha-linuxecoff is known
1077         to work.
1079         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
1080         will last until I figure out how to build a parallel libm_ieee.
1082         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
1083         FP mode to round to nearest, no exceptions as for Intel.
1084         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
1085         (rdfpcr): Use excb rather than trapb.  Be more efficient about
1086         getting at the fpcr.
1087         (wrfpcr): Likewise.
1088         (__setfpucw): Reformat.
1090         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
1091         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1092         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
1093         sure the stack frame is released the very instruction before the
1094         real jump out.
1095         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1096         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1098         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
1099         have gotten from <linux/posix_types.h>.
1101         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
1103 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1105         * Makefile (manual/dir-add.texi): Force execution.
1107 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1109         * stdlib/strfmon.c: Don't run past EOS after `='.
1111 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
1113         Update resolver code to bind-4.9.6-T1A.
1114         * resolv/Banner: Update.
1115         * nss/digits_dots.c: Adapt text address matching to T1A.
1116         * nss/nss_files/files-hosts.c: Always use inet_pton.
1117         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
1118         it would lead to warnings.
1119         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
1120         at several places.
1121         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
1122         * resolv/res_comp.c (dn_expand): Check for overflow.
1123         (dn_comp): Likewise.
1124         * resolv/res_debug.c (precsize_aton): Better implementation.
1125         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
1126         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
1127         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
1128         length at several places.
1130 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1132         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
1133         time_t.
1135         * login/pty.h: Include <ioctl-types.h> for definition of struct
1136         winsize.
1138 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
1140         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
1141         number to four digits and to representable range for 4 byte time_t
1142         values.
1143         Patch by H.J. Lu <hjl@lucon.org>.
1145 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
1147         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
1148         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
1149         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
1151 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
1153         * login/login.c (tty_name): Use newly allocated buffer.
1154         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1156         * time/asctime.c: Never translate week and month name according
1157         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
1159 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1161         * hurd/hurdsig.c: Include <hurd/id.h>.
1162         (reauth_proc): Call proc_setowner appropriately too.
1164 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1166         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
1167         correct value for _POSIX_VDISABLE.
1169 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
1171         * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
1173         * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
1175 1997-05-26 23:29  Ulrich Drepper  <drepper@cygnus.com>
1177         * Net release 2.0.4.
1179 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
1181         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
1182         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
1183         environments in which linking is not possible at configure time
1184         (since te libc is just build).
1185         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1187 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
1189         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
1190         state array only at right place.
1191         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
1193         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
1194         [0.5,1.0) but really in [0.0, 1.0).
1195         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
1197 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
1199         * sysdeps/i386/elf/start.S: Change local label "nofini"
1200         to ".Lnofini".
1202         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
1204 1997-05-25 20:19  Ulrich Drepper  <drepper@cygnus.com>
1206         * time/zic.c: Update from tzcode1997e.
1208         * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
1209         are not defined.
1211 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
1213         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
1214         monstartup.
1216 1997-05-25 00:45  Ulrich Drepper  <drepper@cygnus.com>
1218         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
1219         values.
1220         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1222         * sunrpc/svc.c (svc_register): Change type of protocol parameter to
1223         u_long.
1225 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
1227         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
1228         not looking at the new thread-safe .plt, don't be lazy about relocs.
1229         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
1230         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
1231         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
1232         elf_machine_runtime_setup() decide if we can actually be lazy.
1233         * elf/rtld.c (_dl_start): So don't call it.
1234         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1235         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
1236         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1237         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1238         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
1239         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
1240         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
1241         skeleton definition.
1243 1997-05-22 18:37  Ulrich Drepper  <drepper@cygnus.com>
1245         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
1246         stack by fxtract.
1248 1997-05-22 17:44  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1250         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
1251         warning.
1253         * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
1254         of USHRT_MAX.
1256         * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
1258 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
1260         * version.h (VERSION): Bump to 2.0.4.
1262         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
1263         and for Linux ld.so.
1264         * login/Makefile (libutil.so): Likewise.
1265         * math/Makefile (libm.so): Likewise.
1266         * md5-crypt/Makefile (libcrypt.so): Likewise.
1267         * nis/Makefile (libnss_%.so): Likewise.
1268         * resolv/Makefile (libnss_dns.so): Likewise.
1270 1997-05-15 16:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1272         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
1273         workaround.
1275 1997-05-21 01:52  Ulrich Drepper  <drepper@cygnus.com>
1277         * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
1279         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
1280         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
1281         Reported by Ian Taylor <ian@cygnus.com>.
1283         * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
1285         * po/de.po: Updated.
1287         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1289         * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
1291 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
1293         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
1294         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
1296 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1298         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
1299         msg_add_auth was overflowing it.
1301 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
1303         * time/sys/time.h: Make second argument of setitimer const.
1304         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1305         * sysdeps/stub/setitimer.c: Likewise.
1306         * sysdeps/mach/hurd/setitimer.c: Likewise.
1308 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
1310         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
1311         when we can't find the symbol.
1313 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
1315         * posix/regex.c: Fix handling of 32-bit Windog environments.
1316         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
1318 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1320         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
1322 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
1324         * sysdeps/unix/sysv/linux/poll.c: Save errno.
1326 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
1328         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
1330 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
1332         * sys/ttydefaults.h: Removed.
1334 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1336         * termios/sys/ttydefaults.h: Delete file.
1337         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
1338         TTYDEF_OFLAG.
1339         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
1340         XTABS in TTYDEF_OFLAG.
1341         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
1342         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
1344 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
1346         * posix/TESTS: Add some more tests for character class matching.
1347         * posix/regex.c: Merge with GNU awk version.
1348         (regex_compile): Use ISO C/amend 1 functions for character class
1349         handling.
1350         * posix/regex.h: Merge with GNU awk version.
1352         * posix/getopt.c: Declare as master copies.
1353         * posix/getopt1.c: Likewise.
1354         * posix/getopt.h: Likewise.
1356         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
1357         value to mount functions.
1358         Patch by a sun <asun@zoology.washington.edu>.
1360 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
1362         * sunrpc/svc_run.c (svc_exit): New, defined.
1363         (svc_run): Test for svc_stop variable.
1364         * sunrpc/rpc/svc.h (svc_exit): New, declared.
1366 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1368         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
1370         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
1371         NaN.  Fix test for sign of infinite y.
1373         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
1375         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
1377 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1379         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
1380         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
1382 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
1384         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
1385         kernel can return negative values.  Only fail when return value is
1386         in range in range which is never returned as valid address.
1387         Patch by Bruno Haible <haible@ilog.fr>.
1389 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
1391         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
1392         case.
1394         * time/strftime.c (add): Respect `0' padding flag.
1395         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1397 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
1399         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
1400         will preserve non-call-saved registers; save and restore a0 across
1401         the system call.
1402         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
1403         data onto the new thread's stack.
1405 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
1407         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
1408         * config.make.in: Set cross-compiling from configure result.
1409         * configure.in: Emit definition of `cross_compiling'.
1410         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1412 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
1414         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
1415         * sysdeps/libm-i387/e_pow.S: Likewise.
1416         * sysdeps/libm-i387/e_powl.S: Likewise.
1418 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1420         * malloc/obstack.h (obstack_specify_allocation_with_arg,
1421         obstack_chunkfun, obstack_freefun): Fix casts.
1423 1997-04-26 13:37  Ulrich Drepper  <drepper@cygnus.com>
1425         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
1426         not <netinet/icmp.h>.
1427         * inet/netinet/tcp.h: Move to...
1428         * sysdeps/generic/netinet/tcp.h: ...here.
1429         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1431 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
1433         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
1434         to command line of compiler.
1435         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
1437         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
1438         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
1440         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
1441         in declaration.
1442         Patch by Michael Widenius <monty@tcx.se>.
1444         * time/strptime.c (strptime_internal): Fix %I format specifier
1445         being off by one.
1446         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
1448 1997-04-21 16:28  Ulrich Drepper  <drepper@cygnus.com>
1450         * Net release 2.0.3.
1452 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
1454         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1455         * stdlib/srand48_r.c: Likewise.
1457 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
1459         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
1460         fpclassify & friends, and complex number operations.
1461         Update various other math functions for ISO C 9X.
1462         * manual/math.texi: Update various entries for ISO C 9X.
1463         Add description for complex number functions.
1464         Add description of rand48 function family.
1465         * manual/string.h: Add description of a64l and l64a.
1467         * math/cmathcalls.h: Fix typo.
1469         * stdlib/a64l.c: Pretty printing.
1471         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1472         * stdlib/srand48_r.c: Likewise.
1474 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
1476         * rellns-sh: Handle files in the same directory correctly.
1478 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
1480         * csu/initfini.c: Place ALIGN instruction at correct positions.
1481         Patch by Richard Henderson <richard@twiddle.rth.home>.
1483 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
1485         * Make-dist: Don't automatically ignore .c files if .S or .s files
1486         are ignored.
1488         * csu/Makefile (distribute): Add defs.awk.
1490 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
1492         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
1493         * sysdeps/stub/shmdt.c: Likewise.
1494         Reported by Thomas Bushnell, n/BSG.
1496 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
1498         * sysdeps/unix/sysv/linux/Dist: Rename
1499         sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
1500         Remove sysdeps/sysv/linux/netinet/icmp.h.
1502         * login/utmp.h: Add prototype for updwtmp.
1503         * login/logwtmp.c: Add new function updwtmp which allows to write
1504         a complete record to the wtmp file.
1505         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
1507 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
1509         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
1510         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1512 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
1514         * csu/initfini.c: Rewrite by Zack Weinberg
1515         <zack@rabi.phys.columbia.edu>.
1516         * csu/Makefile: Add rules for rewrite.
1517         * csu/defs.awk: Helper script to generate derived header.
1519 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
1521         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
1523 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
1525         * sysdeps/generic/Dist: Remove old math implementation files.
1526         * sysdeps/generic/mathimpl.h: Removed.
1527         * sysdeps/generic/trig.h: Removed.
1528         * sysdeps/generic/sincos.c: Removed.
1529         * sysdeps/generic/asincos.c: Removed.
1530         * sysdeps/generic/exp__E.c: Removed.
1531         * sysdeps/generic/log__L.c: Removed.
1533 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1535         * malloc/malloc.c (fREe): Small optimization.  Before returning,
1536         add fast check whether the heap containing top can go away.
1538 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1540         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
1541         failing to allocate a new chunk, also try the main_arena.  It may
1542         be that we are only running out of mmapped regions, and other
1543         arenas cannot be enlarged sufficiently.
1544         (new_heap, malloc_extend_top): Handle top_pad more consistently,
1545         i.e. only in new_heap().
1547 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
1549         * time/strftime.c (memset_space): Increment pointer.
1550         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
1551         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
1553 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
1555         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
1557         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
1558         63 bits.
1559         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
1561         * po/pl.po: Updated.
1563         * string/swab.c: Correctly handle array of odd length.
1565         * manual/string.texi: Correct prototype in memmem documentation.
1567 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1569         * manual/Makefile (dir-add.texi): Simplify.
1571 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
1573         * rellns-sh: Rewrite to work also in presence of symlinks.
1575         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
1576         Reported by Greg McGary <gkm@eng.ascend.com>.
1578         * manual/libc.texinfo: Update malloc documentation for new malloc.
1579         * manual/memory.texi: Likewise.
1580         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1582         * stdlib/erand48_r.c (erand48_r): Build double value using
1583         ieee754_double union and use random bits in different order to
1584         increase effect of seed.
1585         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
1587 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
1589         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
1590         a read-only stream.
1592 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
1594         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
1595         in correct place.
1596         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1598 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
1600         * posix/getopt.c (_getopt_initialize): Preserve optind.
1601         (_getopt_internal): Set optind to 1 if optind == 0 before
1602         calling _getopt_initialize ().
1604 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1606         * libio/fileops.c (_IO_file_overflow): Set error when try to write
1607         on a read-only stream.
1609         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1610         (ut_time): Define it only if _NO_UT_TIME is not defined.
1612 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
1614         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
1615         get definition of sa_family_t for <linux/atalk.h>.
1616         Reported by a sun <asun@zoology.washington.edu>.
1618         * malloc/malloc.c (cALLOc): Little optimization.
1620 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
1622         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
1623         headers but instead add comments and parameter names.
1624         Don't use BSD specific types in prototypes.
1626         * manual/nss.texi: Correct a few typos and errors.
1628 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1630         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
1631         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1633         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
1634         TAB3, if one of them is defined.
1636 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
1638         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
1640 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
1642         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
1643         clearenv a weak alias.
1645         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
1646         of type clashes.  Add all definitions here.
1648         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
1649         to XPG4.2.
1650         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1651         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1653         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
1655         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
1656         use of kernel types.
1658 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
1660         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
1661         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
1663 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1665         * Makeconfig (all): Make sure this is always the default goal.
1667 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
1669         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
1670         Don't include <endian.h>.
1672 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1673         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
1674         Don't include <endian.h>.
1676 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
1678         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
1680 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
1682         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
1683         compiler.
1685 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
1687         * hurd/Makefile (sunrpc-headers): Add clnt.h.
1688         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1690 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
1692         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
1693         by 31 positions to get 0/1 result.
1694         Patch by Joe Keane <jgk@jgk.org>.
1696 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
1698         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
1699         to prevent from ld linking in getopt.o even if there is another
1700         incompatible one.
1702         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
1704 1997-03-20 20:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
1706         * Makerules (depfiles): Remove $(test-srcs).
1708 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
1710         * libio/fileops.c (_IO_file_overflow): Set error when try to write
1711         on a read-only stream.
1713         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1714         (ut_time): Define it only if _NO_UT_TIME is not defined.
1716 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
1718         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
1719         typo.
1721 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
1723         * Makefile: Add rule to easily generate dir-add.texi file.
1724         * manual/Makefile: Likewise.
1726 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
1728         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1729         (sysdep_headers): Remove netinet/icmp.h.
1731 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
1733         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
1734         adjustment if the underlying function say it is too small.
1735         * pwd/fgetpwent.c: Likewise.
1736         * shadow/fgetspent.c: Likewise.
1737         * shadow/sgetspent.c: Likewise.
1739         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
1740         this means there was not enough room for the gr_mem array.
1742         * nss/nss_files/files-XXX.c: Leave loop and return error if
1743         `parse_result' returns -1.
1745         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
1746         of trailing list fails because of low memory.
1747         (parse_list): Rewrite.  The logic was completly incorrect since
1748         the checks for overflowing the array were not executed when
1749         needed.
1751         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
1752         signals success.
1754         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
1755         * nss/getXXent.c: Likewise.
1757 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
1759         * manual/errno.texi: Add description of strerror_r.
1761 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
1763         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
1765 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
1767         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
1769 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1771         * stdlib/stdlib.h: Declare __clearenv.
1773 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1775         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
1776         the last change.
1778 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1780         * configure.in: Call AC_CANONICAL_BUILD before referencing
1781         $build.  Fix test for BUILD_CC.
1783 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
1785         * sysdeps/i386/memset.c: Fix typo.
1786         * sysdeps/stub/fchmod.c: Fix typo.
1787         * sysdeps/stub/fchdir.c: Fix typo.
1788         Reported by Fila Kolodny <fila@ibi.com>.
1790         * time/time.h (strftime): Remove __restrict in declaration.
1792 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
1794         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
1795         syntax for local label.
1796         * sysdeps/i386/add_n.S: Use correct local label syntax for the
1797         binary format.
1798         * sysdeps/i386/addmul_1.S: Likewise.
1799         * sysdeps/i386/lshift.S: Likewise.
1800         * sysdeps/i386/memchr.S: Likewise.
1801         * sysdeps/i386/memcmp.S: Likewise.
1802         * sysdeps/i386/mul_1.S: Likewise.
1803         * sysdeps/i386/rshift.S: Likewise.
1804         * sysdeps/i386/stpcpy.S: Likewise.
1805         * sysdeps/i386/stpncpy.S: Likewise.
1806         * sysdeps/i386/strchr.S: Likewise.
1807         * sysdeps/i386/strcspn.S: Likewise.
1808         * sysdeps/i386/strlen.S: Likewise.
1809         * sysdeps/i386/strpbrk.S: Likewise.
1810         * sysdeps/i386/strrchr.S: Likewise.
1811         * sysdeps/i386/strspn.S: Likewise.
1812         * sysdeps/i386/strtok.S: Likewise.
1813         * sysdeps/i386/sub_n.S: Likewise.
1814         * sysdeps/i386/submul_1.S: Likewise.
1815         * sysdeps/i386/i486/strcat.S: Likewise.
1816         * sysdeps/i386/i486/strlen.S: Likewise.
1817         * sysdeps/i386/i586/add_n.S: Likewise.
1818         * sysdeps/i386/i586/addmul_1.S: Likewise.
1819         * sysdeps/i386/i586/lshift.S: Likewise.
1820         * sysdeps/i386/i586/memset.S: Likewise.
1821         * sysdeps/i386/i586/mul_1.S: Likewise.
1822         * sysdeps/i386/i586/rshift.S: Likewise.
1823         * sysdeps/i386/i586/strchr.S: Likewise.
1824         * sysdeps/i386/i586/strlen.S: Likewise.
1825         * sysdeps/i386/i586/sub_n.S: Likewise.
1826         * sysdeps/i386/i586/submul_1.S: Likewise.
1828         * time/africa: Updated from ADO tzdata1997e.
1829         * time/antarctica: Likewise.
1830         * time/asia: Likewise.
1831         * time/australasia: Likewise.
1832         * time/europe: Likewise.
1833         * time/northamerica: Likewise.
1834         * time/southamerica: Likewise.
1835         * time/private.h: Updated from ADO tzcode1997d.
1836         * time/scheck.c: Likewise.
1838 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
1840         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
1841         thread-specific memory in multi-threaded programs.
1843         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
1844         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
1845         Suggested by a sun <asun@zoology.washington.edu>.
1847 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
1849         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
1850         of <netinet/icmp.h>.
1851         Patch by a sun <asun@zoology.washington.edu>.
1853 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
1855         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
1856         before using system.
1857         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
1858         before using popen.
1860 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
1862         * inet/rexec.c: Make string parameters `const'.
1863         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
1864         rresvport.
1866         * posix/glob.h: Add declaration for glob_pattern_p.
1867         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
1868         make glob_pattern_p a weak alias.  This function is used in other
1869         packages (e.g. bash).
1871         * signal/Makefile (routines): Add sigisempty, sigandset, and
1872         sigorset.
1873         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
1874         sigorset.
1875         * signal/sigisempty.c: New file.
1876         * signal/sigandset.c: New file.
1877         * signal/sigorset.c: New file.
1878         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
1879         and __sigorset.
1880         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
1882         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
1883         ip_icmp.h.  Reported by HJ Lu.
1885 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1887         * grp/grp.h: Include <stddef.h> only once.
1889 1997-03-20 17:56  Ulrich Drepper  <drepper@cygnus.com>
1891         * version.h (VERSION): Bump to 2.0.3.
1893 1997-03-25 23:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1895         * Makerules (BUILD_CFLAGS): Fix reference to config file.
1897 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
1899         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
1900         is found.
1901         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
1903 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
1905         * Net release 2.0.2.
1907 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
1909         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
1910         XTABS.
1911         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1912         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
1913         of Sun Dec 15 16:33:44 1996.
1914         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1916 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
1918         * Makefile (distribute): Add BUGS.
1920         * sysdeps/generic/machine-gmon.h: Update copyright.
1922         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
1923         i386-mcount.
1924         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
1925         use regparam mechanism for call of `fixup' call.
1926         * sysdeps/i386/Dist: New file.
1927         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
1928         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
1929         of gmon definitions.
1931 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
1933         * stdlib/tst-strtol.c (main): Save the value of errno since printf
1934         may modify it, use the saved errno everywhere.
1935         * stdlib/tst-strtod.c (main): Likewise.
1937 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
1939         * posix/glob.c (glob): Fix completely broken handling of
1940         GLOB_BRACE and partly broken handling of GLOB_TILDE.
1941         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
1943 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
1945         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
1946         UIO_FASTIOV value by multiple readv calls since we need atomicity.
1947         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1948         Reported by Matthis Urlichs.
1950 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
1952         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
1953         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
1954         which clobbers %eax.
1956         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
1957         crtbegin.o/crtend.o, using gcc to find them.
1958         (+link): Use them.
1960 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
1962         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
1963         affect the alignment, and therefore the end padding of the structs.
1964         Reported by David Mosberger <davidm@azstarnet.com>.
1965         * gmon/gmon.c: Declare the variables with aligned tags to compensate.
1966         Use __writev instead of write for the I/O.
1968         * misc/sys/uio.h: Declare __writev and __readv.
1969         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
1970         * sysdeps/posix/writev.c: Likewise for writev.
1971         * sysdeps/stub/readv.c: Likewise.
1972         * sysdeps/stub/writev.c: Likewise.
1973         * sysdeps/unix/syscalls.list: Likewise.
1974         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1975         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1977         * stdlib/testdiv.c: Exit with error status when we have an error.
1978         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
1979         * sysdeps/alpha/ldiv.S: Likewise.
1981         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
1983 1997-03-20 04:21  Ulrich Drepper  <drepper@cygnus.com>
1985         * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
1986         generic prototype.
1988         * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
1989         Future releases will have this function.
1990         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1991         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1992         Reported by HJ Lu.
1994 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
1996         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
1997         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
1998         `__sigsetjmp' in PIC code.
1999         * sysdeps/i386/bsd-setjmp.S: Likewise.
2001         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
2002         overflow.
2003         * sysdeps/libm-i387/e_powf.S: Likewise.
2004         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
2005         case since expm1(-0) == -0.
2006         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2007         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2008         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
2009         access to FP number.
2010         * sysdeps/libm-ieee754/s_modff.c: Likewise.
2011         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
2012         code.  It never worked correctly.
2013         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
2014         case since tanh(-0) == -0.
2015         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
2016         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
2018 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
2020         * time/Makefile: Correct dependencies for test-tz.
2022         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
2023         UIO_FASTIOV and set to 8 if not available.
2024         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2025         Patch by HJ Lu.
2027         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
2028         "kernel_stat.h".
2029         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2030         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2031         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
2033 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
2035         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
2037         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
2039         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
2041         * sysdeps/unix/sysv/Dist: Add direct.h.
2043         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
2045         * Make-dist ($(tardir).tar): Prefer writing temporary file to
2046         $TMPDIR is available.  The default is /tmp.
2048         * sysdeps/generic/ip.h: Move to...
2049         * sysdeps/generic/netinet/ip.h: ...here.
2051         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
2052         is placed in wrong place on the stack.
2053         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
2055 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
2057         * time/offtime.c (__offtime): Change type of `yg' to long int.
2058         Reported by a sun <asun@zoology.washington.edu>.
2060 1997-03-18 23:09  a sun  <asun@zoology.washington.edu>
2062         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2063         2.2.0 to prevent version mismatch.
2065 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
2067         * Make-dist (srcs): Add $(test-srcs).
2068         * MakeTAGS (all-sources): Likewise.
2069         * Makerules (depfiles, common-mostlyclean): Likewise.
2070         * Rules (tests): Likewise.
2072 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
2074         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2076 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
2078         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2079         protocol=NULL to match any protocol rather than returning an
2080         error.
2082 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
2084         * nss/nss_files/files-service.c (servbyname): Match any protocol
2085         if proto==NULL.
2087 1997-03-18 05:15  Ulrich Drepper  <drepper@cygnus.com>
2089         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2090         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2091         Proposed by Thomas Bushnell, n/BSG.
2093 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2095         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2096         the buffer for replacement.
2098 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
2100         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2101         sys_lstat and sys_stat.
2103 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2105         * mach/devstream.c (output/write_some): Don't try and write more
2106         than IO_INBAND_MAX in a single call to device_write_inband.
2108 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
2110         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2111         type is SVID.
2112         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2113         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2115         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2116         FLAGS parameter.
2118 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
2120         * manual/filesys.texi: Add documentation for scandir and alphasort.
2121         * manual/examples/dir2.c: New example for scandir.
2123         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
2124         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
2125         * sysdeps/ieee754/huge_val.h: Remove definition of long double
2126         definition.  Make it the same as the double definition.
2128         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2129         * sysdeps/libm-i387/e_acosf.S: Likewise.
2130         * sysdeps/libm-i387/e_acosl.S: Likewise.
2131         * sysdeps/libm-i387/e_asin.S: Likewise.
2132         * sysdeps/libm-i387/e_asinf.S: Likewise.
2133         * sysdeps/libm-i387/e_asinl.S: Likewise.
2134         * sysdeps/libm-i387/e_exp.S: Likewise.
2135         * sysdeps/libm-i387/e_expf.S: Likewise.
2136         * sysdeps/libm-i387/e_expl.S: Likewise.
2137         * sysdeps/libm-i387/s_scalbn.S: Likewise.
2138         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2139         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2141         * sysdeps/libm-i387/e_log.S: Optimize branch code.
2142         * sysdeps/libm-i387/e_logf.S: Likewise.
2143         * sysdeps/libm-i387/e_logl.S: Likewise.
2144         * sysdeps/libm-i387/e_log10.S: Likewise.
2145         * sysdeps/libm-i387/e_log10f.S: Likewise.
2146         * sysdeps/libm-i387/e_log10l.S: Likewise.
2148         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2149         * sysdeps/libm-i387/e_powf.S: Likewise.
2150         * sysdeps/libm-i387/e_powl.S: Likewise.
2152         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2153         argument to -1.0.
2154         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2155         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2157         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2159         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
2160         stack element after fxtract.
2162         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
2163         implementation for atan2 function.
2165         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2166         _SVID_ mode when acos, asin, atan2, log, log10 is called with
2167         argument out of range.
2168         Add new error case for pow(+0,neg).
2170         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2171         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2172         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2174         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2175         long double type.
2177         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2178         in SVID mode.
2179         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2180         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2182         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2183         or -0.
2184         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2185         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2187         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
2189         * sysdeps/stub/fcntlbits.h: Update copyright.
2190         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2191         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2192         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2193         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2194         * sysdeps/unix/common/fcntlbits.h: Likewise.
2195         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
2196         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
2197         and FNDELAY.
2198         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2200         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
2201         only reclen bytes.
2203         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
2204         and O_NORW.
2205         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2207         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
2209         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
2210         struct stat to user-level form.
2211         * sysdeps/unix/sysv/linux/lxstat: New file.
2212         * sysdeps/unix/sysv/linux/xstat: New file.
2213         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
2214         kernel.
2215         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
2216         to use prescribed types for elements.
2217         (_STAT_VER): Change to value 3.
2218         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2219         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
2220         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2222         * time/Makefile: Correct dependencies for test-tz.
2224         * sysdeps/generic/sys/mman.h (msync): Add third parameter.
2226 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
2228         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
2229         kernel header.
2230         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2232 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
2234         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
2235         without testing for last_bfp to be NULL.
2236         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2238 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
2240         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
2241         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
2243 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
2245         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
2246         functions.  Compare result for correct address type.
2247         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
2248         * nss/nss_files/files-hosts.c: Likewise.
2249         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
2251 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
2253         * time/strptime.c (recursive): Return rp to caller.
2254         (strptime_internal): First check for long names, then abbreviated
2255         (month & weekday).
2257 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2259         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
2260         1900 from year, regardless of century.
2262 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
2264         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
2265         all numbers unsigned to make buggy gccs happy.
2266         Patch by Bryan W. Headley <bheadley@interaccess.com>.
2268         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
2269         definitions.  Patch by a sun <asun@zoology.washington.edu>.
2270         Pretty print header.
2272         * Makerules (build-shlib): Also create symlink if library is versioned.
2273         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
2274         Remove special rule to libc.so symlink.
2276 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
2278         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
2279         return values for acos, asin, and atan2.
2280         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2282 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2284         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
2286 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2288         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
2289         to pointers to directory entries so that alphasort really can be
2290         used as argument for scandir.
2292 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
2294         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
2295         instead of strcpy.
2297 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
2299         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
2300         catalogs, not only if the envvar NLSPATH is not available.
2301         Reported by Andries.Brouwer@cwi.nl.
2303 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
2305         * Makeconfig (localtime-file): Don't define using installation
2306         directory.
2307         (inst_localtime-file): New variable.
2308         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
2309         Reported by Edward Seidl <seidl@janed.com>.
2311 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2313         * time/Makefile: Add source files to dependencies for test data.
2315 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2317         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
2318         * nis/nss_nis/nis-proto.c: Likewise.
2319         * nis/nss_nis/nis-rpc.c: Likewise.
2320         * nis/nss_nis/nis-service.c: Likewise.
2322 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2324         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
2325         euidaccess weak alias.
2327 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2329         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
2331         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
2333 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2335         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
2337         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
2338         __file_name_split.
2340         * mach/mach_error.c (mach_error_string_int): Give full prototype.
2341         * mach/errstring.c (mach_error_string_int): Likewise.
2342         * mach/error_compat.c (__mach_error_map_compat): Likewise.
2343         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
2344         * stdio/vasprintf.c (vasprintf): Likewise.
2346         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
2348         * mach/spin-solid.c: Include <mach/mach_traps.h>.
2349         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
2350         swtch_pri.
2352         * mach/mach_init.c: Include <mach/mig_support.h>.
2354         * mach/mach_error.h (mach_error_string, mach_error,
2355         mach_error_type): Always provide prototypes.
2357         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
2358         appears to be entirely unused dead code.
2360 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
2362         * string/argz.h (__need_error_t): New macro, before including <errno.h>
2363         [!__const] (__const): New macro.
2364         [!__error_t_defined] (error_t): New typedef.
2366 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
2368         * posix/unistd.h: Add prototype for __euidaccess.
2369         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
2370         euidaccess weak alias.
2371         * sysdeps/stub/euidaccess.c: Likewise.
2372         * inet/rcmd.c: Use __ protected versions of non-standard functions.
2374         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
2375         binary locale files.  Use LOCALEDIR only.
2376         * locale/programs/locfile.c: When named file not found and not
2377         absolute use path in I18NPATH.
2379         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
2380         and AF_FILE as synonym for AF_LOCAL.
2381         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
2383         * time/Makefile: Rewrite rules for test to handle parallel builds.
2385 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
2387         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
2388         robbe@orcus.priv.at.
2390 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
2392         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
2393         8-byte boundary.
2395 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
2397         * elf/link.h: Include <features.h>.
2398         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
2400 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
2402         Rewrite NIS code to allow empty keys.
2403         * nis/nss_nis/nis-ethers.c: Rewritten.
2404         * nis/nss_nis/nis-proto.c: Rewritten.
2405         * nis/nss_nis/nis-publickey.c: Rewritten.
2406         * nis/nss_nis/nis-rpc.c: Rewritten.
2407         * nis/nss_nis/nis-service.c: Rewritten.
2409 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
2411         * time/scheck.c (scheck): Add extra const to second argument.
2413         * time/private.h: Correct prototypes to match definition.
2415 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
2417         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
2418         switching of UID before opening .rhosts.
2420         * posix/regex.c: Merge with regex sources from Arnold Robbins'
2421         version in GNU awk.
2422         * posix/regex.h: Likewise.
2424         Add regex test suite by Tom Lord.
2425         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
2426         (tests): Add runtests.
2427         (before-compile): Add testcases.h.
2428         (testcases.h): New rule to generate header with tests.
2429         * posix/TESTS: New file.
2430         * posix/TESTS2C.sed.: New file.
2431         * posix/runtests.c: New file.
2432         * posix/testcases.h: New file.
2434         * time/ialloc.c: Update from tzcode1997c.
2435         * time/private.h: Likewise.
2436         * time/scheck.c: Likewise.
2437         * time/tzselect.ksh: Likewise.
2438         * time/zdump.c: Likewise.
2439         * time/zic.c: Likewise.
2441         * time/tzfile.c: Pretty print.
2443 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
2445         * stdio-common/vfscanf.c: Use __va_copy if available.
2447 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2449         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
2450         clean up namespace.
2452 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
2454         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
2455         kernel-level sigaction structure is different.  handle this
2456         correctly.
2457         Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
2459 1997-03-06 05:55  David Engel  <david@sw.ods.com>
2461         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
2462         recognize cache entries with flag == 3.
2464 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
2466         * time/antarctica: Update from tzdata1997c.
2467         * time/asia: Likewise.
2468         * time/zone.tab: Likewise.
2470 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2472         * sysdeps/m68k/fpu/__math.h: Update feature tests.
2473         (fabs): Remove defininition, it is a gcc builtin.
2474         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
2476 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
2478         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
2479         instead to avoid namespace problems.
2480         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
2482 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
2484         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
2485         falling back to select-based implementation if syscall isn't
2486         available.
2487         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
2489         * time/leapseconds: Update from tzdata1997b.
2490         * time/zic.c: Update from tzcode1997b.
2492 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2494         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
2495         depedencies between installed $(tzlinks) and $(tzbases) files.
2497 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2499         * math/math.h: Make compatible with traditional preprocessor;
2500         requires carefull placement of whitespace in macro arguments.
2501         Use __CONCAT instead of ##.
2502         Declare long double functions only if __STDC__ or __GNUC__.
2503         * math/mathcall.h: Avoid whitespace before argument of macro call
2504         that is used as function name.
2506         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
2507         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
2508         of __NO_M81_MATH_INLINES.
2509         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
2510         starting with __ieee754.
2511         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
2512         functions as inlines.
2513         (__m81_defun): Put __attribute__ between return type and function
2514         name.
2515         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
2516         is defined.
2517         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
2518         instead of __NO_M81_MATH_INLINES.
2519         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2520         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2521         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2522         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2523         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
2524         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2525         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2526         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2527         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2528         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2530 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
2532         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
2533         so that clearing second word is necessary.
2535         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
2536         header since it is wrong for 64 bit systems.
2537         Patch by a sun <asun@zoology.washington.edu>.
2539 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
2541         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
2542         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
2543         for the benefit of running foreign binaries.
2545 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
2547         * manual/Makefile: Add rules to run and distribute xtract-typefun.
2548         * manual/xtract-typefun.awk: New file.  Script to extract function,
2549         variable, macro anchor to put into the `dir' file.
2551         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
2552         exponent before comparing.
2554 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
2556         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
2557         prototypes to use types with explicit width.  `unsigned long' is
2558         different on 64 bit systems.
2559         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2560         * sysdeps/generic/htonl.c: Likewise.
2561         * sysdeps/generic/htons.c: Likewise.
2562         * sysdeps/generic/ntohl.c: Likewise.
2563         * sysdeps/generic/ntohs.c: Likewise.
2564         Suggested by a sun <asun@zoology.washington.edu>.
2566 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
2568         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
2569         defined and we want optimization.
2571 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2573         * misc/getpass.c: Don't disable canonical input.
2574         Reverted patch of Mon Jan  6 01:35:29 1997.
2576 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2578         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
2579         match the hidden __in_chrg parameter of the destructor.
2580         (_IO_FINISH): Pass zero for it.
2581         * libio/genops.c (_IO_default_finish): Add second parameter, which
2582         is ignored.
2583         * libio/memstream.c (_IO_mem_finish): Likewise.
2584         * libio/fileops.c (_IO_file_finish): Likewise.
2585         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
2587 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
2589         * time/Makefile: Avoid using patterns in dependencies.
2591 1997-02-26 03:28  Ulrich Drepper  <drepper@cygnus.com>
2593         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2595 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
2597         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
2598         word on stack for overflow.
2600 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2602         * malloc/malloc.c (malloc_get_state): New function.
2603         Saves global malloc state to an opaque data structure which
2604         is dynamically allocated in the heap.
2605         * malloc/malloc.c (malloc_set_state): New function.
2606         Restore previously obtained state.
2607         * malloc/malloc.h: Add declaration of malloc_get_state()
2608         and malloc_set_state().
2610 1997-02-24 23:29  Ulrich Drepper  <drepper@cygnus.com>
2612         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
2613         position.
2615 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
2617         * misc/error.c: Make error and error_at_line weak aliases of
2618         __error and __error_at_line respectively.
2619         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
2621 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2623         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
2624         time-era-num-entries.
2626 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
2628         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
2629         to avoid duplicate mail.
2631 1997-02-23 02:32  Ulrich Drepper  <drepper@cygnus.com>
2633         * stdio-common/vfprintf.c (printf_unknown): Correct printing of
2634         numeric values.
2636 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
2638         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
2639         sign in the strtouXX functions.  The results gets simply negated.
2640         * stdlib/tst-strtol.c: Correct tests.
2642 1997-02-22 03:02  Ulrich Drepper  <drepper@cygnus.com>
2644         * math/math.h: Prevent definition of struct exception when using
2645         C++.
2647 1997-02-22 01:46  Ulrich Drepper  <drepper@cygnus.com>
2649         * sysdeps/unix/syscalls.list: Dup takes only one argument.
2650         Reported by Greg McGary.
2652 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
2654         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
2655         than file_get_translator.
2657         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
2658         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
2660 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
2662         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
2663         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2665 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
2667         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
2668         but ADDR also == 0.
2670         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
2671         now instead of a weak extern, as some old programs expect it to be
2672         defined by ld.so.
2674 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
2676         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
2678         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
2679         __hurd_threadvar_stack_offset): Restore initialized versions, so
2680         startup works correctly.
2682         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
2684 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
2686         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
2687         not __mutex_try_lock.
2688         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
2689         (tsd_getspecific): Case variable to (void *) before returning.
2691         * hurd/hurdinit.c (__libc_argv): Remove extern.
2692         (__libc_argc): New variable.
2694 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
2696         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2697         _HURD_THREADVAR_MALLOC.
2698         * malloc/thread-m.h
2699         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2700         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
2701         __mutex_*.
2702         (mutex_t): Type removed & replaced by new macro.
2703         (tsd_key_t): Typedef to int instead of pthread_key_t.
2704         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2705         (__pthread_initialize): New macro, work around assumption of pthreads.
2706         (tsd_keys_alloced): New static variable.
2707         <hurd/threadvar.h>: New include.
2709         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
2710         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
2711         defined before using it.
2713         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
2714         Make extern.
2715         * hurd/hurdinit.c (__libc_argv): Make extern.
2717         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
2718         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
2720         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
2721         __hurd_threadvar_stack_offset,
2722         __hurd_threadvar_stack_mask): New variables.
2723         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
2724         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2725         New variables (moved here from hurdstartup.c).
2726         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
2727         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2728         Variables removed (moved to hurdsig.c).
2729         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
2730         __hurd_threadvar_stack_mask): Variables removed.
2731         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2732         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
2733         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
2734         __hurd_threadvar_stack_mask): Variables removed.
2736 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
2738         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
2739         Declare extern.
2741         * malloc/thread-m.h
2742         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2743         (mutex_t): Type removed.
2744         (mutex_t): New macro.
2745         (mutex_trylock): New macro.
2746         (__x_mutex_lock, __x_mutex_unlock): New functions.
2747         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
2748         the cthread definitions.
2749         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
2750         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2751         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
2752         (__pthread_initialize): New macro, work around assumption of pthreads.
2754 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
2756         * sysdeps/generic/netinet/in.h: Protect contents using
2757         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
2759         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
2760         * inet/Makefile (headers): Remove net/ethernet.h.
2761         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
2762         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
2764 1997-02-20 19:19  Ulrich Drepper  <drepper@cygnus.com>
2766         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
2767         * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
2769 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
2771         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
2773 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2775         * stdio-common/test-fseek.c: Remove temporary file, add
2776         copyright.
2778 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
2780         * string/strxfrm.c (STRCOLL): Correct handling of `position'
2781         levels with no non-IGNOREd element and handling of NUL byte.
2782         * string/strcoll.c (STRXFRM): Likewise.
2783         * locale/weight.h: Likewise.
2785         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2787 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
2789         * locale/programs/locale.c: Check whether output of `locale -a'
2790         really is locale directory.  Also print locale aliases.
2792 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
2794         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
2795         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2797 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
2799         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
2800         additional argument.
2802 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
2804         * inet/net/ethernet.h: New file.
2805         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
2806         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
2807         Contributed by a sun <asun@zoology.washington.edu>.
2809         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
2810         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
2811         Reported by a sun <asun@zoology.washington.edu>.
2813 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
2815         * stdio-common/bug10.c (main): Correct parameter.
2817         * string/strcoll.c: Update copyright.
2819 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
2821         * malloc/obstack.h: Add `extern "C"' protection.
2822         * posix/regex.h: Likewise.
2823         * io/ftw.h: Likewise.
2824         * misc/libgen.h: Likewise.
2825         * login/utmp.h: Likewise.
2826         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
2827         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2828         * sunrpc/rpc/pmap_rmt.h: Likewise.
2829         * sunrpc/rpc/auth_des.h: Likewise.
2830         * elf/link.h: Likewise.
2831         * inet/netinet/ether.h: Likewise.
2832         Reported by HJ Lu.
2834 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
2836         Linux specific network headers.
2837         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
2838         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
2839         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
2840         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
2841         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
2842         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
2843         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
2844         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
2845         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
2846         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
2847         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
2848         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2849         Add sys/quota.h.
2850         [$(subdir)=inet] (sysdep_headers): Add new network header.
2852         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
2853         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2855         * inet/netinet/ip.h: Move to sysdeps/generic.
2857 1997-02-16 13:15 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2859         * inet/netinet/ip.h: Add protection.
2861 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
2863         * misc/sys/syslog.h (prioritynames): Correct definition to use
2864         braces where necessary.
2865         (facilitynames): Likewise.
2866         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
2867         Comment and beautify declarations.
2869 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
2871         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
2872         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2874 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2876         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
2877         _nss_nis_gethostton_r.
2878         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
2880 1997-02-16 02:45  Ulrich Drepper  <drepper@cygnus.com>
2882         * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
2883         length of abs_filename.
2885 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
2887         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
2888         trying to resolv name as numeric IPv6 address.
2889         * nss/digits_dots.c: Likewise.
2891 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
2893         * locale/programs/localedef.c: Implement --quiet option.
2894         * locale/programs/charset.h: Declare be_quiet variable.
2895         * locale/programs/locfile.h: Likewise.
2896         * locale/programs/charmap.c: Don't print warnings if quiet option
2897         was given.
2898         * locale/programs/ld-collate.c: Likewise.
2899         * locale/programs/ld-ctype.c: Likewise.
2900         * locale/programs/ld-messages.c: Likewise.
2901         * locale/programs/ld-monetary.c: Likewise.
2902         * locale/programs/ld-numeric.c: Likewise.
2903         * locale/programs/ld-time.c: Likewise.
2904         * locale/programs/locfile.c: Likewise.
2906 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2908         * stdlib/qsort.c: Add prototype for _quicksort.
2910         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
2912         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
2913         from dl-machine.h.
2915 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
2917         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
2918         Allow user to overwrite it.
2920 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
2922         * libio/_G_config.h: Make sure win_t is also defined for old gcc
2923         versions.  Reported by Andreas Jaeger.
2925 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
2927         * db/btree/bt_split.c (bt_psplit): Fix typo in  change of
2928         1997-02-12.
2930         * time/tzfile.c (__tzfile_read): Change comment to follow
2931         change of 1997-02-12.
2933 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
2935         * time/time.h (__nanosleep): Define only when struct timespec is
2936         also available.
2937         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
2939 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
2941         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
2942         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
2944 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
2946         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
2947         of 1997-02-09 in resolv/gethnamaddr.c.
2949 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
2951         * libio/_G_config.h (_G_wint_t): New.
2953 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2955         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
2956         to sizeof (buf.buf) while calling res_search ().
2958 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
2960         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
2961         val to keydat, stat to status.
2963 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
2965         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
2967 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
2969         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
2970         by Keith Bostic.
2972 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
2974         * stdlib/atoll.c: Undefine atoll, not atol.
2976 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2978         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
2979         unused arguments of shell script.
2981         * Makeconfig (all-object-suffixes): New variable.
2982         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
2983         of $(object-suffixes).
2984         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
2986 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
2988         * locale/weight.h (collate_rules): It's an u_int32_t array.
2989         (get_weight): Compute initial SLOT value correctly.
2991 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
2993         * string/argz-ctsep.c: Initialize *LEN when successful.
2995 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
2997         * version.h (VERSION): Bump to 2.0.2.
2999         * posix/Makefile (routines): Add getopt_init.
3000         * posix/getopt.c: Don't get environment variable with nonoption
3001         flags here.  Depend on __getopt_nonoption_flags variable filled
3002         somewhere else.  This is necessary since the variable must be
3003         removed even when getopt isn't used in case exec(2) gets called.
3004         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
3005         and remove environment variable.
3006         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3007         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3008         * sysdeps/stub/init-first.c: Likewise.
3009         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3011         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3012         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3014         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3015         encryption is wanted.
3017         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3018         * stdio/vsnprintf.c: Likewise.
3019         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3021         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3022         * stdio/vsnprintf.c: Likewise.
3023         Reported by Philip Blundell <pjb27@cam.ac.uk>.
3025 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
3027         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3028         Change PTR to void *.
3029         * sysdeps/posix/vdprintf.c: Change PTR to void *.
3030         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3032 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
3034         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3036 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3038         * rellns-sh: No need to check for existance of first parameter.
3040 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3042         * rellns-sh: No need to check for existance of first parameter.
3044 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3046         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
3047         by David Holland <dholland@eecs.harvard.edu>.
3049 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3051         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
3052         select, in case it is modified by the latter.
3053         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3054         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3055         * sunrpc/svc_tcp.c (readtcp): Likewise.
3057         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
3058         array.
3060         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
3061         and gid_t.
3063         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
3064         argument.
3066 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3068         * elf/Makefile (extra-objs): Don't zap previous value.
3069         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
3070         twice.
3072 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3074         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
3075         braindamage (sigh!).
3077 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
3079         * manual/memory.texi: Correct `copystring' example for obstacks.
3081 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
3083         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
3084         GNU tr don't grok it.
3086 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3088         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
3089         Don't use GNU C extensions.
3090         (CMSG_DATA): Use portable definition.
3092 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
3094         * elf/ldd.bash.in: Add test for read permission and print appropriate
3095         message.  Change warning and error messages to print "ldd: " at start.
3096         * elf/ldd.sh.in: Likewise.
3098         * stdlib/Makefile (routines): Add atoll.
3099         * stdlib/atoll.c: New file.
3100         * stdlib/stdlib.h: Add prototype and optimization for atoll.
3102         * stdlib/a64l.c: Update copyright.
3103         * stdlib/abs.c: Likewise.
3104         * stdlib/atof.c: Likewise.
3105         * stdlib/atoi.c: Likewise.
3106         * stdlib/atol.c: Likewise.
3107         * stdlib/bsearch.c: Likewise.
3108         * stdlib/exit.c: Likewise.
3109         * stdlib/fpioconst.c: Likewise.
3110         * stdlib/fpioconst.h: Likewise.
3111         * stdlib/jrand48.c: Likewise.
3112         * stdlib/jrand48_r.c: Likewise.
3113         * stdlib/labs.c: Likewise.
3114         * stdlib/lcong48.c: Likewise.
3115         * stdlib/lcong48_r.c: Likewise.
3116         * stdlib/llabs.c: Likewise.
3117         * stdlib/lrand48.c: Likewise.
3118         * stdlib/lrand48_r.c: Likewise.
3119         * stdlib/mblen.c: Likewise.
3120         * stdlib/mbstowcs.c: Likewise.
3121         * stdlib/mbtowc.c: Likewise.
3122         * stdlib/mp_clz_tab.c: Likewise.
3123         * stdlib/mrand48.c: Likewise.
3124         * stdlib/mrand48_r.c: Likewise.
3125         * stdlib/msort.c: Likewise.
3126         * stdlib/nrand48.c: Likewise.
3127         * stdlib/nrand48_r.c: Likewise.
3128         * stdlib/qsort.c: Likewise.
3129         * stdlib/rpmatch.c: Likewise.
3130         * stdlib/seed48.c: Likewise.
3131         * stdlib/seed48_r.c: Likewise.
3132         * stdlib/srand48.c: Likewise.
3133         * stdlib/srand48_r.c: Likewise.
3134         * stdlib/strtod.c: Likewise.
3135         * stdlib/wcstombs.c: Likewise.
3136         * stdlib/wctomb.c: Likewise.
3138 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
3140         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
3141         as const.
3143 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
3145         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
3146         including <stddef.h>.
3148 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
3150         * time/Makefile (tzbases, tzlinks): New.
3151         (tzfiles): Changed to $(tzbases) $(tzlinks).
3152         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
3154 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3156         * Makefile (install): Ignore error from ldconfig.
3158         * time/zic.c (mkdirs): Double check the error return of mkdir ().
3160 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
3162         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
3163         like PPC where va_list is no integral type.
3165 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
3167         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
3168         if nonoption_flags_len == -1.
3170 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
3172         * Version 2.0.1 net release.
3174 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
3176         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
3178 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
3180         * stdlib/getsubopt.c: Don't return `=' for suboption which has
3181         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
3183 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3185         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
3186         values as in yp.x and yp.h.
3188 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
3190         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
3191         1997-02-03 02:17.  Sun's implementation internally corrects
3192         this bug but we don't want to hide this from the user.
3193         * nis/rpcsvc/yp.h: Likewise.
3195 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3197         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
3198         inclusion.
3200 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3202         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
3203         fixes.
3205 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3207         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
3208         (all-sources, all-headers): Use them instead of $(sources) and
3209         $(headers) when searching in sysdep directories.
3211 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3213         * Makerules (REAL_MAKE_VERSION): Use internal make function
3214         instead of shelling out.
3216 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3218         * time/Makefile (install-test-data): Remove mkdir command, zic can
3219         handle that gracefully.
3221 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3223         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
3224         somehow.
3226 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3228         * sunrpc/Makefile: Check $(cross-compiling) only after including
3229         ../Makeconfig.
3230         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
3231         being considered as a rule.
3232         (generated): Add stamp files before the inclusion of Makerules to
3233         magically mark them as not being intermediate via the `generated'
3234         target.
3236 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
3238         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
3239         entries.  This is still no complete implementation since AUXILIARY
3240         entries in other shared objects are not yet handled.
3242         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
3243         place.
3245         * po/es.po: Update.
3246         * po/fr.po: Update.
3247         * po/nl.po: Update.
3249         * time/Makefile: Better cross-compile support.  Avoid test which
3250         cannot be run.
3251         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
3252         tzfile.h file.
3253         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
3254         in SUID programs.
3255         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
3256         default values as in tzfile.c.
3258         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
3259         tags.
3260         * elf/link.h: Likewise.
3261         * elf/elf.h: Add tag definitions and data structures for versioning.
3263 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
3265         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
3266         "Sun bug".  This is the order of elements also used by 4.4BSD.
3267         * nis/rpcsvc/yp.h: Likewise.
3268         Reported by HJ Lu.
3270 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
3272         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
3273         action.
3275         * Makefile (install): Pass installation directories as arguments
3276         to ldconfig.
3278 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
3280         * malloc/malloc.c (__after_morecore_hook): New variable.
3281         (malloc_extend_top): Call __after_morecore_hook if set.
3282         (main_trim): Likewise.
3283         * malloc/malloc.h: Add declaration of __after_morecore_hook.
3284         Suggested by Marcus Daniels.
3286 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
3288         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
3289         #ifndef NO_THREADS.
3290         (mallinfo): Likewise.
3292         * malloc/malloc.c (__morecore): Make external since it is used in
3293         programs.
3295 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
3297         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
3298         unsigned.
3300 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
3302         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
3303         use t6 as a temporary; it contains bits we still need in $u_head.
3305 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
3307         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
3308         using __ prefix.  Add prototype for log1p.
3310 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
3312         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
3314 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
3316         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
3318 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
3320         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
3321         structure plus related macros.
3322         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
3323         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
3324         (sysdep_routines): Add cmsg_nxthdr.
3325         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
3326         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
3328 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
3330         * time/strftime.c: Define _strftime_copytm without protecting arguments
3331         which breaks the definition.
3333 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3335         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
3336         definition of type for element.
3338 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
3340         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
3341         constants.
3343 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
3345         * Makefile: Pass PARALLELMFLAGS to sub-makes.
3346         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
3348 1997-01-31  Paul Eggert  <eggert@twinsun.com>
3350         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
3351         Define if _LIBC is defined.
3352         <limits.h>: Include if HAVE_LIMITS_H instead of if
3353         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
3354         <stdlib.h>: Similarly, include if STDC_HEADERS.
3355         (localtime_r): Redo #ifdef to make it clear that glibc has
3356         localtime_r now.
3358 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3360         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
3361         file to avoid unnecessary recompilation.
3363 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3365         * Makefile: Set install-others, not install_others.
3366         (before-compile): Use += to preserve previous value.
3367         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
3368         fix dependency name.
3369         ($(objpfx)lib-names.h): Remove rule.
3370         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
3371         with correct name, using an intermediate stamp file.
3372         (common-generated): Add gnu/lib-names.h.
3373         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
3375 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
3377         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
3378         to prevent warnings on 64 bit systems.
3379         Reported by Paul Wouters <paul@xtdnet.nl>.
3381         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
3382         we assume it works.
3384 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
3386         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
3387         double word boundary before pushing args for main.  This way we
3388         don't get penalties for misaligned memory accesses.  Reported by
3389         Edward Seidl <seidl@janed.com>.
3391         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
3392         Patch by HJ Lu.
3394         * misc/bsd-compat.c: Update copyright.
3395         * misc/efgcvt.c: Likewise.
3396         * misc/efgcvt_r.c: Likewise.
3397         * misc/error.c: Likewise.
3398         * misc/error.h: Likewise.
3399         * misc/fstab.c: Likewise.
3400         * misc/init-misc.c: Likewise.
3401         * misc/lsearch.c: Likewise.
3402         * misc/mntent.c: Likewise.
3403         * misc/qefgcvt.c: Likewise.
3404         * misc/qefgcvt_r.c: Likewise.
3405         * nss/databases.def: Likewise.
3406         * nss/db-Makefile: Likewise.
3407         * nss/ethers-lookup.c: Likewise.
3408         * nss/hosts-lookup.c: Likewise.
3409         * nss/netgrp-lookup.c: Likewise.
3410         * nss/nsswitch.h: Likewise.
3411         * nss/proto-lookup.c: Likewise.
3412         * nss/rpc-lookup.c: Likewise.
3413         * nss/service-lookup.c: Likewise.
3414         * nss/nss_db/db-netgrp.c: Likewise.
3415         * nss/nss_files/files-grp.c: Likewise.
3416         * nss/nss_files/files-hosts.c: Likewise.
3417         * nss/nss_files/files-network.c: Likewise.
3418         * nss/nss_files/files-proto.c: Likewise.
3419         * nss/nss_files/files-pwd.c: Likewise.
3420         * nss/nss_files/files-rpc.c: Likewise.
3421         * nss/nss_files/files-service.c: Likewise.
3422         * nss/nss_files/files-spwd.c: Likewise.
3423         * shadow/fgetspent.c: Likewise.
3424         * shadow/fgetspent_r.c: Likewise.
3425         * shadow/getspent.c: Likewise.
3426         * shadow/getspent_r.c: Likewise.
3427         * shadow/getspnam.c: Likewise.
3428         * shadow/getspnam_r.c: Likewise.
3429         * shadow/putspent.c: Likewise.
3430         * shadow/sgetspent.c: Likewise.
3431         * shadow/sgetspent_r.c: Likewise.
3432         * sysdeps/i386/init-first.c: Likewise.
3433         * sysdeps/unix/i386/sysdep.S: Likewise.
3435         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
3436         prepared to be running in a multi-threaded environment.  Change
3437         to __USE_MISC unless the function is defined in POSIX.1 (in this
3438         case also test for __USE_POSIX).
3439         * dirent/dirent.h: Likewise.
3440         * grp/grp.h: Likewise.
3441         * inet/aliases.h: Likewise.
3442         * libio/libio.h: Likewise.
3443         * libio/stdio.h: Likewise.
3444         * login/utmp.h: Likewise.
3445         * math/mathcalls.h: Likewise.
3446         * misc/mntent.h: Likewise.
3447         * pwd/pwd.h: Likewise.
3448         * resolv/netdb.h: Likewise.
3449         * stdlib/stdlib.h: Likewise.
3450         * string/string.h: Likewise.
3451         * sunrpc/rpc/netdb.h: Likewise.
3452         * sysdeps/generic/crypt.h: Likewise.
3453         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
3454         * time/time.h: Likewise.
3456 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
3458         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
3459         only if not cross compiling.
3461 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
3463         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
3464         NULL.
3465         * sysdeps/posix/sigwait.c: Likewise.
3467 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3469         * Makeconfig ($(common-objpfx)config.make): Depend on
3470         $(..)config.make.in.
3472 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
3474         * sunrpc/Makefile: Don't generate headers derived from .x files when
3475         crosscompiling.
3477 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
3479         * Makefile: Generate gnu/lib-names.h in before-compile.
3480         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
3481         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
3482         to the revision found for LIBNSS_FILES_SO.
3483         (nss_initilized): Removed.  It was tested but never set.
3484         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
3486         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
3487         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
3489         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
3491 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
3493         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
3494         override the definition.
3496 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
3498         * config.make.in (malloc): Remove.
3500 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
3502         * version.h (VERSION): Bump to 2.0.1.
3504         * posix/getopt.c: Handle another problem introduced by the
3505         nonoption_flags array.  We must be able to work with reordered
3506         argv arrays.  Reported by Andreas Schwab.
3508 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
3510         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
3511         stack.
3513 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3515         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
3516         that it works with yp.h.
3518 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
3520         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
3521         __libc_malloc_initialized so that this variable is not shared with
3522         other users of GNU malloc.
3523         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3525         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
3527         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
3528         variables to prevent warnings.
3529         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
3530         using attribute regparm.
3531         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
3532         is changed by the resolver code.
3534 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3536         * malloc/malloc.c (weak_variable): Define.
3537         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
3538         __memalign_hook): Make them weak definitions.
3540 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3542         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
3543         limits, correctly take structure padding into account, use correct
3544         offset when resetting the stream, change heuristic to assume an
3545         average name length of 14 characters.
3547 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3549         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
3550         inclusion.
3553 See ChangeLog.6 for earlier changes.