1 1997-12-11 18:19 Ulrich Drepper <drepper@cygnus.com>
3 * elf/rtld.c: Don't count in multiply reference object in number
4 of preloaded objects. [PR libc/375].
6 * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
8 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
9 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
10 Reported by Richard Henderson.
12 1997-12-11 12:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
14 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
15 return code for non existent +name entries.
16 * nis/nss_compat/compat-pwd.c: Likewise.
17 * nis/nss_compat/compat-spwd.c: Likewise.
19 1997-12-11 17:40 Ulrich Drepper <drepper@cygnus.com>
21 * posix/glob.c: Update from glibc 2.1.
22 * posix/glob.h: Likewise.
24 1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu>
26 * stdlib/exit.c (exit): Handle recursive calls to exit ().
28 1997-12-11 07:36 Ulrich Drepper <drepper@cygnus.com>
30 * sysdeps/alpha/bsd-setjmp.S: Add empty file.
31 * sysdeps/alpha/bsd-_setjmp.S: Likewise.
33 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
35 * configure.in: If --enable-add-ons is given without an
36 argument, set the addons list to all subdirs with a configure
39 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
41 * glibcbug.in: Add more information of build environment and flags.
43 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
45 * resolv/inet_neta.c (inet_neta): Change type of first parameter
46 to u_int32_t. Suggested by John Lavagnino
47 <John_Lavagnino@Brown.edu> [PR libc/366].
49 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
51 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
53 1997-12-10 Ulrich Drepper <drepper@cygnus.com>
55 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
57 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
59 * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
62 * locale/C-ctype.c: Correct data for isw* functions.
63 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
65 * wctype/test_wctype.c: Add test for isw* functions.
66 * wctype/wctype.c: Return value with expected byte order.
68 * sysdeps/alpha/__math.h: Remove cabs definition.
69 * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
71 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
73 * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
76 * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
77 net/if_slip.h, and sys/prctl.h. Remove sys/module.h.
78 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
79 Remove sys/module.h. Add sys/prctl.h and scsi/sg.h.
80 [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
82 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
84 * sysdeps/unix/sysv/linux/sys/module.h: Removed.
86 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
88 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
89 * sysdeps/unix/sysv/linux/send.S: Likewise.
90 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
91 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
92 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
93 * sysdeps/unix/sysv/linux/recv.S: Likewise.
94 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
95 * sysdeps/unix/sysv/linux/connect.S: Likewise.
97 1997-12-07 15:49 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
99 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
100 handle for /etc/group back in some more cases.
101 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
102 handle for /etc/passwd back in some more cases.
103 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
104 handle for /etc/shadow back in some more cases.
106 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
108 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
110 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
111 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
113 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
115 Alpha changes for EGCS:
116 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
117 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
118 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
120 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
122 * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
123 * sysdeps/alpha/__longjmp.S: Likewise.
124 * sysdeps/alpha/bsd-_setjmp.S: Likewise.
125 * sysdeps/alpha/bsd-setjmp.S: Likewise.
126 * sysdeps/alpha/jmp_buf.h: Likewise.
127 * sysdeps/alpha/setjmp.S: Likewise.
128 * sysdeps/alpha/__longjmp.c: Removed.
129 * sysdeps/alpha/setjmp_aux.c: Removed.
131 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
133 * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
134 constants from Linux headers. Pointed out by
135 csmall@scooter.o.i.net. [PR libc/369]
137 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
139 * grp/initgroups.c: Increase buffer if it is too small.
141 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
143 * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
144 constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
147 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
149 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
150 __typeof for C++ since this fails for class members.
151 Reported by Neal Becker <neal@ctd.comsat.com>.
153 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
155 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
156 incompatible with Linux 2.1.x. Packages using modules
157 (e.g. modutils) should/do provide their own version. Suggested by
160 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
163 [$(subdir)=socket]: Remove sys/module.h.
165 1997-11-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
167 * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
168 not shadow the variable in the outer scope. Carry over from glibc 2.1.
170 1997-11-21 21:33 Ulrich Drepper <drepper@cygnus.com>
172 * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
174 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
176 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
179 1997-11-19 23:50 Ulrich Drepper <drepper@cygnus.com>
181 * configure.in: Update from 2.1 version.
182 * glibcbug.in: Likewise.
183 * manual/maint.texi: Likewise.
185 * math/mathcalls.c: Remove declaration of infnan and cabs.
187 * libio/stdio.h: Don't use _POSIX_SOURCE in header.
189 * manual/errno.texi: Define new Linux errors.
191 * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
192 and __kernel_rem_pio2{,f,l}.
194 * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
196 * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
198 * sysdeps/i386/selectbits.h: Don't use casts, use element access.
200 * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
202 * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
203 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
204 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
206 * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
209 * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
210 types in struct cmsghdr.
212 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
213 loading of return address.
215 * sysdeps/unix/sysv/linux/net/if.h: Add new values.
216 * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
218 * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
220 1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
222 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
223 value type to long int.
224 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
227 1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com>
229 * sysdeps/posix/writev.c: Correct condition to leave the loop.
231 1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com>
233 * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
234 zero isn't enough to determine illegal arguments.
235 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
236 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
238 1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
240 * sysdeps/libm-i387/e_remainder.S: Pretty print.
241 * sysdeps/libm-i387/e_remainderf.S: Likewise.
242 * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
244 1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
246 * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
248 1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com>
250 * stdlib/stdlib.h: Remove mblen optimization.
251 * stdlib/mblen.c: Rewrite to make sure global state is not changed.
252 Reported by anderson@metrolink.com.
254 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
256 * po/Makefile ($(mo-installed)): Don't fail during installation if
257 files don't exist (might happen if msgfmt doesn't exist) (PR 328).
258 Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
260 1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
262 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
263 header is used in some others as well for historical reasons.
265 1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
267 * locale/setlocale.c (setname): Only remove old name when it
268 is for category LC_ALL.
270 1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com>
272 * intl/localealias.c (read_alias_file): Correct handling of line
273 reader which sometimes skipped complete lines (PR 205).
275 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
277 * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
278 definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
280 * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
281 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
283 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
285 * Makerules (libc.so): Fix typo.
287 * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
288 definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
290 * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
291 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
293 1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
295 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
297 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
299 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
300 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
302 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
304 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
306 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
307 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
309 * configure.in: Correct test for bash2.
310 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
312 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
313 (CFLAGS-locfile.c): Likewise.
314 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
316 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
317 non-existing entry if the table is full.
319 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
321 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
323 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
324 Replace revoke call by use of REVOKE.
325 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
326 empty and #include generic version.
327 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
329 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
331 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
332 again after successful call.
333 Patch by Marc Lehmann <pcg@goof.com>.
335 1997-11-17 02:02 Ulrich Drepper <drepper@cygnus.com>
337 * malloc/thread-m.h: Remove malloc_key-data definition.
338 Reported by Trevor Johnson <trevor@jpj.net>.
340 1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
342 * manual/filesys.texi (Scanning Directory Content): Document error
345 * dirent/scandir.c (scandir): Ignore errors from select function.
346 Suggested by urbanw@cs.umu.se (closes PR libc/316).
348 1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
350 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
351 * termios/termios.h: Change prototype accordingly.
353 1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
355 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
358 1997-11-14 05:59 Ulrich Drepper <drepper@cygnus.com>
360 * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
363 1997-11-13 15:00 Ulrich Drepper <drepper@cygnus.com>
365 * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
366 2.1 development version to fix some more severe bugs.
367 * nis/nss_compat/compat-pwd.c: Likewise.
368 * nis/nss_compat/compat-spwd.c: Likewise.
369 * nis/ypclnt.c: Likewise.
370 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
372 * version.h (VERSION): Bump to 2.0.6.
374 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
376 * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
377 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
379 1997-10-31 23:08 Ulrich Drepper <drepper@cygnus.com>
381 * posix/glob.c (glob): If calling glob_in_dir for a list which was
382 generated by a glob call disable GLOB_ERR since there might be
383 non-directories in the list (PR203).
385 1997-10-30 06:04 Ulrich Drepper <drepper@cygnus.com>
387 * misc/efgcvt.c: Call correct reentrant functions.
389 1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com>
391 * time/tzfile.c (__tzfile_compute): Use negated value of offset for
393 * time/tzset.c (tz_compute): Likewise.
394 Reported by Erik Troan <ewt@redhat.com>.
396 1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com>
398 * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
399 in all error cases (PR 244).
401 1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com>
403 * manual/filesys.texi: Correct prototype in readdir_r description.
404 Reported by Jim Meyering <meyering@eng.ascend.com>.
406 1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com>
408 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
409 matching of version function if both the general (1) and
410 glibc-specific (3) entry are present.
412 1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com>
414 * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
415 elements in struct msghdr and struct cmsghdr, to keep in step with
418 1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com>
420 * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
421 * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
422 struct and not a pointer. Little optimizations.
424 1997-10-07 Paul Eggert <eggert@twinsun.com>
426 * intl/loadmsgcat.c (_nl_load_domain):
427 Fix &&/|| typo when checking file size.
429 1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com>
431 * time/africa: Update from tzdata1997i.
433 1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com>
435 * malloc/obstack.h (obstack_empty_p): New macro.
437 1997-09-09 Paul Eggert <eggert@twinsun.com>
439 * time/mktime.c (__mktime_internal): Declare sec_requested even if
440 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
443 1997-09-10 04:42 Ulrich Drepper <drepper@cygnus.com>
445 * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
446 type of fw_pcnt and fw_bcnt fields to match kernel.
447 Patch by a sun <asun@zoology.washington.edu>.
449 1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
451 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
452 Reported by Erik Troan <ewt@redhat.com>.
454 1997-09-06 Paul Eggert <eggert@twinsun.com>
456 Fix gmtime so that it reports leap seconds when TZ
457 indicates that leap seconds are desired.
459 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
460 (gmtime): Put after gmtime_r, to help the compiler inline.
461 (__tz_convert): New decl.
462 (gmtime_r): Use __tz_convert instead of __offtime,
463 so that leap seconds are handled correctly.
465 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
467 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
468 __tzset_lock): Remove extern decls that are now unnecessary.
469 (localtime_internal): Moved to __tz_convert in tzset.c.
470 so that localtime and gmtime can both use it easily.
471 (localtime): Put after localtime_r, to help the compiler inline.
472 (localtime_r): Use __tz_convert instead of localtime_internal.
474 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
477 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
479 * time/tzset.c (<errno.h>): Include.
481 (__tzfile_compute): New function.
482 (tz_compute): Renamed from __tz_compute. No longer extern.
483 Remove redundant call to tzset_internal.
484 (tzset_internal): Renamed from __tzset_internal. No longer extern.
485 (tzset_lock): Renamed from __tzset_lock. No longer extern.
486 (__tz_convert): New function, containing functionality of old
487 localtime_internal function, plus locking and optional UTC.
489 1997-09-06 Paul Eggert <eggert@twinsun.com>
491 * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
492 string, just use UTC without leap seconds. This is for compatibility
495 1997-09-06 Paul Eggert <eggert@twinsun.com>
497 * time/tzset.c (__tzname_max): Lock tz data structures before
498 invoking tzset_internal.
500 * time/tzfile.c: Define compute_tzname_max statically.
502 1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
504 * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
505 __FD_ISSET): Use correct casts to address array correctly.
506 Reported by urbanw@cs.umu.se.
508 1997-09-05 06:11 Ulrich Drepper <drepper@cygnus.com>
510 * gmon/gmon.c (write_bb_counts): Make sure entries are written before
511 next head. Reported by baccala@FreeSoft.org.
513 1997-09-01 14:16 Ulrich Drepper <drepper@cygnus.com>
515 * sysdeps/stub/sigaction.c: Fix typo.
516 Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
518 1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
520 * catgets/catgets.c (catopen): Correctly determine length of string
521 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
523 1997-08-26 20:17 Ulrich Drepper <drepper@cygnus.com>
525 * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
527 1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
529 * sysdeps/i386/selectbits.h: Correct assembler versions to work even
530 for descriptors >= 32.
532 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
533 is used __alloca is not defined to __builtin_alloca and so might
535 Reported by Uwe Ohse <uwe@ohse.de>.
537 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
538 way if gcc is not used and so dev_t is an array.
539 Reported by Uwe Ohse <uwe@ohse.de>.
541 * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
542 of sys/cdefs.h. Pretty print.
544 1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
546 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
547 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
548 with g++ internal symbols.
549 Patch by Sudish Joseph <sj@eng.mindspring.net>.
551 1997-08-24 18:36 Ulrich Drepper <drepper@cygnus.com>
553 * string/argz.h: Add missing __END_DECLS.
554 Patch by Miles Bader <miles@gnu.ai.mit.edu>.
556 1997-08-24 00:48 Ulrich Drepper <drepper@cygnus.com>
558 * locale/iso-4217.def: Update for more complete ISO 4217 match.
560 * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
562 * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
564 1997-08-17 Paul Eggert <eggert@twinsun.com>
566 * tzset.c (__tzset_internal): Fix memory leak when the user
567 specifies a TZ value that uses a default rule file.
568 Do not assume US DST rules when the user specifies
569 that there is no DST.
571 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
573 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
574 they operate on internal kernel structures and have no place in a
577 1997-08-18 01:52 Ulrich Drepper <drepper@cygnus.com>
579 * sysdeps/mach/libc-lock.h: Fix typo.
580 Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
582 1997-08-16 21:33 Ulrich Drepper <drepper@cygnus.com>
584 * sysdeps/mach/hurd/Dist: Add cthreads.c.
586 * catgets/gencat.c (usage): Fix help text.
588 Update of UTMP interface.
589 * login/Makefile (routines): Add utmpname, remove utmp_db.
590 * login/getutent.c: Rename to __getutent and make getutent a weak
592 * login/getutent.c: Rename to __getutid and make getutid a weak
594 * login/getutent.c: Rename to __getutline and make getutline a weak
596 * login/getutent_r.c: Rewrite to use jump table correctly.
597 * login/getutid_r.c: Likewise.
598 * login/getutline_r.c: Likewise.
599 * login/updwtmp.c: Likewise.
600 * login/login.c (login): Correct test for result of utmpname.
601 Use updwtmp instead of implementing this here again.
602 * login/logout.c (logout): Correct test for result of utmpname
603 and pututline. Handle ut_type field correctly if it exists.
604 * login/utmp-private.h: Update for changed internal functions.
605 * login/utmp.h: Reformat and correct typos.
606 * login/utmp_file.c: Rewrite lock handling.
607 * login/utmpname.c: New file.
608 Patches by Mark Kettenis <kettenis@phys.uva.nl>.
610 * socket/sys/socket.h (getpeername): Correct type of len argument.
611 Reported by a sun <asun@zoology.washington.edu>.
613 * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
615 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
617 * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
620 * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
622 * sysdeps/mach/hurd/cthreads.c: New file.
624 1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
626 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
627 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
629 1997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl>
631 * login/login.c (login): Check for correct return value of
634 1997-08-10 18:44 Ulrich Drepper <drepper@cygnus.com>
636 * time/tzset.c: Interpret no DST information in user provided time
637 zone specification as it is meant: no DST.
638 Patch by Paul Eggert <eggert@twinsun.com>.
640 1997-08-09 13:12 Ulrich Drepper <drepper@cygnus.com>
642 * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
643 Add macros for key handling.
644 * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
646 * sysdeps/mach/hurd/cthreads.c: New file.
647 Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
649 1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
651 * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
653 1997-08-08 02:25 Ulrich Drepper <drepper@cygnus.com>
655 * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
657 * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
659 * login/Makefile (routines): Add updwtmp.
660 * login/logwtmp.c: Move definition of updwtmp to ...
661 * login/updwtmp.c: here. New file.
663 * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
664 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
665 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
667 1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
669 * libio/stdfiles.c (_libio_using_thunks): Define if
670 _G_USING_THUNKS is defined.
672 * libio/_G_config.h: Moved to
673 * sysdeps/generic/_G_config.h: ...here.
675 * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
677 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
679 * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
682 1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
684 * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
685 PC's in long long to avoid overflow.
687 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
689 * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
692 1997-08-06 13:54 Ulrich Drepper <drepper@cygnus.com>
694 * gmon/gmon.c (_mcleanup): Fix typos.
696 * gmon/sys/gmon.h: Add prototype for write_profiling.
698 1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
700 * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
701 loop, to avoid dragging stdio into the dynamic linker.
703 1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
705 * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
706 (_mcleanup): Use write_gmon.
707 (write_profiling): This function can be safely called at any time
708 to write a current histogram without interfering with ongoing
711 * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
713 1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
715 * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
716 not be vm_deallocated; it's a stack buffer.
717 (profil_vm_deallocate): Delete prototype.
718 (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
720 * sysdeps/mach/hurd/Makefile
721 ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
724 * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
726 (profile_waiter): Use fetch_samples.
727 (profil): When turning off profiling, fetch the last bunch of
728 samples before disabling PC sampling.
729 (fetch_samples): Add prototype.
731 1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
733 * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
734 source included by profil.c instead of trying to use
737 1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
739 * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
740 after releasing lock. Use special RPC stubs and avoid assert,
741 thus making this function entirely independent of the threadvar
742 mechanism and of cthreads.
743 (lock): Convert to be a spin lock instead of a mutex, so that the
744 waiter thread need not use cthreads. Use a fork prepare hook
745 instead of _hurd_fork_locks to make sure we are clean before
747 (fork_profil_child): Renamed from fork_profil.
748 (profil_reply_port): New variable.
749 (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
750 stubs made by special hacks.
751 * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
752 source files that profil.c needs if we are in the gmon directory.
754 * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
755 cthreads bug that hasn't existed for two years.
757 1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
759 * locale/programs/localedef.c (main): Set bit in avail for those
760 categories which are successfully read.
761 * locale/programs/locfile.c (check_all_categories): Don't check
762 categories if they are not available.
763 (write_all_categories): Don't write categories if they are not
766 * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
767 getsockopt, setsockopt, accept): Change size argument to type
770 * manual/socket.texi: Describe socklen_t and change prototypes of
771 socket functions to use socklen_t.
772 * sysdeps/generic/bits/socket.h: Define socklen_t.
773 (struct msghdr): Correct types to use socklen_t.
774 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
775 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
777 * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
779 * stdio-common/tfformat.c: Add new tests for above bug.
781 * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
783 * wcsmbs/Makefile (tests): Add tst-wcstof.
784 * wcsmbs/tst-wcstof.c: New file.
785 * wcsmbs/wcstof.c (FLT): Define as FLT.
787 1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com>
789 * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
790 case since the __syscall_ptrace call already did this.
791 Reported by Philip Gladstone <philip@talon.raptor.com>.
793 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
795 * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
796 <gnu/types.h> to <sys/types.h>.
798 1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com>
800 * locale/programs/locale.c (print_escaped): New function.
801 (show_info): Use print_escaped if strings can control unprintable
803 Patch by Jochen Hein <jochen.hein@delphi.central.de>.
805 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
807 * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
810 1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com>
812 * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
813 for stream on input file.
814 * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
815 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
816 * nss/nss_db/db-XXX.c (internal_setent): Likewise.
817 * nss/nss_db/db-alias.c (internal_setent): Likewise.
818 * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
819 * nss/nss_files/files-XXX.c (internal_setent): Likewise.
820 * nss/nss_files/files-alias.c (internal_setent): Likewise.
821 * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
823 1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com>
825 * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
826 Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
827 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
828 * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
830 1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com>
832 * time/africa: Update from tzdata1997g.
833 * time/asia: Likewise.
834 * time/australasia: Likewise.
835 * time/europe: Likewise.
836 * time/iso3166.tab: Likewise.
837 * time/zone.tab: Likewise.
838 * time/private.h: Update from tzcode1997f.
839 * time/scheck.c: Likewise.
841 1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
843 * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
844 Synchronize with malloc/obstack.c.
846 1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
848 * manual/Makefile (INSTALL_INFO): Introduce variable to override
849 path to install-info for systems like Debian that have an
850 install-info with a different command line interface from the
851 canonical GNU texinfo version.
853 1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
855 * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
856 * posix/unistd.h: Likewise.
857 * sysdeps/stub/ttyname_r.c: Likewise.
859 1997-06-22 Paul Eggert <eggert@twinsun.com>
861 * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
863 * time/tzfile.c (__tzstring): New decl.
864 (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
865 (__tzfile_default): First two args are now const char *.
867 * time/tzset.c (__tzstring): New function.
868 (tz_rule): Name is now const char *.
869 (struct tzstring_head): New type.
870 (tzstring_list, tzstring_last_buffer_size): New static vars.
871 (__tzset_internal): Time zone names are now permanent, not temporary.
873 1997-07-12 18:47 Ulrich Drepper <drepper@cygnus.com>
875 * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
876 and && in tests to allow use in C++ code which overloads these
877 operators. Reported by Istvan Marko <istvan@cmdmail.amd.com>.
879 1997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com>
881 * login/login.c (tty_name): Test return value of ttyname_r for !=
883 * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
885 * sysdeps/unix/getlogin.c (getlogin): Test return value of
887 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
889 1997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com>
891 * inet/inet_ntoa.c: Prevent looking for thread data key if we found
894 * signal/sigandset.c: Include stddef.h to get NULL defined.
895 * signal/sigisempty.c: Likewise.
896 * signal/sigorset.c: Likewise.
898 1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
900 * posix/execvp.c (execvp): Handle ESTALE.
902 1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu>
904 * libio/fileops.c (_IO_file_underflow): Adjust pointers
905 before calling _IO_SYSREAD ().
907 1997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com>
909 * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
910 Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
912 1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com>
914 * io/lockf.c (lockf): Clear fl before using.
917 * libio/strops.c: Correctly handle _IO_write_end.
919 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
920 panic if setnetgrent wasn't called before, return error.
921 Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
923 * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
925 * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
927 Define tm_diff function as ftime_tm_diff if locally defined.
928 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
930 1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu>
932 * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
933 in cc1. Cpp in gcc doesn't do it.
935 1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
937 * login/login.c (tty_name): Use newly allocated buffer.
938 Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
940 * time/asctime.c: Never translate week and month name according
941 to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>.
943 1997-06-28 20:52 Ulrich Drepper <drepper@cygnus.com>
945 * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
948 1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com>
950 * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
953 1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com>
955 * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
956 defined. Reported by Akim Demaille <demaille@inf.enst.fr>.
958 1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com>
960 * math/math.h: Add warning about use of M_* constants.
963 1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
965 * locale/programs/locale.c: Correct comment.
969 1997-06-20 02:35 a sun <asun@zoology.washington.edu>
971 * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
973 1997-06-19 19:38 Ulrich Drepper <drepper@cygnus.com>
975 * inet/rcmd.c: Correct a few typos. Reported by Erik Troan.
977 * manual/Makefile (distribute): Add dir.
978 * manual/dir: New file.
980 1997-06-19 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
982 * time/tzfile.c (__tzfile_read): Store getc () return in int.
984 1997-06-18 Miles Bader <miles@gnu.ai.mit.edu>
986 * string/Makefile (routines): Add argz-replace.
988 1997-06-12 Miles Bader <miles@gnu.ai.mit.edu>
990 * string/argz.h (__argz_replace, argz_replace): New declarations.
991 * string/argz-replace.c: New file.
993 1997-06-18 00:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
995 * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
996 character read in/put back.
997 * stdio-common/tstscanf.c: Add test case for this.
999 1997-06-18 12:01 Ulrich Drepper <drepper@cygnus.com>
1001 * manual/Makefile (install): Make sure `dir' file exists if we use
1004 1997-06-17 19:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1006 * manual/Makefile (info): Depend on dir-add.info.
1008 1997-06-17 00:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1010 * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
1011 * sysdeps/stub/e_acosl.c: Likewise.
1012 * sysdeps/stub/e_asinl.c: Likewise.
1013 * sysdeps/stub/e_atan2l.c: Likewise.
1014 * sysdeps/stub/e_expl.c: Likewise.
1015 * sysdeps/stub/e_fmodl.c: Likewise.
1016 * sysdeps/stub/e_j0l.c: Likewise.
1017 * sysdeps/stub/e_j1l.c: Likewise.
1018 * sysdeps/stub/e_jnl.c: Likewise.
1019 * sysdeps/stub/e_lgammal_r.c: Likewise.
1020 * sysdeps/stub/e_log10l.c: Likewise.
1021 * sysdeps/stub/e_logl.c: Likewise.
1022 * sysdeps/stub/e_powl.c: Likewise.
1023 * sysdeps/stub/e_rem_pio2l.c: Likewise.
1024 * sysdeps/stub/e_sqrtl.c: Likewise.
1025 * sysdeps/stub/k_cosl.c: Likewise.
1026 * sysdeps/stub/k_rem_pio2l.c: Likewise.
1027 * sysdeps/stub/k_sinl.c: Likewise.
1028 * sysdeps/stub/k_tanl.c: Likewise.
1029 * sysdeps/stub/s_atanl.c: Likewise.
1030 * sysdeps/stub/s_erfl.c: Likewise.
1031 * sysdeps/stub/s_expm1l.c: Likewise.
1032 * sysdeps/stub/s_log1pl.c: Likewise.
1034 1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com>
1036 * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
1039 1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com>
1041 * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
1042 * sysdeps/libm-i387/s_asinhf.S: Likewise.
1043 * sysdeps/libm-i387/s_asinhl.S: Likewise.
1044 * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
1045 * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
1046 * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
1048 1997-06-12 21:22 Ulrich Drepper <drepper@cygnus.com>
1050 * Makefile (manual/dir-add.info): New rule.
1052 * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
1055 * manual/Makefile (dir-add.texi): Also emit wrapper text for
1057 (distribute): Add dir-add.texi and dir-add.info.
1058 (mostlyclean): Add dir-add.info.
1059 (realclean): Add dir-add.texi.
1060 (install): Add entries in `dir' file using install-info.
1062 * manual/libc.texinfo: Add @dircategory and @direntry text.
1063 Reported by Miles Bader <miles@gnu.ai.mit.edu>.
1065 1997-06-12 12:45 Ulrich Drepper <drepper@cygnus.com>
1067 * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
1068 cannot rely on M_SQRT2 being defined. (log1p): Use __M_SQRT2 not
1070 * math/math.h (_Mldbl): Define even if M_* constants are not
1072 Reported by corsepiu@faw.uni-ulm.de.
1074 1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com>
1076 * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
1078 1997-06-11 13:22 Ulrich Drepper <drepper@cygnus.com>
1080 * misc/regexp.h (compile): Allow use of macro INIT for variable
1081 declaration. Add documentation for INIT.
1082 Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
1084 1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com>
1086 * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
1088 1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1090 * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
1091 netinet/icmp.h, add netatalk/at.h.
1092 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
1093 * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
1095 1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com>
1097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
1099 1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com>
1101 * string/argz-addsep.c: Correct weak alias.
1102 Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1104 * locale/setlocale.c (setlocale): Free variable with locale path
1106 (setname): Don't test for _nl_current[category] being NULL before
1108 Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
1110 1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com>
1112 * time/Makefile: Make tzselect depend on config.make.
1114 1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com>
1116 * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
1117 type to `unsigned long int'.
1118 Patch by Richard Henderson <richard@twiddle.rth.home>.
1120 1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1122 * nss/nss_files/files-hosts.c: Delete inclusion of
1123 "../resolv/mapv4v6hostent.h".
1125 1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com>
1127 * libio/libio.h: Define bits for libg++-2.8.
1129 1997-05-30 09:50 Richard Henderson <rth@tamu.edu>
1131 * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
1132 plan on doing so ever again. Don't say alpha-linuxecoff is known
1135 * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This
1136 will last until I figure out how to build a parallel libm_ieee.
1138 * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default
1139 FP mode to round to nearest, no exceptions as for Intel.
1140 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
1141 (rdfpcr): Use excb rather than trapb. Be more efficient about
1142 getting at the fpcr.
1144 (__setfpucw): Reformat.
1146 * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
1147 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1148 * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
1149 sure the stack frame is released the very instruction before the
1151 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1152 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1154 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
1155 have gotten from <linux/posix_types.h>.
1157 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
1159 1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1161 * Makefile (manual/dir-add.texi): Force execution.
1163 1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1165 * stdlib/strfmon.c: Don't run past EOS after `='.
1167 1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com>
1169 Update resolver code to bind-4.9.6-T1A.
1170 * resolv/Banner: Update.
1171 * nss/digits_dots.c: Adapt text address matching to T1A.
1172 * nss/nss_files/files-hosts.c: Always use inet_pton.
1173 * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
1174 it would lead to warnings.
1175 * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
1177 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
1178 * resolv/res_comp.c (dn_expand): Check for overflow.
1179 (dn_comp): Likewise.
1180 * resolv/res_debug.c (precsize_aton): Better implementation.
1181 * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
1182 * resolv/res_send.c (res_send): Check for overflow in descriptor set.
1183 * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
1184 length at several places.
1186 1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1188 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
1191 * login/pty.h: Include <ioctl-types.h> for definition of struct
1194 1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com>
1196 * time/strptime.c (strptime_internal, case 'Y'): Restrict year
1197 number to four digits and to representable range for 4 byte time_t
1199 Patch by H.J. Lu <hjl@lucon.org>.
1201 1997-07-16 Miles Bader <miles@gnu.ai.mit.edu>
1203 * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
1204 than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
1205 Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
1207 1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
1209 * login/login.c (tty_name): Use newly allocated buffer.
1210 Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
1212 * time/asctime.c: Never translate week and month name according
1213 to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>.
1215 1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1217 * hurd/hurdsig.c: Include <hurd/id.h>.
1218 (reauth_proc): Call proc_setowner appropriately too.
1220 1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1222 * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
1223 correct value for _POSIX_VDISABLE.
1225 1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu>
1227 * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
1229 * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
1231 1997-05-26 23:29 Ulrich Drepper <drepper@cygnus.com>
1233 * Net release 2.0.4.
1235 1997-05-26 22:51 Ulrich Drepper <drepper@cygnus.com>
1237 * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
1238 * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
1239 environments in which linking is not possible at configure time
1240 (since te libc is just build).
1241 Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1243 1997-05-26 18:58 Ulrich Drepper <drepper@cygnus.com>
1245 * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
1246 state array only at right place.
1247 Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
1249 * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
1250 [0.5,1.0) but really in [0.0, 1.0).
1251 Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
1253 1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu>
1255 * sysdeps/i386/elf/start.S: Change local label "nofini"
1258 * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
1260 1997-05-25 20:19 Ulrich Drepper <drepper@cygnus.com>
1262 * time/zic.c: Update from tzcode1997e.
1264 * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
1267 1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu>
1269 * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
1272 1997-05-25 00:45 Ulrich Drepper <drepper@cygnus.com>
1274 * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
1276 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1278 * sunrpc/svc.c (svc_register): Change type of protocol parameter to
1281 1997-05-22 05:40 Richard Henderson <rth@tamu.edu>
1283 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
1284 not looking at the new thread-safe .plt, don't be lazy about relocs.
1285 (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
1286 (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
1287 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
1288 elf_machine_runtime_setup() decide if we can actually be lazy.
1289 * elf/rtld.c (_dl_start): So don't call it.
1290 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1291 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
1292 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1293 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1294 * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
1295 * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
1296 * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
1297 skeleton definition.
1299 1997-05-22 18:37 Ulrich Drepper <drepper@cygnus.com>
1301 * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
1304 1997-05-22 17:44 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1306 * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
1309 * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
1312 * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
1314 1997-05-21 17:50 Ulrich Drepper <drepper@cygnus.com>
1316 * version.h (VERSION): Bump to 2.0.4.
1318 * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
1319 and for Linux ld.so.
1320 * login/Makefile (libutil.so): Likewise.
1321 * math/Makefile (libm.so): Likewise.
1322 * md5-crypt/Makefile (libcrypt.so): Likewise.
1323 * nis/Makefile (libnss_%.so): Likewise.
1324 * resolv/Makefile (libnss_dns.so): Likewise.
1326 1997-05-15 16:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1328 * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
1331 1997-05-21 01:52 Ulrich Drepper <drepper@cygnus.com>
1333 * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
1335 * malloc/obstack.c: Include <config.h>. Include <stdlib.h> only
1336 if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
1337 Reported by Ian Taylor <ian@cygnus.com>.
1339 * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
1341 * po/de.po: Updated.
1343 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1345 * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
1347 1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu>
1349 Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
1350 * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
1352 1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1354 * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
1355 msg_add_auth was overflowing it.
1357 1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com>
1359 * time/sys/time.h: Make second argument of setitimer const.
1360 Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1361 * sysdeps/stub/setitimer.c: Likewise.
1362 * sysdeps/mach/hurd/setitimer.c: Likewise.
1364 1997-05-12 21:20 Richard Henderson <rth@tamu.edu>
1366 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
1367 when we can't find the symbol.
1369 1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com>
1371 * posix/regex.c: Fix handling of 32-bit Windog environments.
1372 Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
1374 1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1376 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
1378 1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
1380 * sysdeps/unix/sysv/linux/poll.c: Save errno.
1382 1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com>
1384 * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
1386 1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu>
1388 * sys/ttydefaults.h: Removed.
1390 1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1392 * termios/sys/ttydefaults.h: Delete file.
1393 * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
1395 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
1396 XTABS in TTYDEF_OFLAG.
1397 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
1398 in TTYDEF_OFLAG (which is correct for all existing Linux ports).
1400 1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com>
1402 * posix/TESTS: Add some more tests for character class matching.
1403 * posix/regex.c: Merge with GNU awk version.
1404 (regex_compile): Use ISO C/amend 1 functions for character class
1406 * posix/regex.h: Merge with GNU awk version.
1408 * posix/getopt.c: Declare as master copies.
1409 * posix/getopt1.c: Likewise.
1410 * posix/getopt.h: Likewise.
1412 * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
1413 value to mount functions.
1414 Patch by a sun <asun@zoology.washington.edu>.
1416 1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu>
1418 * sunrpc/svc_run.c (svc_exit): New, defined.
1419 (svc_run): Test for svc_stop variable.
1420 * sunrpc/rpc/svc.h (svc_exit): New, declared.
1422 1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1424 * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
1426 * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
1427 NaN. Fix test for sign of infinite y.
1429 * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
1431 * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
1433 1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1435 * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
1436 * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
1438 1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com>
1440 * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
1441 kernel can return negative values. Only fail when return value is
1442 in range in range which is never returned as valid address.
1443 Patch by Bruno Haible <haible@ilog.fr>.
1445 1997-04-30 17:35 Ulrich Drepper <drepper@cygnus.com>
1447 * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this
1450 * time/strftime.c (add): Respect `0' padding flag.
1451 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
1453 1997-05-01 20:02 Richard Henderson <rth@tamu.edu>
1455 * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
1456 will preserve non-call-saved registers; save and restore a0 across
1458 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
1459 data onto the new thread's stack.
1461 1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com>
1463 * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
1464 * config.make.in: Set cross-compiling from configure result.
1465 * configure.in: Emit definition of `cross_compiling'.
1466 Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1468 1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com>
1470 * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
1471 * sysdeps/libm-i387/e_pow.S: Likewise.
1472 * sysdeps/libm-i387/e_powl.S: Likewise.
1474 1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1476 * malloc/obstack.h (obstack_specify_allocation_with_arg,
1477 obstack_chunkfun, obstack_freefun): Fix casts.
1479 1997-04-26 13:37 Ulrich Drepper <drepper@cygnus.com>
1481 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
1482 not <netinet/icmp.h>.
1483 * inet/netinet/tcp.h: Move to...
1484 * sysdeps/generic/netinet/tcp.h: ...here.
1485 Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1487 1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com>
1489 * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
1490 to command line of compiler.
1491 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
1493 * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
1494 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
1496 * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
1498 Patch by Michael Widenius <monty@tcx.se>.
1500 * time/strptime.c (strptime_internal): Fix %I format specifier
1502 Patch by Mark Kettenis <kettenis@phys.uva.nl>.
1504 1997-04-21 16:28 Ulrich Drepper <drepper@cygnus.com>
1506 * Net release 2.0.3.
1508 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com>
1510 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1511 * stdlib/srand48_r.c: Likewise.
1513 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com>
1515 * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
1516 fpclassify & friends, and complex number operations.
1517 Update various other math functions for ISO C 9X.
1518 * manual/math.texi: Update various entries for ISO C 9X.
1519 Add description for complex number functions.
1520 Add description of rand48 function family.
1521 * manual/string.h: Add description of a64l and l64a.
1523 * math/cmathcalls.h: Fix typo.
1525 * stdlib/a64l.c: Pretty printing.
1527 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
1528 * stdlib/srand48_r.c: Likewise.
1530 1997-04-20 01:28 Richard Henderson <rth@tamu.edu>
1532 * rellns-sh: Handle files in the same directory correctly.
1534 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com>
1536 * csu/initfini.c: Place ALIGN instruction at correct positions.
1537 Patch by Richard Henderson <richard@twiddle.rth.home>.
1539 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com>
1541 * Make-dist: Don't automatically ignore .c files if .S or .s files
1544 * csu/Makefile (distribute): Add defs.awk.
1546 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com>
1548 * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
1549 * sysdeps/stub/shmdt.c: Likewise.
1550 Reported by Thomas Bushnell, n/BSG.
1552 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com>
1554 * sysdeps/unix/sysv/linux/Dist: Rename
1555 sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
1556 Remove sysdeps/sysv/linux/netinet/icmp.h.
1558 * login/utmp.h: Add prototype for updwtmp.
1559 * login/logwtmp.c: Add new function updwtmp which allows to write
1560 a complete record to the wtmp file.
1561 Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
1563 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com>
1565 * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
1566 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1568 1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com>
1570 * csu/initfini.c: Rewrite by Zack Weinberg
1571 <zack@rabi.phys.columbia.edu>.
1572 * csu/Makefile: Add rules for rewrite.
1573 * csu/defs.awk: Helper script to generate derived header.
1575 1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu>
1577 * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
1579 1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com>
1581 * sysdeps/generic/Dist: Remove old math implementation files.
1582 * sysdeps/generic/mathimpl.h: Removed.
1583 * sysdeps/generic/trig.h: Removed.
1584 * sysdeps/generic/sincos.c: Removed.
1585 * sysdeps/generic/asincos.c: Removed.
1586 * sysdeps/generic/exp__E.c: Removed.
1587 * sysdeps/generic/log__L.c: Removed.
1589 1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1591 * malloc/malloc.c (fREe): Small optimization. Before returning,
1592 add fast check whether the heap containing top can go away.
1594 1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1596 * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
1597 failing to allocate a new chunk, also try the main_arena. It may
1598 be that we are only running out of mmapped regions, and other
1599 arenas cannot be enlarged sufficiently.
1600 (new_heap, malloc_extend_top): Handle top_pad more consistently,
1601 i.e. only in new_heap().
1603 1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com>
1605 * time/strftime.c (memset_space): Increment pointer.
1606 * time/strptime.c: Interpret year number 00-59 as 2000--2059.
1607 Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
1609 1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com>
1611 * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
1613 * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only
1615 * sysdeps/libm-ieee754/s_floorl.c: Likewise.
1617 * po/pl.po: Updated.
1619 * string/swab.c: Correctly handle array of odd length.
1621 * manual/string.texi: Correct prototype in memmem documentation.
1623 1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1625 * manual/Makefile (dir-add.texi): Simplify.
1627 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com>
1629 * rellns-sh: Rewrite to work also in presence of symlinks.
1631 * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
1632 Reported by Greg McGary <gkm@eng.ascend.com>.
1634 * manual/libc.texinfo: Update malloc documentation for new malloc.
1635 * manual/memory.texi: Likewise.
1636 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1638 * stdlib/erand48_r.c (erand48_r): Build double value using
1639 ieee754_double union and use random bits in different order to
1640 increase effect of seed.
1641 Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
1643 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
1645 * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
1648 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com>
1650 * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
1652 Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
1654 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu>
1656 * posix/getopt.c (_getopt_initialize): Preserve optind.
1657 (_getopt_internal): Set optind to 1 if optind == 0 before
1658 calling _getopt_initialize ().
1660 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
1662 * libio/fileops.c (_IO_file_overflow): Set error when try to write
1663 on a read-only stream.
1665 * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1666 (ut_time): Define it only if _NO_UT_TIME is not defined.
1668 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com>
1670 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
1671 get definition of sa_family_t for <linux/atalk.h>.
1672 Reported by a sun <asun@zoology.washington.edu>.
1674 * malloc/malloc.c (cALLOc): Little optimization.
1676 1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com>
1678 * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write
1679 headers but instead add comments and parameter names.
1680 Don't use BSD specific types in prototypes.
1682 * manual/nss.texi: Correct a few typos and errors.
1684 1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1686 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
1687 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1689 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
1690 TAB3, if one of them is defined.
1692 1997-03-24 19:58 Richard Henderson <rth@tamu.edu>
1694 * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
1696 1997-03-25 02:15 Ulrich Drepper <drepper@cygnus.com>
1698 * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
1699 clearenv a weak alias.
1701 * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
1702 of type clashes. Add all definitions here.
1704 * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according
1706 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1707 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1709 * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
1711 * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
1712 use of kernel types.
1714 1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com>
1716 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
1717 Correct typos. Reported by a sun <asun@zoology.washington.edu>.
1719 1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1721 * Makeconfig (all): Make sure this is always the default goal.
1723 1997-03-24 23:14 Ulrich Drepper <drepper@cygnus.com>
1725 * sysdeps/i386/huge_val.h: Remove references to byte order macros.
1726 Don't include <endian.h>.
1728 1997-03-19 15:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1729 * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
1730 Don't include <endian.h>.
1732 1997-03-24 23:09 Ulrich Drepper <drepper@cygnus.com>
1734 * inet/rcmd.c (iruserok): Use access instead of euidaccess.
1736 1997-03-24 15:31 Ulrich Drepper <drepper@cygnus.com>
1738 * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
1741 1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com>
1743 * hurd/Makefile (sunrpc-headers): Add clnt.h.
1744 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1746 1997-03-24 02:34 Ulrich Drepper <drepper@cygnus.com>
1748 * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
1749 by 31 positions to get 0/1 result.
1750 Patch by Joe Keane <jgk@jgk.org>.
1752 1997-03-23 12:15 H.J. Lu <hjl@gnu.ai.mit.edu>
1754 * posix/getopt.c (__getopt_nonoption_flags): Make it extern
1755 to prevent from ld linking in getopt.o even if there is another
1758 * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
1760 1997-03-20 20:22 H.J. Lu <hjl@gnu.ai.mit.edu>
1762 * Makerules (depfiles): Remove $(test-srcs).
1764 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
1766 * libio/fileops.c (_IO_file_overflow): Set error when try to write
1767 on a read-only stream.
1769 * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
1770 (ut_time): Define it only if _NO_UT_TIME is not defined.
1772 1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu>
1774 * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
1777 1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com>
1779 * Makefile: Add rule to easily generate dir-add.texi file.
1780 * manual/Makefile: Likewise.
1782 1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu>
1784 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1785 (sysdep_headers): Remove netinet/icmp.h.
1787 1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com>
1789 * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic
1790 adjustment if the underlying function say it is too small.
1791 * pwd/fgetpwent.c: Likewise.
1792 * shadow/fgetspent.c: Likewise.
1793 * shadow/sgetspent.c: Likewise.
1795 * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
1796 this means there was not enough room for the gr_mem array.
1798 * nss/nss_files/files-XXX.c: Leave loop and return error if
1799 `parse_result' returns -1.
1801 * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
1802 of trailing list fails because of low memory.
1803 (parse_list): Rewrite. The logic was completly incorrect since
1804 the checks for overflowing the array were not executed when
1807 * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
1810 * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
1811 * nss/getXXent.c: Likewise.
1813 1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com>
1815 * manual/errno.texi: Add description of strerror_r.
1817 1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu)
1819 * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
1821 1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com>
1823 * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
1825 1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1827 * stdlib/stdlib.h: Declare __clearenv.
1829 1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1831 * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
1834 1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1836 * configure.in: Call AC_CANONICAL_BUILD before referencing
1837 $build. Fix test for BUILD_CC.
1839 1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com>
1841 * sysdeps/i386/memset.c: Fix typo.
1842 * sysdeps/stub/fchmod.c: Fix typo.
1843 * sysdeps/stub/fchdir.c: Fix typo.
1844 Reported by Fila Kolodny <fila@ibi.com>.
1846 * time/time.h (strftime): Remove __restrict in declaration.
1848 1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com>
1850 * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
1851 syntax for local label.
1852 * sysdeps/i386/add_n.S: Use correct local label syntax for the
1854 * sysdeps/i386/addmul_1.S: Likewise.
1855 * sysdeps/i386/lshift.S: Likewise.
1856 * sysdeps/i386/memchr.S: Likewise.
1857 * sysdeps/i386/memcmp.S: Likewise.
1858 * sysdeps/i386/mul_1.S: Likewise.
1859 * sysdeps/i386/rshift.S: Likewise.
1860 * sysdeps/i386/stpcpy.S: Likewise.
1861 * sysdeps/i386/stpncpy.S: Likewise.
1862 * sysdeps/i386/strchr.S: Likewise.
1863 * sysdeps/i386/strcspn.S: Likewise.
1864 * sysdeps/i386/strlen.S: Likewise.
1865 * sysdeps/i386/strpbrk.S: Likewise.
1866 * sysdeps/i386/strrchr.S: Likewise.
1867 * sysdeps/i386/strspn.S: Likewise.
1868 * sysdeps/i386/strtok.S: Likewise.
1869 * sysdeps/i386/sub_n.S: Likewise.
1870 * sysdeps/i386/submul_1.S: Likewise.
1871 * sysdeps/i386/i486/strcat.S: Likewise.
1872 * sysdeps/i386/i486/strlen.S: Likewise.
1873 * sysdeps/i386/i586/add_n.S: Likewise.
1874 * sysdeps/i386/i586/addmul_1.S: Likewise.
1875 * sysdeps/i386/i586/lshift.S: Likewise.
1876 * sysdeps/i386/i586/memset.S: Likewise.
1877 * sysdeps/i386/i586/mul_1.S: Likewise.
1878 * sysdeps/i386/i586/rshift.S: Likewise.
1879 * sysdeps/i386/i586/strchr.S: Likewise.
1880 * sysdeps/i386/i586/strlen.S: Likewise.
1881 * sysdeps/i386/i586/sub_n.S: Likewise.
1882 * sysdeps/i386/i586/submul_1.S: Likewise.
1884 * time/africa: Updated from ADO tzdata1997e.
1885 * time/antarctica: Likewise.
1886 * time/asia: Likewise.
1887 * time/australasia: Likewise.
1888 * time/europe: Likewise.
1889 * time/northamerica: Likewise.
1890 * time/southamerica: Likewise.
1891 * time/private.h: Updated from ADO tzcode1997d.
1892 * time/scheck.c: Likewise.
1894 1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com>
1896 * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses
1897 thread-specific memory in multi-threaded programs.
1899 * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
1900 * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
1901 Suggested by a sun <asun@zoology.washington.edu>.
1903 1997-03-30 14:53 Ulrich Drepper <drepper@cygnus.com>
1905 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
1906 of <netinet/icmp.h>.
1907 Patch by a sun <asun@zoology.washington.edu>.
1909 1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com>
1911 * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
1912 before using system.
1913 * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
1916 1997-03-27 02:28 Ulrich Drepper <drepper@cygnus.com>
1918 * inet/rexec.c: Make string parameters `const'.
1919 * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
1922 * posix/glob.h: Add declaration for glob_pattern_p.
1923 * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
1924 make glob_pattern_p a weak alias. This function is used in other
1925 packages (e.g. bash).
1927 * signal/Makefile (routines): Add sigisempty, sigandset, and
1929 * signal/signal.h: Add prototypes for sigisempty, sigandset, and
1931 * signal/sigisempty.c: New file.
1932 * signal/sigandset.c: New file.
1933 * signal/sigorset.c: New file.
1934 * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
1936 * sysdeps/unix/sysv/linux/sigset.h: Likewise.
1938 * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
1939 ip_icmp.h. Reported by HJ Lu.
1941 1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1943 * grp/grp.h: Include <stddef.h> only once.
1945 1997-03-20 17:56 Ulrich Drepper <drepper@cygnus.com>
1947 * version.h (VERSION): Bump to 2.0.3.
1949 1997-03-25 23:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1951 * Makerules (BUILD_CFLAGS): Fix reference to config file.
1953 1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com>
1955 * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
1957 Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
1959 1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com>
1961 * Net release 2.0.2.
1963 1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com>
1965 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
1967 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1968 * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
1969 of Sun Dec 15 16:33:44 1996.
1970 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1972 1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com>
1974 * Makefile (distribute): Add BUGS.
1976 * sysdeps/generic/machine-gmon.h: Update copyright.
1978 * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
1980 * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
1981 use regparam mechanism for call of `fixup' call.
1982 * sysdeps/i386/Dist: New file.
1983 * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point.
1984 * sysdeps/i386/machine-gmon.h: New file. i386 specific version
1985 of gmon definitions.
1987 1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de>
1989 * stdlib/tst-strtol.c (main): Save the value of errno since printf
1990 may modify it, use the saved errno everywhere.
1991 * stdlib/tst-strtod.c (main): Likewise.
1993 1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com>
1995 * posix/glob.c (glob): Fix completely broken handling of
1996 GLOB_BRACE and partly broken handling of GLOB_TILDE.
1997 Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
1999 1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com>
2001 * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
2002 UIO_FASTIOV value by multiple readv calls since we need atomicity.
2003 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2004 Reported by Matthis Urlichs.
2006 1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com>
2008 * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
2009 macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
2010 which clobbers %eax.
2012 * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
2013 crtbegin.o/crtend.o, using gcc to find them.
2016 1997-03-20 00:06 Richard Henderson <rth@tamu.edu>
2018 * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
2019 affect the alignment, and therefore the end padding of the structs.
2020 Reported by David Mosberger <davidm@azstarnet.com>.
2021 * gmon/gmon.c: Declare the variables with aligned tags to compensate.
2022 Use __writev instead of write for the I/O.
2024 * misc/sys/uio.h: Declare __writev and __readv.
2025 * sysdeps/posix/readv.c: Rename and alias readv to __readv.
2026 * sysdeps/posix/writev.c: Likewise for writev.
2027 * sysdeps/stub/readv.c: Likewise.
2028 * sysdeps/stub/writev.c: Likewise.
2029 * sysdeps/unix/syscalls.list: Likewise.
2030 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2031 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2033 * stdlib/testdiv.c: Exit with error status when we have an error.
2034 * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
2035 * sysdeps/alpha/ldiv.S: Likewise.
2037 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
2039 1997-03-20 04:21 Ulrich Drepper <drepper@cygnus.com>
2041 * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
2044 * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
2045 Future releases will have this function.
2046 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2047 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2050 1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com>
2052 * setjmp/setjmp.h: Change references of ANSI C to ISO C.
2053 * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
2054 `__sigsetjmp' in PIC code.
2055 * sysdeps/i386/bsd-setjmp.S: Likewise.
2057 * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
2059 * sysdeps/libm-i387/e_powf.S: Likewise.
2060 * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
2061 case since expm1(-0) == -0.
2062 * sysdeps/libm-i387/s_expm1f.S: Likewise.
2063 * sysdeps/libm-i387/s_expm1l.S: Likewise.
2064 * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
2065 access to FP number.
2066 * sysdeps/libm-ieee754/s_modff.c: Likewise.
2067 * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
2068 code. It never worked correctly.
2069 * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
2070 case since tanh(-0) == -0.
2071 * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
2072 * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
2074 1997-03-19 21:13 Ulrich Drepper <drepper@cygnus.com>
2076 * time/Makefile: Correct dependencies for test-tz.
2078 * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for
2079 UIO_FASTIOV and set to 8 if not available.
2080 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2083 * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
2085 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2086 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2087 Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
2089 1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
2091 * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
2093 * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
2095 * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
2097 * sysdeps/unix/sysv/Dist: Add direct.h.
2099 * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
2101 * Make-dist ($(tardir).tar): Prefer writing temporary file to
2102 $TMPDIR is available. The default is /tmp.
2104 * sysdeps/generic/ip.h: Move to...
2105 * sysdeps/generic/netinet/ip.h: ...here.
2107 * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
2108 is placed in wrong place on the stack.
2109 Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
2111 1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
2113 * time/offtime.c (__offtime): Change type of `yg' to long int.
2114 Reported by a sun <asun@zoology.washington.edu>.
2116 1997-03-18 23:09 a sun <asun@zoology.washington.edu>
2118 * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2119 2.2.0 to prevent version mismatch.
2121 1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
2123 * Make-dist (srcs): Add $(test-srcs).
2124 * MakeTAGS (all-sources): Likewise.
2125 * Makerules (depfiles, common-mostlyclean): Likewise.
2126 * Rules (tests): Likewise.
2128 1997-03-18 05:28 Roland McGrath <roland@frob.com>
2130 * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2132 1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
2134 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2135 protocol=NULL to match any protocol rather than returning an
2138 1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
2140 * nss/nss_files/files-service.c (servbyname): Match any protocol
2143 1997-03-18 05:15 Ulrich Drepper <drepper@cygnus.com>
2145 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2146 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2147 Proposed by Thomas Bushnell, n/BSG.
2149 1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
2151 * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2152 the buffer for replacement.
2154 1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
2156 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2157 sys_lstat and sys_stat.
2159 1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2161 * mach/devstream.c (output/write_some): Don't try and write more
2162 than IO_INBAND_MAX in a single call to device_write_inband.
2164 1997-03-17 04:00 Ulrich Drepper <drepper@cygnus.com>
2166 * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2168 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2169 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2171 * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2174 1997-03-16 18:43 Ulrich Drepper <drepper@cygnus.com>
2176 * manual/filesys.texi: Add documentation for scandir and alphasort.
2177 * manual/examples/dir2.c: New example for scandir.
2179 * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values.
2180 * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values.
2181 * sysdeps/ieee754/huge_val.h: Remove definition of long double
2182 definition. Make it the same as the double definition.
2184 * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2185 * sysdeps/libm-i387/e_acosf.S: Likewise.
2186 * sysdeps/libm-i387/e_acosl.S: Likewise.
2187 * sysdeps/libm-i387/e_asin.S: Likewise.
2188 * sysdeps/libm-i387/e_asinf.S: Likewise.
2189 * sysdeps/libm-i387/e_asinl.S: Likewise.
2190 * sysdeps/libm-i387/e_exp.S: Likewise.
2191 * sysdeps/libm-i387/e_expf.S: Likewise.
2192 * sysdeps/libm-i387/e_expl.S: Likewise.
2193 * sysdeps/libm-i387/s_scalbn.S: Likewise.
2194 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2195 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2197 * sysdeps/libm-i387/e_log.S: Optimize branch code.
2198 * sysdeps/libm-i387/e_logf.S: Likewise.
2199 * sysdeps/libm-i387/e_logl.S: Likewise.
2200 * sysdeps/libm-i387/e_log10.S: Likewise.
2201 * sysdeps/libm-i387/e_log10f.S: Likewise.
2202 * sysdeps/libm-i387/e_log10l.S: Likewise.
2204 * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2205 * sysdeps/libm-i387/e_powf.S: Likewise.
2206 * sysdeps/libm-i387/e_powl.S: Likewise.
2208 * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2210 * sysdeps/libm-i387/s_expm1f.S: Likewise.
2211 * sysdeps/libm-i387/s_expm1l.S: Likewise.
2213 * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2215 * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first
2216 stack element after fxtract.
2218 * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double'
2219 implementation for atan2 function.
2221 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2222 _SVID_ mode when acos, asin, atan2, log, log10 is called with
2223 argument out of range.
2224 Add new error case for pow(+0,neg).
2226 * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2227 * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2228 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2230 * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2233 * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2235 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2236 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2238 * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2240 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2241 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2243 * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
2245 * sysdeps/stub/fcntlbits.h: Update copyright.
2246 * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2247 * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2248 * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2249 * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2250 * sysdeps/unix/common/fcntlbits.h: Likewise.
2251 * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias
2252 of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
2254 * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2256 * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
2259 * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
2261 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2263 * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
2265 * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level
2266 struct stat to user-level form.
2267 * sysdeps/unix/sysv/linux/lxstat: New file.
2268 * sysdeps/unix/sysv/linux/xstat: New file.
2269 * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
2271 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
2272 to use prescribed types for elements.
2273 (_STAT_VER): Change to value 3.
2274 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2275 * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
2276 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2278 * time/Makefile: Correct dependencies for test-tz.
2280 * sysdeps/generic/sys/mman.h (msync): Add third parameter.
2282 1997-03-16 15:02 a sun <asun@zoology.washington.edu>
2284 * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
2286 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2288 1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com>
2290 * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
2291 without testing for last_bfp to be NULL.
2292 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2294 1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de>
2296 * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
2297 (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC.
2299 1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com>
2301 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
2302 functions. Compare result for correct address type.
2303 (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
2304 * nss/nss_files/files-hosts.c: Likewise.
2305 Reported by Mirko Streckenbach <mirko@marian.hil.de>.
2307 1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr>
2309 * time/strptime.c (recursive): Return rp to caller.
2310 (strptime_internal): First check for long names, then abbreviated
2313 1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2315 * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
2316 1900 from year, regardless of century.
2318 1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com>
2320 * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
2321 all numbers unsigned to make buggy gccs happy.
2322 Patch by Bryan W. Headley <bheadley@interaccess.com>.
2324 * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
2325 definitions. Patch by a sun <asun@zoology.washington.edu>.
2326 Pretty print header.
2328 * Makerules (build-shlib): Also create symlink if library is versioned.
2329 Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
2330 Remove special rule to libc.so symlink.
2332 1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com>
2334 * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
2335 return values for acos, asin, and atan2.
2336 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2338 1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2340 * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
2342 1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2344 * dirent/alphasort.c (alphasort): Interpret arguments as pointers
2345 to pointers to directory entries so that alphasort really can be
2346 used as argument for scandir.
2348 1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de>
2350 * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
2353 1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com>
2355 * catgets/catgets.c (catopen): Always add NLSPATH to search path for
2356 catalogs, not only if the envvar NLSPATH is not available.
2357 Reported by Andries.Brouwer@cwi.nl.
2359 1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com>
2361 * Makeconfig (localtime-file): Don't define using installation
2363 (inst_localtime-file): New variable.
2364 * time/Makefile (installed-localtime-file): Use inst_localtime-file.
2365 Reported by Edward Seidl <seidl@janed.com>.
2367 1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu>
2369 * time/Makefile: Add source files to dependencies for test data.
2371 1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2373 * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
2374 * nis/nss_nis/nis-proto.c: Likewise.
2375 * nis/nss_nis/nis-rpc.c: Likewise.
2376 * nis/nss_nis/nis-service.c: Likewise.
2378 1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2380 * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
2381 euidaccess weak alias.
2383 1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2385 * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
2387 * sysdeps/generic/sys/mman.h (msync): Mention third arg.
2389 1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2391 * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration.
2393 * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
2396 * mach/mach_error.c (mach_error_string_int): Give full prototype.
2397 * mach/errstring.c (mach_error_string_int): Likewise.
2398 * mach/error_compat.c (__mach_error_map_compat): Likewise.
2399 * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
2400 * stdio/vasprintf.c (vasprintf): Likewise.
2402 * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
2404 * mach/spin-solid.c: Include <mach/mach_traps.h>.
2405 * mach/spin-solid.c (__spin_lock_solid): Provide arg to
2408 * mach/mach_init.c: Include <mach/mig_support.h>.
2410 * mach/mach_error.h (mach_error_string, mach_error,
2411 mach_error_type): Always provide prototypes.
2413 * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
2414 appears to be entirely unused dead code.
2416 1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu>
2418 * string/argz.h (__need_error_t): New macro, before including <errno.h>
2419 [!__const] (__const): New macro.
2420 [!__error_t_defined] (error_t): New typedef.
2422 1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com>
2424 * posix/unistd.h: Add prototype for __euidaccess.
2425 * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
2426 euidaccess weak alias.
2427 * sysdeps/stub/euidaccess.c: Likewise.
2428 * inet/rcmd.c: Use __ protected versions of non-standard functions.
2430 * locale/programs/localedef.c: Don't use LOCALE_PATH to find
2431 binary locale files. Use LOCALEDIR only.
2432 * locale/programs/locfile.c: When named file not found and not
2433 absolute use path in I18NPATH.
2435 * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
2436 and AF_FILE as synonym for AF_LOCAL.
2437 * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
2439 * time/Makefile: Rewrite rules for test to handle parallel builds.
2441 1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com>
2443 * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by
2444 robbe@orcus.priv.at.
2446 1997-03-09 05:10 Edward Seidl <seidl@janed.com>
2448 * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
2451 1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com>
2453 * elf/link.h: Include <features.h>.
2454 Patch by Andreas Jaeger <aj@arthur.pfalz.de>.
2456 1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de>
2458 Rewrite NIS code to allow empty keys.
2459 * nis/nss_nis/nis-ethers.c: Rewritten.
2460 * nis/nss_nis/nis-proto.c: Rewritten.
2461 * nis/nss_nis/nis-publickey.c: Rewritten.
2462 * nis/nss_nis/nis-rpc.c: Rewritten.
2463 * nis/nss_nis/nis-service.c: Rewritten.
2465 1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de>
2467 * time/scheck.c (scheck): Add extra const to second argument.
2469 * time/private.h: Correct prototypes to match definition.
2471 1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com>
2473 * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
2474 switching of UID before opening .rhosts.
2476 * posix/regex.c: Merge with regex sources from Arnold Robbins'
2478 * posix/regex.h: Likewise.
2480 Add regex test suite by Tom Lord.
2481 * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
2482 (tests): Add runtests.
2483 (before-compile): Add testcases.h.
2484 (testcases.h): New rule to generate header with tests.
2485 * posix/TESTS: New file.
2486 * posix/TESTS2C.sed.: New file.
2487 * posix/runtests.c: New file.
2488 * posix/testcases.h: New file.
2490 * time/ialloc.c: Update from tzcode1997c.
2491 * time/private.h: Likewise.
2492 * time/scheck.c: Likewise.
2493 * time/tzselect.ksh: Likewise.
2494 * time/zdump.c: Likewise.
2495 * time/zic.c: Likewise.
2497 * time/tzfile.c: Pretty print.
2499 1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au>
2501 * stdio-common/vfscanf.c: Use __va_copy if available.
2503 1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2505 * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
2508 1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com>
2510 * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
2511 kernel-level sigaction structure is different. handle this
2513 Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
2515 1997-03-06 05:55 David Engel <david@sw.ods.com>
2517 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
2518 recognize cache entries with flag == 3.
2520 1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com>
2522 * time/antarctica: Update from tzdata1997c.
2523 * time/asia: Likewise.
2524 * time/zone.tab: Likewise.
2526 1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2528 * sysdeps/m68k/fpu/__math.h: Update feature tests.
2529 (fabs): Remove defininition, it is a gcc builtin.
2530 (sqrt, __sqrt): Remove definition, they have wrappers in libm.
2532 1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com>
2534 * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
2535 instead to avoid namespace problems.
2536 Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
2538 1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
2540 * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
2541 falling back to select-based implementation if syscall isn't
2543 * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
2545 * time/leapseconds: Update from tzdata1997b.
2546 * time/zic.c: Update from tzcode1997b.
2548 1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2550 * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
2551 depedencies between installed $(tzlinks) and $(tzbases) files.
2553 1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2555 * math/math.h: Make compatible with traditional preprocessor;
2556 requires carefull placement of whitespace in macro arguments.
2557 Use __CONCAT instead of ##.
2558 Declare long double functions only if __STDC__ or __GNUC__.
2559 * math/mathcall.h: Avoid whitespace before argument of macro call
2560 that is used as function name.
2562 * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
2563 (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
2564 of __NO_M81_MATH_INLINES.
2565 [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
2566 starting with __ieee754.
2567 [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
2568 functions as inlines.
2569 (__m81_defun): Put __attribute__ between return type and function
2571 * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
2573 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
2574 instead of __NO_M81_MATH_INLINES.
2575 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2576 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2577 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2578 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2579 * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
2580 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2581 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2582 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2583 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2584 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2586 1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
2588 * stdlib/strtod.c (STRTOF): Make sure return value is large enough
2589 so that clearing second word is necessary.
2591 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
2592 header since it is wrong for 64 bit systems.
2593 Patch by a sun <asun@zoology.washington.edu>.
2595 1997-02-27 10:34:11 Richard Henderson <rth@tamu.edu>
2597 * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
2598 and OSF/1 style brk syscalls. We may want to change Linux/Alpha
2599 for the benefit of running foreign binaries.
2601 1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com>
2603 * manual/Makefile: Add rules to run and distribute xtract-typefun.
2604 * manual/xtract-typefun.awk: New file. Script to extract function,
2605 variable, macro anchor to put into the `dir' file.
2607 * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
2608 exponent before comparing.
2610 1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com>
2612 * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
2613 prototypes to use types with explicit width. `unsigned long' is
2614 different on 64 bit systems.
2615 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2616 * sysdeps/generic/htonl.c: Likewise.
2617 * sysdeps/generic/htons.c: Likewise.
2618 * sysdeps/generic/ntohl.c: Likewise.
2619 * sysdeps/generic/ntohs.c: Likewise.
2620 Suggested by a sun <asun@zoology.washington.edu>.
2622 1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de>
2624 * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
2625 defined and we want optimization.
2627 1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2629 * misc/getpass.c: Don't disable canonical input.
2630 Reverted patch of Mon Jan 6 01:35:29 1997.
2632 1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2634 * libio/libioP.h (_IO_finish_t): Take additional parameter, to
2635 match the hidden __in_chrg parameter of the destructor.
2636 (_IO_FINISH): Pass zero for it.
2637 * libio/genops.c (_IO_default_finish): Add second parameter, which
2639 * libio/memstream.c (_IO_mem_finish): Likewise.
2640 * libio/fileops.c (_IO_file_finish): Likewise.
2641 * libio/strops.c (_IO_str_finish): Likewise. All callers changed.
2643 1997-02-27 00:23 H.J. Lu <hjl@lucon.org>
2645 * time/Makefile: Avoid using patterns in dependencies.
2647 1997-02-26 03:28 Ulrich Drepper <drepper@cygnus.com>
2649 * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2651 1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com>
2653 * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
2654 word on stack for overflow.
2656 1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2658 * malloc/malloc.c (malloc_get_state): New function.
2659 Saves global malloc state to an opaque data structure which
2660 is dynamically allocated in the heap.
2661 * malloc/malloc.c (malloc_set_state): New function.
2662 Restore previously obtained state.
2663 * malloc/malloc.h: Add declaration of malloc_get_state()
2664 and malloc_set_state().
2666 1997-02-24 23:29 Ulrich Drepper <drepper@cygnus.com>
2668 * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
2671 1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com>
2673 * misc/error.c: Make error and error_at_line weak aliases of
2674 __error and __error_at_line respectively.
2675 Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
2677 1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2679 * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
2680 time-era-num-entries.
2682 1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu>
2684 * glibcbug.in: Don't mention destination on MAIL_AGENT command line
2685 to avoid duplicate mail.
2687 1997-02-23 02:32 Ulrich Drepper <drepper@cygnus.com>
2689 * stdio-common/vfprintf.c (printf_unknown): Correct printing of
2692 1997-02-23 04:38 Ulrich Drepper <drepper@cygnus.com>
2694 * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
2695 sign in the strtouXX functions. The results gets simply negated.
2696 * stdlib/tst-strtol.c: Correct tests.
2698 1997-02-22 03:02 Ulrich Drepper <drepper@cygnus.com>
2700 * math/math.h: Prevent definition of struct exception when using
2703 1997-02-22 01:46 Ulrich Drepper <drepper@cygnus.com>
2705 * sysdeps/unix/syscalls.list: Dup takes only one argument.
2706 Reported by Greg McGary.
2708 1997-02-21 00:22 Miles Bader <miles@gnu.ai.mit.edu>
2710 * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
2711 than file_get_translator.
2713 * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
2714 (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
2716 1997-02-20 01:28 Miles Bader <miles@gnu.ai.mit.edu>
2718 * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
2719 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2721 1997-02-19 13:56 Miles Bader <miles@gnu.ai.mit.edu>
2723 * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
2726 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
2727 now instead of a weak extern, as some old programs expect it to be
2730 1997-02-18 15:39 Miles Bader <miles@gnu.ai.mit.edu>
2732 * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
2734 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
2735 __hurd_threadvar_stack_offset): Restore initialized versions, so
2736 startup works correctly.
2738 * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
2740 1997-02-17 10:58 Miles Bader <miles@gnu.ai.mit.edu>
2742 * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
2743 not __mutex_try_lock.
2744 (tsd_setspecific): Cast DATA to (unsigned long) before storing.
2745 (tsd_getspecific): Case variable to (void *) before returning.
2747 * hurd/hurdinit.c (__libc_argv): Remove extern.
2748 (__libc_argc): New variable.
2750 1997-02-15 10:23 Miles Bader <miles@gnu.ai.mit.edu>
2752 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2753 _HURD_THREADVAR_MALLOC.
2755 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2756 (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
2758 (mutex_t): Type removed & replaced by new macro.
2759 (tsd_key_t): Typedef to int instead of pthread_key_t.
2760 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2761 (__pthread_initialize): New macro, work around assumption of pthreads.
2762 (tsd_keys_alloced): New static variable.
2763 <hurd/threadvar.h>: New include.
2765 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
2766 (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
2767 defined before using it.
2769 * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
2771 * hurd/hurdinit.c (__libc_argv): Make extern.
2773 * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
2774 (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
2776 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
2777 __hurd_threadvar_stack_offset,
2778 __hurd_threadvar_stack_mask): New variables.
2779 * hurd/hurdsig.c (__hurd_sigthread_stack_base,
2780 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2781 New variables (moved here from hurdstartup.c).
2782 * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
2783 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
2784 Variables removed (moved to hurdsig.c).
2785 (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
2786 __hurd_threadvar_stack_mask): Variables removed.
2787 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2788 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
2789 __hurd_threadvar_max, __hurd_threadvar_stack_offset,
2790 __hurd_threadvar_stack_mask): Variables removed.
2792 1997-02-14 14:07 Miles Bader <miles@gnu.ai.mit.edu>
2794 * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
2798 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
2799 (mutex_t): Type removed.
2800 (mutex_t): New macro.
2801 (mutex_trylock): New macro.
2802 (__x_mutex_lock, __x_mutex_unlock): New functions.
2803 (mutex_lock, mutex_unlock): New macros, redefining the behavior of
2804 the cthread definitions.
2805 (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
2806 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
2807 (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
2808 (__pthread_initialize): New macro, work around assumption of pthreads.
2810 1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com>
2812 * sysdeps/generic/netinet/in.h: Protect contents using
2813 __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.edu>.
2815 * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
2816 * inet/Makefile (headers): Remove net/ethernet.h.
2817 * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
2818 * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
2820 1997-02-20 19:19 Ulrich Drepper <drepper@cygnus.com>
2822 * sysdeps/unix/mman/syscalls.list: Explain msync interface.
2823 * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
2825 1997-02-19 01:37 Erik Troan <ewt@redhat.com>
2827 * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
2829 1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de>
2831 * stdio-common/test-fseek.c: Remove temporary file, add
2834 1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com>
2836 * string/strxfrm.c (STRCOLL): Correct handling of `position'
2837 levels with no non-IGNOREd element and handling of NUL byte.
2838 * string/strcoll.c (STRXFRM): Likewise.
2839 * locale/weight.h: Likewise.
2841 * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
2843 1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com>
2845 * locale/programs/locale.c: Check whether output of `locale -a'
2846 really is locale directory. Also print locale aliases.
2848 1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com>
2850 * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
2851 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2853 1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com>
2855 * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
2856 additional argument.
2858 1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com>
2860 * inet/net/ethernet.h: New file.
2861 * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
2862 * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
2863 Contributed by a sun <asun@zoology.washington.edu>.
2865 * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
2866 * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
2867 Reported by a sun <asun@zoology.washington.edu>.
2869 1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com>
2871 * stdio-common/bug10.c (main): Correct parameter.
2873 * string/strcoll.c: Update copyright.
2875 1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com>
2877 * malloc/obstack.h: Add `extern "C"' protection.
2878 * posix/regex.h: Likewise.
2879 * io/ftw.h: Likewise.
2880 * misc/libgen.h: Likewise.
2881 * login/utmp.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
2883 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2884 * sunrpc/rpc/pmap_rmt.h: Likewise.
2885 * sunrpc/rpc/auth_des.h: Likewise.
2886 * elf/link.h: Likewise.
2887 * inet/netinet/ether.h: Likewise.
2890 1997-02-17 01:45 a sun <asun@zoology.washington.edu>
2892 Linux specific network headers.
2893 * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
2894 * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
2895 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
2896 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
2897 * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
2898 * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
2899 * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
2900 * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
2901 * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
2902 * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
2903 * sysdeps/unix/sysv/linux/Dist: Add new network headers.
2904 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2906 [$(subdir)=inet] (sysdep_headers): Add new network header.
2908 * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
2909 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2911 * inet/netinet/ip.h: Move to sysdeps/generic.
2913 1997-02-16 13:15 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
2915 * inet/netinet/ip.h: Add protection.
2917 1997-02-17 01:18 Ulrich Drepper <drepper@cygnus.com>
2919 * misc/sys/syslog.h (prioritynames): Correct definition to use
2920 braces where necessary.
2921 (facilitynames): Likewise.
2922 Patch by Ronald F. Guilmette <rfg@monkeys.com>.
2923 Comment and beautify declarations.
2925 1997-02-16 03:54 Ulrich Drepper <drepper@cygnus.com>
2927 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
2928 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2930 1997-02-16 03:48 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2932 * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
2933 _nss_nis_gethostton_r.
2934 (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
2936 1997-02-16 02:45 Ulrich Drepper <drepper@cygnus.com>
2938 * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
2939 length of abs_filename.
2941 1997-02-15 22:37 Andy Berkheimer <andy@tho.org>
2943 * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
2944 trying to resolv name as numeric IPv6 address.
2945 * nss/digits_dots.c: Likewise.
2947 1997-02-13 22:32 Ulrich Drepper <drepper@cygnus.com>
2949 * locale/programs/localedef.c: Implement --quiet option.
2950 * locale/programs/charset.h: Declare be_quiet variable.
2951 * locale/programs/locfile.h: Likewise.
2952 * locale/programs/charmap.c: Don't print warnings if quiet option
2954 * locale/programs/ld-collate.c: Likewise.
2955 * locale/programs/ld-ctype.c: Likewise.
2956 * locale/programs/ld-messages.c: Likewise.
2957 * locale/programs/ld-monetary.c: Likewise.
2958 * locale/programs/ld-numeric.c: Likewise.
2959 * locale/programs/ld-time.c: Likewise.
2960 * locale/programs/locfile.c: Likewise.
2962 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
2964 * stdlib/qsort.c: Add prototype for _quicksort.
2966 * stdlib/msort.c (qsort): Correct prototype for _quicksort.
2968 * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
2971 1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu>
2973 * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
2974 Allow user to overwrite it.
2976 1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com>
2978 * libio/_G_config.h: Make sure win_t is also defined for old gcc
2979 versions. Reported by Andreas Jaeger.
2981 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
2983 * db/btree/bt_split.c (bt_psplit): Fix typo in change of
2986 * time/tzfile.c (__tzfile_read): Change comment to follow
2987 change of 1997-02-12.
2989 1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com>
2991 * time/time.h (__nanosleep): Define only when struct timespec is
2993 Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
2995 1997-02-12 21:34 a sun <asun@zoology.washington.edu>
2997 * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
2998 * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
3000 1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com>
3002 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
3003 of 1997-02-09 in resolv/gethnamaddr.c.
3005 1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
3007 * libio/_G_config.h (_G_wint_t): New.
3009 1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu>
3011 * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
3012 to sizeof (buf.buf) while calling res_search ().
3014 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
3016 * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
3017 val to keydat, stat to status.
3019 1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de>
3021 * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
3023 1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com>
3025 * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
3028 1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de>
3030 * stdlib/atoll.c: Undefine atoll, not atol.
3032 1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3034 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
3035 unused arguments of shell script.
3037 * Makeconfig (all-object-suffixes): New variable.
3038 * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
3039 of $(object-suffixes).
3040 * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment.
3042 1997-02-11 05:27 Ulrich Drepper <drepper@cygnus.com>
3044 * locale/weight.h (collate_rules): It's an u_int32_t array.
3045 (get_weight): Compute initial SLOT value correctly.
3047 1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com>
3049 * string/argz-ctsep.c: Initialize *LEN when successful.
3051 1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com>
3053 * version.h (VERSION): Bump to 2.0.2.
3055 * posix/Makefile (routines): Add getopt_init.
3056 * posix/getopt.c: Don't get environment variable with nonoption
3057 flags here. Depend on __getopt_nonoption_flags variable filled
3058 somewhere else. This is necessary since the variable must be
3059 removed even when getopt isn't used in case exec(2) gets called.
3060 * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags
3061 and remove environment variable.
3062 * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
3063 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3064 * sysdeps/stub/init-first.c: Likewise.
3065 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3067 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
3068 AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
3070 * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
3071 encryption is wanted.
3073 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3074 * stdio/vsnprintf.c: Likewise.
3075 Reported by Philip Blundell <pjb27@cam.ac.uk>.
3077 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
3078 * stdio/vsnprintf.c: Likewise.
3079 Reported by Philip Blundell <pjb27@cam.ac.uk>.
3081 1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com>
3083 * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
3084 Change PTR to void *.
3085 * sysdeps/posix/vdprintf.c: Change PTR to void *.
3086 Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
3088 1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk>
3090 * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
3092 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3094 * rellns-sh: No need to check for existance of first parameter.
3096 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3098 * rellns-sh: No need to check for existance of first parameter.
3100 1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3102 * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported
3103 by David Holland <dholland@eecs.harvard.edu>.
3105 1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3107 * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
3108 select, in case it is modified by the latter.
3109 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3110 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3111 * sunrpc/svc_tcp.c (readtcp): Likewise.
3113 * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
3116 * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
3119 * sunrpc/auth_unix.c (authunix_validate): Fix type of second
3122 1997-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3124 * elf/Makefile (extra-objs): Don't zap previous value.
3125 * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h
3128 1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3130 * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
3131 braindamage (sigh!).
3133 1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com>
3135 * manual/memory.texi: Correct `copystring' example for obstacks.
3137 1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com>
3139 * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
3140 GNU tr don't grok it.
3142 1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3144 * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
3145 Don't use GNU C extensions.
3146 (CMSG_DATA): Use portable definition.
3148 1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com>
3150 * elf/ldd.bash.in: Add test for read permission and print appropriate
3151 message. Change warning and error messages to print "ldd: " at start.
3152 * elf/ldd.sh.in: Likewise.
3154 * stdlib/Makefile (routines): Add atoll.
3155 * stdlib/atoll.c: New file.
3156 * stdlib/stdlib.h: Add prototype and optimization for atoll.
3158 * stdlib/a64l.c: Update copyright.
3159 * stdlib/abs.c: Likewise.
3160 * stdlib/atof.c: Likewise.
3161 * stdlib/atoi.c: Likewise.
3162 * stdlib/atol.c: Likewise.
3163 * stdlib/bsearch.c: Likewise.
3164 * stdlib/exit.c: Likewise.
3165 * stdlib/fpioconst.c: Likewise.
3166 * stdlib/fpioconst.h: Likewise.
3167 * stdlib/jrand48.c: Likewise.
3168 * stdlib/jrand48_r.c: Likewise.
3169 * stdlib/labs.c: Likewise.
3170 * stdlib/lcong48.c: Likewise.
3171 * stdlib/lcong48_r.c: Likewise.
3172 * stdlib/llabs.c: Likewise.
3173 * stdlib/lrand48.c: Likewise.
3174 * stdlib/lrand48_r.c: Likewise.
3175 * stdlib/mblen.c: Likewise.
3176 * stdlib/mbstowcs.c: Likewise.
3177 * stdlib/mbtowc.c: Likewise.
3178 * stdlib/mp_clz_tab.c: Likewise.
3179 * stdlib/mrand48.c: Likewise.
3180 * stdlib/mrand48_r.c: Likewise.
3181 * stdlib/msort.c: Likewise.
3182 * stdlib/nrand48.c: Likewise.
3183 * stdlib/nrand48_r.c: Likewise.
3184 * stdlib/qsort.c: Likewise.
3185 * stdlib/rpmatch.c: Likewise.
3186 * stdlib/seed48.c: Likewise.
3187 * stdlib/seed48_r.c: Likewise.
3188 * stdlib/srand48.c: Likewise.
3189 * stdlib/srand48_r.c: Likewise.
3190 * stdlib/strtod.c: Likewise.
3191 * stdlib/wcstombs.c: Likewise.
3192 * stdlib/wctomb.c: Likewise.
3194 1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com>
3196 * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
3199 1997-02-04 23:57 Fila Kolodny <fila@ibi.com>
3201 * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
3202 including <stddef.h>.
3204 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
3206 * time/Makefile (tzbases, tzlinks): New.
3207 (tzfiles): Changed to $(tzbases) $(tzlinks).
3208 ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
3210 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
3212 * Makefile (install): Ignore error from ldconfig.
3214 * time/zic.c (mkdirs): Double check the error return of mkdir ().
3216 1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com>
3218 * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
3219 like PPC where va_list is no integral type.
3221 1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com>
3223 * posix/getopt.c (exchange): Don't allocate nonoption_flags array
3224 if nonoption_flags_len == -1.
3226 1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com>
3228 * Version 2.0.1 net release.
3230 1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com>
3232 * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
3234 1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com>
3236 * stdlib/getsubopt.c: Don't return `=' for suboption which has
3237 a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
3239 1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3241 * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
3242 values as in yp.x and yp.h.
3244 1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com>
3246 * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
3247 1997-02-03 02:17. Sun's implementation internally corrects
3248 this bug but we don't want to hide this from the user.
3249 * nis/rpcsvc/yp.h: Likewise.
3251 1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3253 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
3256 1997-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3258 * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
3261 1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3263 * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
3264 (all-sources, all-headers): Use them instead of $(sources) and
3265 $(headers) when searching in sysdep directories.
3267 1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3269 * Makerules (REAL_MAKE_VERSION): Use internal make function
3270 instead of shelling out.
3272 1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3274 * time/Makefile (install-test-data): Remove mkdir command, zic can
3275 handle that gracefully.
3277 1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3279 * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
3282 1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3284 * sunrpc/Makefile: Check $(cross-compiling) only after including
3286 ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
3287 being considered as a rule.
3288 (generated): Add stamp files before the inclusion of Makerules to
3289 magically mark them as not being intermediate via the `generated'
3292 1997-02-03 02:33 Ulrich Drepper <drepper@cygnus.com>
3294 * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
3295 entries. This is still no complete implementation since AUXILIARY
3296 entries in other shared objects are not yet handled.
3298 * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
3305 * time/Makefile: Better cross-compile support. Avoid test which
3307 (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from
3309 * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
3311 * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
3312 default values as in tzfile.c.
3314 * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
3316 * elf/link.h: Likewise.
3317 * elf/elf.h: Add tag definitions and data structures for versioning.
3319 1997-02-03 02:17 Ulrich Drepper <drepper@cygnus.com>
3321 * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
3322 "Sun bug". This is the order of elements also used by 4.4BSD.
3323 * nis/rpcsvc/yp.h: Likewise.
3326 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
3328 * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
3331 * Makefile (install): Pass installation directories as arguments
3334 1997-02-02 23:15 Ulrich Drepper <drepper@cygnus.com>
3336 * malloc/malloc.c (__after_morecore_hook): New variable.
3337 (malloc_extend_top): Call __after_morecore_hook if set.
3338 (main_trim): Likewise.
3339 * malloc/malloc.h: Add declaration of __after_morecore_hook.
3340 Suggested by Marcus Daniels.
3342 1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com>
3344 * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
3346 (mallinfo): Likewise.
3348 * malloc/malloc.c (__morecore): Make external since it is used in
3351 1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com>
3353 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
3356 1997-02-01 23:36 Richard Henderson <rth@tamu.edu>
3358 * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
3359 use t6 as a temporary; it contains bits we still need in $u_head.
3361 1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de>
3363 * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
3364 using __ prefix. Add prototype for log1p.
3366 1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com>
3368 * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
3370 1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk>
3372 * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
3374 1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com>
3376 * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
3377 structure plus related macros.
3378 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
3379 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
3380 (sysdep_routines): Add cmsg_nxthdr.
3381 * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
3382 Suggested by Philip Blundell <pjb27@cam.ac.uk>.
3384 1997-02-01 12:34 Ulrich Drepper <drepper@cygnus.com>
3386 * time/strftime.c: Define _strftime_copytm without protecting arguments
3387 which breaks the definition.
3389 1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3391 * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
3392 definition of type for element.
3394 1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk>
3396 * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
3399 1997-02-01 03:09 H.J. Lu <hjl@lucon.org>
3401 * Makefile: Pass PARALLELMFLAGS to sub-makes.
3402 * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
3404 1997-01-31 Paul Eggert <eggert@twinsun.com>
3406 * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
3407 Define if _LIBC is defined.
3408 <limits.h>: Include if HAVE_LIMITS_H instead of if
3409 __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
3410 <stdlib.h>: Similarly, include if STDC_HEADERS.
3411 (localtime_r): Redo #ifdef to make it clear that glibc has
3414 1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3416 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
3417 file to avoid unnecessary recompilation.
3419 1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3421 * Makefile: Set install-others, not install_others.
3422 (before-compile): Use += to preserve previous value.
3423 ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
3424 fix dependency name.
3425 ($(objpfx)lib-names.h): Remove rule.
3426 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
3427 with correct name, using an intermediate stamp file.
3428 (common-generated): Add gnu/lib-names.h.
3429 (before-compile): Add $(common-objpfx)gnu/lib-names.h.
3431 1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu>
3433 * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
3434 to prevent warnings on 64 bit systems.
3435 Reported by Paul Wouters <paul@xtdnet.nl>.
3437 * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default
3440 1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com>
3442 * sysdeps/i386/elf/start.S (_start): Align stack pointer to
3443 double word boundary before pushing args for main. This way we
3444 don't get penalties for misaligned memory accesses. Reported by
3445 Edward Seidl <seidl@janed.com>.
3447 * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
3450 * misc/bsd-compat.c: Update copyright.
3451 * misc/efgcvt.c: Likewise.
3452 * misc/efgcvt_r.c: Likewise.
3453 * misc/error.c: Likewise.
3454 * misc/error.h: Likewise.
3455 * misc/fstab.c: Likewise.
3456 * misc/init-misc.c: Likewise.
3457 * misc/lsearch.c: Likewise.
3458 * misc/mntent.c: Likewise.
3459 * misc/qefgcvt.c: Likewise.
3460 * misc/qefgcvt_r.c: Likewise.
3461 * nss/databases.def: Likewise.
3462 * nss/db-Makefile: Likewise.
3463 * nss/ethers-lookup.c: Likewise.
3464 * nss/hosts-lookup.c: Likewise.
3465 * nss/netgrp-lookup.c: Likewise.
3466 * nss/nsswitch.h: Likewise.
3467 * nss/proto-lookup.c: Likewise.
3468 * nss/rpc-lookup.c: Likewise.
3469 * nss/service-lookup.c: Likewise.
3470 * nss/nss_db/db-netgrp.c: Likewise.
3471 * nss/nss_files/files-grp.c: Likewise.
3472 * nss/nss_files/files-hosts.c: Likewise.
3473 * nss/nss_files/files-network.c: Likewise.
3474 * nss/nss_files/files-proto.c: Likewise.
3475 * nss/nss_files/files-pwd.c: Likewise.
3476 * nss/nss_files/files-rpc.c: Likewise.
3477 * nss/nss_files/files-service.c: Likewise.
3478 * nss/nss_files/files-spwd.c: Likewise.
3479 * shadow/fgetspent.c: Likewise.
3480 * shadow/fgetspent_r.c: Likewise.
3481 * shadow/getspent.c: Likewise.
3482 * shadow/getspent_r.c: Likewise.
3483 * shadow/getspnam.c: Likewise.
3484 * shadow/getspnam_r.c: Likewise.
3485 * shadow/putspent.c: Likewise.
3486 * shadow/sgetspent.c: Likewise.
3487 * shadow/sgetspent_r.c: Likewise.
3488 * sysdeps/i386/init-first.c: Likewise.
3489 * sysdeps/unix/i386/sysdep.S: Likewise.
3491 * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be
3492 prepared to be running in a multi-threaded environment. Change
3493 to __USE_MISC unless the function is defined in POSIX.1 (in this
3494 case also test for __USE_POSIX).
3495 * dirent/dirent.h: Likewise.
3496 * grp/grp.h: Likewise.
3497 * inet/aliases.h: Likewise.
3498 * libio/libio.h: Likewise.
3499 * libio/stdio.h: Likewise.
3500 * login/utmp.h: Likewise.
3501 * math/mathcalls.h: Likewise.
3502 * misc/mntent.h: Likewise.
3503 * pwd/pwd.h: Likewise.
3504 * resolv/netdb.h: Likewise.
3505 * stdlib/stdlib.h: Likewise.
3506 * string/string.h: Likewise.
3507 * sunrpc/rpc/netdb.h: Likewise.
3508 * sysdeps/generic/crypt.h: Likewise.
3509 * sysdeps/unix/sysv/linux/errnos.h: Likewise.
3510 * time/time.h: Likewise.
3512 1997-01-30 00:27 Fila Kolodny <fila@ibi.com>
3514 * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
3515 only if not cross compiling.
3517 1997-01-29 16:16 Fila Kolodny <fila@ibi.com>
3519 * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
3521 * sysdeps/posix/sigwait.c: Likewise.
3523 1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3525 * Makeconfig ($(common-objpfx)config.make): Depend on
3526 $(..)config.make.in.
3528 1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
3530 * sunrpc/Makefile: Don't generate headers derived from .x files when
3533 1997-01-28 10:51 Richard Henderson <rth@tamu.edu>
3535 * Makefile: Generate gnu/lib-names.h in before-compile.
3536 * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
3537 * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize
3538 to the revision found for LIBNSS_FILES_SO.
3539 (nss_initilized): Removed. It was tested but never set.
3540 (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
3542 * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
3543 not just libc. Except instead of ld.so.1.1 use ld-linux.so.2.
3545 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
3547 1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de>
3549 * elf/Makefile (CFLAGS-dl-load.c): Use += to not
3550 override the definition.
3552 1997-01-28 20:13 Fila Kolodny <fila@ibi.com>
3554 * config.make.in (malloc): Remove.
3556 1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com>
3558 * version.h (VERSION): Bump to 2.0.1.
3560 * posix/getopt.c: Handle another problem introduced by the
3561 nonoption_flags array. We must be able to work with reordered
3562 argv arrays. Reported by Andreas Schwab.
3564 1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com>
3566 * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
3569 1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3571 * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
3572 that it works with yp.h.
3574 1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com>
3576 * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
3577 __libc_malloc_initialized so that this variable is not shared with
3578 other users of GNU malloc.
3579 Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3581 * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/.
3583 * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
3584 variables to prevent warnings.
3585 * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
3586 using attribute regparm.
3587 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
3588 is changed by the resolver code.
3590 1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3592 * malloc/malloc.c (weak_variable): Define.
3593 (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
3594 __memalign_hook): Make them weak definitions.
3596 1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3598 * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
3599 limits, correctly take structure padding into account, use correct
3600 offset when resetting the stream, change heuristic to assume an
3601 average name length of 14 characters.
3603 1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3605 * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
3609 See ChangeLog.6 for earlier changes.