1 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
3 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
4 The stream is private and usages outside glibc don't care about
8 * sysdeps/posix/getcwd.c: Likewise.
9 * sysdeps/posix/ttyname.c: Likewise.
10 * sysdeps/posix/ttyname_r.c: Likewise.
11 * sysdeps/posix/glob.c: Likewise.
13 * libio/iovsprintf.c: Add cast to prevent warning.
14 * libio/iovsscanf.c: Likewise.
16 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
17 to keep namespace clean.
19 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
20 Add hooks and check functions from old GNU malloc.
21 * new-malloc/malloc.h: Likewise.
23 * nis/ypclnt.c: Remove prototype for xdr_free.
24 * snrpc/rpc/xdr.h: Add prototype for xdr_free.
26 * manual/nss.texi: Correct description of default values and don't
27 meantion NSS as an add-on.
29 * nss/grp-lookup.c: Provide default value as
30 "compat [NOTFOUND=return] files".
31 * nss/pwd-lookup.c: Likewise.
32 * nss/spwd-lookup.c: Likewise.
33 * nss/network-lookup.c: Correct default to
34 "dns [!UNAVAIL=return] files".
35 * nss/nsswitch.c: Change default-default value to "nis
36 [NOTFOUND=return] files" since compat is only available for group,
39 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
41 * stdlib/stdlib.h: Add prototype for __on_exit.
43 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
45 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
46 The new malloc now has mcheck.
47 * time/ap.c: Likewise.
49 * time/tzset.c (__tzset): Rename to __tzset_internal.
50 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
51 * time/localtime.c: Use __tzset_internal not __tzset.
52 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
53 as __tzset to prevent namespace pollution.
55 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
56 a weak alias of __iswctype.
57 * wctype/wctype.h: Add prototype for __iswctype.
58 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
59 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
60 Use __iswctype for the test, not iswctype.
62 1996-12-16 Paul Eggert <eggert@twinsun.com>
64 * hurd/hurd/sigpreempt.h
65 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
66 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
67 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
68 hurd/hurdsig.c (_hurdsig_preempters):
69 Renamed to fix spelling from `preempter' to `preemptor'.
72 1996-12-15 Paul Eggert <eggert@twinsun.com>
74 * ctime.c (ctime): Return asctime (localtime (t)), as the C
77 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
79 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
80 value because Mach/cthreads uses the opposite convention from
83 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
85 * stdio-common/fcloseall.c: Correct test of already_called.
86 Reported by Thomas Bushnell, n/BSG.
88 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
90 * mach/lock-intern.h (__mutex_try_lock): New function.
92 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
94 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
96 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
98 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
100 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
101 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
102 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
104 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
106 Make sure tzset() sets always tzname[].
107 * time/tzfile.c: De-ANSI-declfy.
108 (find_transition): New function. Set tzname according to given time.
109 (__tzread_file): Use find_transition to set tzname.
110 (__tzfile_compute): Use find_transition instead of doing the work
112 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
114 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
116 * login/utmp-file.c (pututline_file): Open file if closed.
117 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
118 Use fcntl instead of flock.
120 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
122 * manual/time.texi: Update documentation of strftime function.
124 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
126 * Makefile (subdirs): Change crypt to md5-crypt.
127 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
128 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
130 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
131 crypt instead of LinuxThreads and des-crypt.
133 * Makefile (subdirs): Add nss back.
134 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
137 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
138 * stdio-common/Makefile (routines): Add fcloseall.
139 * stdio-common/fcloseall.c: New file.
140 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
142 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
143 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
146 * stdio-common/printf.h: Define MIN and MAX only if not already
149 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
150 allow writing. Required by POSIX.1.
152 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
155 * interp.c: Update copyright.
156 * libio/clearerr.c: Likewise.
157 * libio/ioseekoff.c: Likewise.
158 * libio/ioseekpos.c: Likewise.
159 * stdio/fclose.c: Likewise.
160 * stdio/fflus.c: Likewise.
162 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
163 and _IO_cleanup_region_end as empty.
164 * libio/fgetc.c: Use _IO_cleanup_region_start and
165 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
166 __libc_cleanup_region_end.
167 * libio/fputc.c: Likewise.
168 * libio/freopen.c: Likewise.
169 * libio/fseek.c: Likewise.
170 * libio/getc.c: Likewise.
171 * libio/getchar.c: Likewise.
172 * libio/iofclose.c: Likewise.
173 * libio/iofflush.c: Likewise.
174 * libio/iofgetpos.c: Likewise.
175 * libio/iofgets.c: Likewise.
176 * libio/iofputs.c: Likewise.
177 * libio/iofread.c: Likewise.
178 * libio/iofsetpos.c: Likewise.
179 * libio/ioftell.c: Likewise.
180 * libio/iofwrite.c: Likewise.
181 * libio/iogetdelim.c: Likewise.
182 * libio/iogets.c: Likewise.
183 * libio/ioputs.c: Likewise.
184 * libio/iosetbuffer.c: Likewise.
185 * libio/iosetvbuf.c: Likewise.
186 * libio/ioungetc.c: Likewise.
188 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
190 * libio/iovsscanf.c: Likewise.
192 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
193 instead of __libc_lock_init_recursive and __libc_lock_fini.
195 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
196 Otherwise use isatty.
197 * libio/fileops.c: Likewise for __open and open.
199 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
202 * nis/ypclnt.h: Add more casts to prevent warnings.
204 * nss/Makefile (services): Remove dns.
205 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
206 ($(objpfx)libnss_dns.so): Removed.
207 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
208 * resolv/nss_dns: ...here.
209 * resolv/Makefile (extra-libs): Add libnss_dns.
210 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
213 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
214 specifying alternate name for entry in /etc/nsswitch.conf
215 * nss/nsswitch.c: If no entry with primary name is found in
216 /etc/nsswitch.conf try alternate name if given.
217 * nss/nsswitch.h: Add new parameter in prototype for
218 __nss_database_lookup.
219 * nss/spwd-lookup.c: Provide alternative entry name to look for.
220 This makes our NSS compatible with Solaris' nsswitch.conf files.
222 * string/tst-strlen.c: Change all counting variables to type size_t
225 * sysdeps/posix/fpathconf.c: Update copyright.
226 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
227 Opening the file at this path may fail if it is a FIFO or pipe.
229 These changes make the time implementation POSIX.1 compliant.
230 * time/localtime.c (__localtime_r): Always call __tzset not only
231 if __tzset_run is zero.
232 * time/strftime.c: Add definition of memset_space to help to
233 reduce for systems which have memset.
234 (strftime): Don't use tm_zone member of argument for zone name.
235 Instead always use tzname[].
236 Call tzset() as required by POSIX.1 before any action.
237 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
238 Remove global variable __tzset_run. __tzset is now called always
239 when a dependent function is used.
240 (__tzset): Caching happens based on the contents of the
241 environment variable TZ.
243 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
245 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
247 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
249 * rellns-sh: Correctly handle a relative source file name.
251 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
253 * login/utmp_file.c (setutent_file): Seek back to beginning of the
256 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
258 * hurd/hurdinit.c (map0): Delete function. Don't do this on
260 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
262 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
264 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
265 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
268 Change libio buffer handling to allocate internal buffers using
270 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
272 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
274 (_IO_default_doallocate): Change call to ALLOC_BUF.
275 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
276 to use mmap/munmap when possible.
277 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
278 * libio/vasprintf.c: Likewise.
281 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
282 * libio/libioP.h: Likewise.
284 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
285 restart syscall when EINTR was returned. Necessary for POSIX.1.
287 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
289 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
292 * nis/Makefile: Remove rules for bsd-tools which are not part
294 Patch by Thorsten Kukuk.
296 * nis/ypclnt.c: Add prototype for xdr_free.
297 Add const to first parameter for __yp_bind.
298 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
299 getpwent_next_file): Variable `p2len' must have type size_t.
300 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
301 * nis/nss_nis/nis-ethers.c: Likewise.
302 * nis/nss_nis/nis-grp.c: Likewise.
303 * nis/nss_nis/nis-hosts.c: Likewise.
304 * nis/nss_nis/nis-network.c: Likewise.
305 * nis/nss_nis/nis-proto.c: Likewise.
306 * nis/nss_nis/nis-pwd.c: Likewise.
307 * nis/nss_nis/nis-rpc.c: Likewise.
308 * nis/nss_nis/nis-service.c: Likewise.
309 * nis/nss_nis/nis-spwd.c: Likewise.
311 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
313 (ypmaplist): Change member names to `map' and `next' and provide
314 #defines for old names.
315 Patch by Thorsten Kukuk.
317 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
318 type for `datalen' parameter to size_t.
320 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
322 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
324 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
328 * stdio-common/tmpfile.c: Update copyright.
330 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
332 Don't eat white space for `C' format.
334 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
336 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
337 * sysdeps/i386/abort.c: Removed. This version does not use
340 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
344 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
345 call. If EMFILE, ENFILE, or EINTR return with error.
347 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
349 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
350 We are compatible again.
351 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
352 even though it is not used.
353 * malloc/obstack.h: Likewise.
354 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
355 alloc_failed bit to 0.
357 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
358 %P format and `0' modifier.
360 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362 * Makerules (make-link): Don't discard exit codes of intermediate
363 commands. Always use rellns-sh if symbolic links are available.
365 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
367 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
368 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
369 conflict of ntohs etc. in <asm/byteorder.h>.
371 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
373 Add NIS NSS implementation.
374 * shlib-versions: Add versions for NIS libraries.
375 * sysdeps/unix/inet/Subdirs: Add nis.
376 * nis/Banner: New file.
377 * nis/Makefile: New file.
378 * nis/nss-nis.h: New file.
379 * nis/yp_xdr.h: New file.
380 * nis/ypclnt.h: New file.
381 * nis/ypupdate_xdr.c: New file.
382 * nis/nss_compat/compat-grp.c: New file.
383 * nis/nss_compat/compat-pwd.c: New file.
384 * nis/nss_compat/compat-spwd.c: New file.
385 * nis/nss_nis/nis-alias.c: New file.
386 * nis/nss_nis/nis-ethers.c: New file.
387 * nis/nss_nis/nis-grp.c: New file.
388 * nis/nss_nis/nis-hosts.c: New file.
389 * nis/nss_nis/nis-netgrp.c: New file.
390 * nis/nss_nis/nis-network.c: New file.
391 * nis/nss_nis/nis-proto.c: New file.
392 * nis/nss_nis/nis-publickey.c: New file.
393 * nis/nss_nis/nis-pwd.c: New file.
394 * nis/nss_nis/nis-rpc.c: New file.
395 * nis/nss_nis/nis-service.c: New file.
396 * nis/nss_nis/nis-spwd.c: New file.
397 * nis/rpcsvc/yp.h: New file.
398 * nis/rpcsvc/yp.x: New file.
399 * nis/rpcsvc/yp_prot.h: New file.
400 * nis/rpcsvc/ypclnt.h: New file.
401 * nis/rpcsvc/ypupd.h: New file.
403 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
405 * locale/C-numeric.c: Update copyright.
407 * locale/Makefile: Add rules to build libBrokenLocale.
408 * locale/broken_cur_max.c: New file.
409 * locale/mb_cur_max.c: Update copyright.
410 (__ctype_get_mb_cur_max): Make function weak.
412 * new-malloc/malloc.c: Correct copyright.
413 * new-malloc/thread-m.h: Correct key handling.
415 * shadow/lckpwdf.c: Update copyright.
416 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
418 * stdlib/strtod.c: Add another assertion.
419 * stdlib/tst-strtod.c: Add another test case.
421 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
422 * sysdeps/unix/sysv/linux/paths.h: Likewise.
424 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
425 ut_addr names a single element in ut_addr_v6.
427 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
428 Patch by Thomas Bushnell, n/BSG.
430 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
432 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
435 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
436 did fit nicely into that delay slot (patch from David Mosberger-Tang).
438 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
440 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
442 (ttyname_r): New alias.
444 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
446 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
447 error in computation of number of groups.
448 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
450 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
452 * version.h: Set version to 1.99.
454 * Make-dist (routines): Add malloc and new-malloc.
456 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
457 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
458 Same for $(CFLAGS-$(@F)) and CFLAGS.
460 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
462 * io/sys/poll.h: Likewise.
463 * sysdeps/stub/sys/ipb_buf.h: Likewise.
464 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
465 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
466 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
467 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
468 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
469 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
470 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
471 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
472 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
473 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
474 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
475 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
476 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
477 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
478 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
479 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
480 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
481 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
482 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
483 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
484 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
485 * sysvipc/sys/sem.h: Likewise.
486 * sysvipc/sys/shm.h: Likewise.
488 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
489 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
490 Add statistics for threads.
491 * new-malloc/malloc.h: Likewise.
492 * new-malloc/thread-m.h: Likewise.
494 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
496 * time/strptime.c: Update copyright.
498 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
500 * Make-dist: Make sure both malloc directories get distributed.
502 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
504 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
507 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
509 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
510 __BEGIN_DECLS/__END_DECLS.
512 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
514 * login/utmp_file.c: Consistently set file_offset to the position
515 after the entry just read.
517 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
519 * config.make.in (defines): Add @USE_NEW_MALLOC@.
520 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
521 we use the new malloc.
523 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
524 depending on USE_NEW_MALLOC.
526 Fix some more POSIX.1 problems.
527 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
528 on a write-only stream.
529 (_IO_file_overflow): Set errno to EBADF if used on a read-only
531 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
532 call really positions the file offset to the correct position
533 and no read-ahead happens.
535 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
536 to pass POSIX test suite.
537 * stdio-common/vfprintf.c: Handle empty string as grouping command
539 * stdlib/grouping.h: Likewise.
541 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
543 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
545 * stdio-common/printf_fp.c: Update copyright.
547 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
549 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
550 used (not otherwise).
552 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
554 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
556 * stdlib/canonicalize.c: Correct bugs in last change.
559 * libio/Makefile (routines): Remove ioprims.
560 (aux): Remove cleanup.
561 Add IO_DEBUG option for .o files.
562 * libio/cleanups.c: Removed.
563 * libio/ioprims.c: Removed.
564 * libio/filedoalloc.c: More updates from libg++-2.8b5.
565 * libio/fileops.c: Likewise.
566 * libio/genops.c: Likewise.
567 * libio/iolibio.h: Likewise.
568 * libio/iopopen.c: Likewise.
569 * libio/iovsprintf.c: Likewise.
570 * libio/iovsscanf.c: Likewise.
571 * libio/libio.h: Likewise.
572 * libio/libioP.h: Likewise.
573 * libio/memstream.c: Likewise.
574 * libio/strfile.h: Likewise.
575 * libio/vasprintf.c: Likewise.
576 * libio/vsnprintf.c: Likewise.
578 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
580 * manual/arith.texi: Change references to ANSI C to ISO C.
581 * manual/conf.texi: Likewise.
582 * manual/creature.texi: Likewise.
583 * manual/ctype.texi: Likewise.
584 * manual/errno.texi: Likewise.
585 * manual/filesys.texi: Likewise.
586 * manual/intro.texi. Likewise.
587 * manual/io.texi: Likewise.
588 * manual/lang.texi: Likewise.
589 * manual/libc.texinfo: Likewise.
590 * manual/locale.texi: Likewise.
591 * manual/maint.texi: Likewise.
592 * manual/mbyte.texi: Likewise.
593 * manual/memory.texi: Likewise.
594 * manual/process.texi: Likewise.
595 * manual/process.texi: Likewise.
596 * manual/search.texi: Likewise.
597 * manual/setjmp.texi: Likewise.
598 * manual/signal.texi: Likewise.
599 * manual/startup.texi: Likewise.
600 * manual/stdio.texi: Likewise.
601 * manual/string.texi: Likewise.
602 * manual/time.texi: Likewise.
604 * manual/locale.texi: Remove description of LC_RESPONSE and add
607 * Makefile (subdirs): Change malloc in $(malloc).
608 * config.make.in: Add variable malloc which is initialized from
610 * configure.in: Add new option --enable-new-malloc to use new
611 malloc. This is the default on Linux.
612 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
614 * new-malloc/Makefile: New file. Improved malloc implementation.
615 * new-malloc/malloc.c: Likewise.
616 * new-malloc/malloc.h: Likewise.
617 * new-malloc/mallocbug.c: Likewise.
618 * new-malloc/obstack.c: Likewise.
619 * new-malloc/obstack.h: Likewise.
620 * new-malloc/thread-m.h: Likewise.
621 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
622 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
624 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
627 * stdio/feof.c: Update copyright.
628 * stdio/stdio.h: Add field for lock to FILE structure.
629 Add cast to *MAGIC constants to prevent warnings.
631 * stdio-common/bug7.c: Correct test. Stream must not be closed
634 * stdlib/Makefile (routines): Add secure-getenv.
635 * stdlib/secure-getenv.c: New file. __secure_getenv function
636 moved to here from sysdeps/generic/getenv.c. Otherwise an
637 application cannot replace the getenv function in the libc.
638 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
639 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
641 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
643 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
645 * time/test-tz.c: Comment fifth test out. PROBLEM.
647 * time/tzset.c: De-ANSI-declfy.
648 (__tzset): Don't increment pointer tz when no DST information is
651 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
652 to get Hurd macros right.
654 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
656 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
658 Patch by Thomas Bushnell.
660 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
663 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
665 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
667 * time/strftime (%c format): Remove %Z from default string.
668 Reported by Paul Eggert
670 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
672 * configure.in: Discard error message from test in test for
675 * io/getwd.c: Don't apply getcwd on user supplied buffer.
676 Instead always use temporary buffer and only copy the result.
678 * stdlib/canonicalize.c: Likewise.
680 * libio/fileops.c: Change comments according to libg++2.8b5.
681 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
685 * manual/nss.texi: Correct prototypes.
687 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
688 crash if syslog daemon is restarted.
690 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
692 * stdlib/Makefile (routines): Add rand_r.
694 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
697 * configure.in: Add --disable-sanity-check option.
698 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
699 des-crypt are not available and --disbale-sanity-check is not
700 given abort with a message.
702 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
704 * posix/glob.c: Tests against STDC_HEADERS should also test
707 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
709 * misc/err.c (vwarn): Set errno again before using %m format.
711 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
713 * grp/grp.h: Add declaration of __getgrent_r.
715 * io/fts.c (fts_build): Remove "register" from variables dirbuf
716 and dp since their address is needed.
718 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
719 variable d since d's address is needed.
721 * misc/tst-dirname.c (main): Provide prototype.
722 * misc/ioctltst.c (main): Dito.
724 * Makefile: Add gnu/lib-names.h to install-others before including
727 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
729 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
731 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
732 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
733 sys/socketvar.h to sysdep_headers.
735 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
737 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
740 * elf/rtld.c (_dl_start): Don't dereference the value returned by
741 elf_machine_got to get _DYNAMIC, instead call new function
743 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
744 elf_machine_dynamic. Reformat copyright.
745 * sysdeps/i386/dl-machine.h: Likewise.
746 * sysdeps/m68k/dl-machine.h: Likewise.
747 * sysdeps/mips/dl-machine.h: Likewise.
748 * sysdeps/sparc/dl-machine.h: Likewise.
749 * sysdeps/stub/dl-machine.h: Likewise.
751 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
753 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
755 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
757 * Makerules ($(libdir)/libc.so): Make first line of generated
758 link script contain `/* GNU ld script'. This will be used in
759 ldconfig to check for linker scripts.
760 * sysdeps/mach/hurd/libc-ldscript: Likewise.
761 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
763 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
765 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
767 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
770 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
772 * assert/assert-perr.c: Use __strerror_r instead of strerror.
773 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
774 * string/string.h: Declare __strerror_r.
775 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
776 * stdio-common/vfprintf.c: Save current errno value on entry so
777 that %m format finds the correct value.
778 * io/getwd.c: Use __strerror_r instead of strerror.
779 * misc/err.c (vwarn): Use %m printf format instead of explicitly
781 * inet/rcmd.c: Likewise.
782 * misc/error.c (error, error_at_line): Use __strerror_r instead
783 of strerror when this function is available.
785 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
786 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
787 * stdlib/stdlib.h: Define prototype for rand_r.
789 * string/strfry.c: Update copyright. Use reentrant random functions.
791 * dirent/scandir.c: Use __readdir_r instead of readdir.
792 * posix/glob.c: Likewise.
793 * sysdeps/posix/ttyname.c: Likewise.
794 * sysdeps/posix/ttyname_r.c: Likewise.
795 * io/ftw.c: Likewise.
796 * io/fts.c: Likewise.
797 * sysdeps/posix/getcwd.c: Likewise.
798 * dirent/dirent.h: Add prototype for __readdir_r.
799 * sysdeps/unix/readdir_r: Update copyright.
801 * time/ctime.c: Use __localtime_r and __asctime_r instead of
802 non reentrant versions.
803 * time/ctime_r.c: Update copyright.
805 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
807 * locale/Makefile (localepath): Correct value.
809 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
811 Fix typo in using H_ERRNO_SET macro.
813 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
815 * Makerules (elfobjdir): Definition removed.
816 * Makeconfig (elfobjdir): Define it here instead, so that
817 expanding $(rpath-link) gets the right value.
820 * misc/a.out.h: Moved to...
821 * sysdeps/generic/a.out.h: ...here.
822 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
825 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
827 * grp/initgroups.c: Update and reformat copyright.
828 Use __getgrent_r instead of getgrent.
830 * inet/rcmd.c: Update and reformat copyright.
831 Use __gethostbyname_r instead of gethostbyname.
832 * inet/rexec.c: Likewise.
834 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
835 * locale/findlocale.c: Likewise.
836 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
837 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
838 * locale/setlocale.c (setlocale): Correctly split value of
840 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
841 find output directory.
843 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
844 h_errno_tmp variable.
845 Save error value from being changed during `free' call.
846 * nss/getXXent.c: Likewise.
848 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
849 before returning ERANGE error.
851 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
854 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
856 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
857 * sunrpc/clnt_simp.c: Likewise.
858 * sunrpc/getrpcport.c: Likewise.
859 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
861 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
862 since the value might be outside the range of the `long int'.
863 Print string `undefined' when a value is undefined.
865 * stdlib/l64a.c: Return correct pointer.
866 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
868 * string/Makefile (routines): Add argz-addsep.
869 * string/argz-addsep.c: New file.
870 * string/argz.h: Add prototypes for argz_add_sep.
872 * string/argz-ctsep.c: Prevent memory leak.
874 * string/strcoll.c: Correct typo in comment.
876 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
878 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
879 not general enough to be part of the libc.
880 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
881 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
883 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
885 * login/Makefile: Fix typo.
887 * nss/Makefile (generated): Filter out db-alias.c.
889 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
891 * time/Makefile (echo-zonenames): Don't depend on non-existing
894 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
897 * nss/nsswitch.c: Use it.
899 * printf.h: Fix file name.
900 * stdlib/strfmon.c: Use it.
902 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
904 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
905 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
906 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
907 Add netinet/in_systm.h.
908 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
910 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
912 * libio/fileops.c: Update from latest libg++.
914 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
916 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
917 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
918 instead of __libc_lock_init for streams.
919 Reported by a sun <asun@zoology.washington.edu>.
921 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
923 * sysdeps/generic/errno-loc.c: New file. Generic definition of
924 __errno_location function.
925 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
927 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
928 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
931 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
932 and crypt add-on and warn if not available.
934 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
936 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
938 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
939 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
941 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
942 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
943 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
944 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
945 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
946 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
948 Patch by Richard Henderson <rth@tamu.edu>.
950 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
951 pciconfig_read and pciconfig_write.
952 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
953 pciconfig_read and pciconfig_write.
955 * login/getutent_r.c: Fix several bugs in last change.
957 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
959 * Makefile: Fix typo.
961 * configure: Require autoconf-2.11.
963 * elf/dl-deps.c: Terminate duplicate list.
965 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
966 * libio/strfile.h: Update from current libg++.
967 * libio/strops.c: Likewise.
969 * login/Makefile (routines): Update after correction of reentrant
971 * login/endutent.c: Removed.
972 * login/endutent_r.c: Likewise.
973 * login/pututline.c: Likewise.
974 * login/pututline_r.c: Likewise.
975 * login/setutent.c: Likewise.
976 * login/setutent_r.c: Likewise.
977 * login/getutent.c: Update for new interface.
978 * login/getutent_r.c: Likewise.
979 * login/getutid.c: Likewise.
980 * login/getutid_r.c: Likewise.
981 * login/getutline.c: Likewise.
982 * login/getutline_r.c: Likewise.
983 * login/login.c: Likewise.
984 * login/logout.c: Likewise.
985 * login/logwtmp.c: Likewise.
986 * login/utmp.h: Likewise.
987 * sysdeps/unix/getlogin.c: Likewise.
988 * sysdeps/unix/getlogin_r.c: Likewise.
989 * login/utmp-private.h: New private header.
990 * login/utmp_db.c: Stub DB backend for utmp handler.
991 * login/utmp_file.c: File backend for utmp handler.
992 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
993 (enum utlogin): List of record types.
994 (struct exit_status): Record to align with other implementations.
996 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
997 * sysdeps/unix/sysv/linux/paths.h: Likewise.
999 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
1001 * sysdeps/stub/getlogin.c: Update copyright.
1002 * sysdeps/stub/getlogin_r.c: Likewise.
1004 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
1005 * nss/getXXent_r.c: Likewise.
1006 * nss/nsswitch.c: Likewise.
1008 * posix/Makefile (headers): Add wait.h.
1009 * posix/wait.h: New file.
1011 * posix/sys/types.h: Always define intN_t types.
1013 * stdio-common/Makefile: Update copyright.
1014 Use -Wno-format flag for scanf4.c and scanf7.c.
1016 * stdlib/stdlib.h: Reformat.
1018 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1020 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
1021 move the current contents to the end and relocate file name
1022 pointer to upper half of the buffer.
1024 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
1026 * time/africa: Update from ADO tzdata1996m.
1027 * time/antarctica: Likewise.
1028 * time/asia: Likewise.
1029 * time/australia: Likewise.
1030 * time/etcetera: Likewise.
1031 * time/europe: Likewise.
1032 * time/nothamerica: Likewise.
1033 * time/southameria: Likewise.
1034 * time/zone.tab: Likewise.
1036 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
1037 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1039 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
1041 * posix/wait.h: New file.
1042 * posix/Makefile (headers): Add wait.h.
1044 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
1046 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
1047 expression instead of shell pattern matching.
1048 * shlib-versions: Change to regular expressions.
1050 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
1052 * io/stat.c: Add section from libgcc to copyright comment
1053 to allow this file to be statically linked in applications.
1054 * io/fstat.c: Likewise.
1055 * io/lstat.c: Likewise.
1056 * io/mknod.c: Likewise.
1058 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
1060 * csu/initfini.c: Add section from libgcc to copyright comment
1061 to allow this file to be statically linked in applications.
1063 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
1064 not already defined.
1065 (obstack_grow, obstack_grow0): Correct placement of braces.
1067 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
1068 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
1070 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1072 * Makerules (make-link): Simplify by changing directory only if
1073 not using rellns-sh; check whether we really have symbolic links.
1075 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
1076 $(dirname $1); use status of ln for exit code; make more robust
1077 against multiple slashes in a row.
1079 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1081 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
1083 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
1084 the three-part name, to distinguish correctly from *-*-linux-gnu*.
1086 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
1089 * sysdeps/mach/hurd/Makefile (install-others): Add
1091 ($(libdir)/libc_p.a): New rule.
1092 * sysdeps/mach/hurd/libc_p-ldscript: New file.
1093 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
1095 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
1097 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
1098 * time/Makefile: Likewise.
1100 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
1101 * sysdeps/alpha/elf/Dist: New file.
1102 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
1103 The bits currently distributed with GCC fail in two ways -- they don't
1104 understand multiple .got subsections and the extents of the lists are
1105 dynamicly bound meaning that the application's lists get executed
1106 multiple times and the library's lists never get executed.
1108 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1110 * stdlib/strtod.c: Fix previous change.
1112 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1114 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
1117 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
1119 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
1120 Likesie for scanf4.c
1122 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
1124 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
1125 alias of __sigsuspend.
1127 * grp/grp.h: Correct comment about POSIX compliance.
1128 * pwd/pwd.h: Likewise.
1130 * login/utmp.h: Update copyright and pretty-print prototypes.
1131 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
1132 _PATH_WTMP from utmpbits.h.
1133 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1134 * sysdeps/generic/utmpbits.h: Remove here.
1135 * sysdeps/gnu/utmpbits.h: Likewise.
1137 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
1138 Pretty-print prototypes.
1140 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
1143 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
1145 * inet/ether_hton.c: Include <string.h>.
1146 * inet/ether_ntoh.c: Likewise.
1147 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
1148 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
1150 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
1151 to define. Jim Nance reports problems building XEmacs otherwise.
1153 * resolv/gethnamaddr.c: Protect h_errno redefinition.
1154 * resolv/getnetnamadr.c: Likewise.
1155 * resolv/herror.c: Likewise.
1157 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
1158 with -traditional. Reported by Eric Youngdale. While we're at this,
1159 don't do error checking in the __ functions. This is consistent
1160 with the sysv4 definitions and seems Right.
1161 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
1162 prototype for __sigsuspend.
1163 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
1164 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
1165 * sysdeps/posix/sigpause.c: Likewise.
1166 * sysdeps/posix/sigsetmask.c: Likewise.
1167 * sysdeps/posix/sigvec.c: Likewise.
1168 * sysdeps/posix/sigintr.c: Reformat copyright.
1169 * sysdeps/posix/signal.c: Check signal number out of range since
1170 __sigismember doesn't anymore. Reformat copyright.
1171 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
1172 sigdelset, sigaction, and sigsuspend.
1174 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
1175 to the wider type before shifting.
1177 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
1178 without .set noat" in profiling hook.
1179 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1180 * sysdeps/alpha/htonl.S: Likewise.
1181 * sysdeps/alpha/htons.S: Likewise.
1182 * sysdeps/alpha/s_copysign.S: Likewise.
1183 * sysdeps/alpha/setjmp.S: Likewise.
1184 * sysdeps/alpha/stpcpy.S: Likewise.
1185 * sysdeps/alpha/strcat.S: Likewise.
1186 * sysdeps/alpha/strcpy.S: Likewise.
1187 * sysdeps/alpha/strncat.S: Likewise.
1188 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
1189 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1190 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1191 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1192 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1193 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
1194 function to __sigsuspend and add weak alias.
1195 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
1197 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
1199 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
1200 SYSCALL__ actually generated.
1202 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
1203 #define __set_errno, as several imported subsystems (eg. BIND) check
1204 that the symbol is defined.
1206 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
1208 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
1209 that manifests in GCC.
1211 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1213 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
1214 * sysdeps/posix/readv.c (readv): Likewise.
1216 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
1218 * nss/nss_dns/dns-network.c: Change return type of all functions
1220 Reported by NIIBE Yutaka.
1221 * nss/nss_dns/dns-host.c: Update copyright.
1223 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1225 * config.make.in: Remove definition of top_absdir.
1226 * configure.in: Likewise. Use $(..) instead.
1227 * Makerules (make-link): Use $(..) to find rellns-sh script.
1229 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1231 * manual/nss.texi (Name Service Switch): Fix reference to
1234 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1239 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
1241 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
1242 variable from __stat to __status to prevent shadowing.
1243 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
1244 for parameter __wait.
1245 Reported by NIIBE Yutaka.
1247 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
1249 * misc/regexp.c: New file. Implementation of obsolete interface
1250 to regular expression matcher (required in XPG4.2).
1251 * misc/regexp.h: New file. Header for above.
1252 * misc/Makefile (headers): Add regexp.h.
1253 (routines): Add regexp.c.
1256 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1258 * stdlib/tst-strtod.c (main): Add arguments for main.
1259 * stdlib/tst-strtol.c (main): Likewise.
1261 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
1263 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
1265 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
1266 and sysconfdir to /etc if $prefix is /usr.
1267 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
1269 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
1270 $(have-bash2) is yes.
1271 * elf/ldd.bash.in: Add copyright and various cleanups.
1272 * elf/ldd.sh.in: Likewise.
1274 Implement RTLD_NEXT.
1275 * elf/dlfcn.h: Define RTLD_NEXT.
1276 * elf/dl-deps.c: Build second searchlist which contains duplicates.
1277 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
1278 for RTLD_NEXT lookup.
1279 Rewrite _dl_lookup_symbol to put common parts for both lookup
1280 functions in a separate function.
1281 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
1282 * elf/link.h (struct link_map): Add l_dupsearchlist and
1284 Add prototype for _dl_lookup_symbol_skip.
1286 * sunrpc/Makefile (rpcsvc): Add rusers.
1287 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
1288 * sunrpc/rpcsvc/rusers.x: New file.
1290 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
1292 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
1293 __libc_lock_init for local lock.
1294 Reported by a sun <asun@zoology.washington.edu>.
1295 [!USE_IN_LIBIO] (PAD): Optimize a bit.
1297 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
1299 * db/makedb.c: Update and reformat copyright.
1300 * elf/Makefile: Likewise.
1301 * elf/dl-close.c: Likewise.
1302 * elf/dl-debug.c: Likewise.
1303 * elf/dl-deps.c: Likewise.
1304 * elf/dl-error.c: Likewise.
1305 * elf/dl-fini.c: Likewise.
1306 * elf/dl-init.c: Likewise.
1307 * elf/dl-load.c: Likewise.
1308 * elf/dl-lookup.c: Likewise.
1309 * elf/dl-minimal.c: Likewise.
1310 * elf/dl-object.c: Likewise.
1311 * elf/dl-open.c: Likewise.
1312 * elf/dl-reloc.c: Likewise.
1313 * elf/dl-runtime.c: Likewise.
1314 * elf/dl-support.c: Likewise.
1315 * elf/dl-symbol.c: Likewise.
1316 * elf/dladdr.c: Likewise.
1317 * elf/dlclose.c: Likewise.
1318 * elf/dlerror.c: Likewise.
1319 * elf/dlopen.c: Likewise.
1320 * elf/dlsym.c: Likewise.
1321 * elf/do-rel.h: Likewise.
1322 * elf/dynamic-link.h: Likewise.
1323 * elf/eval.c: Likewise.
1324 * elf/rtld.c: Likewise.
1325 * inet/ether_hton.c: Likewise.
1326 * inet/ether_ntoh.c: Likewise.
1327 * inet/ether_line.c: Likewise.
1328 * inet/getnetgrent_r.c: Likewise.
1330 * inet/Makefile (+gccwarn): Remove definition.
1331 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
1333 * inet/aliases.h: Add C++ protection.
1334 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
1335 (ether_hostton): Remove unused variable result.
1336 * inet/ether_ntoh.c: Likewise.
1337 * inet/ether_line.c: Include <ctype.h> and <string.h>.
1338 * inet/getnetgrent_r.c: Include <stdlib.h>.
1339 Use casts to prevent warnings.
1340 (innetgr): Initialize `known' and `needed'.
1341 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
1342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
1343 return NULL. Instead set *RESULT to NULL and return -1.
1344 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
1345 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
1347 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
1350 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
1352 * sysdeps/posix/readv.c: Don't use PTR anymore.
1353 * sysdeps/posix/writev.c: Likewise.
1355 * version.h (VERSION): Bump to 1.98.
1357 * nss/db-Makefile: Generate lines for getXXXent iteration.
1359 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
1360 divqu.S, remlu.S, and remqu.S.
1362 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1364 * posix/unistd.h: Correct typo in documentation.
1366 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
1368 * inet/netinet/tcp.h: Use __ protected versions instead of
1369 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
1371 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
1373 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
1374 references in libc.so are not anymore undefined.
1376 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1378 * io/utime.h: Rename second parameter for utime to prevent warning
1380 * dirent/dirent.h: Same here for scandir prototype.
1381 * math/mathcalls.h: Likewise for frexp and ldexp.
1382 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
1384 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
1386 * stdlib/tst-strtod.c: Add test for error case below.
1388 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
1390 * stdlib/strtod.c: Recognize numbers like 0e-19.
1392 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1394 * time/Makefile ($(installed-localtime-file)): Fix path to
1397 * Makefile: Don't generate and install gnu/lib-names.h if
1398 $(build-shared) is not `yes'.
1400 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
1402 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
1403 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
1405 * Makerules (REAL_MAKE_VERSION): New, use it instead of
1408 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
1410 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
1411 * nss/getXXent_r.c: Fix typo. Set correct return value when
1412 no further service is available.
1414 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
1416 * db/recno/rec_put.c: Add cast to avoid warning.
1417 * db/recno/rec_close.c: Likewise.
1418 * db/mpool/mpool.c: Likewise.
1419 * db/hash/hash_bigkey.h: Likewise.
1420 * db/hash/hash.c: Likewise.
1421 * db/btree/bt_split.c: Likewise.
1422 * db/btree/bt_put.c: Likewise.
1424 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
1426 * dirent/dirent.h: Update copyright.
1427 * elf/elf.h: Likewise.
1428 * elf/link.h: Likewise.
1429 * gmon/sys/gmon_out.h: Likewise.
1430 * gnu-versions.h: Likewise.
1431 * intl/libintl.h: Likewise.
1432 * io/fcntl.h: Likewise.
1433 * io/ftw.h: Likewise.
1434 * io/sys/statfs.h: Likewise.
1435 * io/utime.h: Likewise.
1436 * locale/langinfo.h: Likewise.
1437 * malloc/malloc.h: Likewise.
1438 * malloc/obstack.h: Likewise.
1439 * misc/ar.h: Likewise.
1440 * misc/error.h: Likewise.
1441 * misc/mntent.h: Likewise.
1442 * misc/sgtty.h: Likewise.
1443 * misc/sys/cdefs.h: Likewise.
1444 * misc/sys/dir.h: Likewise.
1445 * misc/sys/file.h: Likewise.
1446 * misc/sys/ioctl.h: Likewise.
1447 * misc/sys/ustat.h: Likewise.
1448 * posix/fnmatch.h: Likewise.
1449 * posix/getopt.h: Likewise.
1450 * posix/glob.h: Likewise.
1451 * posix/posix2_lim.h: Likewise.
1452 * posix/regex.h: Likewise.
1453 * posix/sys/times.h: Likewise.
1454 * posix/sys/types.h: Likewise.
1455 * posix/sys/utsname.h: Likewise.
1456 * posix/tar.h: Likewise.
1457 * posix/wordexp.h: Likewise.
1458 * resource/sys/resource.h: Likewise.
1459 * resource/sys/vlimit.h: Likewise.
1460 * resource/sys/vtimes.h: Likewise.
1461 * socket/sys/socket.h: Likewise.
1462 * socket/sys/un.h: Likewise.
1463 * stdio-common/printf.h: Likewise.
1464 * stdlib/alloca.h: Likewise.
1465 * string/argz.h: Likewise.
1466 * string/endian.h: Likewise.
1467 * string/envz.h: Likewise.
1468 * string/memory.h: Likewise.
1469 * string/strings.h: Likewise.
1470 * sysdeps/generic/crypt.h: Likewise.
1471 * sysdeps/generic/direntry.h: Likewise.
1472 * sysdeps/generic/gnu/types.h: Likewise.
1473 * sysdeps/generic/ioctl-types.h: Likewise.
1474 * sysdeps/generic/netinet/in.h: Likewise.
1475 * sysdeps/generic/resourcebits.h: Likewise.
1476 * sysdeps/generic/sigset.h: Likewise.
1477 * sysdeps/generic/sockaddrcom.h: Likewise.
1478 * sysdeps/generic/sys/mman.h: Likewise.
1479 * sysdeps/generic/sys/ptrace.h: Likewise.
1480 * sysdeps/generic/termbits.h: Likewise.
1481 * sysdeps/generic/waitstatus.h: Likewise.
1482 * sysdeps/ieee754/huge_val.h: Likewise.
1483 * sysdeps/ieee754/nan.h: Likewise.
1484 * sysdeps/mach/hurd/local_lim.h: Likewise.
1485 * sysdeps/mach/hurd/statbuf.h: Likewise.
1486 * sysdeps/stub/huge_val.h: Likewise.
1487 * sysdeps/stub/libc-lock.h: Likewise.
1488 * sysdeps/stub/signum.h: Likewise.
1489 * sysdeps/stub/statbuf.h: Likewise.
1490 * sysdeps/stub/waitflags.h: Likewise.
1491 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
1492 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
1493 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1494 * sysdeps/unix/bsd/signum.h: Likewise.
1495 * sysdeps/unix/bsd/statbuf.h: Likewise.
1496 * sysdeps/unix/bsd/sun/signum.h: Likewise.
1497 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
1498 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1499 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
1500 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1501 * sysdeps/unix/bsd/waitflags.h: Likewise.
1502 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
1503 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
1504 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1505 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1506 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
1507 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
1508 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1509 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
1510 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
1511 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1512 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
1513 * sysdeps/unix/sysv/linux/signum.h: Likewise.
1514 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
1515 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
1516 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1517 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1518 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1519 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
1520 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
1521 * sysdeps/unix/sysv/local_lim.h: Likewise.
1522 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
1523 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
1524 * sysdeps/unix/sysv/signum.h: Likewise.
1525 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
1526 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
1527 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
1528 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
1529 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
1530 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
1531 * sysdeps/vax/huge_val.h: Likewise.
1532 * values.h: Likewise.
1534 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
1536 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
1537 `memcpy' using bcopy if memcpy is not available.
1539 * manual/stdio.texi: Correct description of printf customization.
1540 The argument info function is not optional anymore and the
1541 interface for `printf_function' also changed.
1542 * manual/examples/rprintf.c: Define and use argument info function.
1544 * stdio-common/printf.h (struct printf_info): Change type for field
1546 Correct comment for `register_printf_function'.
1548 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
1549 to reentrant function. Instead use temporary variable and set
1550 h_errno if an error occured.
1551 Reported by NIIBE Yutaka.
1553 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1555 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
1556 S_ITRANS): New macros.
1557 (S_ISPARE): Update to include new macros and S_IUSEUNK.
1559 * sysdeps/mach/hurd/select.c (__select): Construct arg to
1560 mach_msg_destroy more nicely.
1562 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
1564 * stdio/fopen.c (__getmode): Declare with prototype.
1565 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
1566 * stdio/internals.c (__stdio_check_funcs, init_stream,
1567 seek_to_target, flushbuf, fillbuf): Likewise.
1569 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
1570 funlockfile, not _IO_funlockfile.
1572 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
1574 * sysdeps/posix/writev.c (writev): Likewise.
1576 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
1578 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1580 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
1581 prototyped definition.
1583 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
1584 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
1586 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
1588 * inet/Makefile (headers): Add aliases.h.
1589 (routines): Add getaliasent_r, getaliasent, getaliasname, and
1591 * aliases.h: New file.
1592 * inet/aliases.h: New file.
1593 * inet/getaliasent.c: New file.
1594 * inet/getaliasent_r.c: New file.
1595 * inet/getaliasname.c: New file.
1596 * inet/getaliasname_r.c: New file.
1597 * nss/Makefile (databases): Add alias.
1598 * nss/alias-lookup.c: New file.
1599 * nss/databases.def: Add aliases and publickey.
1600 * nss/nss_db/db-alias.c: New file.
1601 * nss/nss_files/files-alias.c: New file.
1603 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
1604 argument to lookup function is of type size_t.
1605 (innetgr): Likewise.
1606 * nss/getXXbyYY_r.c: Likewise.
1607 * nss/getXXent_r.c: Likewise.
1608 * nss/nss_db/db-XXX.c: Likewise.
1610 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
1611 failed because buffer was too small.
1612 * nss/getXXent.c: Likewise.
1614 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
1615 getXXent_r function now uses f[gs]etpos to get to the correct
1618 * nss/nss_files/files-parse.c: Indent lines for better readability.
1620 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
1621 and new function print_and_abort. Remove all references to
1623 Add new function _obstack_memory_used.
1624 * malloc/obstack.h (struct obstack): Remove field alloc_field.
1625 Remove all references to alloc_failed field.
1626 Add prototype for _obstack_memory_used.
1628 * posix/unistd.h: Correct typo.
1630 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
1632 * configure.in: Require at least autoconf-2.10.2.
1634 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1636 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
1639 * mach/msg-destroy.c (mach_msg_destroy_port,
1640 mach_msg_destroy_memory): Use prototype syntax.
1641 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
1642 malloc_fork_parent, malloc_fork_child): Likewise.
1644 * stdio/stdio.h: Repair broken cpp syntax.
1646 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
1647 we pass O_NOLINK on the open.
1649 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
1650 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
1651 an XOPEN error code, move to before the "Linux only" section, and
1652 give it a new number for the Hurd.
1654 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
1656 * malloc/obstack.h: Add new macro `obstack_make_room'.
1657 * malloc/obstack.c: Add function implementation for
1658 `obstack_make_room'.
1660 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
1662 Update to BIND-4.9.5-REL.
1663 * resolv/Banner: Set to 4.9.5-REL.
1664 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
1665 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
1668 * config.make.in: Add definition for top_absdir.
1669 * Makerules (make-link): Fix path to rellns-sh script.
1671 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1673 * posix/unistd.h: Fix comment.
1675 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
1676 when talking about numbers.
1677 * manual/users.texi: Likewise.
1678 * manual/creature.texi: Likewise. Use @defvarx for a secondary
1681 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1683 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
1684 the real posix1_lim.h file so that it works in all subdirs, not
1687 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1689 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
1691 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1693 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
1694 on $(before-compile) which hasn't been properly setup yet at this
1697 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1699 * sysdeps/generic/sigset.h: Don't use implicit int which will
1700 probably require a diagnostic in the next revision of the C
1702 * sysdeps/stub/lockfile.c: Likewise.
1704 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1706 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
1707 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1709 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
1711 * time/strftime.c: Update copyright. Small cosmetic changes.
1713 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
1715 * inet/getprtname_r.c: Reformat copyright.
1717 * nss/Makefile (databases): Add key.
1718 (libnss_files-routines): Exclude key database.
1719 (libnss_db-routines): Likewise.
1720 * nss/key-lookup.c: New file.
1722 * nss/getXXent_r.c (last_nip): Remember last service used since
1724 (SETFUNC): Don't force to work through whole list of services in
1726 Update last_nip if necessary.
1727 (ENDFUNC): Only process endXXent function up to currently used
1729 (GETFUNC): Update last_nip if necessary.
1731 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1734 * rpc/auth_des.h: New file.
1735 * sunrpc/Makefile (headers): Add auth_des.h.
1736 (routines): Add publickey.
1737 * sunrpc/publickey.c: New file. Interface to public key handling.
1738 * sunrpc/rpc/auth_des.h: New file.
1739 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
1741 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
1743 * inet/gethstent_r.c: Update copyright.
1744 * nss/getXXbyYY_r.c: Likewise.
1745 * nss/nsswitch.c: Likewise.
1746 * nss/getXXent_r.c: Likewise.
1747 * nss/nss_files/files-XXX.c: Likewise.
1748 * nss/nss_files/files-netgroup.c: Likewise.
1749 * nss/nss_files/files-parse.c: Likewise.
1751 * nss/getXXent_r.c: Change implementation. It's not necessary to
1752 call all setXXent functions. Just find first available and
1753 when necessary let getXXent_r call the others.
1755 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
1756 of getXXent and getXXbyYY can be mixed. The cursor for traversing
1757 the database with getXXent will be remembered.
1759 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
1761 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
1763 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
1764 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
1766 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
1768 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
1770 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
1771 set. Instead for none beside the first seven bits to be set.
1772 X/Open allows the argument to be an `int' value.
1773 Reported by Alain Williams <addw@phcomp.co.uk>.
1774 (toascii, isascii): Define macro also when __USE_XOPEN.
1776 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
1779 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
1781 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
1782 NULL so that GETFUNC will see first entry.
1783 (ENDFUNC_NAME): Likewise.
1785 Rewrite Netgroups implementation to avoid global data.
1786 * inet/netgroup.h: Add definition of name_list and struct
1788 Add prototypes for internal netgroup functions.
1789 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
1790 extra argument and use the included data instead of global vars.
1791 (_nss_files_endnetgrent): Likewise.
1792 (_nss_netgroup_parseline): Change to be static and use data
1793 included in the RESULT structure.
1794 * inet/getnetgrent_r.c (startp): Move into setup function.
1795 (known_groups, needed_groups): new part of the __netgrent sruct.
1796 (freememory): Take extra argument and use included data.
1797 (__internal_endnetgrent): Likewise.
1798 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
1799 and take extra argument.
1800 (__internal_setnetgrent): New function. Call
1801 __internal_setnetgrent_reuse after calling free_memory.
1802 (setnetgrent): Only call __internal_setnetgrent.
1803 (__getnetgrent_r): Split into two functions. __getnetgrent_r
1804 calls __internal_getnetgrent after locking.
1805 (innetgr): Use dynamic data only. I.e., innetgr now is fully
1808 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
1810 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
1811 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
1813 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
1815 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
1816 default when no *_SOURCE macro is given.
1817 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
1818 * NOTES: remade from manual/creature.texi.
1819 * manual/libc.texinfo: Add back line about GPL translation which
1822 * Make-dist (dist.tar): Depend on README being updated.
1824 * rellns-sh: Correct thinko in removing leading /.
1825 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1827 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
1828 with `+' or `-' in parser.
1829 * grp/fgetgrent_r.c: Likewise.
1830 * shadow/sgetspent_r.c: Likewise.
1831 * nss/nss_files/files-spwd.c: Don't accept entries starting with
1834 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
1836 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
1837 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
1839 * string/argz.h: Don't protect by __USE_GNU.
1841 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
1843 * Lots of files: Update and reformat copyright.
1845 * Makefile (headers): Add xopen_lim.h.
1847 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
1849 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
1850 if __USE_XOPEN_EXTENDED is defined.
1851 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
1852 if __USE_XOPEN_EXTENDED is defined.
1854 * io/Makefile (routines): Add lchown.
1855 * sysdeps/stub/lchown.c: New file.
1857 * io/sys/poll.h: Add definition of POLLWRNORM.
1859 * io/sys/stat.h: Declare lstat, fchmod, mknod when
1860 __USE_XOPEN_EXTENDED is defined.
1862 * libio/Makefile (routines): Add obprintf.
1863 * libio/obprintf.c: New file.
1864 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
1866 * libio/libio.h: Fix typo.
1867 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
1868 Add prototypes for obstack_vprintf and obstack_printf.
1870 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
1871 * manual/intro.texi: Add reference to NSS chapter.
1872 * manual/libc.texinfo: Update UPDATED.
1873 Comment out `@printindex cp'. It works again.
1874 * manual/memory.texi: Add description for obstack_ptr_grow,
1875 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
1876 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
1877 index entries to @vindex.
1878 * manual/users.texi: Correct @cindex entry for Netgroup.
1880 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
1881 make declarations visible for X/Open sources.
1883 * misc/search.h: Declare insque/remque only is __USE_SVID or
1884 __USE_XOPEN_EXTENDED is defined.
1886 * misc/sys/uio.h (readv, writev): Change return value from int to
1889 * posix/Makefile (headers): Add re_comp.h.
1890 * posix/re_comp.h: New file. XPG interface to regex functions.
1892 * posix/getconf.c: Add all names from XPG4.2.
1893 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
1894 and _POSIX_OPEN_MAX to minimums from XPG4.2.
1895 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
1896 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
1897 * sysdeps/stub/sysconf.c: Likewise.
1899 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
1900 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
1901 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
1902 ftruncate, getdtablesize, brk, sbrk, lockf when
1903 __USE_XOPEN_EXTENDED is defined.
1905 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
1907 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
1908 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
1909 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1911 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
1912 __USE_XOPEN_EXTENDED is defined.
1914 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
1916 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
1918 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
1921 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
1922 and rindex available when __USE_XOPEN_EXTENDED is defined.
1924 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
1925 * sysdeps/posix/getpagesize.c: Likewise.
1926 * sysdeps/stub/getpagesize.c: Likewise.
1927 * sysdeps/unix/getpagesize.c: Likewise.
1929 * time/africa: Update from tzdata1996l.
1930 * time/asia: Likewise.
1931 * time/australia: Likewise.
1932 * time/europe: Likewise.
1933 * time/northamerica: Likewise.
1934 * time/pacificnew: Likewise.
1935 * time/southamerica: Likewise.
1936 * time/tzfile.h: Update from tzcode1996m.
1938 * time/time.h: Declare strptime if __USE_XOPEN.
1939 Declare daylight and timezone also if __USE_XOPEN.
1941 * time/sys/time.h: Remove declaration of ualarm.
1943 * wctype/wctype.h: Just reference ISO C standard.
1945 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
1947 * crypt/Makefile: Add crypt routines to libc as well iff
1948 $(crypt-in-libc) is set. Do this for temporary binary compatibility
1949 on existing Linux/Alpha installations.
1951 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
1952 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
1953 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
1954 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
1956 * sysdeps/alpha/div.S: New file.
1957 * sysdeps/alpha/ldiv.S: New file.
1958 * sysdeps/alpha/lldiv.S: New file.
1959 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
1960 Take pointers from Linus and tighten the inner loops a bit.
1961 * sysdeps/alpha/divl.S: Change defines for merged routines.
1962 * sysdeps/alpha/divq.S: Likewise.
1963 * sysdeps/alpha/reml.S: Likewise.
1964 * sysdeps/alpha/remq.S: Likewise.
1965 * sysdeps/alpha/divlu.S: Remove file.
1966 * sysdeps/alpha/divqu.S: Likewise.
1967 * sysdeps/alpha/remlu.S: Likewise.
1968 * sysdeps/alpha/remqu.S: Likewise.
1970 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
1971 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1972 * sysdeps/alpha/bzero.S: Likewise.
1973 * sysdeps/alpha/ffs.S: Likewise.
1974 * sysdeps/alpha/htonl.S: Likewise.
1975 * sysdeps/alpha/htons.S: Likewise.
1976 * sysdeps/alpha/memchr.S: Likewise.
1977 * sysdeps/alpha/memset.S: Likewise.
1978 * sysdeps/alpha/s_copysign.S: Likewise.
1979 * sysdeps/alpha/s_fabs.S: Likewise.
1980 * sysdeps/alpha/setjmp.S: Likewise.
1981 * sysdeps/alpha/stpcpy.S: Likewise.
1982 * sysdeps/alpha/stpncpy.S: Likewise.
1983 * sysdeps/alpha/strcat.S: Likewise.
1984 * sysdeps/alpha/strchr.S: Likewise.
1985 * sysdeps/alpha/strcpy.S: Likewise.
1986 * sysdeps/alpha/strlen.S: Likewise.
1987 * sysdeps/alpha/strncat.S: Likewise.
1988 * sysdeps/alpha/strncpy.S: Likewise.
1989 * sysdeps/alpha/strrchr.S: Likewise.
1990 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
1991 Convert two small jumps to use conditional moves.
1992 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
1993 (PSEUDO): If PROF, call _mcount.
1994 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
1995 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1996 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1997 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1998 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1999 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2000 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2002 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
2003 eventually contain memmove as well.
2004 * sysdeps/alpha/strcmp.S: New file.
2005 * sysdeps/alpha/strncmp.S: New file.
2006 * sysdeps/alpha/w_sqrt.S: New file.
2008 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
2010 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
2012 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
2014 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
2015 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
2016 Reported by Thomas Bushnell, n/BSG.
2018 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
2020 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
2022 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
2024 * malloc/calloc.c: Check for overflow before trying to allocate
2025 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
2027 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2029 * manual/llio.texi (Operating Modes): Add missing arguments to
2030 @deftypevr in O_NONBLOCK description.
2032 * manual/time.texi (Time Zone Functions): Enclose type name in
2033 braces in description of tzname. FIXME: this does not yet work
2036 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
2038 * features.h: Add X/Open macros.
2039 * posix/unistd.h: Define X/Open macros.
2040 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
2041 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
2042 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
2043 * sysdeps/posix/sysconf.c: Handle new constants.
2044 * sysdeps/stub/sysconf.c: Likewise.
2045 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
2047 * catgets/catgets.c (catopen): Set errno to ENOMEM when
2048 we run out of memory.
2049 (catgets): Set errno to EBADF when catalog handle is invalid.
2050 Set errno to ENOMSG when translation is not available.
2051 (catclose): Set errno to EBADF when catalog handle is invalid.
2053 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
2054 Likewise for _toupper and _tolower.
2056 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
2057 strtof, and strtold.
2058 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
2059 * manual/stdio.h: Document ' flag for numeric formats of scanf.
2060 * manual/users.texi: Document that cuserid shouldn't be used.
2062 * misc/Makefile (routines): Add dirname.
2063 (headers): Add libgen.h.
2064 (tests): Add tst-dirname.
2065 * misc/dirname.c: New file.
2066 * misc/libgen.h: New file.
2067 * misc/tst-dirname.c: New file.
2069 * misc/search.h: Parameter of hcreate must be of type size_t.
2070 * misc/hsearch.c: Likewise.
2071 * misc/hsearch_r.c: Likewise for hcreate_r.
2072 * misc/search.h: Parameters of insque and remque must be `void *'.
2073 * misc/insremque.c: Likewise.
2075 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
2076 * stdlib/stdlib.h: ...here.
2077 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
2080 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
2082 (parse_one_spec): Remove Linux compatibility code.
2083 Recognize %C and %S formats.
2084 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
2085 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
2086 * stdio-common/vfscanf.c: Likewise for scanf.
2088 * stdlib/l64a.c: Return value for 0 must be the empty string.
2089 * stdlib/stdlib.h: Declare reentrant function from rand49 family
2090 only if __USE_REENTRANT.
2091 Declare rand48 functions also if __USE_XOPEN.
2093 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
2095 Return 0 and set errno to EINVAL when strou* sees negativ number.
2096 * stdlib/tst-strtol.c: De-ANSI-fy.
2097 Change expected results for test of unsigned function and negative
2100 * string/stratcliff.c: Prevent warnings.
2101 * string.h: Move declaration of swab to <unistd.h>.
2102 * string/swab.c: De-ANSI-fy.
2104 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
2105 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
2106 * sysdeps/posix/mktemp.c: Likewise.
2107 * sysdeps/stub/mkstemp.c: Likewise.
2108 * sysdeps/stub/mktemp.c: Likewise.
2110 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
2112 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
2115 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
2117 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
2120 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
2122 * sysdeps/posix/cuserid.c: Use reentrant functions.
2123 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
2126 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
2128 Linus said he will make sure no system call will return a value
2129 in -1 ... -4095 as a valid result.
2130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
2131 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2132 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2133 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2135 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2137 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
2138 __funlockfile, not a circular alias.
2139 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
2142 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
2144 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
2146 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2148 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2150 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2152 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
2155 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
2156 __internal_funlockfile (in terms of itself) should actually be a
2157 definition of __funlockfile.
2159 * pwd/pwd.h: Get `size_t' from <stddef.h>.
2160 * grp/grp.h: Likewise.
2161 * shadow/shadow.h: Likewise.
2163 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
2164 calls to __libc_lock_lock and __libc_lock_unlock.
2165 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
2168 * hurd/hurdsig.c (write_corefile): Fix typo.
2170 * sysdeps/mach/hurd/sigwait.c: New file.
2172 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
2174 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
2175 and __errno_location to correct position.
2177 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
2179 * Makefile (distribute): Add rellns-sh.
2180 * rellns-sh: New file.
2181 * Makerules (make-link): Use rellns-sh.
2182 * time/Makefile ($(installed-localtime-file)): Likewise.
2184 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
2186 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
2187 (distribute): Add ldd.bash.in.
2188 * elf/ldd.sh.in: Process --help and --version parameter.
2190 * elf/ldd.bash.in: New file.
2192 * stdlib/stdlib.h: Add prototype for clearenv.
2193 * sysdeps/generic/setenv.c: Add implementation of clearenv.
2194 (setenv): Handle __environ == NULL correctly.
2195 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
2198 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
2199 * sysdeps/generic/setenv.c: Likewise.
2200 * stdlib/strtol.h: Likewise.
2202 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
2203 Remove definition of struct timeval.
2204 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
2205 using `time_t' for members.
2206 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
2207 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
2208 as old Linux specific version.
2210 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
2212 * signal/Makefile (routines): Add sigwait.
2213 * signal/signal.h: Add prototype for sigwait.
2214 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
2215 function from POSIX.1c.
2216 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
2218 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
2220 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
2221 but don't bother going farther than sizeof(float)==sizeof(int).
2222 (xdr_double): Handle little-endian machines! Handle sizeof(double)
2223 != 2*sizeof(long), though again don't bother with more than int.
2225 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
2227 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
2230 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
2232 * Makerules: Create symbolic links for linking in $(libdir).
2233 (make-link): Use absolute path for destination if this is not in
2236 * elf/rtld.c (dl_main): When verifying don't check the name of
2239 * shlib-versions: Change entries for Hurd specific libs from
2240 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
2243 * assert/assert.h: Reformat copyright.
2244 Change reference to ANSI into reference to ISO C.
2245 * ctype/ctype.h: Likewise.
2246 * errno.h: Likewise.
2247 * limits.h: Likewise.
2248 * math/math.h: Likewise.
2249 * setjmp/setjmp.h: Likewise.
2250 * stdio/stdio.h: Likewise.
2251 * libio/stdio.h: Likewise.
2252 * stdlib/stdlib.h: Likewise.
2253 * string/string.h: Likewise.
2254 * time/time.h: Likewise.
2256 * string/argz.h: Use __const in definitions.
2258 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
2259 * misc/err.h: Likewise.
2261 * wctype/wctype.h (wctrans_t): Use __const instead of const.
2263 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
2264 sonames for versioned libraries.
2265 * Makefile: Remove code to generate libc-version.h.
2266 Generate gnu/lib-names.h with info from soversions.mk.
2267 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
2269 * dirent/tst-seekdir.c: Initialize save3.
2270 * grp/testgrp.c: Initialize my_group.
2272 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
2273 * grp/grp.h: Likewise.
2274 * nss/getXXbyYY.c: Likewise.
2275 * nss/getXXbyYY_r.c: Likewise.
2276 * nss/getXXent.c: Likewise.
2277 * nss/getXXent_r.c: Likewise.
2278 * pwd/fgetpwent_r.c: Likewise.
2279 * pwd/pwd.h: Likewise.
2280 * shadow/fgetspent_r.c: Likewise.
2281 * shadow/sgetspent.c: Likewise.
2282 * shadow/sgetspent_r.c: Likewise.
2283 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
2284 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
2285 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
2286 * resolv/netdb.h: Adapt prototypes for reentrant functions to
2288 * sunrpc/rpc/netdb.h: Likewise,
2289 * shadow/shadow.h: Likewise.
2291 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
2293 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
2295 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
2296 ELF aliasing creates strange situations.
2297 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
2299 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
2300 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2302 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
2305 * locale/programs/charmap.c: Add casts to prevent warnings.
2306 * locale/programs/linereader.h: Likewise.
2307 * locale/programs/ld-collate.c: Likewise.
2308 * locale/programs/stringtrans.c: Likewise.
2309 Change types for various variables to prevent warnings.
2310 * locale/programs/ld-ctype.c: Likewise.
2311 * locale/programs/linereader.h (lr_ungetc): Likewise.
2312 * locale/programs/charset.h (struct charset): Use `unsigned int'
2313 as type for width_default.
2314 * posix/regex.c: Change type of `this_reg' variables.
2315 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
2316 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
2318 * stdio-common/printf_fp.c: Initialize to_shift.
2319 * stdio-common/test_rdwr.c: Add cast.
2320 * stdio-common/vfprintf.c: Add casts and use correct types to
2322 * stdio-common/vfscanf.c: Initialize str and strptr.
2323 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
2324 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2325 * sysdeps/libm-ieee754/e_powf.c: Likewise.
2326 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
2327 * time/test-tz.c: Likewise.
2329 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
2330 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
2331 libc.cp index. This must be fixed.
2332 * manual/nss.texi: Adapt for correct POSIX.1c interface of
2333 reentrant functions.
2334 * manual/users.texi: Document netgroup functions.
2336 * po/es.po: Updated.
2337 * po/fr.po: Updated.
2339 * posix/fnmatch.c: Change to match libit version.
2341 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
2342 * sysdep/posix/ttyname_r.c: Likewise.
2344 * stdlib/atexit.h (__new_exitfn): Add internal locking.
2345 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
2346 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
2347 * stdlib/random.c (__srandom): Add internal locking.
2348 (__initstate): Likewise.
2349 (__setstate): Likewise.
2350 (__random): Likewise.
2352 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2354 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
2356 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
2357 * sysdeps/generic/uname.c: Likewise.
2358 * sysdeps/posix/rename.c: Likewise.
2359 * sysdeps/stub/setrlimit.c: Likewise.
2361 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
2363 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2365 * locale/programs/ld-collate.c (collate_order_elem): Fix format
2367 (collate_element_to): Cast field width argument to `int' for
2369 (collate_symbol): Likewise.
2370 (collate_order_elem): Likewise.
2371 (collate_weight_bsymbol): Likewise.
2372 (collate_simple_weight): Likewise.
2374 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
2376 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
2377 argument for format string.
2378 (ctype_map_newP): Likewise.
2379 (set_class_defaults): Fix format string.
2381 * locale/programs/localedef.c (construct_output_path): Putting an
2382 explicit \0 into the format string does not work, use %c.
2384 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
2386 * Makerules: Install all shared libraries in $(slibdir).
2388 * login/Makefile: Build libutil.so in others pass after
2391 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
2393 * string/stratcliff.c: Allocate 3 pages instead of one, then use
2394 mprotect so that we know that the adjacent pages are inaccessible.
2396 * resource/sys/resource.h: Move all structures and enums to ...
2397 * sysdeps/generic/resourcebits.h: ... here ...
2398 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
2399 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
2400 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
2401 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
2402 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
2403 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
2404 header for RLIMIT_* definitions. The members of struct rlimit
2408 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2410 * MakeTAGS (sysdep-dirs): Fix typo.
2412 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2414 * hurd/hurdsig.c (write_corefile): If we can't create the core
2415 file, still call crash_dump_task with a null FILE arg. Maybe it
2416 won't actually need the file.
2418 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
2420 * Makefile (headers): Don't mention libc-version.h.
2421 (install-others): ...but here.
2423 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
2425 * version.h: Bump version number to 1.97.
2427 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
2428 Include libc-version.h.
2429 * features.h.in: Removed.
2430 * Makefile: Change rules to generate libc-version.h instead of
2433 * malloc/free.c: Add cast to prevent warning.
2434 * malloc/malloc-walk.c: Likewise.
2435 * malloc/ralloc.c: Likewise.
2436 * malloc/realloc.c: Likewise.
2438 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
2440 * pwd/fgetpwent_r.c: Likewise.
2441 * nss/nss_files/files-grp.c: Don't accept entries with names starting
2442 with + or - in lookup functions.
2443 * nss/nss_files/files-pwd.c: Likewise.
2445 * Makerules: Call autolock.sh using $(SHELL).
2447 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2449 * elf/dl-minimal.c: Don't define `dgettext' replacement but
2450 `dcgettext'. When optimizing the macros in <libintl.h> define
2451 `dgettext' as a macro and so this function will never be called.
2453 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
2455 * sysdeps/i386/sysdep.h: Define END to use .size when available.
2456 (PSEUDO_END): Use END.
2457 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
2458 define SYSCALL_ERROR_HANDLER before using END.
2459 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
2460 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
2461 and .size directive but PSEUDO_END.
2462 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
2463 * sysdeps/unix/sysv/linux/socket.S: Likewise.
2464 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
2465 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
2466 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
2467 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
2468 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2469 * sysdeps/i386/bsd-setjmp.S: Likewise.
2470 * sysdeps/i386/memchr.S: Likewise.
2471 * sysdeps/i386/memcmp.S: Likewise.
2472 * sysdeps/i386/setjmp.S: Likewise.
2473 * sysdeps/i386/stpcpy.S: Likewise.
2474 * sysdeps/i386/stpncpy.S: Likewise.
2475 * sysdeps/i386/strchr.S: Likewise.
2476 * sysdeps/i386/strcspn.S: Likewise.
2477 * sysdeps/i386/strpbrk.S: Likewise.
2478 * sysdeps/i386/strrchr.S: Likewise.
2479 * sysdeps/i386/strspn.S: Likewise.
2480 * sysdeps/i386/strtok.S: Likewise.
2481 * sysdeps/i386/i486/strcat.S: Likewise.
2482 * sysdeps/i386/i486/strlen.S: Likewise.
2483 * sysdeps/i386/i586/memset.S: Likewise.
2484 * sysdeps/i386/i586/strchr.S: Likewise.
2485 * sysdeps/i386/i586/strlen.S: Likewise.
2487 * sysdeps/i386/strlen.c: De-ANSI-fy.
2489 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
2490 Define dgettext if not defined to use dcgettext.
2491 * sysdeps/mach/_strerror.c: Likewise.
2493 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
2494 __syscall_error defined.
2496 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2498 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
2499 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
2500 now provided by PSEUDO_END.
2501 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2502 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2503 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2504 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2505 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
2507 * sysdeps/generic/sysdep.h (END): Provide default empty
2509 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
2511 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
2512 (PSEUDO_END): Include it here instead.
2513 (SYSCALL_ERROR_HANDLER): Remove type directive.
2514 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
2515 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2516 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2517 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2518 (__syscall_error): Can't use ENTRY macro.
2520 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2522 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
2523 Set caller to EXTRA.
2525 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
2527 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
2528 to beginning of function. So libc functions can use this flag.
2529 * sysdeps/generic/_strerror.c: Don't use dgettext for message
2530 translation while `_dl_starting_up' is nonzero.
2532 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
2534 Pass parameter value to _dl_map_object.
2535 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
2536 If TRACE_MODE is nonzero don#t signal error when shared lib
2537 is not found. Instead create fake entry for link map.
2538 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
2539 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
2540 argument to _dl_map_object_deps.
2541 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
2542 _dl_map_object and _dl_map_object_deps.
2543 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
2544 and _dl_map_object_deps.
2545 When mode == trace test for l_opencount == 0 before printing
2546 link information since this means the lib is not found.
2548 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
2550 * rpm/template: Add INSTALL to %doc line to follow copyright
2551 restrictions which demand the distribution of the copyright
2552 messages in INSTALL even for binary distributions.
2554 * features.h: Rename to...
2555 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
2556 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
2557 and __GNU_LIBRARY_INTERFACE__.
2558 * Makefile ($(objpfx)features.h): New rule to generate features.h
2559 from template features.h.in.
2561 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
2563 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
2565 * locale/programs/linereader.c (lr_open): Cast away const before free.
2566 (lr_close): Likewise.
2568 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
2569 * misc/paths.h: Move to ...
2570 * sysdeps/generic/paths.h: ... here.
2572 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
2573 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
2575 * nss/nss_db/db-netgrp.h: Include <string.h>.
2577 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
2578 _sys_siglist, which result in the "Unknown signal" message.
2579 * string/strsignal.c: Likewise.
2580 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
2581 don't auto-generate siglist.c.
2582 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
2583 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
2584 autogenerate makes bootstrapping and cross-compiling much easier.
2585 * sysdeps/unix/sysv/linux/siglist.h: New file.
2587 * stdlib/longlong.h: Prototype __udiv_qrnnd.
2589 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
2590 sys/io.h. It is already added in .../linux/Makefile.
2592 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
2593 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
2594 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2596 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
2598 Add implementation of POSIX.1g function getaddrinfo.
2599 * posix/Makefile (routines): Add getaddrinfo.
2600 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
2602 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
2603 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
2604 related constants and structures.
2606 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
2608 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
2609 Make all old names weak alises so that they can be replaced
2612 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
2614 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
2615 __flockfile and __funlockfile.
2616 Reported by NIIBE Yutaka.
2618 * crypt/md5.c: Change form of copyright message according to GNITS
2620 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
2621 and `md5_read_ctx' function.
2622 * crypt/md5.h: Likewise.
2624 * grp/testgrp.c: Don't use perror for error cases since getgr* and
2625 getpw* functions do not return usable error codes.
2627 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
2629 * crypt/md5.c (md5_process_bytes): Used casting for pointer
2632 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
2634 * sunrpc/Makefile (others): Remove portmap here, too.
2636 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
2638 * intl/locale.alias: Language for entry `czech' is `cs'.
2640 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2642 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
2644 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
2646 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
2647 buggy and more competent people work on a usable version which is
2648 distributed separately.
2649 * sunrpc/portmap.c: Removed.
2650 Suggested by Thorsten Kukuk.
2652 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
2654 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
2657 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2659 * string/Makefile (tests): Add stratcliff.
2660 * string/stratcliff.c: New file. Test for string function at
2661 the edge of the usable memory.
2663 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
2665 * Makerules ($(libdir)/libc.so): Fix typo.
2667 * elf/ldd.sh.in: Test whether given file really exist and give
2668 better message if it is not available.
2670 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
2672 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
2675 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
2677 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
2678 output to $@T and move to $@ later since the new rpcgen will not
2679 overwrite existing files.
2681 * po/Makefile (libc.pot): Fix typo.
2683 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2685 Update rpcgen program to TI-rpc code.
2686 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
2687 (distribute): Add proto.h.
2688 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
2689 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
2690 * sunrpc/rpc_cout.c: Likewise.
2691 * sunrpc/rpc_hout.c: Likewise.
2692 * sunrpc/rpc_main.c: Likewise.
2693 * sunrpc/rpc_parse.c: Likewise.
2694 * sunrpc/rpc_parse.h: Likewise.
2695 * sunrpc/rpc_scan.c: Likewise.
2696 * sunrpc/rpc_scan.h: Likewise.
2697 * sunrpc/rpc_svcout.c: Likewise.
2698 * sunrpc/rpc_util.c: Likewise.
2699 * sunrpc/rpc_util.h: Likewise.
2701 * sunrpc/rpc_tblout.c: New file.
2702 * sunrpc/rpc_sample.c: Likewise.
2704 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2706 * sysdeps/unix/opendir.c: Add semicolon for consistency.
2708 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2710 * locale/programs/localedef.c (main): Test with -1 to find out
2711 whether read failed.
2713 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
2715 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
2718 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2720 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
2722 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2724 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
2725 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2726 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2727 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2728 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2730 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2731 Correct generation of system call.
2733 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2735 * Makerules (sysd-Makefile): Fix command so that it works in the
2737 (BUILD_CFLAGS): Change back using $(..) instead of
2738 $(common-objpfx), the latter fails in the toplevel directory when
2739 $(objdir) is relative.
2740 (common-objdir-compile): Run compiler in $(objdir).
2741 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
2743 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
2745 * string/string.h [__USE_SVID]: Add prototype for swab.
2746 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
2747 Reported by Andreas Jaeger.
2749 The available nlist implementation is not generally usable.
2750 Especially on the currently supported ELF systems the nlist
2751 function comes with the libelf.
2752 * misc/Makefile (headers): Remove nlist.h.
2753 (routines): Remove nlist.
2755 * Makefile ($(objpfx)version-info.h): Include information about
2756 system the libc is built on in version-info.h file.
2758 * po/Makefile (distribute): Add header.pot.
2760 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2762 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
2763 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2764 * misc/error.c: Likewise.
2766 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
2768 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
2770 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2772 * crypt/Makefile (rpath-link): Extend search path to current directory.
2774 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2776 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
2779 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
2781 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
2783 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
2785 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2787 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2790 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2792 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2795 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2797 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
2799 (PSEUDO_END): Provide definition to use .size directive.
2800 (PSEUDO): Don't interpret negative return values less than -128 as
2802 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
2804 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
2806 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2807 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2808 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2809 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2810 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2811 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2812 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
2813 explicit .size directive.
2815 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
2817 * shlib-versions: Add version number/name for ld.so.
2818 * Makeconfig: Move definition of rtld-installed-name after
2819 inclusion of soversions.mk.
2820 Don't add . before version number from shlib-versions file when
2821 when name does not start with digit. This is needed for ld.so.
2823 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
2825 * libio/iogets.c: Warn when gets is used.
2826 * stdio/gets.c: Strengthen the warning.
2828 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2830 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
2831 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
2832 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
2833 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
2834 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
2836 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
2837 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
2838 appropriate values according to __USE_REENTRANT.
2839 * libio/stdio.h: Add prototype for ftrylockfile.
2840 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
2841 getc, getchar, putc, and putchar using _IO_* names.
2842 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
2843 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
2844 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
2845 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
2846 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
2847 * libio/peekc.c: New file.
2849 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
2852 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
2854 * crypt/Makefile (tests): Add md5test and md5c-test.
2855 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
2856 is called, the buffer limit is honoured and a loop in a inner
2858 * crypt/md5.h (struct md5_ctx): Add new fields.
2859 Add prototypes for new functions.
2860 * crypt/md5.c (md5_init_ctx): Initialize new fields.
2861 (md5_finish_ctx): New function. Like md5_read_ctx but before
2862 perform correct finalization.
2863 (md5_process_bytes): New function. Similar to md5_proces_block,
2864 but does not require input size to be multiple of 64.
2865 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
2866 (md5_buffer): Likewise.
2867 (md5_process_block): Count number of bytes.
2868 * crypt/md5test.c: New file. Test program for MD5 functions.
2869 * crypt/md5c-test.c: New file: Test program for MD5 crypt
2874 * time/strptime.c: Recognize %s, %u, %g, and %G format.
2876 * posix/getopt.c: Add some more casts and initializations to
2879 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
2881 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
2882 an extra function to provide this functionality.
2883 (cfgetospeed): Simply return masked value.
2884 (cfsetospeed): Don't use speeds array and so we can simply test
2885 the value of SPEED for illegal values.
2886 * termios/cfsetspeed.c: Rewrite. We convert here between the
2887 real values and the B* constants.
2888 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
2890 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2892 * locale/programs/xstrdup.c: Define prototypes.
2893 * locale/programs/xmalloc.c: Likewise.
2895 * stdio-common/xbug.c (main): Change definition to avoid warning.
2897 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
2899 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
2901 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
2903 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
2904 "$(i18ndir)/charmaps".
2906 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2908 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
2909 to get definition of FPU description struct.
2911 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
2912 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
2913 net/if_arp.h, and net/route.h.
2914 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
2915 * sysdeps/unix/sysv/linux/net/route.h: New file.
2917 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
2919 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
2920 * sysdeps/stub/e_acosl.c: Likewise.
2921 * sysdeps/stub/e_asinl.c: Likewise.
2922 * sysdeps/stub/e_atan2l.c: Likewise.
2923 * sysdeps/stub/e_expl.c: Likewise.
2924 * sysdeps/stub/e_fmodl.c: Likewise.
2925 * sysdeps/stub/e_log10l.c: Likewise.
2926 * sysdeps/stub/e_logl.c: Likewise.
2927 * sysdeps/stub/e_sqrtl.c: Likewise.
2928 * sysdeps/stub/s_atanl.c: Likewise.
2929 * sysdeps/stub/s_log1pl.c: Likewise.
2931 * Makefile (distribute): Add nsswitch.h and netgroup.h.
2933 * nss/Makefile (generated): db-netgrp.c is not generated.
2935 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
2937 * Make-dist (+out): Add $(dont_distribute).
2939 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2941 * stdio-common/Makefile (routines): Add tmpnam_r.
2943 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
2945 * version.h: Bump version to 1.96.
2947 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2949 * stdio-common/tst-printf.c: Some more cleanups.
2951 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
2953 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
2954 * resolv/resolv.h: Likewise.
2955 * resolv/gethnamaddr.c: Likewise.
2956 * resolv/res_comp.c: Likewise.
2957 * resolv/res_debug.c: Likewise.
2958 * resolv/res_init.c: Likewise.
2959 * resolv/res_send.c: Likewise.
2960 * resolv/Banner: Update version number.
2962 * nss/nss_dns/dns-host.c: Update according to change in
2963 resolv/gethnamaddr.c.
2965 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
2967 * crypt/md5.c (md5_stream): When reading the block in several
2968 pieces append to instead of replace previously read data.
2970 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
2972 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
2973 last-byte-written bit for source word misalignment.
2974 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
2977 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
2979 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
2980 comes with glibc-nis.
2981 * sunrpc/rpcsvc/yp.x: Removed.
2983 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
2984 for *CURSOR to be NULL and dump a core if yes.
2986 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
2988 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
2989 including <errnos.h> to get error numbers.
2991 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
2993 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
2994 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
2995 Alpha people find a correct file.
2996 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
2997 an alias of __cabs since the structures have different names.
2998 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
2999 Reported by Matthew Jacob <mjacob@feral.com>.
3001 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3003 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
3004 so that it still works right if we happen to get called in a
3005 subdir it still works.
3007 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
3008 as file name translation flags.
3009 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
3010 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
3013 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
3014 name (changed according to libc-name) to avoid getting the
3015 Hurd-ish linker script for libc.a when we only want the archive
3018 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
3020 * time/strftime.c: Allow old K&R compilers compile this file.
3022 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
3024 * posix/execlp.c: Add first argument parameter to be compliant
3025 with POSIX. Rearrange body to start vararg counter after
3028 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
3030 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
3031 simply a wrapper around the <linux/elfcore.h> file since the
3032 kernel header is not clean enough. We provide the definitions
3033 in this file instead.
3035 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
3037 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
3038 get?id calls by using __libc_enable_secure.
3040 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
3042 * inet/getnetgrent_r.c: Correct netgroup implementation. A
3043 specification of a netgroup can also name another netgroup.
3044 * nss/nss_files/files-netgrp.c: Likewise.
3045 * inet/netgroup.h: Add fields to hold additional information.
3047 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
3049 * posix/getopt.c: Implement POSIX -W option handling. When the
3050 option string contains "W;" -W foo is handled like --foo.
3052 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
3054 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
3055 inclusing <errnos.h> so we really get error symbols defined.
3056 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3057 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3059 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
3060 size array for getgroups call. Instead get maximal number via
3061 sysconf. But discard list to NGRPS elements before calling XDR
3062 function since Sun's code cannot handle longer lists.
3063 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3065 * sysdeps/stub/e_j0l.c: Define y0l as well.
3066 * sysdeps/stub/e_j1l.c: Define y1l as well.
3067 * sysdeps/stub/e_jnl.c: Define ynl as well.
3069 * posix/unistd.h: Correct prototype for execlp.
3071 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
3073 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3075 * Makeconfig (sysdep-library-path): New variable.
3076 (built-program-cmd): Use it here to properly build a colon
3077 separated library path.
3079 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3081 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
3082 within comparison. Fix comments.
3083 (md5_crypt): Fix comment.
3085 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
3087 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
3088 when _ERRNO_H is defined.
3089 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
3090 Should there ever be a Linux port where the numeric values are
3091 not 33 and 34 this file must change.
3093 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3095 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
3098 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3100 * string/tst-strlen.c (main): Provide prototype.
3101 * malloc/mallocbug.c: Likewise.
3102 * io/test-utime.c: Likewise.
3104 * sysdeps/generic/crypt-entry.c: Correct typo.
3106 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
3108 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
3109 test for libc.a. Checking _DYNAMIC is of no worth here.
3110 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3112 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
3113 EXTERN_PARSER is defined.
3115 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3117 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
3119 * crypt/md5-crypt.c: Fix typos in comments.
3121 * gmon/gmon.c: Provide prototypes.
3122 * db/makedb.c: Likewise.
3123 * locale/programs/xmalloc.c: Likewise.
3124 * stdio-common/bug11.c (main): Likewise.
3125 * stdio-common/bug7.c (main): Likewise.
3126 * stdio-common/bug8.c (main): Likewise.
3127 * stdio-common/bug9.c (main): Likewise.
3128 * stdio-common/scanf1.c (main): Likewise.
3129 * stdio-common/scanf2.c (main): Likewise.
3130 * stdio-common/scanf5.c (main): Likewise.
3131 * stdio-common/scanf6.c (main): Likewise.
3132 * stdio-common/scanf7.c (main): Likewise.
3133 * stdio-common/scanf8.c (main): Likewise.
3134 * stdio-common/temptest.c (main): Likewise.
3135 * stdio-common/test-fwrite.c (main): Likewise.
3136 * stdio-common/tst-printf.c: Likewise.
3137 * stdio-common/tstdiomisc.c: Likewise.
3138 * stdio-common/tstgetln.c (main): Likewise.
3139 * stdlib/testmb.c (main): Likewise.
3141 * stdio-common/scanf4.c (main): Correct prototype, remove unused
3144 * stdio-common/scanf3.c (main): Correct prototype, change
3145 declaration of s to reduce warnings.
3146 * stdio-common/bug10.c (main): Likewise.
3148 * stdio-common/tfformat.c: Provide prototype, remove unused
3149 reference to dump_stats, add braces in sprint_doubles.
3150 * stdio-common/tiformat.c: Likewise.
3152 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
3155 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3157 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
3159 * shadow/putspent.c: Don't write colon after flag field.
3161 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
3163 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
3164 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3165 * sysdeps/unix/sysv/linux/Dist: Mention new files.
3167 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
3169 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
3170 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
3172 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
3173 by using __libc_enable_secure variable.
3175 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3177 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
3178 null, don't attempt mach_port_mod_refs.
3180 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3182 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
3183 sysdeps/unix/pipestream.c.
3185 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
3186 from sysdeps/mach/hurd/readdir.c.
3188 * stdio/freopen.c: Complete de-ansideclification.
3189 * stdio/fgets.c (fgets): Likewise.
3190 * stdio/getdelim.c (__getdelim): Likewise.
3191 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
3194 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3195 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3197 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
3198 STAT_LOC without error.
3200 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
3202 * posix/getopt.c: Add casts to prevent warnings.
3203 * posix/regex.c: Likewise.
3205 * math/Makefile (long-m-routines, long-m-yes): Define to correct
3206 values to make `long double' functions available.
3207 (distribute): Add $(long-m-yes:=.c).
3209 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
3210 Use long double instruction.
3212 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
3213 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
3214 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3216 * sysdeps/libm-ieee754/e_coshl.c: New file.
3218 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
3219 for `long double' version as alias.
3220 * sysdeps/libm-ieee754/s_atan.c: Likewise.
3221 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
3222 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
3223 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
3224 * sysdeps/libm-ieee754/s_cos.c: Likewise.
3225 * sysdeps/libm-ieee754/s_erf.c: Likewise.
3226 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
3227 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
3228 * sysdeps/libm-ieee754/s_finite.c: Likewise.
3229 * sysdeps/libm-ieee754/s_floor.c: Likewise.
3230 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
3231 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3232 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3233 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
3234 * sysdeps/libm-ieee754/s_logb.c: Likewise.
3235 * sysdeps/libm-ieee754/s_modf.c: Likewise.
3236 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
3237 * sysdeps/libm-ieee754/s_rint.c: Likewise.
3238 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
3239 * sysdeps/libm-ieee754/s_significand.c: Likewise.
3240 * sysdeps/libm-ieee754/s_sin.c: Likewise.
3241 * sysdeps/libm-ieee754/s_tan.c: Likewise.
3242 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
3243 * sysdeps/libm-ieee754/w_acos.c: Likewise.
3244 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
3245 * sysdeps/libm-ieee754/w_sin.c: Likewise.
3246 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
3247 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
3248 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
3249 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
3250 * sysdeps/libm-ieee754/w_drem.c: Likewise.
3251 * sysdeps/libm-ieee754/w_exp.c: Likewise.
3252 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
3253 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3254 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
3255 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
3256 * sysdeps/libm-ieee754/w_j0.c: Likewise.
3257 * sysdeps/libm-ieee754/w_j1.c: Likewise.
3258 * sysdeps/libm-ieee754/w_jn.c: Likewise.
3259 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3260 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
3261 * sysdeps/libm-ieee754/w_log.c: Likewise.
3262 * sysdeps/libm-ieee754/w_log10.c: Likewise.
3263 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3264 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
3265 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3266 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
3267 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
3269 Stub files for missing long double math functions.
3270 * sysdeps/stub/e_acoshl.c: New file.
3271 * sysdeps/stub/e_hypotl.c: New file.
3272 * sysdeps/stub/e_j0l.c: New file.
3273 * sysdeps/stub/e_j1l.c: New file.
3274 * sysdeps/stub/e_jnl.c: New file.
3275 * sysdeps/stub/e_lgammal_r.c: New file.
3276 * sysdeps/stub/e_powl.c: New file.
3277 * sysdeps/stub/e_rem_pio2l.c: New file.
3278 * sysdeps/stub/e_sinhl.c: New file.
3279 * sysdeps/stub/k_cosl.c: New file.
3280 * sysdeps/stub/k_rem_pio2l.c: New file.
3281 * sysdeps/stub/k_sinl.c: New file.
3282 * sysdeps/stub/k_tanl.c: New file.
3283 * sysdeps/stub/s_erfl.c: New file.
3284 * sysdeps/stub/s_expm1l.c: New file.
3286 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
3288 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3289 * sysdeps/i386/bsd-setjmp.S: Likewise.
3290 * sysdeps/i386/memchr.S: Likewise.
3291 * sysdeps/i386/memcmp.S: Likewise.
3292 * sysdeps/i386/setjmp.S: Likewise.
3293 * sysdeps/i386/stpcpy.S: Likewise.
3294 * sysdeps/i386/stpncpy.S: Likewise.
3295 * sysdeps/i386/strchr.S: Likewise.
3296 * sysdeps/i386/strcspn.S: Likewise.
3297 * sysdeps/i386/strpbrk.S: Likewise.
3298 * sysdeps/i386/strrchr.S: Likewise.
3299 * sysdeps/i386/strspn.S: Likewise.
3300 * sysdeps/i386/strtok.S: Likewise.
3301 * sysdeps/i386/i486/strcat.S: Likewise.
3302 * sysdeps/i386/i486/strlen.S: Likewise.
3303 * sysdeps/i386/i586/memset.S: Likewise.
3304 * sysdeps/i386/i586/strchr.S: Likewise.
3305 * sysdeps/i386/i586/strlen.S: Likewise.
3306 * sysdeps/libm-i387/e_acos.S: Likewise.
3307 * sysdeps/libm-i387/e_acosl.S: Likewise.
3308 * sysdeps/libm-i387/e_asin.S: Likewise.
3309 * sysdeps/libm-i387/e_asinl.S: Likewise.
3310 * sysdeps/libm-i387/e_atan2.S: Likewise.
3311 * sysdeps/libm-i387/e_atan2l.S: Likewise.
3312 * sysdeps/libm-i387/e_exp.S: Likewise.
3313 * sysdeps/libm-i387/e_expl.S: Likewise.
3314 * sysdeps/libm-i387/e_fmod.S: Likewise.
3315 * sysdeps/libm-i387/e_fmodl.S: Likewise.
3316 * sysdeps/libm-i387/e_log.S: Likewise.
3317 * sysdeps/libm-i387/e_log10.S: Likewise.
3318 * sysdeps/libm-i387/e_log10l.S: Likewise.
3319 * sysdeps/libm-i387/e_logl.S: Likewise.
3320 * sysdeps/libm-i387/e_remainder.S: Likewise.
3321 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3322 * sysdeps/libm-i387/e_remainderl.S: Likewise.
3323 * sysdeps/libm-i387/e_scalb.S: Likewise.
3324 * sysdeps/libm-i387/e_scalbl.S: Likewise.
3325 * sysdeps/libm-i387/e_sqrt.S: Likewise.
3326 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
3327 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
3328 * sysdeps/libm-i387/s_atan.S: Likewise.
3329 * sysdeps/libm-i387/s_atanf.S: Likewise.
3330 * sysdeps/libm-i387/s_atanl.S: Likewise.
3331 * sysdeps/libm-i387/s_ceil.S: Likewise.
3332 * sysdeps/libm-i387/s_ceilf.S: Likewise.
3333 * sysdeps/libm-i387/s_ceill.S: Likewise.
3334 * sysdeps/libm-i387/s_copysign.S: Likewise.
3335 * sysdeps/libm-i387/s_copysignf.S: Likewise.
3336 * sysdeps/libm-i387/s_copysignl.S: Likewise.
3337 * sysdeps/libm-i387/s_cos.S: Likewise.
3338 * sysdeps/libm-i387/s_cosf.S: Likewise.
3339 * sysdeps/libm-i387/s_cosl.S: Likewise.
3340 * sysdeps/libm-i387/s_finite.S: Likewise.
3341 * sysdeps/libm-i387/s_finitef.S: Likewise.
3342 * sysdeps/libm-i387/s_finitel.S: Likewise.
3343 * sysdeps/libm-i387/s_floor.S: Likewise.
3344 * sysdeps/libm-i387/s_floorf.S: Likewise.
3345 * sysdeps/libm-i387/s_floorl.S: Likewise.
3346 * sysdeps/libm-i387/s_ilogb.S: Likewise.
3347 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3348 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
3349 * sysdeps/libm-i387/s_log1p.S: Likewise.
3350 * sysdeps/libm-i387/s_log1pf.S: Likewise.
3351 * sysdeps/libm-i387/s_log1pl.S: Likewise.
3352 * sysdeps/libm-i387/s_logb.S: Likewise.
3353 * sysdeps/libm-i387/s_logbf.S: Likewise.
3354 * sysdeps/libm-i387/s_logbl.S: Likewise.
3355 * sysdeps/libm-i387/s_rint.S: Likewise.
3356 * sysdeps/libm-i387/s_rintf.S: Likewise.
3357 * sysdeps/libm-i387/s_rintl.S: Likewise.
3358 * sysdeps/libm-i387/s_scalbn.S: Likewise.
3359 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3360 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3361 * sysdeps/libm-i387/s_significand.S: Likewise.
3362 * sysdeps/libm-i387/s_significandf.S: Likewise.
3363 * sysdeps/libm-i387/s_significandl.S: Likewise.
3364 * sysdeps/libm-i387/s_sin.S: Likewise.
3365 * sysdeps/libm-i387/s_sinf.S: Likewise.
3366 * sysdeps/libm-i387/s_sinl.S: Likewise.
3367 * sysdeps/libm-i387/s_tan.S: Likewise.
3368 * sysdeps/libm-i387/s_tanf.S: Likewise.
3369 * sysdeps/libm-i387/s_tanl.S: Likewise.
3371 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
3372 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
3373 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
3374 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
3376 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
3377 to provide .size directive on ELF systems.
3379 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
3380 <sigcontext.h> and rename parameter type to sigcontext.
3381 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
3383 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
3384 negative values might occur as positive results. Test against
3385 -125 to decide for error or not.
3386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
3388 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3390 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
3391 whether this is a statically linked program. The latter is now
3394 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3396 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
3397 controlling terminals are allowed to send.
3399 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
3400 table is larger than the allowable address size, then return
3403 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
3407 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
3409 * po/fr.po: New file.
3411 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
3413 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
3415 Add support for MD5 crypt replacement.
3416 * Makefile (subdirs): Add crypt.
3417 * shlib-versions: Add entry for libcrypt.
3418 * crypt/md5-crypt.c: New file.
3419 * crypt/md5.c: New file.
3420 * crypt/md5.h: New file.
3421 * sysdeps/generic/crypt-entry.c: New file.
3422 * sysdeps/generic/crypt.h: New file.
3424 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3426 * dirent/tst-seekdir.c: Provide correct prototypes.
3427 * io/test-utime.c: Likewise.
3428 * malloc/mallocbug.c: Likewise.
3429 * posix/testfnm.c: Likewise.
3430 * stdio-common/xbug.c: Likewise.
3431 * sysdeps/posix/cuserid.c: Likewise.
3433 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
3435 Provide optimized string functions for Alpha processors.
3436 * sysdeps/alpha/bzero.S: New file.
3437 * sysdeps/alpha/memset.S: New file.
3438 * sysdeps/alpha/stpcpy.S: New file.
3439 * sysdeps/alpha/stpncpy.S: New file.
3440 * sysdeps/alpha/strcat.S: New file.
3441 * sysdeps/alpha/strchr.S: New file.
3442 * sysdeps/alpha/strcpy.S: New file.
3443 * sysdeps/alpha/strncat.S: New file.
3444 * sysdeps/alpha/strncpy.S: New file.
3445 * sysdeps/alpha/strrchr.S: New file.
3446 * sysdeps/alpha/stxcpy.S: New file.
3447 * sysdeps/alpha/stxncpy.S: New file.
3449 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
3450 stxncpy to sysdep_routines.
3453 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3455 * sysdeps/generic/gnu/types.h: Added __loff_t.
3456 Don't declare key_t here.
3458 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
3459 set errno (to ENOMEM).
3461 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
3463 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
3464 nothing is found. This guarantees all subsequent calls behave
3466 * sysdeps/generic/strtok_r.c: Likewise.
3468 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3470 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
3473 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
3475 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
3476 NULL immediately; we're going to get called one more time.
3477 * sysdeps/generic/strtok_r.c: Likewise.
3479 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
3481 * locale/programs/ld-time.c: Always write some bytes at the end of
3482 the file even if no `era's are specified.
3484 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
3487 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
3489 * libio/iofclose.c: Move unlocking to right position.
3491 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
3493 * misc/Makefile: Kill force-wrapper.
3494 * misc/force-wrapper.c: Delete.
3496 * elf/eval.c: Add <string.h>.
3498 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
3499 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
3500 and binary compatibility not at all. Better to do `char *foo'
3501 followed by `foo = ptr' as it is much cleaner.
3502 (struct gmon_hdr): Fix version.
3503 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
3504 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
3505 * gmon/gmon.c: De-ansidecl-ify.
3506 (write_hist): De-bcopy-fy.
3507 (write_call_graph): Likewise.