1 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
3 * resolv/resolv.h: Update from BIND 4.9.5-P1.
4 * resolv/res_comp.c: Likewise.
5 * resolv/res_debug.c: Likewise.
6 * resolv/Banner: Update version number.
8 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
10 * elf/dlfcn.h: Add extern "C" wrapper.
12 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
13 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
15 * locale/locale.h: Define NULL.
16 * math/math.c: Don't include <errno.h> to define math errors.
17 * stdlib/stdlib.h: Likewise.
18 * posix/unistd.h: Don't declare environ.
19 * posix/sys/utsname.h (struct utsname): Declare member domainname
20 as __domainname is !__USE_GNU.
21 * signal/signal.h: Declare size_t only if __USE_BSD ||
23 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
24 instead when __USE_XOPEN.
25 * string/string.h: Define strndup only if __USE_GNU.
26 * sysdeps/unix/sysv/linux/clock.c: New file.
27 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
28 1000000 per X/Open standard.
29 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
30 Define __USE_POSIX199309.
31 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
32 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
33 Patches by RĂ¼diger Helsch <rh@unifix.de>.
35 * locale/locale.h: Add declaration of newlocale and freelocale.
37 * new-malloc/Makefile (distibute): Add mtrace.awk.
38 (dist-routines): Add mcheck and mtrace.
39 (install-lib, non-lib.a): Define as libmcheck.a.
40 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
41 * new-malloc/mcheck.c: New file.
42 * new-malloc/mcheck.h: New file.
43 * new-malloc/mtrace.c: New file.
44 * new-malloc/mtrace.awk: New file.
46 * posix/unistd.h: Correct prototype for usleep.
47 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
48 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
51 * signal/signal.h: Change protoype of __sigpause to take two
52 arguments. Remove prototype for sigpause. Add two different
53 macros named sigpause selected when __USE_BSD or __USE_XOPEN
54 are defined. This is necessary since the old BSD definition
55 of theis function collides with the X/Open definition.
56 * sysdeps/posix/sigpause.c: Change function definition to also
57 fit X/Open definition.
59 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
61 * sysdeps/libm-i387/e_expl.S: Likewise.
64 1996-12-17 Paul Eggert <eggert@twinsun.com>
66 * many, many files: Spelling corrections.
67 * catgets/catgetsinfo.h (mmapped):
68 Renamed from mmaped (in struct catalog_info.status).
69 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
70 Fix spelling in message.
71 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
72 a fix in the tzcode distribution.
74 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
76 * time/strftime.c: Implement ^ flag to cause output be converted
77 to use upper case characters.
79 * time/zic.c: Update from ADO tzcode1996n.
81 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
83 * time/strftime.c (add): Don't change global `i' until all is over.
84 Define NULL is not already defined.
86 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
88 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
89 to avoid the need for a cast.
90 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
92 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
94 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
95 The stream is private and usages outside glibc don't care about
99 * sysdeps/posix/getcwd.c: Likewise.
100 * sysdeps/posix/ttyname.c: Likewise.
101 * sysdeps/posix/ttyname_r.c: Likewise.
102 * sysdeps/posix/glob.c: Likewise.
104 * libio/iovsprintf.c: Add cast to prevent warning.
105 * libio/iovsscanf.c: Likewise.
107 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
108 to keep namespace clean.
110 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
111 Add hooks and check functions from old GNU malloc.
112 * new-malloc/malloc.h: Likewise.
114 * nis/ypclnt.c: Remove prototype for xdr_free.
115 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
117 * manual/nss.texi: Correct description of default values and don't
118 meantion NSS as an add-on.
120 * nss/grp-lookup.c: Provide default value as
121 "compat [NOTFOUND=return] files".
122 * nss/pwd-lookup.c: Likewise.
123 * nss/spwd-lookup.c: Likewise.
124 * nss/network-lookup.c: Correct default to
125 "dns [!UNAVAIL=return] files".
126 * nss/nsswitch.c: Change default-default value to "nis
127 [NOTFOUND=return] files" since compat is only available for group,
130 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
132 * stdlib/stdlib.h: Add prototype for __on_exit.
134 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
136 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
137 The new malloc now has mcheck.
138 * time/ap.c: Likewise.
140 * time/tzset.c (__tzset): Rename to __tzset_internal.
141 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
142 * time/localtime.c: Use __tzset_internal not __tzset.
143 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
144 as __tzset to prevent namespace pollution.
146 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
147 a weak alias of __iswctype.
148 * wctype/wctype.h: Add prototype for __iswctype.
149 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
150 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
151 Use __iswctype for the test, not iswctype.
153 1996-12-16 Paul Eggert <eggert@twinsun.com>
155 * hurd/hurd/sigpreempt.h
156 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
157 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
158 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
159 hurd/hurdsig.c (_hurdsig_preempters):
160 Renamed to fix spelling from `preempter' to `preemptor'.
163 1996-12-15 Paul Eggert <eggert@twinsun.com>
165 * ctime.c (ctime): Return asctime (localtime (t)), as the C
168 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
170 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
171 value because Mach/cthreads uses the opposite convention from
174 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
176 * stdio-common/fcloseall.c: Correct test of already_called.
177 Reported by Thomas Bushnell, n/BSG.
179 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
181 * mach/lock-intern.h (__mutex_try_lock): New function.
183 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
185 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
187 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
189 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
191 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
192 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
193 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
195 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
197 Make sure tzset() sets always tzname[].
198 * time/tzfile.c: De-ANSI-declfy.
199 (find_transition): New function. Set tzname according to given time.
200 (__tzread_file): Use find_transition to set tzname.
201 (__tzfile_compute): Use find_transition instead of doing the work
203 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
205 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
207 * login/utmp-file.c (pututline_file): Open file if closed.
208 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
209 Use fcntl instead of flock.
211 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
213 * manual/time.texi: Update documentation of strftime function.
215 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
217 * Makefile (subdirs): Change crypt to md5-crypt.
218 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
219 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
221 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
222 crypt instead of LinuxThreads and des-crypt.
224 * Makefile (subdirs): Add nss back.
225 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
228 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
229 * stdio-common/Makefile (routines): Add fcloseall.
230 * stdio-common/fcloseall.c: New file.
231 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
233 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
234 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
237 * stdio-common/printf.h: Define MIN and MAX only if not already
240 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
241 allow writing. Required by POSIX.1.
243 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
246 * interp.c: Update copyright.
247 * libio/clearerr.c: Likewise.
248 * libio/ioseekoff.c: Likewise.
249 * libio/ioseekpos.c: Likewise.
250 * stdio/fclose.c: Likewise.
251 * stdio/fflus.c: Likewise.
253 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
254 and _IO_cleanup_region_end as empty.
255 * libio/fgetc.c: Use _IO_cleanup_region_start and
256 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
257 __libc_cleanup_region_end.
258 * libio/fputc.c: Likewise.
259 * libio/freopen.c: Likewise.
260 * libio/fseek.c: Likewise.
261 * libio/getc.c: Likewise.
262 * libio/getchar.c: Likewise.
263 * libio/iofclose.c: Likewise.
264 * libio/iofflush.c: Likewise.
265 * libio/iofgetpos.c: Likewise.
266 * libio/iofgets.c: Likewise.
267 * libio/iofputs.c: Likewise.
268 * libio/iofread.c: Likewise.
269 * libio/iofsetpos.c: Likewise.
270 * libio/ioftell.c: Likewise.
271 * libio/iofwrite.c: Likewise.
272 * libio/iogetdelim.c: Likewise.
273 * libio/iogets.c: Likewise.
274 * libio/ioputs.c: Likewise.
275 * libio/iosetbuffer.c: Likewise.
276 * libio/iosetvbuf.c: Likewise.
277 * libio/ioungetc.c: Likewise.
279 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
281 * libio/iovsscanf.c: Likewise.
283 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
284 instead of __libc_lock_init_recursive and __libc_lock_fini.
286 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
287 Otherwise use isatty.
288 * libio/fileops.c: Likewise for __open and open.
290 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
293 * nis/ypclnt.h: Add more casts to prevent warnings.
295 * nss/Makefile (services): Remove dns.
296 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
297 ($(objpfx)libnss_dns.so): Removed.
298 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
299 * resolv/nss_dns: ...here.
300 * resolv/Makefile (extra-libs): Add libnss_dns.
301 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
304 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
305 specifying alternate name for entry in /etc/nsswitch.conf
306 * nss/nsswitch.c: If no entry with primary name is found in
307 /etc/nsswitch.conf try alternate name if given.
308 * nss/nsswitch.h: Add new parameter in prototype for
309 __nss_database_lookup.
310 * nss/spwd-lookup.c: Provide alternative entry name to look for.
311 This makes our NSS compatible with Solaris' nsswitch.conf files.
313 * string/tst-strlen.c: Change all counting variables to type size_t
316 * sysdeps/posix/fpathconf.c: Update copyright.
317 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
318 Opening the file at this path may fail if it is a FIFO or pipe.
320 These changes make the time implementation POSIX.1 compliant.
321 * time/localtime.c (__localtime_r): Always call __tzset not only
322 if __tzset_run is zero.
323 * time/strftime.c: Add definition of memset_space to help to
324 reduce for systems which have memset.
325 (strftime): Don't use tm_zone member of argument for zone name.
326 Instead always use tzname[].
327 Call tzset() as required by POSIX.1 before any action.
328 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
329 Remove global variable __tzset_run. __tzset is now called always
330 when a dependent function is used.
331 (__tzset): Caching happens based on the contents of the
332 environment variable TZ.
334 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
336 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
338 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
340 * rellns-sh: Correctly handle a relative source file name.
342 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
344 * login/utmp_file.c (setutent_file): Seek back to beginning of the
347 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
349 * hurd/hurdinit.c (map0): Delete function. Don't do this on
351 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
353 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
355 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
356 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
359 Change libio buffer handling to allocate internal buffers using
361 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
363 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
365 (_IO_default_doallocate): Change call to ALLOC_BUF.
366 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
367 to use mmap/munmap when possible.
368 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
369 * libio/vasprintf.c: Likewise.
372 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
373 * libio/libioP.h: Likewise.
375 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
376 restart syscall when EINTR was returned. Necessary for POSIX.1.
378 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
380 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
383 * nis/Makefile: Remove rules for bsd-tools which are not part
385 Patch by Thorsten Kukuk.
387 * nis/ypclnt.c: Add prototype for xdr_free.
388 Add const to first parameter for __yp_bind.
389 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
390 getpwent_next_file): Variable `p2len' must have type size_t.
391 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
392 * nis/nss_nis/nis-ethers.c: Likewise.
393 * nis/nss_nis/nis-grp.c: Likewise.
394 * nis/nss_nis/nis-hosts.c: Likewise.
395 * nis/nss_nis/nis-network.c: Likewise.
396 * nis/nss_nis/nis-proto.c: Likewise.
397 * nis/nss_nis/nis-pwd.c: Likewise.
398 * nis/nss_nis/nis-rpc.c: Likewise.
399 * nis/nss_nis/nis-service.c: Likewise.
400 * nis/nss_nis/nis-spwd.c: Likewise.
402 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
404 (ypmaplist): Change member names to `map' and `next' and provide
405 #defines for old names.
406 Patch by Thorsten Kukuk.
408 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
409 type for `datalen' parameter to size_t.
411 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
413 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
415 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
419 * stdio-common/tmpfile.c: Update copyright.
421 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
423 Don't eat white space for `C' format.
425 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
427 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
428 * sysdeps/i386/abort.c: Removed. This version does not use
431 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
435 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
436 call. If EMFILE, ENFILE, or EINTR return with error.
438 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
440 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
441 We are compatible again.
442 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
443 even though it is not used.
444 * malloc/obstack.h: Likewise.
445 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
446 alloc_failed bit to 0.
448 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
449 %P format and `0' modifier.
451 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
453 * Makerules (make-link): Don't discard exit codes of intermediate
454 commands. Always use rellns-sh if symbolic links are available.
456 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
458 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
459 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
460 conflict of ntohs etc. in <asm/byteorder.h>.
462 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
464 Add NIS NSS implementation.
465 * shlib-versions: Add versions for NIS libraries.
466 * sysdeps/unix/inet/Subdirs: Add nis.
467 * nis/Banner: New file.
468 * nis/Makefile: New file.
469 * nis/nss-nis.h: New file.
470 * nis/yp_xdr.h: New file.
471 * nis/ypclnt.h: New file.
472 * nis/ypupdate_xdr.c: New file.
473 * nis/nss_compat/compat-grp.c: New file.
474 * nis/nss_compat/compat-pwd.c: New file.
475 * nis/nss_compat/compat-spwd.c: New file.
476 * nis/nss_nis/nis-alias.c: New file.
477 * nis/nss_nis/nis-ethers.c: New file.
478 * nis/nss_nis/nis-grp.c: New file.
479 * nis/nss_nis/nis-hosts.c: New file.
480 * nis/nss_nis/nis-netgrp.c: New file.
481 * nis/nss_nis/nis-network.c: New file.
482 * nis/nss_nis/nis-proto.c: New file.
483 * nis/nss_nis/nis-publickey.c: New file.
484 * nis/nss_nis/nis-pwd.c: New file.
485 * nis/nss_nis/nis-rpc.c: New file.
486 * nis/nss_nis/nis-service.c: New file.
487 * nis/nss_nis/nis-spwd.c: New file.
488 * nis/rpcsvc/yp.h: New file.
489 * nis/rpcsvc/yp.x: New file.
490 * nis/rpcsvc/yp_prot.h: New file.
491 * nis/rpcsvc/ypclnt.h: New file.
492 * nis/rpcsvc/ypupd.h: New file.
494 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
496 * locale/C-numeric.c: Update copyright.
498 * locale/Makefile: Add rules to build libBrokenLocale.
499 * locale/broken_cur_max.c: New file.
500 * locale/mb_cur_max.c: Update copyright.
501 (__ctype_get_mb_cur_max): Make function weak.
503 * new-malloc/malloc.c: Correct copyright.
504 * new-malloc/thread-m.h: Correct key handling.
506 * shadow/lckpwdf.c: Update copyright.
507 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
509 * stdlib/strtod.c: Add another assertion.
510 * stdlib/tst-strtod.c: Add another test case.
512 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
513 * sysdeps/unix/sysv/linux/paths.h: Likewise.
515 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
516 ut_addr names a single element in ut_addr_v6.
518 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
519 Patch by Thomas Bushnell, n/BSG.
521 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
523 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
526 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
527 did fit nicely into that delay slot (patch from David Mosberger-Tang).
529 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
531 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
533 (ttyname_r): New alias.
535 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
537 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
538 error in computation of number of groups.
539 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
541 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
543 * version.h: Set version to 1.99.
545 * Make-dist (routines): Add malloc and new-malloc.
547 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
548 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
549 Same for $(CFLAGS-$(@F)) and CFLAGS.
551 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
553 * io/sys/poll.h: Likewise.
554 * sysdeps/stub/sys/ipb_buf.h: Likewise.
555 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
556 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
557 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
558 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
559 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
560 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
561 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
562 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
563 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
564 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
565 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
566 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
567 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
568 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
569 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
570 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
571 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
572 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
573 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
574 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
575 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
576 * sysvipc/sys/sem.h: Likewise.
577 * sysvipc/sys/shm.h: Likewise.
579 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
580 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
581 Add statistics for threads.
582 * new-malloc/malloc.h: Likewise.
583 * new-malloc/thread-m.h: Likewise.
585 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
587 * time/strptime.c: Update copyright.
589 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
591 * Make-dist: Make sure both malloc directories get distributed.
593 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
595 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
598 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
600 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
601 __BEGIN_DECLS/__END_DECLS.
603 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
605 * login/utmp_file.c: Consistently set file_offset to the position
606 after the entry just read.
608 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
610 * config.make.in (defines): Add @USE_NEW_MALLOC@.
611 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
612 we use the new malloc.
614 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
615 depending on USE_NEW_MALLOC.
617 Fix some more POSIX.1 problems.
618 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
619 on a write-only stream.
620 (_IO_file_overflow): Set errno to EBADF if used on a read-only
622 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
623 call really positions the file offset to the correct position
624 and no read-ahead happens.
626 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
627 to pass POSIX test suite.
628 * stdio-common/vfprintf.c: Handle empty string as grouping command
630 * stdlib/grouping.h: Likewise.
632 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
634 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
636 * stdio-common/printf_fp.c: Update copyright.
638 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
640 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
641 used (not otherwise).
643 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
645 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
647 * stdlib/canonicalize.c: Correct bugs in last change.
650 * libio/Makefile (routines): Remove ioprims.
651 (aux): Remove cleanup.
652 Add IO_DEBUG option for .o files.
653 * libio/cleanups.c: Removed.
654 * libio/ioprims.c: Removed.
655 * libio/filedoalloc.c: More updates from libg++-2.8b5.
656 * libio/fileops.c: Likewise.
657 * libio/genops.c: Likewise.
658 * libio/iolibio.h: Likewise.
659 * libio/iopopen.c: Likewise.
660 * libio/iovsprintf.c: Likewise.
661 * libio/iovsscanf.c: Likewise.
662 * libio/libio.h: Likewise.
663 * libio/libioP.h: Likewise.
664 * libio/memstream.c: Likewise.
665 * libio/strfile.h: Likewise.
666 * libio/vasprintf.c: Likewise.
667 * libio/vsnprintf.c: Likewise.
669 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
671 * manual/arith.texi: Change references to ANSI C to ISO C.
672 * manual/conf.texi: Likewise.
673 * manual/creature.texi: Likewise.
674 * manual/ctype.texi: Likewise.
675 * manual/errno.texi: Likewise.
676 * manual/filesys.texi: Likewise.
677 * manual/intro.texi. Likewise.
678 * manual/io.texi: Likewise.
679 * manual/lang.texi: Likewise.
680 * manual/libc.texinfo: Likewise.
681 * manual/locale.texi: Likewise.
682 * manual/maint.texi: Likewise.
683 * manual/mbyte.texi: Likewise.
684 * manual/memory.texi: Likewise.
685 * manual/process.texi: Likewise.
686 * manual/process.texi: Likewise.
687 * manual/search.texi: Likewise.
688 * manual/setjmp.texi: Likewise.
689 * manual/signal.texi: Likewise.
690 * manual/startup.texi: Likewise.
691 * manual/stdio.texi: Likewise.
692 * manual/string.texi: Likewise.
693 * manual/time.texi: Likewise.
695 * manual/locale.texi: Remove description of LC_RESPONSE and add
698 * Makefile (subdirs): Change malloc in $(malloc).
699 * config.make.in: Add variable malloc which is initialized from
701 * configure.in: Add new option --enable-new-malloc to use new
702 malloc. This is the default on Linux.
703 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
705 * new-malloc/Makefile: New file. Improved malloc implementation.
706 * new-malloc/malloc.c: Likewise.
707 * new-malloc/malloc.h: Likewise.
708 * new-malloc/mallocbug.c: Likewise.
709 * new-malloc/obstack.c: Likewise.
710 * new-malloc/obstack.h: Likewise.
711 * new-malloc/thread-m.h: Likewise.
712 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
713 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
715 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
718 * stdio/feof.c: Update copyright.
719 * stdio/stdio.h: Add field for lock to FILE structure.
720 Add cast to *MAGIC constants to prevent warnings.
722 * stdio-common/bug7.c: Correct test. Stream must not be closed
725 * stdlib/Makefile (routines): Add secure-getenv.
726 * stdlib/secure-getenv.c: New file. __secure_getenv function
727 moved to here from sysdeps/generic/getenv.c. Otherwise an
728 application cannot replace the getenv function in the libc.
729 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
730 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
732 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
734 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
736 * time/test-tz.c: Comment fifth test out. PROBLEM.
738 * time/tzset.c: De-ANSI-declfy.
739 (__tzset): Don't increment pointer tz when no DST information is
742 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
743 to get Hurd macros right.
745 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
747 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
749 Patch by Thomas Bushnell.
751 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
754 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
756 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
758 * time/strftime (%c format): Remove %Z from default string.
759 Reported by Paul Eggert
761 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
763 * configure.in: Discard error message from test in test for
766 * io/getwd.c: Don't apply getcwd on user supplied buffer.
767 Instead always use temporary buffer and only copy the result.
769 * stdlib/canonicalize.c: Likewise.
771 * libio/fileops.c: Change comments according to libg++2.8b5.
772 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
776 * manual/nss.texi: Correct prototypes.
778 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
779 crash if syslog daemon is restarted.
781 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
783 * stdlib/Makefile (routines): Add rand_r.
785 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
788 * configure.in: Add --disable-sanity-check option.
789 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
790 des-crypt are not available and --disbale-sanity-check is not
791 given abort with a message.
793 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
795 * posix/glob.c: Tests against STDC_HEADERS should also test
798 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
800 * misc/err.c (vwarn): Set errno again before using %m format.
802 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
804 * grp/grp.h: Add declaration of __getgrent_r.
806 * io/fts.c (fts_build): Remove "register" from variables dirbuf
807 and dp since their address is needed.
809 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
810 variable d since d's address is needed.
812 * misc/tst-dirname.c (main): Provide prototype.
813 * misc/ioctltst.c (main): Dito.
815 * Makefile: Add gnu/lib-names.h to install-others before including
818 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
820 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
822 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
823 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
824 sys/socketvar.h to sysdep_headers.
826 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
828 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
831 * elf/rtld.c (_dl_start): Don't dereference the value returned by
832 elf_machine_got to get _DYNAMIC, instead call new function
834 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
835 elf_machine_dynamic. Reformat copyright.
836 * sysdeps/i386/dl-machine.h: Likewise.
837 * sysdeps/m68k/dl-machine.h: Likewise.
838 * sysdeps/mips/dl-machine.h: Likewise.
839 * sysdeps/sparc/dl-machine.h: Likewise.
840 * sysdeps/stub/dl-machine.h: Likewise.
842 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
844 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
846 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
848 * Makerules ($(libdir)/libc.so): Make first line of generated
849 link script contain `/* GNU ld script'. This will be used in
850 ldconfig to check for linker scripts.
851 * sysdeps/mach/hurd/libc-ldscript: Likewise.
852 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
854 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
856 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
858 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
861 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
863 * assert/assert-perr.c: Use __strerror_r instead of strerror.
864 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
865 * string/string.h: Declare __strerror_r.
866 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
867 * stdio-common/vfprintf.c: Save current errno value on entry so
868 that %m format finds the correct value.
869 * io/getwd.c: Use __strerror_r instead of strerror.
870 * misc/err.c (vwarn): Use %m printf format instead of explicitly
872 * inet/rcmd.c: Likewise.
873 * misc/error.c (error, error_at_line): Use __strerror_r instead
874 of strerror when this function is available.
876 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
877 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
878 * stdlib/stdlib.h: Define prototype for rand_r.
880 * string/strfry.c: Update copyright. Use reentrant random functions.
882 * dirent/scandir.c: Use __readdir_r instead of readdir.
883 * posix/glob.c: Likewise.
884 * sysdeps/posix/ttyname.c: Likewise.
885 * sysdeps/posix/ttyname_r.c: Likewise.
886 * io/ftw.c: Likewise.
887 * io/fts.c: Likewise.
888 * sysdeps/posix/getcwd.c: Likewise.
889 * dirent/dirent.h: Add prototype for __readdir_r.
890 * sysdeps/unix/readdir_r: Update copyright.
892 * time/ctime.c: Use __localtime_r and __asctime_r instead of
893 non reentrant versions.
894 * time/ctime_r.c: Update copyright.
896 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
898 * locale/Makefile (localepath): Correct value.
900 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
902 Fix typo in using H_ERRNO_SET macro.
904 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
906 * Makerules (elfobjdir): Definition removed.
907 * Makeconfig (elfobjdir): Define it here instead, so that
908 expanding $(rpath-link) gets the right value.
911 * misc/a.out.h: Moved to...
912 * sysdeps/generic/a.out.h: ...here.
913 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
916 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
918 * grp/initgroups.c: Update and reformat copyright.
919 Use __getgrent_r instead of getgrent.
921 * inet/rcmd.c: Update and reformat copyright.
922 Use __gethostbyname_r instead of gethostbyname.
923 * inet/rexec.c: Likewise.
925 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
926 * locale/findlocale.c: Likewise.
927 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
928 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
929 * locale/setlocale.c (setlocale): Correctly split value of
931 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
932 find output directory.
934 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
935 h_errno_tmp variable.
936 Save error value from being changed during `free' call.
937 * nss/getXXent.c: Likewise.
939 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
940 before returning ERANGE error.
942 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
945 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
947 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
948 * sunrpc/clnt_simp.c: Likewise.
949 * sunrpc/getrpcport.c: Likewise.
950 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
952 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
953 since the value might be outside the range of the `long int'.
954 Print string `undefined' when a value is undefined.
956 * stdlib/l64a.c: Return correct pointer.
957 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
959 * string/Makefile (routines): Add argz-addsep.
960 * string/argz-addsep.c: New file.
961 * string/argz.h: Add prototypes for argz_add_sep.
963 * string/argz-ctsep.c: Prevent memory leak.
965 * string/strcoll.c: Correct typo in comment.
967 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
969 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
970 not general enough to be part of the libc.
971 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
972 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
974 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
976 * login/Makefile: Fix typo.
978 * nss/Makefile (generated): Filter out db-alias.c.
980 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
982 * time/Makefile (echo-zonenames): Don't depend on non-existing
985 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
988 * nss/nsswitch.c: Use it.
990 * printf.h: Fix file name.
991 * stdlib/strfmon.c: Use it.
993 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
995 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
996 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
997 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
998 Add netinet/in_systm.h.
999 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1001 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
1003 * libio/fileops.c: Update from latest libg++.
1005 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
1007 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
1008 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
1009 instead of __libc_lock_init for streams.
1010 Reported by a sun <asun@zoology.washington.edu>.
1012 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
1014 * sysdeps/generic/errno-loc.c: New file. Generic definition of
1015 __errno_location function.
1016 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
1018 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1019 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
1022 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
1023 and crypt add-on and warn if not available.
1025 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
1027 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
1029 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
1030 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
1032 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
1033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
1034 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
1035 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
1036 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
1037 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
1039 Patch by Richard Henderson <rth@tamu.edu>.
1041 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
1042 pciconfig_read and pciconfig_write.
1043 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
1044 pciconfig_read and pciconfig_write.
1046 * login/getutent_r.c: Fix several bugs in last change.
1048 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
1050 * Makefile: Fix typo.
1052 * configure: Require autoconf-2.11.
1054 * elf/dl-deps.c: Terminate duplicate list.
1056 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
1057 * libio/strfile.h: Update from current libg++.
1058 * libio/strops.c: Likewise.
1060 * login/Makefile (routines): Update after correction of reentrant
1062 * login/endutent.c: Removed.
1063 * login/endutent_r.c: Likewise.
1064 * login/pututline.c: Likewise.
1065 * login/pututline_r.c: Likewise.
1066 * login/setutent.c: Likewise.
1067 * login/setutent_r.c: Likewise.
1068 * login/getutent.c: Update for new interface.
1069 * login/getutent_r.c: Likewise.
1070 * login/getutid.c: Likewise.
1071 * login/getutid_r.c: Likewise.
1072 * login/getutline.c: Likewise.
1073 * login/getutline_r.c: Likewise.
1074 * login/login.c: Likewise.
1075 * login/logout.c: Likewise.
1076 * login/logwtmp.c: Likewise.
1077 * login/utmp.h: Likewise.
1078 * sysdeps/unix/getlogin.c: Likewise.
1079 * sysdeps/unix/getlogin_r.c: Likewise.
1080 * login/utmp-private.h: New private header.
1081 * login/utmp_db.c: Stub DB backend for utmp handler.
1082 * login/utmp_file.c: File backend for utmp handler.
1083 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
1084 (enum utlogin): List of record types.
1085 (struct exit_status): Record to align with other implementations.
1087 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
1088 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1090 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
1092 * sysdeps/stub/getlogin.c: Update copyright.
1093 * sysdeps/stub/getlogin_r.c: Likewise.
1095 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
1096 * nss/getXXent_r.c: Likewise.
1097 * nss/nsswitch.c: Likewise.
1099 * posix/Makefile (headers): Add wait.h.
1100 * posix/wait.h: New file.
1102 * posix/sys/types.h: Always define intN_t types.
1104 * stdio-common/Makefile: Update copyright.
1105 Use -Wno-format flag for scanf4.c and scanf7.c.
1107 * stdlib/stdlib.h: Reformat.
1109 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1111 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
1112 move the current contents to the end and relocate file name
1113 pointer to upper half of the buffer.
1115 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
1117 * time/africa: Update from ADO tzdata1996m.
1118 * time/antarctica: Likewise.
1119 * time/asia: Likewise.
1120 * time/australia: Likewise.
1121 * time/etcetera: Likewise.
1122 * time/europe: Likewise.
1123 * time/nothamerica: Likewise.
1124 * time/southameria: Likewise.
1125 * time/zone.tab: Likewise.
1127 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
1128 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1130 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
1132 * posix/wait.h: New file.
1133 * posix/Makefile (headers): Add wait.h.
1135 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
1137 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
1138 expression instead of shell pattern matching.
1139 * shlib-versions: Change to regular expressions.
1141 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
1143 * io/stat.c: Add section from libgcc to copyright comment
1144 to allow this file to be statically linked in applications.
1145 * io/fstat.c: Likewise.
1146 * io/lstat.c: Likewise.
1147 * io/mknod.c: Likewise.
1149 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
1151 * csu/initfini.c: Add section from libgcc to copyright comment
1152 to allow this file to be statically linked in applications.
1154 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
1155 not already defined.
1156 (obstack_grow, obstack_grow0): Correct placement of braces.
1158 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
1159 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
1161 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1163 * Makerules (make-link): Simplify by changing directory only if
1164 not using rellns-sh; check whether we really have symbolic links.
1166 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
1167 $(dirname $1); use status of ln for exit code; make more robust
1168 against multiple slashes in a row.
1170 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1172 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
1174 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
1175 the three-part name, to distinguish correctly from *-*-linux-gnu*.
1177 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
1180 * sysdeps/mach/hurd/Makefile (install-others): Add
1182 ($(libdir)/libc_p.a): New rule.
1183 * sysdeps/mach/hurd/libc_p-ldscript: New file.
1184 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
1186 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
1188 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
1189 * time/Makefile: Likewise.
1191 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
1192 * sysdeps/alpha/elf/Dist: New file.
1193 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
1194 The bits currently distributed with GCC fail in two ways -- they don't
1195 understand multiple .got subsections and the extents of the lists are
1196 dynamicly bound meaning that the application's lists get executed
1197 multiple times and the library's lists never get executed.
1199 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1201 * stdlib/strtod.c: Fix previous change.
1203 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1205 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
1208 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
1210 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
1211 Likesie for scanf4.c
1213 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
1215 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
1216 alias of __sigsuspend.
1218 * grp/grp.h: Correct comment about POSIX compliance.
1219 * pwd/pwd.h: Likewise.
1221 * login/utmp.h: Update copyright and pretty-print prototypes.
1222 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
1223 _PATH_WTMP from utmpbits.h.
1224 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1225 * sysdeps/generic/utmpbits.h: Remove here.
1226 * sysdeps/gnu/utmpbits.h: Likewise.
1228 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
1229 Pretty-print prototypes.
1231 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
1234 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
1236 * inet/ether_hton.c: Include <string.h>.
1237 * inet/ether_ntoh.c: Likewise.
1238 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
1239 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
1241 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
1242 to define. Jim Nance reports problems building XEmacs otherwise.
1244 * resolv/gethnamaddr.c: Protect h_errno redefinition.
1245 * resolv/getnetnamadr.c: Likewise.
1246 * resolv/herror.c: Likewise.
1248 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
1249 with -traditional. Reported by Eric Youngdale. While we're at this,
1250 don't do error checking in the __ functions. This is consistent
1251 with the sysv4 definitions and seems Right.
1252 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
1253 prototype for __sigsuspend.
1254 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
1255 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
1256 * sysdeps/posix/sigpause.c: Likewise.
1257 * sysdeps/posix/sigsetmask.c: Likewise.
1258 * sysdeps/posix/sigvec.c: Likewise.
1259 * sysdeps/posix/sigintr.c: Reformat copyright.
1260 * sysdeps/posix/signal.c: Check signal number out of range since
1261 __sigismember doesn't anymore. Reformat copyright.
1262 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
1263 sigdelset, sigaction, and sigsuspend.
1265 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
1266 to the wider type before shifting.
1268 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
1269 without .set noat" in profiling hook.
1270 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1271 * sysdeps/alpha/htonl.S: Likewise.
1272 * sysdeps/alpha/htons.S: Likewise.
1273 * sysdeps/alpha/s_copysign.S: Likewise.
1274 * sysdeps/alpha/setjmp.S: Likewise.
1275 * sysdeps/alpha/stpcpy.S: Likewise.
1276 * sysdeps/alpha/strcat.S: Likewise.
1277 * sysdeps/alpha/strcpy.S: Likewise.
1278 * sysdeps/alpha/strncat.S: Likewise.
1279 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
1280 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1281 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1282 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1283 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1284 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
1285 function to __sigsuspend and add weak alias.
1286 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
1288 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
1290 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
1291 SYSCALL__ actually generated.
1293 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
1294 #define __set_errno, as several imported subsystems (eg. BIND) check
1295 that the symbol is defined.
1297 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
1299 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
1300 that manifests in GCC.
1302 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1304 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
1305 * sysdeps/posix/readv.c (readv): Likewise.
1307 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
1309 * nss/nss_dns/dns-network.c: Change return type of all functions
1311 Reported by NIIBE Yutaka.
1312 * nss/nss_dns/dns-host.c: Update copyright.
1314 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1316 * config.make.in: Remove definition of top_absdir.
1317 * configure.in: Likewise. Use $(..) instead.
1318 * Makerules (make-link): Use $(..) to find rellns-sh script.
1320 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1322 * manual/nss.texi (Name Service Switch): Fix reference to
1325 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1330 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
1332 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
1333 variable from __stat to __status to prevent shadowing.
1334 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
1335 for parameter __wait.
1336 Reported by NIIBE Yutaka.
1338 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
1340 * misc/regexp.c: New file. Implementation of obsolete interface
1341 to regular expression matcher (required in XPG4.2).
1342 * misc/regexp.h: New file. Header for above.
1343 * misc/Makefile (headers): Add regexp.h.
1344 (routines): Add regexp.c.
1347 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1349 * stdlib/tst-strtod.c (main): Add arguments for main.
1350 * stdlib/tst-strtol.c (main): Likewise.
1352 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
1354 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
1356 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
1357 and sysconfdir to /etc if $prefix is /usr.
1358 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
1360 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
1361 $(have-bash2) is yes.
1362 * elf/ldd.bash.in: Add copyright and various cleanups.
1363 * elf/ldd.sh.in: Likewise.
1365 Implement RTLD_NEXT.
1366 * elf/dlfcn.h: Define RTLD_NEXT.
1367 * elf/dl-deps.c: Build second searchlist which contains duplicates.
1368 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
1369 for RTLD_NEXT lookup.
1370 Rewrite _dl_lookup_symbol to put common parts for both lookup
1371 functions in a separate function.
1372 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
1373 * elf/link.h (struct link_map): Add l_dupsearchlist and
1375 Add prototype for _dl_lookup_symbol_skip.
1377 * sunrpc/Makefile (rpcsvc): Add rusers.
1378 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
1379 * sunrpc/rpcsvc/rusers.x: New file.
1381 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
1383 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
1384 __libc_lock_init for local lock.
1385 Reported by a sun <asun@zoology.washington.edu>.
1386 [!USE_IN_LIBIO] (PAD): Optimize a bit.
1388 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
1390 * db/makedb.c: Update and reformat copyright.
1391 * elf/Makefile: Likewise.
1392 * elf/dl-close.c: Likewise.
1393 * elf/dl-debug.c: Likewise.
1394 * elf/dl-deps.c: Likewise.
1395 * elf/dl-error.c: Likewise.
1396 * elf/dl-fini.c: Likewise.
1397 * elf/dl-init.c: Likewise.
1398 * elf/dl-load.c: Likewise.
1399 * elf/dl-lookup.c: Likewise.
1400 * elf/dl-minimal.c: Likewise.
1401 * elf/dl-object.c: Likewise.
1402 * elf/dl-open.c: Likewise.
1403 * elf/dl-reloc.c: Likewise.
1404 * elf/dl-runtime.c: Likewise.
1405 * elf/dl-support.c: Likewise.
1406 * elf/dl-symbol.c: Likewise.
1407 * elf/dladdr.c: Likewise.
1408 * elf/dlclose.c: Likewise.
1409 * elf/dlerror.c: Likewise.
1410 * elf/dlopen.c: Likewise.
1411 * elf/dlsym.c: Likewise.
1412 * elf/do-rel.h: Likewise.
1413 * elf/dynamic-link.h: Likewise.
1414 * elf/eval.c: Likewise.
1415 * elf/rtld.c: Likewise.
1416 * inet/ether_hton.c: Likewise.
1417 * inet/ether_ntoh.c: Likewise.
1418 * inet/ether_line.c: Likewise.
1419 * inet/getnetgrent_r.c: Likewise.
1421 * inet/Makefile (+gccwarn): Remove definition.
1422 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
1424 * inet/aliases.h: Add C++ protection.
1425 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
1426 (ether_hostton): Remove unused variable result.
1427 * inet/ether_ntoh.c: Likewise.
1428 * inet/ether_line.c: Include <ctype.h> and <string.h>.
1429 * inet/getnetgrent_r.c: Include <stdlib.h>.
1430 Use casts to prevent warnings.
1431 (innetgr): Initialize `known' and `needed'.
1432 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
1433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
1434 return NULL. Instead set *RESULT to NULL and return -1.
1435 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
1436 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
1438 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
1441 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
1443 * sysdeps/posix/readv.c: Don't use PTR anymore.
1444 * sysdeps/posix/writev.c: Likewise.
1446 * version.h (VERSION): Bump to 1.98.
1448 * nss/db-Makefile: Generate lines for getXXXent iteration.
1450 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
1451 divqu.S, remlu.S, and remqu.S.
1453 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1455 * posix/unistd.h: Correct typo in documentation.
1457 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
1459 * inet/netinet/tcp.h: Use __ protected versions instead of
1460 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
1462 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
1464 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
1465 references in libc.so are not anymore undefined.
1467 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1469 * io/utime.h: Rename second parameter for utime to prevent warning
1471 * dirent/dirent.h: Same here for scandir prototype.
1472 * math/mathcalls.h: Likewise for frexp and ldexp.
1473 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
1475 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
1477 * stdlib/tst-strtod.c: Add test for error case below.
1479 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
1481 * stdlib/strtod.c: Recognize numbers like 0e-19.
1483 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1485 * time/Makefile ($(installed-localtime-file)): Fix path to
1488 * Makefile: Don't generate and install gnu/lib-names.h if
1489 $(build-shared) is not `yes'.
1491 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
1493 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
1494 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
1496 * Makerules (REAL_MAKE_VERSION): New, use it instead of
1499 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
1501 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
1502 * nss/getXXent_r.c: Fix typo. Set correct return value when
1503 no further service is available.
1505 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
1507 * db/recno/rec_put.c: Add cast to avoid warning.
1508 * db/recno/rec_close.c: Likewise.
1509 * db/mpool/mpool.c: Likewise.
1510 * db/hash/hash_bigkey.h: Likewise.
1511 * db/hash/hash.c: Likewise.
1512 * db/btree/bt_split.c: Likewise.
1513 * db/btree/bt_put.c: Likewise.
1515 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
1517 * dirent/dirent.h: Update copyright.
1518 * elf/elf.h: Likewise.
1519 * elf/link.h: Likewise.
1520 * gmon/sys/gmon_out.h: Likewise.
1521 * gnu-versions.h: Likewise.
1522 * intl/libintl.h: Likewise.
1523 * io/fcntl.h: Likewise.
1524 * io/ftw.h: Likewise.
1525 * io/sys/statfs.h: Likewise.
1526 * io/utime.h: Likewise.
1527 * locale/langinfo.h: Likewise.
1528 * malloc/malloc.h: Likewise.
1529 * malloc/obstack.h: Likewise.
1530 * misc/ar.h: Likewise.
1531 * misc/error.h: Likewise.
1532 * misc/mntent.h: Likewise.
1533 * misc/sgtty.h: Likewise.
1534 * misc/sys/cdefs.h: Likewise.
1535 * misc/sys/dir.h: Likewise.
1536 * misc/sys/file.h: Likewise.
1537 * misc/sys/ioctl.h: Likewise.
1538 * misc/sys/ustat.h: Likewise.
1539 * posix/fnmatch.h: Likewise.
1540 * posix/getopt.h: Likewise.
1541 * posix/glob.h: Likewise.
1542 * posix/posix2_lim.h: Likewise.
1543 * posix/regex.h: Likewise.
1544 * posix/sys/times.h: Likewise.
1545 * posix/sys/types.h: Likewise.
1546 * posix/sys/utsname.h: Likewise.
1547 * posix/tar.h: Likewise.
1548 * posix/wordexp.h: Likewise.
1549 * resource/sys/resource.h: Likewise.
1550 * resource/sys/vlimit.h: Likewise.
1551 * resource/sys/vtimes.h: Likewise.
1552 * socket/sys/socket.h: Likewise.
1553 * socket/sys/un.h: Likewise.
1554 * stdio-common/printf.h: Likewise.
1555 * stdlib/alloca.h: Likewise.
1556 * string/argz.h: Likewise.
1557 * string/endian.h: Likewise.
1558 * string/envz.h: Likewise.
1559 * string/memory.h: Likewise.
1560 * string/strings.h: Likewise.
1561 * sysdeps/generic/crypt.h: Likewise.
1562 * sysdeps/generic/direntry.h: Likewise.
1563 * sysdeps/generic/gnu/types.h: Likewise.
1564 * sysdeps/generic/ioctl-types.h: Likewise.
1565 * sysdeps/generic/netinet/in.h: Likewise.
1566 * sysdeps/generic/resourcebits.h: Likewise.
1567 * sysdeps/generic/sigset.h: Likewise.
1568 * sysdeps/generic/sockaddrcom.h: Likewise.
1569 * sysdeps/generic/sys/mman.h: Likewise.
1570 * sysdeps/generic/sys/ptrace.h: Likewise.
1571 * sysdeps/generic/termbits.h: Likewise.
1572 * sysdeps/generic/waitstatus.h: Likewise.
1573 * sysdeps/ieee754/huge_val.h: Likewise.
1574 * sysdeps/ieee754/nan.h: Likewise.
1575 * sysdeps/mach/hurd/local_lim.h: Likewise.
1576 * sysdeps/mach/hurd/statbuf.h: Likewise.
1577 * sysdeps/stub/huge_val.h: Likewise.
1578 * sysdeps/stub/libc-lock.h: Likewise.
1579 * sysdeps/stub/signum.h: Likewise.
1580 * sysdeps/stub/statbuf.h: Likewise.
1581 * sysdeps/stub/waitflags.h: Likewise.
1582 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
1583 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
1584 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1585 * sysdeps/unix/bsd/signum.h: Likewise.
1586 * sysdeps/unix/bsd/statbuf.h: Likewise.
1587 * sysdeps/unix/bsd/sun/signum.h: Likewise.
1588 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
1589 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1590 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
1591 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1592 * sysdeps/unix/bsd/waitflags.h: Likewise.
1593 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
1594 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
1595 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1596 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1597 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
1598 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
1599 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1600 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
1601 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
1602 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1603 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
1604 * sysdeps/unix/sysv/linux/signum.h: Likewise.
1605 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
1606 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
1607 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1608 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1609 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1610 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
1611 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
1612 * sysdeps/unix/sysv/local_lim.h: Likewise.
1613 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
1614 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
1615 * sysdeps/unix/sysv/signum.h: Likewise.
1616 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
1617 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
1618 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
1619 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
1620 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
1621 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
1622 * sysdeps/vax/huge_val.h: Likewise.
1623 * values.h: Likewise.
1625 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
1627 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
1628 `memcpy' using bcopy if memcpy is not available.
1630 * manual/stdio.texi: Correct description of printf customization.
1631 The argument info function is not optional anymore and the
1632 interface for `printf_function' also changed.
1633 * manual/examples/rprintf.c: Define and use argument info function.
1635 * stdio-common/printf.h (struct printf_info): Change type for field
1637 Correct comment for `register_printf_function'.
1639 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
1640 to reentrant function. Instead use temporary variable and set
1641 h_errno if an error occured.
1642 Reported by NIIBE Yutaka.
1644 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1646 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
1647 S_ITRANS): New macros.
1648 (S_ISPARE): Update to include new macros and S_IUSEUNK.
1650 * sysdeps/mach/hurd/select.c (__select): Construct arg to
1651 mach_msg_destroy more nicely.
1653 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
1655 * stdio/fopen.c (__getmode): Declare with prototype.
1656 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
1657 * stdio/internals.c (__stdio_check_funcs, init_stream,
1658 seek_to_target, flushbuf, fillbuf): Likewise.
1660 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
1661 funlockfile, not _IO_funlockfile.
1663 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
1665 * sysdeps/posix/writev.c (writev): Likewise.
1667 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
1669 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1671 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
1672 prototyped definition.
1674 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
1675 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
1677 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
1679 * inet/Makefile (headers): Add aliases.h.
1680 (routines): Add getaliasent_r, getaliasent, getaliasname, and
1682 * aliases.h: New file.
1683 * inet/aliases.h: New file.
1684 * inet/getaliasent.c: New file.
1685 * inet/getaliasent_r.c: New file.
1686 * inet/getaliasname.c: New file.
1687 * inet/getaliasname_r.c: New file.
1688 * nss/Makefile (databases): Add alias.
1689 * nss/alias-lookup.c: New file.
1690 * nss/databases.def: Add aliases and publickey.
1691 * nss/nss_db/db-alias.c: New file.
1692 * nss/nss_files/files-alias.c: New file.
1694 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
1695 argument to lookup function is of type size_t.
1696 (innetgr): Likewise.
1697 * nss/getXXbyYY_r.c: Likewise.
1698 * nss/getXXent_r.c: Likewise.
1699 * nss/nss_db/db-XXX.c: Likewise.
1701 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
1702 failed because buffer was too small.
1703 * nss/getXXent.c: Likewise.
1705 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
1706 getXXent_r function now uses f[gs]etpos to get to the correct
1709 * nss/nss_files/files-parse.c: Indent lines for better readability.
1711 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
1712 and new function print_and_abort. Remove all references to
1714 Add new function _obstack_memory_used.
1715 * malloc/obstack.h (struct obstack): Remove field alloc_field.
1716 Remove all references to alloc_failed field.
1717 Add prototype for _obstack_memory_used.
1719 * posix/unistd.h: Correct typo.
1721 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
1723 * configure.in: Require at least autoconf-2.10.2.
1725 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1727 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
1730 * mach/msg-destroy.c (mach_msg_destroy_port,
1731 mach_msg_destroy_memory): Use prototype syntax.
1732 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
1733 malloc_fork_parent, malloc_fork_child): Likewise.
1735 * stdio/stdio.h: Repair broken cpp syntax.
1737 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
1738 we pass O_NOLINK on the open.
1740 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
1741 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
1742 an XOPEN error code, move to before the "Linux only" section, and
1743 give it a new number for the Hurd.
1745 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
1747 * malloc/obstack.h: Add new macro `obstack_make_room'.
1748 * malloc/obstack.c: Add function implementation for
1749 `obstack_make_room'.
1751 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
1753 Update to BIND-4.9.5-REL.
1754 * resolv/Banner: Set to 4.9.5-REL.
1755 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
1756 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
1759 * config.make.in: Add definition for top_absdir.
1760 * Makerules (make-link): Fix path to rellns-sh script.
1762 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1764 * posix/unistd.h: Fix comment.
1766 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
1767 when talking about numbers.
1768 * manual/users.texi: Likewise.
1769 * manual/creature.texi: Likewise. Use @defvarx for a secondary
1772 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1774 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
1775 the real posix1_lim.h file so that it works in all subdirs, not
1778 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1780 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
1782 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1784 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
1785 on $(before-compile) which hasn't been properly setup yet at this
1788 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1790 * sysdeps/generic/sigset.h: Don't use implicit int which will
1791 probably require a diagnostic in the next revision of the C
1793 * sysdeps/stub/lockfile.c: Likewise.
1795 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1797 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
1798 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1800 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
1802 * time/strftime.c: Update copyright. Small cosmetic changes.
1804 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
1806 * inet/getprtname_r.c: Reformat copyright.
1808 * nss/Makefile (databases): Add key.
1809 (libnss_files-routines): Exclude key database.
1810 (libnss_db-routines): Likewise.
1811 * nss/key-lookup.c: New file.
1813 * nss/getXXent_r.c (last_nip): Remember last service used since
1815 (SETFUNC): Don't force to work through whole list of services in
1817 Update last_nip if necessary.
1818 (ENDFUNC): Only process endXXent function up to currently used
1820 (GETFUNC): Update last_nip if necessary.
1822 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1825 * rpc/auth_des.h: New file.
1826 * sunrpc/Makefile (headers): Add auth_des.h.
1827 (routines): Add publickey.
1828 * sunrpc/publickey.c: New file. Interface to public key handling.
1829 * sunrpc/rpc/auth_des.h: New file.
1830 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
1832 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
1834 * inet/gethstent_r.c: Update copyright.
1835 * nss/getXXbyYY_r.c: Likewise.
1836 * nss/nsswitch.c: Likewise.
1837 * nss/getXXent_r.c: Likewise.
1838 * nss/nss_files/files-XXX.c: Likewise.
1839 * nss/nss_files/files-netgroup.c: Likewise.
1840 * nss/nss_files/files-parse.c: Likewise.
1842 * nss/getXXent_r.c: Change implementation. It's not necessary to
1843 call all setXXent functions. Just find first available and
1844 when necessary let getXXent_r call the others.
1846 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
1847 of getXXent and getXXbyYY can be mixed. The cursor for traversing
1848 the database with getXXent will be remembered.
1850 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
1852 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
1854 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
1855 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
1857 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
1859 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
1861 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
1862 set. Instead for none beside the first seven bits to be set.
1863 X/Open allows the argument to be an `int' value.
1864 Reported by Alain Williams <addw@phcomp.co.uk>.
1865 (toascii, isascii): Define macro also when __USE_XOPEN.
1867 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
1870 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
1872 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
1873 NULL so that GETFUNC will see first entry.
1874 (ENDFUNC_NAME): Likewise.
1876 Rewrite Netgroups implementation to avoid global data.
1877 * inet/netgroup.h: Add definition of name_list and struct
1879 Add prototypes for internal netgroup functions.
1880 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
1881 extra argument and use the included data instead of global vars.
1882 (_nss_files_endnetgrent): Likewise.
1883 (_nss_netgroup_parseline): Change to be static and use data
1884 included in the RESULT structure.
1885 * inet/getnetgrent_r.c (startp): Move into setup function.
1886 (known_groups, needed_groups): new part of the __netgrent sruct.
1887 (freememory): Take extra argument and use included data.
1888 (__internal_endnetgrent): Likewise.
1889 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
1890 and take extra argument.
1891 (__internal_setnetgrent): New function. Call
1892 __internal_setnetgrent_reuse after calling free_memory.
1893 (setnetgrent): Only call __internal_setnetgrent.
1894 (__getnetgrent_r): Split into two functions. __getnetgrent_r
1895 calls __internal_getnetgrent after locking.
1896 (innetgr): Use dynamic data only. I.e., innetgr now is fully
1899 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
1901 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
1902 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
1904 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
1906 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
1907 default when no *_SOURCE macro is given.
1908 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
1909 * NOTES: remade from manual/creature.texi.
1910 * manual/libc.texinfo: Add back line about GPL translation which
1913 * Make-dist (dist.tar): Depend on README being updated.
1915 * rellns-sh: Correct thinko in removing leading /.
1916 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1918 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
1919 with `+' or `-' in parser.
1920 * grp/fgetgrent_r.c: Likewise.
1921 * shadow/sgetspent_r.c: Likewise.
1922 * nss/nss_files/files-spwd.c: Don't accept entries starting with
1925 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
1927 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
1928 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
1930 * string/argz.h: Don't protect by __USE_GNU.
1932 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
1934 * Lots of files: Update and reformat copyright.
1936 * Makefile (headers): Add xopen_lim.h.
1938 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
1940 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
1941 if __USE_XOPEN_EXTENDED is defined.
1942 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
1943 if __USE_XOPEN_EXTENDED is defined.
1945 * io/Makefile (routines): Add lchown.
1946 * sysdeps/stub/lchown.c: New file.
1948 * io/sys/poll.h: Add definition of POLLWRNORM.
1950 * io/sys/stat.h: Declare lstat, fchmod, mknod when
1951 __USE_XOPEN_EXTENDED is defined.
1953 * libio/Makefile (routines): Add obprintf.
1954 * libio/obprintf.c: New file.
1955 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
1957 * libio/libio.h: Fix typo.
1958 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
1959 Add prototypes for obstack_vprintf and obstack_printf.
1961 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
1962 * manual/intro.texi: Add reference to NSS chapter.
1963 * manual/libc.texinfo: Update UPDATED.
1964 Comment out `@printindex cp'. It works again.
1965 * manual/memory.texi: Add description for obstack_ptr_grow,
1966 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
1967 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
1968 index entries to @vindex.
1969 * manual/users.texi: Correct @cindex entry for Netgroup.
1971 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
1972 make declarations visible for X/Open sources.
1974 * misc/search.h: Declare insque/remque only is __USE_SVID or
1975 __USE_XOPEN_EXTENDED is defined.
1977 * misc/sys/uio.h (readv, writev): Change return value from int to
1980 * posix/Makefile (headers): Add re_comp.h.
1981 * posix/re_comp.h: New file. XPG interface to regex functions.
1983 * posix/getconf.c: Add all names from XPG4.2.
1984 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
1985 and _POSIX_OPEN_MAX to minimums from XPG4.2.
1986 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
1987 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
1988 * sysdeps/stub/sysconf.c: Likewise.
1990 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
1991 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
1992 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
1993 ftruncate, getdtablesize, brk, sbrk, lockf when
1994 __USE_XOPEN_EXTENDED is defined.
1996 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
1998 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
1999 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
2000 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2002 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
2003 __USE_XOPEN_EXTENDED is defined.
2005 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
2007 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
2009 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
2012 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
2013 and rindex available when __USE_XOPEN_EXTENDED is defined.
2015 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
2016 * sysdeps/posix/getpagesize.c: Likewise.
2017 * sysdeps/stub/getpagesize.c: Likewise.
2018 * sysdeps/unix/getpagesize.c: Likewise.
2020 * time/africa: Update from tzdata1996l.
2021 * time/asia: Likewise.
2022 * time/australia: Likewise.
2023 * time/europe: Likewise.
2024 * time/northamerica: Likewise.
2025 * time/pacificnew: Likewise.
2026 * time/southamerica: Likewise.
2027 * time/tzfile.h: Update from tzcode1996m.
2029 * time/time.h: Declare strptime if __USE_XOPEN.
2030 Declare daylight and timezone also if __USE_XOPEN.
2032 * time/sys/time.h: Remove declaration of ualarm.
2034 * wctype/wctype.h: Just reference ISO C standard.
2036 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
2038 * crypt/Makefile: Add crypt routines to libc as well iff
2039 $(crypt-in-libc) is set. Do this for temporary binary compatibility
2040 on existing Linux/Alpha installations.
2042 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
2043 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
2044 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
2045 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
2047 * sysdeps/alpha/div.S: New file.
2048 * sysdeps/alpha/ldiv.S: New file.
2049 * sysdeps/alpha/lldiv.S: New file.
2050 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
2051 Take pointers from Linus and tighten the inner loops a bit.
2052 * sysdeps/alpha/divl.S: Change defines for merged routines.
2053 * sysdeps/alpha/divq.S: Likewise.
2054 * sysdeps/alpha/reml.S: Likewise.
2055 * sysdeps/alpha/remq.S: Likewise.
2056 * sysdeps/alpha/divlu.S: Remove file.
2057 * sysdeps/alpha/divqu.S: Likewise.
2058 * sysdeps/alpha/remlu.S: Likewise.
2059 * sysdeps/alpha/remqu.S: Likewise.
2061 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
2062 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2063 * sysdeps/alpha/bzero.S: Likewise.
2064 * sysdeps/alpha/ffs.S: Likewise.
2065 * sysdeps/alpha/htonl.S: Likewise.
2066 * sysdeps/alpha/htons.S: Likewise.
2067 * sysdeps/alpha/memchr.S: Likewise.
2068 * sysdeps/alpha/memset.S: Likewise.
2069 * sysdeps/alpha/s_copysign.S: Likewise.
2070 * sysdeps/alpha/s_fabs.S: Likewise.
2071 * sysdeps/alpha/setjmp.S: Likewise.
2072 * sysdeps/alpha/stpcpy.S: Likewise.
2073 * sysdeps/alpha/stpncpy.S: Likewise.
2074 * sysdeps/alpha/strcat.S: Likewise.
2075 * sysdeps/alpha/strchr.S: Likewise.
2076 * sysdeps/alpha/strcpy.S: Likewise.
2077 * sysdeps/alpha/strlen.S: Likewise.
2078 * sysdeps/alpha/strncat.S: Likewise.
2079 * sysdeps/alpha/strncpy.S: Likewise.
2080 * sysdeps/alpha/strrchr.S: Likewise.
2081 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
2082 Convert two small jumps to use conditional moves.
2083 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
2084 (PSEUDO): If PROF, call _mcount.
2085 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
2086 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2087 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2088 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2089 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2090 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2091 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2093 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
2094 eventually contain memmove as well.
2095 * sysdeps/alpha/strcmp.S: New file.
2096 * sysdeps/alpha/strncmp.S: New file.
2097 * sysdeps/alpha/w_sqrt.S: New file.
2099 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
2101 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
2103 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
2105 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
2106 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
2107 Reported by Thomas Bushnell, n/BSG.
2109 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
2111 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
2113 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
2115 * malloc/calloc.c: Check for overflow before trying to allocate
2116 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
2118 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2120 * manual/llio.texi (Operating Modes): Add missing arguments to
2121 @deftypevr in O_NONBLOCK description.
2123 * manual/time.texi (Time Zone Functions): Enclose type name in
2124 braces in description of tzname. FIXME: this does not yet work
2127 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
2129 * features.h: Add X/Open macros.
2130 * posix/unistd.h: Define X/Open macros.
2131 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
2132 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
2133 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
2134 * sysdeps/posix/sysconf.c: Handle new constants.
2135 * sysdeps/stub/sysconf.c: Likewise.
2136 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
2138 * catgets/catgets.c (catopen): Set errno to ENOMEM when
2139 we run out of memory.
2140 (catgets): Set errno to EBADF when catalog handle is invalid.
2141 Set errno to ENOMSG when translation is not available.
2142 (catclose): Set errno to EBADF when catalog handle is invalid.
2144 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
2145 Likewise for _toupper and _tolower.
2147 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
2148 strtof, and strtold.
2149 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
2150 * manual/stdio.h: Document ' flag for numeric formats of scanf.
2151 * manual/users.texi: Document that cuserid shouldn't be used.
2153 * misc/Makefile (routines): Add dirname.
2154 (headers): Add libgen.h.
2155 (tests): Add tst-dirname.
2156 * misc/dirname.c: New file.
2157 * misc/libgen.h: New file.
2158 * misc/tst-dirname.c: New file.
2160 * misc/search.h: Parameter of hcreate must be of type size_t.
2161 * misc/hsearch.c: Likewise.
2162 * misc/hsearch_r.c: Likewise for hcreate_r.
2163 * misc/search.h: Parameters of insque and remque must be `void *'.
2164 * misc/insremque.c: Likewise.
2166 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
2167 * stdlib/stdlib.h: ...here.
2168 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
2171 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
2173 (parse_one_spec): Remove Linux compatibility code.
2174 Recognize %C and %S formats.
2175 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
2176 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
2177 * stdio-common/vfscanf.c: Likewise for scanf.
2179 * stdlib/l64a.c: Return value for 0 must be the empty string.
2180 * stdlib/stdlib.h: Declare reentrant function from rand49 family
2181 only if __USE_REENTRANT.
2182 Declare rand48 functions also if __USE_XOPEN.
2184 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
2186 Return 0 and set errno to EINVAL when strou* sees negativ number.
2187 * stdlib/tst-strtol.c: De-ANSI-fy.
2188 Change expected results for test of unsigned function and negative
2191 * string/stratcliff.c: Prevent warnings.
2192 * string.h: Move declaration of swab to <unistd.h>.
2193 * string/swab.c: De-ANSI-fy.
2195 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
2196 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
2197 * sysdeps/posix/mktemp.c: Likewise.
2198 * sysdeps/stub/mkstemp.c: Likewise.
2199 * sysdeps/stub/mktemp.c: Likewise.
2201 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
2203 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
2206 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
2208 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
2211 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
2213 * sysdeps/posix/cuserid.c: Use reentrant functions.
2214 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
2217 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
2219 Linus said he will make sure no system call will return a value
2220 in -1 ... -4095 as a valid result.
2221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
2222 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2223 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2224 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2226 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2228 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
2229 __funlockfile, not a circular alias.
2230 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
2233 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
2235 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
2237 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2239 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2241 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2243 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
2246 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
2247 __internal_funlockfile (in terms of itself) should actually be a
2248 definition of __funlockfile.
2250 * pwd/pwd.h: Get `size_t' from <stddef.h>.
2251 * grp/grp.h: Likewise.
2252 * shadow/shadow.h: Likewise.
2254 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
2255 calls to __libc_lock_lock and __libc_lock_unlock.
2256 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
2259 * hurd/hurdsig.c (write_corefile): Fix typo.
2261 * sysdeps/mach/hurd/sigwait.c: New file.
2263 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
2265 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
2266 and __errno_location to correct position.
2268 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
2270 * Makefile (distribute): Add rellns-sh.
2271 * rellns-sh: New file.
2272 * Makerules (make-link): Use rellns-sh.
2273 * time/Makefile ($(installed-localtime-file)): Likewise.
2275 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
2277 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
2278 (distribute): Add ldd.bash.in.
2279 * elf/ldd.sh.in: Process --help and --version parameter.
2281 * elf/ldd.bash.in: New file.
2283 * stdlib/stdlib.h: Add prototype for clearenv.
2284 * sysdeps/generic/setenv.c: Add implementation of clearenv.
2285 (setenv): Handle __environ == NULL correctly.
2286 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
2289 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
2290 * sysdeps/generic/setenv.c: Likewise.
2291 * stdlib/strtol.h: Likewise.
2293 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
2294 Remove definition of struct timeval.
2295 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
2296 using `time_t' for members.
2297 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
2298 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
2299 as old Linux specific version.
2301 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
2303 * signal/Makefile (routines): Add sigwait.
2304 * signal/signal.h: Add prototype for sigwait.
2305 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
2306 function from POSIX.1c.
2307 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
2309 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
2311 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
2312 but don't bother going farther than sizeof(float)==sizeof(int).
2313 (xdr_double): Handle little-endian machines! Handle sizeof(double)
2314 != 2*sizeof(long), though again don't bother with more than int.
2316 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
2318 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
2321 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
2323 * Makerules: Create symbolic links for linking in $(libdir).
2324 (make-link): Use absolute path for destination if this is not in
2327 * elf/rtld.c (dl_main): When verifying don't check the name of
2330 * shlib-versions: Change entries for Hurd specific libs from
2331 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
2334 * assert/assert.h: Reformat copyright.
2335 Change reference to ANSI into reference to ISO C.
2336 * ctype/ctype.h: Likewise.
2337 * errno.h: Likewise.
2338 * limits.h: Likewise.
2339 * math/math.h: Likewise.
2340 * setjmp/setjmp.h: Likewise.
2341 * stdio/stdio.h: Likewise.
2342 * libio/stdio.h: Likewise.
2343 * stdlib/stdlib.h: Likewise.
2344 * string/string.h: Likewise.
2345 * time/time.h: Likewise.
2347 * string/argz.h: Use __const in definitions.
2349 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
2350 * misc/err.h: Likewise.
2352 * wctype/wctype.h (wctrans_t): Use __const instead of const.
2354 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
2355 sonames for versioned libraries.
2356 * Makefile: Remove code to generate libc-version.h.
2357 Generate gnu/lib-names.h with info from soversions.mk.
2358 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
2360 * dirent/tst-seekdir.c: Initialize save3.
2361 * grp/testgrp.c: Initialize my_group.
2363 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
2364 * grp/grp.h: Likewise.
2365 * nss/getXXbyYY.c: Likewise.
2366 * nss/getXXbyYY_r.c: Likewise.
2367 * nss/getXXent.c: Likewise.
2368 * nss/getXXent_r.c: Likewise.
2369 * pwd/fgetpwent_r.c: Likewise.
2370 * pwd/pwd.h: Likewise.
2371 * shadow/fgetspent_r.c: Likewise.
2372 * shadow/sgetspent.c: Likewise.
2373 * shadow/sgetspent_r.c: Likewise.
2374 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
2375 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
2376 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
2377 * resolv/netdb.h: Adapt prototypes for reentrant functions to
2379 * sunrpc/rpc/netdb.h: Likewise,
2380 * shadow/shadow.h: Likewise.
2382 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
2384 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
2386 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
2387 ELF aliasing creates strange situations.
2388 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
2390 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
2391 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2393 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
2396 * locale/programs/charmap.c: Add casts to prevent warnings.
2397 * locale/programs/linereader.h: Likewise.
2398 * locale/programs/ld-collate.c: Likewise.
2399 * locale/programs/stringtrans.c: Likewise.
2400 Change types for various variables to prevent warnings.
2401 * locale/programs/ld-ctype.c: Likewise.
2402 * locale/programs/linereader.h (lr_ungetc): Likewise.
2403 * locale/programs/charset.h (struct charset): Use `unsigned int'
2404 as type for width_default.
2405 * posix/regex.c: Change type of `this_reg' variables.
2406 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
2407 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
2409 * stdio-common/printf_fp.c: Initialize to_shift.
2410 * stdio-common/test_rdwr.c: Add cast.
2411 * stdio-common/vfprintf.c: Add casts and use correct types to
2413 * stdio-common/vfscanf.c: Initialize str and strptr.
2414 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
2415 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2416 * sysdeps/libm-ieee754/e_powf.c: Likewise.
2417 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
2418 * time/test-tz.c: Likewise.
2420 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
2421 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
2422 libc.cp index. This must be fixed.
2423 * manual/nss.texi: Adapt for correct POSIX.1c interface of
2424 reentrant functions.
2425 * manual/users.texi: Document netgroup functions.
2427 * po/es.po: Updated.
2428 * po/fr.po: Updated.
2430 * posix/fnmatch.c: Change to match libit version.
2432 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
2433 * sysdep/posix/ttyname_r.c: Likewise.
2435 * stdlib/atexit.h (__new_exitfn): Add internal locking.
2436 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
2437 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
2438 * stdlib/random.c (__srandom): Add internal locking.
2439 (__initstate): Likewise.
2440 (__setstate): Likewise.
2441 (__random): Likewise.
2443 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2445 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
2447 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
2448 * sysdeps/generic/uname.c: Likewise.
2449 * sysdeps/posix/rename.c: Likewise.
2450 * sysdeps/stub/setrlimit.c: Likewise.
2452 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
2454 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2456 * locale/programs/ld-collate.c (collate_order_elem): Fix format
2458 (collate_element_to): Cast field width argument to `int' for
2460 (collate_symbol): Likewise.
2461 (collate_order_elem): Likewise.
2462 (collate_weight_bsymbol): Likewise.
2463 (collate_simple_weight): Likewise.
2465 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
2467 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
2468 argument for format string.
2469 (ctype_map_newP): Likewise.
2470 (set_class_defaults): Fix format string.
2472 * locale/programs/localedef.c (construct_output_path): Putting an
2473 explicit \0 into the format string does not work, use %c.
2475 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
2477 * Makerules: Install all shared libraries in $(slibdir).
2479 * login/Makefile: Build libutil.so in others pass after
2482 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
2484 * string/stratcliff.c: Allocate 3 pages instead of one, then use
2485 mprotect so that we know that the adjacent pages are inaccessible.
2487 * resource/sys/resource.h: Move all structures and enums to ...
2488 * sysdeps/generic/resourcebits.h: ... here ...
2489 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
2490 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
2491 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
2492 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
2493 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
2494 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
2495 header for RLIMIT_* definitions. The members of struct rlimit
2499 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2501 * MakeTAGS (sysdep-dirs): Fix typo.
2503 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2505 * hurd/hurdsig.c (write_corefile): If we can't create the core
2506 file, still call crash_dump_task with a null FILE arg. Maybe it
2507 won't actually need the file.
2509 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
2511 * Makefile (headers): Don't mention libc-version.h.
2512 (install-others): ...but here.
2514 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
2516 * version.h: Bump version number to 1.97.
2518 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
2519 Include libc-version.h.
2520 * features.h.in: Removed.
2521 * Makefile: Change rules to generate libc-version.h instead of
2524 * malloc/free.c: Add cast to prevent warning.
2525 * malloc/malloc-walk.c: Likewise.
2526 * malloc/ralloc.c: Likewise.
2527 * malloc/realloc.c: Likewise.
2529 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
2531 * pwd/fgetpwent_r.c: Likewise.
2532 * nss/nss_files/files-grp.c: Don't accept entries with names starting
2533 with + or - in lookup functions.
2534 * nss/nss_files/files-pwd.c: Likewise.
2536 * Makerules: Call autolock.sh using $(SHELL).
2538 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2540 * elf/dl-minimal.c: Don't define `dgettext' replacement but
2541 `dcgettext'. When optimizing the macros in <libintl.h> define
2542 `dgettext' as a macro and so this function will never be called.
2544 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
2546 * sysdeps/i386/sysdep.h: Define END to use .size when available.
2547 (PSEUDO_END): Use END.
2548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
2549 define SYSCALL_ERROR_HANDLER before using END.
2550 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
2551 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
2552 and .size directive but PSEUDO_END.
2553 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
2554 * sysdeps/unix/sysv/linux/socket.S: Likewise.
2555 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
2556 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
2557 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
2558 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
2559 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2560 * sysdeps/i386/bsd-setjmp.S: Likewise.
2561 * sysdeps/i386/memchr.S: Likewise.
2562 * sysdeps/i386/memcmp.S: Likewise.
2563 * sysdeps/i386/setjmp.S: Likewise.
2564 * sysdeps/i386/stpcpy.S: Likewise.
2565 * sysdeps/i386/stpncpy.S: Likewise.
2566 * sysdeps/i386/strchr.S: Likewise.
2567 * sysdeps/i386/strcspn.S: Likewise.
2568 * sysdeps/i386/strpbrk.S: Likewise.
2569 * sysdeps/i386/strrchr.S: Likewise.
2570 * sysdeps/i386/strspn.S: Likewise.
2571 * sysdeps/i386/strtok.S: Likewise.
2572 * sysdeps/i386/i486/strcat.S: Likewise.
2573 * sysdeps/i386/i486/strlen.S: Likewise.
2574 * sysdeps/i386/i586/memset.S: Likewise.
2575 * sysdeps/i386/i586/strchr.S: Likewise.
2576 * sysdeps/i386/i586/strlen.S: Likewise.
2578 * sysdeps/i386/strlen.c: De-ANSI-fy.
2580 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
2581 Define dgettext if not defined to use dcgettext.
2582 * sysdeps/mach/_strerror.c: Likewise.
2584 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
2585 __syscall_error defined.
2587 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2589 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
2590 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
2591 now provided by PSEUDO_END.
2592 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2593 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2594 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2595 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2596 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
2598 * sysdeps/generic/sysdep.h (END): Provide default empty
2600 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
2602 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
2603 (PSEUDO_END): Include it here instead.
2604 (SYSCALL_ERROR_HANDLER): Remove type directive.
2605 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
2606 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2607 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2608 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2609 (__syscall_error): Can't use ENTRY macro.
2611 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2613 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
2614 Set caller to EXTRA.
2616 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
2618 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
2619 to beginning of function. So libc functions can use this flag.
2620 * sysdeps/generic/_strerror.c: Don't use dgettext for message
2621 translation while `_dl_starting_up' is nonzero.
2623 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
2625 Pass parameter value to _dl_map_object.
2626 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
2627 If TRACE_MODE is nonzero don#t signal error when shared lib
2628 is not found. Instead create fake entry for link map.
2629 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
2630 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
2631 argument to _dl_map_object_deps.
2632 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
2633 _dl_map_object and _dl_map_object_deps.
2634 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
2635 and _dl_map_object_deps.
2636 When mode == trace test for l_opencount == 0 before printing
2637 link information since this means the lib is not found.
2639 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
2641 * rpm/template: Add INSTALL to %doc line to follow copyright
2642 restrictions which demand the distribution of the copyright
2643 messages in INSTALL even for binary distributions.
2645 * features.h: Rename to...
2646 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
2647 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
2648 and __GNU_LIBRARY_INTERFACE__.
2649 * Makefile ($(objpfx)features.h): New rule to generate features.h
2650 from template features.h.in.
2652 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
2654 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
2656 * locale/programs/linereader.c (lr_open): Cast away const before free.
2657 (lr_close): Likewise.
2659 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
2660 * misc/paths.h: Move to ...
2661 * sysdeps/generic/paths.h: ... here.
2663 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
2664 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
2666 * nss/nss_db/db-netgrp.h: Include <string.h>.
2668 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
2669 _sys_siglist, which result in the "Unknown signal" message.
2670 * string/strsignal.c: Likewise.
2671 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
2672 don't auto-generate siglist.c.
2673 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
2674 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
2675 autogenerate makes bootstrapping and cross-compiling much easier.
2676 * sysdeps/unix/sysv/linux/siglist.h: New file.
2678 * stdlib/longlong.h: Prototype __udiv_qrnnd.
2680 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
2681 sys/io.h. It is already added in .../linux/Makefile.
2683 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
2684 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
2685 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2687 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
2689 Add implementation of POSIX.1g function getaddrinfo.
2690 * posix/Makefile (routines): Add getaddrinfo.
2691 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
2693 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
2694 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
2695 related constants and structures.
2697 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
2699 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
2700 Make all old names weak alises so that they can be replaced
2703 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
2705 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
2706 __flockfile and __funlockfile.
2707 Reported by NIIBE Yutaka.
2709 * crypt/md5.c: Change form of copyright message according to GNITS
2711 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
2712 and `md5_read_ctx' function.
2713 * crypt/md5.h: Likewise.
2715 * grp/testgrp.c: Don't use perror for error cases since getgr* and
2716 getpw* functions do not return usable error codes.
2718 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
2720 * crypt/md5.c (md5_process_bytes): Used casting for pointer
2723 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
2725 * sunrpc/Makefile (others): Remove portmap here, too.
2727 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
2729 * intl/locale.alias: Language for entry `czech' is `cs'.
2731 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2733 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
2735 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
2737 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
2738 buggy and more competent people work on a usable version which is
2739 distributed separately.
2740 * sunrpc/portmap.c: Removed.
2741 Suggested by Thorsten Kukuk.
2743 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
2745 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
2748 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2750 * string/Makefile (tests): Add stratcliff.
2751 * string/stratcliff.c: New file. Test for string function at
2752 the edge of the usable memory.
2754 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
2756 * Makerules ($(libdir)/libc.so): Fix typo.
2758 * elf/ldd.sh.in: Test whether given file really exist and give
2759 better message if it is not available.
2761 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
2763 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
2766 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
2768 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
2769 output to $@T and move to $@ later since the new rpcgen will not
2770 overwrite existing files.
2772 * po/Makefile (libc.pot): Fix typo.
2774 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2776 Update rpcgen program to TI-rpc code.
2777 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
2778 (distribute): Add proto.h.
2779 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
2780 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
2781 * sunrpc/rpc_cout.c: Likewise.
2782 * sunrpc/rpc_hout.c: Likewise.
2783 * sunrpc/rpc_main.c: Likewise.
2784 * sunrpc/rpc_parse.c: Likewise.
2785 * sunrpc/rpc_parse.h: Likewise.
2786 * sunrpc/rpc_scan.c: Likewise.
2787 * sunrpc/rpc_scan.h: Likewise.
2788 * sunrpc/rpc_svcout.c: Likewise.
2789 * sunrpc/rpc_util.c: Likewise.
2790 * sunrpc/rpc_util.h: Likewise.
2792 * sunrpc/rpc_tblout.c: New file.
2793 * sunrpc/rpc_sample.c: Likewise.
2795 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2797 * sysdeps/unix/opendir.c: Add semicolon for consistency.
2799 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2801 * locale/programs/localedef.c (main): Test with -1 to find out
2802 whether read failed.
2804 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
2806 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
2809 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2811 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
2813 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2815 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
2816 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2817 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2818 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2819 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2821 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2822 Correct generation of system call.
2824 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2826 * Makerules (sysd-Makefile): Fix command so that it works in the
2828 (BUILD_CFLAGS): Change back using $(..) instead of
2829 $(common-objpfx), the latter fails in the toplevel directory when
2830 $(objdir) is relative.
2831 (common-objdir-compile): Run compiler in $(objdir).
2832 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
2834 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
2836 * string/string.h [__USE_SVID]: Add prototype for swab.
2837 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
2838 Reported by Andreas Jaeger.
2840 The available nlist implementation is not generally usable.
2841 Especially on the currently supported ELF systems the nlist
2842 function comes with the libelf.
2843 * misc/Makefile (headers): Remove nlist.h.
2844 (routines): Remove nlist.
2846 * Makefile ($(objpfx)version-info.h): Include information about
2847 system the libc is built on in version-info.h file.
2849 * po/Makefile (distribute): Add header.pot.
2851 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2853 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
2854 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2855 * misc/error.c: Likewise.
2857 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
2859 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
2861 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2863 * crypt/Makefile (rpath-link): Extend search path to current directory.
2865 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2867 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
2870 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
2872 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
2874 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
2876 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2878 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2881 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2883 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2886 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2888 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
2890 (PSEUDO_END): Provide definition to use .size directive.
2891 (PSEUDO): Don't interpret negative return values less than -128 as
2893 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
2895 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
2897 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2898 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2899 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2900 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2901 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2902 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2903 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
2904 explicit .size directive.
2906 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
2908 * shlib-versions: Add version number/name for ld.so.
2909 * Makeconfig: Move definition of rtld-installed-name after
2910 inclusion of soversions.mk.
2911 Don't add . before version number from shlib-versions file when
2912 when name does not start with digit. This is needed for ld.so.
2914 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
2916 * libio/iogets.c: Warn when gets is used.
2917 * stdio/gets.c: Strengthen the warning.
2919 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2921 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
2922 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
2923 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
2924 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
2925 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
2927 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
2928 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
2929 appropriate values according to __USE_REENTRANT.
2930 * libio/stdio.h: Add prototype for ftrylockfile.
2931 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
2932 getc, getchar, putc, and putchar using _IO_* names.
2933 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
2934 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
2935 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
2936 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
2937 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
2938 * libio/peekc.c: New file.
2940 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
2943 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
2945 * crypt/Makefile (tests): Add md5test and md5c-test.
2946 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
2947 is called, the buffer limit is honoured and a loop in a inner
2949 * crypt/md5.h (struct md5_ctx): Add new fields.
2950 Add prototypes for new functions.
2951 * crypt/md5.c (md5_init_ctx): Initialize new fields.
2952 (md5_finish_ctx): New function. Like md5_read_ctx but before
2953 perform correct finalization.
2954 (md5_process_bytes): New function. Similar to md5_proces_block,
2955 but does not require input size to be multiple of 64.
2956 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
2957 (md5_buffer): Likewise.
2958 (md5_process_block): Count number of bytes.
2959 * crypt/md5test.c: New file. Test program for MD5 functions.
2960 * crypt/md5c-test.c: New file: Test program for MD5 crypt
2965 * time/strptime.c: Recognize %s, %u, %g, and %G format.
2967 * posix/getopt.c: Add some more casts and initializations to
2970 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
2972 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
2973 an extra function to provide this functionality.
2974 (cfgetospeed): Simply return masked value.
2975 (cfsetospeed): Don't use speeds array and so we can simply test
2976 the value of SPEED for illegal values.
2977 * termios/cfsetspeed.c: Rewrite. We convert here between the
2978 real values and the B* constants.
2979 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
2981 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2983 * locale/programs/xstrdup.c: Define prototypes.
2984 * locale/programs/xmalloc.c: Likewise.
2986 * stdio-common/xbug.c (main): Change definition to avoid warning.
2988 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
2990 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
2992 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
2994 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
2995 "$(i18ndir)/charmaps".
2997 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2999 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
3000 to get definition of FPU description struct.
3002 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
3003 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
3004 net/if_arp.h, and net/route.h.
3005 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
3006 * sysdeps/unix/sysv/linux/net/route.h: New file.
3008 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
3010 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
3011 * sysdeps/stub/e_acosl.c: Likewise.
3012 * sysdeps/stub/e_asinl.c: Likewise.
3013 * sysdeps/stub/e_atan2l.c: Likewise.
3014 * sysdeps/stub/e_expl.c: Likewise.
3015 * sysdeps/stub/e_fmodl.c: Likewise.
3016 * sysdeps/stub/e_log10l.c: Likewise.
3017 * sysdeps/stub/e_logl.c: Likewise.
3018 * sysdeps/stub/e_sqrtl.c: Likewise.
3019 * sysdeps/stub/s_atanl.c: Likewise.
3020 * sysdeps/stub/s_log1pl.c: Likewise.
3022 * Makefile (distribute): Add nsswitch.h and netgroup.h.
3024 * nss/Makefile (generated): db-netgrp.c is not generated.
3026 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
3028 * Make-dist (+out): Add $(dont_distribute).
3030 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3032 * stdio-common/Makefile (routines): Add tmpnam_r.
3034 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
3036 * version.h: Bump version to 1.96.
3038 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3040 * stdio-common/tst-printf.c: Some more cleanups.
3042 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
3044 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
3045 * resolv/resolv.h: Likewise.
3046 * resolv/gethnamaddr.c: Likewise.
3047 * resolv/res_comp.c: Likewise.
3048 * resolv/res_debug.c: Likewise.
3049 * resolv/res_init.c: Likewise.
3050 * resolv/res_send.c: Likewise.
3051 * resolv/Banner: Update version number.
3053 * nss/nss_dns/dns-host.c: Update according to change in
3054 resolv/gethnamaddr.c.
3056 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
3058 * crypt/md5.c (md5_stream): When reading the block in several
3059 pieces append to instead of replace previously read data.
3061 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
3063 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
3064 last-byte-written bit for source word misalignment.
3065 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
3068 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
3070 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
3071 comes with glibc-nis.
3072 * sunrpc/rpcsvc/yp.x: Removed.
3074 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
3075 for *CURSOR to be NULL and dump a core if yes.
3077 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
3079 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
3080 including <errnos.h> to get error numbers.
3082 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
3084 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
3085 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
3086 Alpha people find a correct file.
3087 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
3088 an alias of __cabs since the structures have different names.
3089 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
3090 Reported by Matthew Jacob <mjacob@feral.com>.
3092 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3094 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
3095 so that it still works right if we happen to get called in a
3096 subdir it still works.
3098 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
3099 as file name translation flags.
3100 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
3101 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
3104 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
3105 name (changed according to libc-name) to avoid getting the
3106 Hurd-ish linker script for libc.a when we only want the archive
3109 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
3111 * time/strftime.c: Allow old K&R compilers compile this file.
3113 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
3115 * posix/execlp.c: Add first argument parameter to be compliant
3116 with POSIX. Rearrange body to start vararg counter after
3119 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
3121 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
3122 simply a wrapper around the <linux/elfcore.h> file since the
3123 kernel header is not clean enough. We provide the definitions
3124 in this file instead.
3126 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
3128 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
3129 get?id calls by using __libc_enable_secure.
3131 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
3133 * inet/getnetgrent_r.c: Correct netgroup implementation. A
3134 specification of a netgroup can also name another netgroup.
3135 * nss/nss_files/files-netgrp.c: Likewise.
3136 * inet/netgroup.h: Add fields to hold additional information.
3138 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
3140 * posix/getopt.c: Implement POSIX -W option handling. When the
3141 option string contains "W;" -W foo is handled like --foo.
3143 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
3145 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
3146 inclusing <errnos.h> so we really get error symbols defined.
3147 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3148 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3150 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
3151 size array for getgroups call. Instead get maximal number via
3152 sysconf. But discard list to NGRPS elements before calling XDR
3153 function since Sun's code cannot handle longer lists.
3154 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3156 * sysdeps/stub/e_j0l.c: Define y0l as well.
3157 * sysdeps/stub/e_j1l.c: Define y1l as well.
3158 * sysdeps/stub/e_jnl.c: Define ynl as well.
3160 * posix/unistd.h: Correct prototype for execlp.
3162 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
3164 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3166 * Makeconfig (sysdep-library-path): New variable.
3167 (built-program-cmd): Use it here to properly build a colon
3168 separated library path.
3170 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3172 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
3173 within comparison. Fix comments.
3174 (md5_crypt): Fix comment.
3176 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
3178 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
3179 when _ERRNO_H is defined.
3180 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
3181 Should there ever be a Linux port where the numeric values are
3182 not 33 and 34 this file must change.
3184 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3186 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
3189 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3191 * string/tst-strlen.c (main): Provide prototype.
3192 * malloc/mallocbug.c: Likewise.
3193 * io/test-utime.c: Likewise.
3195 * sysdeps/generic/crypt-entry.c: Correct typo.
3197 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
3199 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
3200 test for libc.a. Checking _DYNAMIC is of no worth here.
3201 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3203 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
3204 EXTERN_PARSER is defined.
3206 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3208 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
3210 * crypt/md5-crypt.c: Fix typos in comments.
3212 * gmon/gmon.c: Provide prototypes.
3213 * db/makedb.c: Likewise.
3214 * locale/programs/xmalloc.c: Likewise.
3215 * stdio-common/bug11.c (main): Likewise.
3216 * stdio-common/bug7.c (main): Likewise.
3217 * stdio-common/bug8.c (main): Likewise.
3218 * stdio-common/bug9.c (main): Likewise.
3219 * stdio-common/scanf1.c (main): Likewise.
3220 * stdio-common/scanf2.c (main): Likewise.
3221 * stdio-common/scanf5.c (main): Likewise.
3222 * stdio-common/scanf6.c (main): Likewise.
3223 * stdio-common/scanf7.c (main): Likewise.
3224 * stdio-common/scanf8.c (main): Likewise.
3225 * stdio-common/temptest.c (main): Likewise.
3226 * stdio-common/test-fwrite.c (main): Likewise.
3227 * stdio-common/tst-printf.c: Likewise.
3228 * stdio-common/tstdiomisc.c: Likewise.
3229 * stdio-common/tstgetln.c (main): Likewise.
3230 * stdlib/testmb.c (main): Likewise.
3232 * stdio-common/scanf4.c (main): Correct prototype, remove unused
3235 * stdio-common/scanf3.c (main): Correct prototype, change
3236 declaration of s to reduce warnings.
3237 * stdio-common/bug10.c (main): Likewise.
3239 * stdio-common/tfformat.c: Provide prototype, remove unused
3240 reference to dump_stats, add braces in sprint_doubles.
3241 * stdio-common/tiformat.c: Likewise.
3243 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
3246 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3248 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
3250 * shadow/putspent.c: Don't write colon after flag field.
3252 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
3254 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
3255 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3256 * sysdeps/unix/sysv/linux/Dist: Mention new files.
3258 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
3260 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
3261 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
3263 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
3264 by using __libc_enable_secure variable.
3266 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3268 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
3269 null, don't attempt mach_port_mod_refs.
3271 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3273 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
3274 sysdeps/unix/pipestream.c.
3276 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
3277 from sysdeps/mach/hurd/readdir.c.
3279 * stdio/freopen.c: Complete de-ansideclification.
3280 * stdio/fgets.c (fgets): Likewise.
3281 * stdio/getdelim.c (__getdelim): Likewise.
3282 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
3285 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3286 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3288 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
3289 STAT_LOC without error.
3291 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
3293 * posix/getopt.c: Add casts to prevent warnings.
3294 * posix/regex.c: Likewise.
3296 * math/Makefile (long-m-routines, long-m-yes): Define to correct
3297 values to make `long double' functions available.
3298 (distribute): Add $(long-m-yes:=.c).
3300 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
3301 Use long double instruction.
3303 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
3304 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
3305 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3307 * sysdeps/libm-ieee754/e_coshl.c: New file.
3309 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
3310 for `long double' version as alias.
3311 * sysdeps/libm-ieee754/s_atan.c: Likewise.
3312 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
3313 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
3314 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
3315 * sysdeps/libm-ieee754/s_cos.c: Likewise.
3316 * sysdeps/libm-ieee754/s_erf.c: Likewise.
3317 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
3318 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
3319 * sysdeps/libm-ieee754/s_finite.c: Likewise.
3320 * sysdeps/libm-ieee754/s_floor.c: Likewise.
3321 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
3322 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3323 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3324 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
3325 * sysdeps/libm-ieee754/s_logb.c: Likewise.
3326 * sysdeps/libm-ieee754/s_modf.c: Likewise.
3327 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
3328 * sysdeps/libm-ieee754/s_rint.c: Likewise.
3329 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
3330 * sysdeps/libm-ieee754/s_significand.c: Likewise.
3331 * sysdeps/libm-ieee754/s_sin.c: Likewise.
3332 * sysdeps/libm-ieee754/s_tan.c: Likewise.
3333 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
3334 * sysdeps/libm-ieee754/w_acos.c: Likewise.
3335 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
3336 * sysdeps/libm-ieee754/w_sin.c: Likewise.
3337 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
3338 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
3339 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
3340 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
3341 * sysdeps/libm-ieee754/w_drem.c: Likewise.
3342 * sysdeps/libm-ieee754/w_exp.c: Likewise.
3343 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
3344 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3345 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
3346 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
3347 * sysdeps/libm-ieee754/w_j0.c: Likewise.
3348 * sysdeps/libm-ieee754/w_j1.c: Likewise.
3349 * sysdeps/libm-ieee754/w_jn.c: Likewise.
3350 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3351 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
3352 * sysdeps/libm-ieee754/w_log.c: Likewise.
3353 * sysdeps/libm-ieee754/w_log10.c: Likewise.
3354 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3355 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
3356 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3357 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
3358 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
3360 Stub files for missing long double math functions.
3361 * sysdeps/stub/e_acoshl.c: New file.
3362 * sysdeps/stub/e_hypotl.c: New file.
3363 * sysdeps/stub/e_j0l.c: New file.
3364 * sysdeps/stub/e_j1l.c: New file.
3365 * sysdeps/stub/e_jnl.c: New file.
3366 * sysdeps/stub/e_lgammal_r.c: New file.
3367 * sysdeps/stub/e_powl.c: New file.
3368 * sysdeps/stub/e_rem_pio2l.c: New file.
3369 * sysdeps/stub/e_sinhl.c: New file.
3370 * sysdeps/stub/k_cosl.c: New file.
3371 * sysdeps/stub/k_rem_pio2l.c: New file.
3372 * sysdeps/stub/k_sinl.c: New file.
3373 * sysdeps/stub/k_tanl.c: New file.
3374 * sysdeps/stub/s_erfl.c: New file.
3375 * sysdeps/stub/s_expm1l.c: New file.
3377 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
3379 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3380 * sysdeps/i386/bsd-setjmp.S: Likewise.
3381 * sysdeps/i386/memchr.S: Likewise.
3382 * sysdeps/i386/memcmp.S: Likewise.
3383 * sysdeps/i386/setjmp.S: Likewise.
3384 * sysdeps/i386/stpcpy.S: Likewise.
3385 * sysdeps/i386/stpncpy.S: Likewise.
3386 * sysdeps/i386/strchr.S: Likewise.
3387 * sysdeps/i386/strcspn.S: Likewise.
3388 * sysdeps/i386/strpbrk.S: Likewise.
3389 * sysdeps/i386/strrchr.S: Likewise.
3390 * sysdeps/i386/strspn.S: Likewise.
3391 * sysdeps/i386/strtok.S: Likewise.
3392 * sysdeps/i386/i486/strcat.S: Likewise.
3393 * sysdeps/i386/i486/strlen.S: Likewise.
3394 * sysdeps/i386/i586/memset.S: Likewise.
3395 * sysdeps/i386/i586/strchr.S: Likewise.
3396 * sysdeps/i386/i586/strlen.S: Likewise.
3397 * sysdeps/libm-i387/e_acos.S: Likewise.
3398 * sysdeps/libm-i387/e_acosl.S: Likewise.
3399 * sysdeps/libm-i387/e_asin.S: Likewise.
3400 * sysdeps/libm-i387/e_asinl.S: Likewise.
3401 * sysdeps/libm-i387/e_atan2.S: Likewise.
3402 * sysdeps/libm-i387/e_atan2l.S: Likewise.
3403 * sysdeps/libm-i387/e_exp.S: Likewise.
3404 * sysdeps/libm-i387/e_expl.S: Likewise.
3405 * sysdeps/libm-i387/e_fmod.S: Likewise.
3406 * sysdeps/libm-i387/e_fmodl.S: Likewise.
3407 * sysdeps/libm-i387/e_log.S: Likewise.
3408 * sysdeps/libm-i387/e_log10.S: Likewise.
3409 * sysdeps/libm-i387/e_log10l.S: Likewise.
3410 * sysdeps/libm-i387/e_logl.S: Likewise.
3411 * sysdeps/libm-i387/e_remainder.S: Likewise.
3412 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3413 * sysdeps/libm-i387/e_remainderl.S: Likewise.
3414 * sysdeps/libm-i387/e_scalb.S: Likewise.
3415 * sysdeps/libm-i387/e_scalbl.S: Likewise.
3416 * sysdeps/libm-i387/e_sqrt.S: Likewise.
3417 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
3418 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
3419 * sysdeps/libm-i387/s_atan.S: Likewise.
3420 * sysdeps/libm-i387/s_atanf.S: Likewise.
3421 * sysdeps/libm-i387/s_atanl.S: Likewise.
3422 * sysdeps/libm-i387/s_ceil.S: Likewise.
3423 * sysdeps/libm-i387/s_ceilf.S: Likewise.
3424 * sysdeps/libm-i387/s_ceill.S: Likewise.
3425 * sysdeps/libm-i387/s_copysign.S: Likewise.
3426 * sysdeps/libm-i387/s_copysignf.S: Likewise.
3427 * sysdeps/libm-i387/s_copysignl.S: Likewise.
3428 * sysdeps/libm-i387/s_cos.S: Likewise.
3429 * sysdeps/libm-i387/s_cosf.S: Likewise.
3430 * sysdeps/libm-i387/s_cosl.S: Likewise.
3431 * sysdeps/libm-i387/s_finite.S: Likewise.
3432 * sysdeps/libm-i387/s_finitef.S: Likewise.
3433 * sysdeps/libm-i387/s_finitel.S: Likewise.
3434 * sysdeps/libm-i387/s_floor.S: Likewise.
3435 * sysdeps/libm-i387/s_floorf.S: Likewise.
3436 * sysdeps/libm-i387/s_floorl.S: Likewise.
3437 * sysdeps/libm-i387/s_ilogb.S: Likewise.
3438 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3439 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
3440 * sysdeps/libm-i387/s_log1p.S: Likewise.
3441 * sysdeps/libm-i387/s_log1pf.S: Likewise.
3442 * sysdeps/libm-i387/s_log1pl.S: Likewise.
3443 * sysdeps/libm-i387/s_logb.S: Likewise.
3444 * sysdeps/libm-i387/s_logbf.S: Likewise.
3445 * sysdeps/libm-i387/s_logbl.S: Likewise.
3446 * sysdeps/libm-i387/s_rint.S: Likewise.
3447 * sysdeps/libm-i387/s_rintf.S: Likewise.
3448 * sysdeps/libm-i387/s_rintl.S: Likewise.
3449 * sysdeps/libm-i387/s_scalbn.S: Likewise.
3450 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3451 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3452 * sysdeps/libm-i387/s_significand.S: Likewise.
3453 * sysdeps/libm-i387/s_significandf.S: Likewise.
3454 * sysdeps/libm-i387/s_significandl.S: Likewise.
3455 * sysdeps/libm-i387/s_sin.S: Likewise.
3456 * sysdeps/libm-i387/s_sinf.S: Likewise.
3457 * sysdeps/libm-i387/s_sinl.S: Likewise.
3458 * sysdeps/libm-i387/s_tan.S: Likewise.
3459 * sysdeps/libm-i387/s_tanf.S: Likewise.
3460 * sysdeps/libm-i387/s_tanl.S: Likewise.
3462 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
3463 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
3464 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
3465 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
3467 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
3468 to provide .size directive on ELF systems.
3470 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
3471 <sigcontext.h> and rename parameter type to sigcontext.
3472 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
3474 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
3475 negative values might occur as positive results. Test against
3476 -125 to decide for error or not.
3477 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
3479 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3481 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
3482 whether this is a statically linked program. The latter is now
3485 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3487 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
3488 controlling terminals are allowed to send.
3490 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
3491 table is larger than the allowable address size, then return
3494 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
3498 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
3500 * po/fr.po: New file.
3502 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
3504 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
3506 Add support for MD5 crypt replacement.
3507 * Makefile (subdirs): Add crypt.
3508 * shlib-versions: Add entry for libcrypt.
3509 * crypt/md5-crypt.c: New file.
3510 * crypt/md5.c: New file.
3511 * crypt/md5.h: New file.
3512 * sysdeps/generic/crypt-entry.c: New file.
3513 * sysdeps/generic/crypt.h: New file.
3515 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3517 * dirent/tst-seekdir.c: Provide correct prototypes.
3518 * io/test-utime.c: Likewise.
3519 * malloc/mallocbug.c: Likewise.
3520 * posix/testfnm.c: Likewise.
3521 * stdio-common/xbug.c: Likewise.
3522 * sysdeps/posix/cuserid.c: Likewise.
3524 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
3526 Provide optimized string functions for Alpha processors.
3527 * sysdeps/alpha/bzero.S: New file.
3528 * sysdeps/alpha/memset.S: New file.
3529 * sysdeps/alpha/stpcpy.S: New file.
3530 * sysdeps/alpha/stpncpy.S: New file.
3531 * sysdeps/alpha/strcat.S: New file.
3532 * sysdeps/alpha/strchr.S: New file.
3533 * sysdeps/alpha/strcpy.S: New file.
3534 * sysdeps/alpha/strncat.S: New file.
3535 * sysdeps/alpha/strncpy.S: New file.
3536 * sysdeps/alpha/strrchr.S: New file.
3537 * sysdeps/alpha/stxcpy.S: New file.
3538 * sysdeps/alpha/stxncpy.S: New file.
3540 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
3541 stxncpy to sysdep_routines.
3544 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3546 * sysdeps/generic/gnu/types.h: Added __loff_t.
3547 Don't declare key_t here.
3549 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
3550 set errno (to ENOMEM).
3552 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
3554 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
3555 nothing is found. This guarantees all subsequent calls behave
3557 * sysdeps/generic/strtok_r.c: Likewise.
3559 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3561 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
3564 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
3566 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
3567 NULL immediately; we're going to get called one more time.
3568 * sysdeps/generic/strtok_r.c: Likewise.
3570 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
3572 * locale/programs/ld-time.c: Always write some bytes at the end of
3573 the file even if no `era's are specified.
3575 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
3578 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
3580 * libio/iofclose.c: Move unlocking to right position.
3582 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
3584 * misc/Makefile: Kill force-wrapper.
3585 * misc/force-wrapper.c: Delete.
3587 * elf/eval.c: Add <string.h>.
3589 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
3590 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
3591 and binary compatibility not at all. Better to do `char *foo'
3592 followed by `foo = ptr' as it is much cleaner.
3593 (struct gmon_hdr): Fix version.
3594 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
3595 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
3596 * gmon/gmon.c: De-ansidecl-ify.
3597 (write_hist): De-bcopy-fy.
3598 (write_call_graph): Likewise.
3600 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
3601 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
3602 * sysdeps/generic/machine-gmon.h: Likewise.
3604 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
3605 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
3606 * nss/nss_dns/dns-network.c: Likewise.
3607 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
3608 * resolv/getnetnamadr.c: Likewise.
3609 * resolv/res_debug.c: Likewise.
3610 * resolv/res_mkquery.c: Likewise.
3611 * resolv/res_query.c: Likewise.
3613 * libio/clearerr_u.c: It's not necessary to define __ protected
3614 function so don't do it.
3615 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
3616 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
3618 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
3619 the cleanup registrar.
3620 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
3621 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
3622 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
3623 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
3624 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
3625 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
3626 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
3629 * locale/programs/ld-ctype.c: Include <alloca.h>.
3631 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
3633 * posix/sys/types.h: Change #defines to typedefs. This is looking
3634 forward to more comprehensive namespace cleanups for C++.
3635 * posix/unistd.h: Likewise for ssize_t.
3637 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
3640 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
3641 `statement with no effect' warnings.
3642 * resolv/inet_neta.c: Include <string.h> for strlen.
3644 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
3645 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
3646 * stdio-common/vfprintf.c: Same for va_list.
3647 * stdio-common/vfscanf.c: Same.
3648 * stdio-common/reg-printf.c: Prototype the __ function.
3649 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
3650 _IO_vscanf declaration.
3652 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
3653 but to unsigned long for the health of 64-bit systems.
3655 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
3656 Many system's <sys/param.h> pulls this in.
3658 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
3661 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
3662 instead of defining it locally.
3664 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
3665 * sysdeps/stub/chflags.c: Prototype chflags.
3666 * sysdeps/stub/fchflags.c: Prototype fchflags.
3667 * sysdeps/stub/sstk.c: Prototype sstk.
3669 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
3670 variable to __errno. Update __syscall_error to store to both
3671 the global and per-thread variables.
3673 * sysdeps/unix/sysv/linux/init-first.c: Change include of
3674 init-first.h from "" to <> as "" does not search the include path.
3675 Prototype _dl_start.
3677 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3679 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
3680 pattern rule to get the right stem.
3682 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3684 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
3686 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3688 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
3690 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3692 * malloc/free.c (_free_internal): Don't call free recursively, use
3693 the internal functions instead.
3695 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3697 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
3698 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
3700 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3702 * catgets/gencat.c (main): Print version information on stdout,
3704 * db/makedb.c: Likewise.
3705 * locale/programs/locale.c: Likewise.
3706 * locale/programs/localedef.c: Likewise.
3708 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
3710 Add implementation of netgroup.
3711 * inet/Makefile (distributes): Add netgroup.h.
3712 (routines): Add getnetgrent.c and getnetgrent_r.c.
3713 * inet/getnetgrent.c: New file.
3714 * inet/getnetgrent_r.c: New file.
3715 * inet/netgroup.h: New file.
3716 * netgroup.h: New file.
3717 * nsswitch.h: New file.
3718 * nss/Makefile (databases): Add getgrp.
3719 * nss/databases.def: Add netgroup.
3720 * nss/db-Makefile: Add rules for netgroup.
3721 * nss/netgrp-lookup.c: New file.
3722 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
3723 always return without a check of the transition table.
3724 * nss/nsswitch.h (struct service_user): Extend actions array to
3726 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
3728 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
3729 to NSS_ACTION_RETURN.
3730 * nss/nss_db/db-netgrp.c: New file.
3731 * nss/nss_files/files-netgrp.c: New file.
3732 * nss/nsswitch.conf: Add entry for netgroup.
3733 * resolv/netdb.h: Add prototypes for netgroup functions.
3735 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
3738 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
3740 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
3741 _llseek to _llseek (not llseek).
3742 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3744 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
3746 * inet/rcmd.c: Remove definition of MIN.
3748 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
3750 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
3751 * sysdeps/unix/readdir_r.c: New file.
3752 * sysdeps/unix/readdir.c: Remove check for correct parameter
3753 values. Let them simply die.
3754 * manual/filesys.texi: Document readdir_r.
3756 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
3757 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
3759 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
3761 * dirent/Makefile (routines): Add readdir_r.
3762 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
3763 * dirent/dirent.h: Add prototype for readdir_r.
3765 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
3766 to prevent warnings.
3768 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3769 Initialize `result'.
3771 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
3773 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
3775 * string/string.h: Add prototype for __strsep.
3776 * misc/mntent_r.c: Use __strsep instead of strsep to keep
3779 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
3780 __nanosleep and nanosleep weak aliases.
3781 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
3783 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
3784 nanosleep to keep namespace clean.
3786 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
3787 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
3788 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3790 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
3793 * login/Makefile (headers): Add pty.h.
3794 * login/pty.h: New file.
3795 * sysdeps/generic/pty.h: Include <pty.h>.
3796 * login/pututline_r.c: Add cast to prevent warning.
3798 * gmon/gmon.c: Add prototype for __profile_frequency.
3799 (monstartup): Add cast to prevent warning.
3800 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
3802 * locale/programs/ld-time.c (time_output): Write `era' information
3805 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
3807 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
3809 Set caller for mlock, mlockall, mremap, munlock, and munlockall
3811 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3813 1996-09-27 Paul Eggert <eggert@twinsun.com>
3815 * strftime.c (strftime): Output incomplete formats like %E
3818 1996-09-27 Paul Eggert <eggert@twinsun.com>
3820 * strftime.c (strftime): Add support for %EC and %Ey.
3821 Fix support for %EY. This uses the new _nl_get_era_entry function.
3823 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
3825 Security related patch by Elliot Lee <sopwith@redhat.com> and
3826 David Holland <dholland@eecs.harvard.edu>.
3828 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
3829 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
3831 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
3832 NULL when programs runs with SUID or SGID enabled.
3833 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
3834 * stdlib/stdlib.h: Add prototype for __secure_getenv.
3836 * locale/setlocale.c: Use __secure_getenv.
3837 * resolv/res_init.c: Likewise.
3838 * resolv/res_query.c: Likewise.
3839 * inet/ruserpass.c: Likewise.
3840 * sysdeps/posix/tempname.c: Likewise.
3841 * malloc/mtrace.c: Likewise.
3842 * catgets/catgets.c: Likewise.
3844 Make temporary file handling functions reentrant.
3846 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
3847 result to. The called __stdio_gen_tempname function must be
3849 * stdio-common/tmpnam_r.c: New file.
3850 * stdio/stdio.h: Add prototype for `tmpnam_r'.
3851 Change prototype for __stdio_gen_tempname.
3852 * stdio/libio.h: Likewise.
3853 * sysdeps/posix/tempname.c: Add new parameters and use them instead
3855 Don't reset `indeces' when PID changed between calls.
3856 Don't fail for long running programs when index counter once
3858 * sysdeps/stub/tempname.c: Likewise.
3859 * stdio-common/tempnam.c: Provide local buffer as extra argument
3860 to __stdio_gen_tempname. This makes this function reentrant.
3861 * stdio-common/tmpfile.c: Likewise.
3862 * stdio-common/temptest.c: Provide extra argument to
3863 __stdio_gen_tempname.
3864 * manual/filesys.texi: Describe tmpnam_r and add comments about
3865 reentrancy of the functions.
3867 * inet/rcmd.c: Fixed address length handling.
3869 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
3871 * time/strftime.c: Remove unused variables alt_digits and
3874 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
3875 for get_nprocs and get_nprocs_conf.
3876 * sysdeps/generic/sys/sysinfo.h: Likewise.
3878 * stdlib/test-canon.c: Finally do the right fix.
3880 * misc/Makefile: Only compile force-wrapper when compiling
3883 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
3885 Add support for cancelable system calls.
3887 * csu/initfini.c: Make in crti.o reference to symbol
3888 __libc_force_cancel_wrapper when compiling reentrant version.
3889 * misc/Makefile (routines): Add force-wrapper.
3890 * misc/force-wrapper.c: New file.
3892 * posix/system.c: Rename function to __libc_system and make system
3894 * sysdeps/stub/system.c: Likewise.
3895 * posix/wait.c: Rename function to __libc_wait and make __wait a
3896 weak alias. De-ANSI-fy.
3897 * sysdeps/standalone/read.c: Rename function to __libc_read and
3898 make __read a weak alias.
3899 * sysdeps/stub/read.c: Likewise.
3900 * sysdeps/standalone/write.c: Rename function to __libc_write and
3901 make __write a weak alias.
3902 * sysdeps/stub/write.c: Likewise.
3903 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
3904 make tcdrain a weak alias.
3905 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3906 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
3907 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3908 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
3909 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
3910 and make __wait a weak alias.
3911 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
3912 make __waitpid a weak alias.
3913 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
3914 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
3915 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
3916 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
3917 and make pause a weak alias. De-ANSI-fy.
3919 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
3920 lseek, open, read, and write to have __libc_ prefix and make old
3922 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
3923 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
3925 * io/creat.c: De-ANSI-fy.
3927 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
3929 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
3931 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
3932 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3934 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
3936 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
3938 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3940 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
3942 * locale/programs/locfile.c (write_locale_data): Allocate room
3943 even for file name for LC_MESSAGES locale.
3944 (locafile_read): `tok_era' must be handled as a string list.
3945 * locale/programs/ld-time.c: Finish correction of handling `era'.
3946 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
3947 * locale/categories.def: Add postload function for LC_TIME.
3948 * locale/setlocale.c: Make lock global and rename to
3949 __libc_setlocale_lock.
3950 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
3951 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
3952 * locale/lc-time.c (_nl_postload_time): New function. Initialize
3954 (_nl_get_era_entry): New function. Return era entry which corresponds
3956 (_nl_get_alt_digit): New function. Return string with alternate
3957 digit representation for given number.
3959 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
3960 string representing alternate digit notation.
3962 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
3964 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
3965 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3967 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
3968 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
3970 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
3972 * catgets/gencat.c (main): Change --version again because RMS wants
3973 the package name in parentheses.
3974 * db/makedb.c: Likewise.
3975 * locale/programs/locale.c: Likewise.
3976 * locale/programs/localedef.c: Likewise.
3978 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3980 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
3982 ($(objpfx)version-info.h): Depend on Banner files, command
3985 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
3987 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
3989 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
3991 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
3992 on the same device as the password file.
3993 * shadow/shadow.h (struct spwd): Change type of numeric fields
3994 to `long int' since there value are days, not seconds.
3995 * shadow/putspent.c: Change casts from time_t to `long int'.
3996 * shadow/sgetspent_r.c (LINE_READER): Likewise.
3998 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
4000 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
4001 sure the thread specific variable is set as well as the global
4003 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
4005 * sysdeps/stub/errnos.h: Likewise.
4006 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
4008 * shadow/putspent.c: Don't include <errno.h>.
4010 * dirent/scandir.c (scandir): Use __set_errno to set errno
4012 * elf/dl-load.c (open_path): Likewise.
4013 * inet/rcmd.c (rcmd): Likewise.
4014 (rresvport): Likewise.
4015 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
4016 (DCGETTEXT): Use __set_errno to set errno variable.
4017 * io/fts.c (fts_open): Likewise.
4018 (fts_close): Likewise.
4019 (fts_read): Likewise.
4020 (fts_set): Likewise.
4021 (fts_children): Likewise.
4022 (fts_build): Likewise.
4023 (fts_stat): Likewise.
4024 * io/ftw.c (ftw_dir): Likewise.
4026 * io/getwd.c (getwd): Likewise.
4027 * io/lockf.c (lockf): Likewise.
4028 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
4029 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
4030 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4031 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
4033 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
4034 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
4035 * libio/ioftell.c (_IO_ftell): Likewise.
4036 * locale/loadlocale.c (_nl_load_locale): Likewise.
4037 * locale/nl_langinfo.c (nl_langinfo): Likewise.
4038 * locale/setlocale.c (ERROR_RETURN): Likewise.
4039 * login/getutid_r (__getutid_r): Likewise.
4040 * login/getutline_r (__getutline_r): Likewise.
4041 * login/login.c (tty_name): Likewise.
4042 * login/oututline_r.c (__pututline_r): Likewise.
4043 * malloc/malloc.c (morecore): Likewise.
4044 * misc/efgcvt_r.c (fcvt_r): Likewise.
4045 * misc/hsearch_r.c (hcreate_r): Likewise.
4046 (hdestroy_r): Likewise.
4047 (hsearch_r): Likewise.
4048 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
4049 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
4050 (_nss_dns_gethostbyaddr_r): Likewise.
4051 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4052 * nss/nss_files/files-parse.c (parse_list): Likewise.
4053 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
4054 * posix/execvp.c (execvp): Likewise.
4055 * posix/glob.c: Define __set_errno.
4056 (glob): Use __set_errno to set errno variable.
4057 (glob_in_dir): Likewise.
4058 * pwd/getpw.c: Likewise. De-ANSI-fy.
4059 * pwd/putpwent.c: Likewise.
4060 * resolv/inet_net_ntop.c: Likewise.
4061 * resolv/inet_net_pton.c: Likewise.
4062 * resolv/inet_neta.c: Likewise.
4063 * resolv/inet_ntop.c: Likewise.
4064 * resolv/inet_pton.c: Likewise.
4065 * resolv/res_query.c (res_search): Likewise.
4066 * resolv/res_send.c (Aerror): Likewise.
4068 (res_send): Likewise.
4069 * signal/sigaddset.c: Likewise. De-ANSI-fy.
4070 * signal/sigdelset.c: Likewise.
4071 * signal/sigempty.c: Likewise.
4072 * signal/sigfillset.c: Likewise.
4073 * signal/sigismem.c: Likewise.
4074 * stdio/fclose.c: Likewise.
4075 * stdio/feof.c: Likewise.
4076 * stdio/ferror.c: Likewise.
4077 * stdio/fflush.c: Likewise.
4078 * stdio/fgetc.c: Likewise.
4079 * stdio/fgetpos.c: Likewise.
4080 * stdio/fgets.c: Likewise.
4081 * stdio/fileno.c: Likewise.
4082 * stdio/fmemopen.c: Likewise.
4083 * stdio/fopen.c: Likewise.
4084 * stdio/fputc.c: Likewise.
4085 * stdio/fread.c: Likewise.
4086 * stdio/freopen.c: Likewise.
4087 * stdio/fseek.c: Likewise.
4088 * stdio/fsetpos.c: Likewise.
4089 * stdio/ftell.c: Likewise.
4090 * stdio/fwrite.c: Likewise.
4091 * stdio/getdelim.c: Likewise.
4092 * stdio/gets.c: Likewise.
4093 * stdio/glue.c: Likewise.
4094 * stdio/internals.c: Likewise.
4095 * stdio/memstream.c: Likewise.
4096 * stdio/setvbuf.c: Likewise.
4097 * stdio/ungetc.c: Likewise.
4098 * stdio/vsscanf.c: Likewise.
4099 * stdio-common/reg-printf.c: Likewise.
4100 * stdio-common/vfprintf.c: Likewise.
4101 * stdio-common/vfscanf.c: Likewise.
4102 * stdlib/canonicalize.c: Likewise.
4103 * stdlib/msort.c: Likewise.
4104 * stdlib/random_r.c: Likewise.
4105 * stdlib/strfmon.c: Likewise.
4106 * stdlib/strtod.c: Likewise.
4107 * stdlib/strtol.c: Likewise.
4108 * sunrpc/bindrsvprt.c: Likewise.
4109 * time/asctime.c: Likewise.
4110 * time/localtime.c: Likewise.
4111 * wcsmbs/mbrtowc.c: Likewise.
4112 * wcsmbs/mbsnrtowcs.c: Likewise.
4113 * wcsmbs/mbsrtowcs.c: Likewise.
4114 * wcsmbs/wcrtomb.c: Likewise.
4115 * wcsmbs/wcsnrtombs.c: Likewise.
4116 * wcsmbs/wcsrtombs.c: Likewise.
4117 * wcsmbs/wcstok.c: Likewise.
4118 * sysdeps/generic/ftime.c: Likewise.
4119 * sysdeps/generic/pty.c: Likewise.
4120 * sysdeps/generic/setenv.c: Likewise.
4121 * sysdeps/generic/speed.c: Likewise.
4122 * sysdeps/generic/sysd-stdio.c: Likewise.
4123 * sysdeps/generic/uname.c: Likewise.
4124 * sysdeps/generic/vlimit.c: Likewise.
4125 * sysdeps/libm-ieee754/k_standard.c: Likewise.
4126 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4127 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
4128 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
4129 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4130 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
4131 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
4132 * sysdeps/posix/dup2.c: Likewise.
4133 * sysdeps/posix/euidaccess.c: Likewise.
4134 * sysdeps/posix/fdopen.c: Likewise.
4135 * sysdeps/posix/flock.c: Likewise.
4136 * sysdeps/posix/fpathconf.c: Likewise.
4137 * sysdeps/posix/getcwd.c: Likewise.
4138 * sysdeps/posix/gettimeofday.c: Likewise.
4139 * sysdeps/posix/isatty.c: Likewise.
4140 * sysdeps/posix/isfdtype.c: Likewise.
4141 * sysdeps/posix/killpg.c: Likewise.
4142 * sysdeps/posix/mkstemp.c: Likewise.
4143 * sysdeps/posix/mktemp.c: Likewise.
4144 * sysdeps/posix/pathconf.c: Likewise.
4145 * sysdeps/posix/pipestream.c: Likewise.
4146 * sysdeps/posix/remove.c: Likewise.
4147 * sysdeps/posix/rename.c: Likewise.
4148 * sysdeps/posix/sigintr.c: Likewise.
4149 * sysdeps/posix/signal.c: Likewise.
4150 * sysdeps/posix/sigsuspend.c: Likewise.
4151 * sysdeps/posix/sigvec.c: Likewise.
4152 * sysdeps/posix/sleep.c: Likewise.
4153 * sysdeps/posix/sysconf.c: Likewise.
4154 * sysdeps/posix/system.c: Likewise.
4155 * sysdeps/posix/tempname.c: Likewise.
4156 * sysdeps/posix/truncate.c: Likewise.
4157 * sysdeps/posix/ttyname.c: Likewise.
4158 * sysdeps/posix/ttyname_r.c: Likewise.
4159 * sysdeps/posix/wait3.c: Likewise.
4160 * sysdeps/standalone/close.c: Likewise.
4161 * sysdeps/standalone/open.c: Likewise.
4162 * sysdeps/standalone/read.c: Likewise.
4163 * sysdeps/standalone/write.c: Likewise.
4164 * sysdeps/stub/__longjmp.c: Likewise.
4165 * sysdeps/stub/accept.c: Likewise.
4166 * sysdeps/stub/access.c: Likewise.
4167 * sysdeps/stub/acct.c: Likewise.
4168 * sysdeps/stub/adjtime.c: Likewise.
4169 * sysdeps/stub/alarm.c: Likewise.
4170 * sysdeps/stub/bind.c: Likewise.
4171 * sysdeps/stub/brk.c: Likewise.
4172 * sysdeps/stub/chdir.c: Likewise.
4173 * sysdeps/stub/chflags.c: Likewise.
4174 * sysdeps/stub/chmod.c: Likewise.
4175 * sysdeps/stub/chown.c: Likewise.
4176 * sysdeps/stub/chroot.c: Likewise.
4177 * sysdeps/stub/clock.c: Likewise.
4178 * sysdeps/stub/close.c: Likewise.
4179 * sysdeps/stub/closedir.c: Likewise.
4180 * sysdeps/stub/connect.c: Likewise.
4181 * sysdeps/stub/ctermid.c: Likewise.
4182 * sysdeps/stub/cuserid.c: Likewise.
4183 * sysdeps/stub/dirfd.c: Likewise.
4184 * sysdeps/stub/dup.c: Likewise.
4185 * sysdeps/stub/dup2.c: Likewise.
4186 * sysdeps/stub/euidaccess.c: Likewise.
4187 * sysdeps/stub/execve.c: Likewise.
4188 * sysdeps/stub/fchdir.c: Likewise.
4189 * sysdeps/stub/fchflags.c: Likewise.
4190 * sysdeps/stub/fchmod.c: Likewise.
4191 * sysdeps/stub/fchown.c: Likewise.
4192 * sysdeps/stub/fcntl.c: Likewise.
4193 * sysdeps/stub/fdopen.c: Likewise.
4194 * sysdeps/stub/fexecve.c: Likewise.
4195 * sysdeps/stub/flock.c: Likewise.
4196 * sysdeps/stub/fork.c: Likewise.
4197 * sysdeps/stub/fpathconf.c: Likewise.
4198 * sysdeps/stub/fstatfs.c: Likewise.
4199 * sysdeps/stub/fsync.c: Likewise.
4200 * sysdeps/stub/ftruncate.c: Likewise.
4201 * sysdeps/stub/fxstat.c: Likewise.
4202 * sysdeps/stub/getcwd.c: Likewise.
4203 * sysdeps/stub/getdents.c: Likewise.
4204 * sysdeps/stub/getdomain.c: Likewise.
4205 * sysdeps/stub/getdtsz.c: Likewise.
4206 * sysdeps/stub/getegid.c: Likewise.
4207 * sysdeps/stub/getenv.c: Likewise.
4208 * sysdeps/stub/geteuid.c: Likewise.
4209 * sysdeps/stub/getgid.c: Likewise.
4210 * sysdeps/stub/getgroups.c: Likewise.
4211 * sysdeps/stub/gethostid.c: Likewise.
4212 * sysdeps/stub/gethostname.c: Likewise.
4213 * sysdeps/stub/getitimer.c: Likewise.
4214 * sysdeps/stub/getlogin.c: Likewise.
4215 * sysdeps/stub/getlogin_r.c: Likewise.
4216 * sysdeps/stub/getpagesize.c: Likewise.
4217 * sysdeps/stub/getpeername.c: Likewise.
4218 * sysdeps/stub/getpid.c: Likewise.
4219 * sysdeps/stub/getppid.c: Likewise.
4220 * sysdeps/stub/getpriority.c: Likewise.
4221 * sysdeps/stub/getrlimit.c: Likewise.
4222 * sysdeps/stub/getrusage.c: Likewise.
4223 * sysdeps/stub/getsid.c: Likewise.
4224 * sysdeps/stub/getsockname.c: Likewise.
4225 * sysdeps/stub/getsockopt.c: Likewise.
4226 * sysdeps/stub/getsysstats.c: Likewise.
4227 * sysdeps/stub/gettimeofday.c: Likewise.
4228 * sysdeps/stub/getuid.c: Likewise.
4229 * sysdeps/stub/gtty.c: Likewise.
4230 * sysdeps/stub/ioctl.c: Likewise.
4231 * sysdeps/stub/isatty.c: Likewise.
4232 * sysdeps/stub/isfdtype.c: Likewise.
4233 * sysdeps/stub/kill.c: Likewise.
4234 * sysdeps/stub/killpg.c: Likewise.
4235 * sysdeps/stub/link.c: Likewise.
4236 * sysdeps/stub/listen.c: Likewise.
4237 * sysdeps/stub/lseek.c: Likewise.
4238 * sysdeps/stub/lxstat.c: Likewise.
4239 * sysdeps/stub/madvice.c: Likewise.
4240 * sysdeps/stub/mkdir.c: Likewise.
4241 * sysdeps/stub/mkfifo.c: Likewise.
4242 * sysdeps/stub/mkstemp.c: Likewise.
4243 * sysdeps/stub/mktemp.c: Likewise.
4244 * sysdeps/stub/mmap.c: Likewise.
4245 * sysdeps/stub/morecore.c: Likewise.
4246 * sysdeps/stub/mprotect.c: Likewise.
4247 * sysdeps/stub/msgctl.c: Likewise.
4248 * sysdeps/stub/msgget.c: Likewise.
4249 * sysdeps/stub/msgrcv.c: Likewise.
4250 * sysdeps/stub/msgsnd.c: Likewise.
4251 * sysdeps/stub/msync.c: Likewise.
4252 * sysdeps/stub/munmap.c: Likewise.
4253 * sysdeps/stub/nanosleep.c: Likewise.
4254 * sysdeps/stub/nice.c: Likewise.
4255 * sysdeps/stub/nlist.c: Likewise.
4256 * sysdeps/stub/open.c: Likewise.
4257 * sysdeps/stub/opendir.c: Likewise.
4258 * sysdeps/stub/pathconf.c: Likewise.
4259 * sysdeps/stub/pause.c: Likewise.
4260 * sysdeps/stub/pipe.c: Likewise.
4261 * sysdeps/stub/pipestream.c: Likewise.
4262 * sysdeps/stub/poll.c: Likewise.
4263 * sysdeps/stub/profil.c: Likewise.
4264 * sysdeps/stub/ptrace.c: Likewise.
4265 * sysdeps/stub/putenv.c: Likewise.
4266 * sysdeps/stub/raise.c: Likewise.
4267 * sysdeps/stub/read.c: Likewise.
4268 * sysdeps/stub/readdir.c: Likewise.
4269 * sysdeps/stub/readlink.c: Likewise.
4270 * sysdeps/stub/readv.c: Likewise.
4271 * sysdeps/stub/reboot.c: Likewise.
4272 * sysdeps/stub/recv.c: Likewise.
4273 * sysdeps/stub/recvfrom.c: Likewise.
4274 * sysdeps/stub/recvmsg.c: Likewise.
4275 * sysdeps/stub/remove.c: Likewise.
4276 * sysdeps/stub/rename.c: Likewise.
4277 * sysdeps/stub/revoke.c: Likewise.
4278 * sysdeps/stub/rewinddir.c: Likewise.
4279 * sysdeps/stub/rmdir.c: Likewise.
4280 * sysdeps/stub/sbrk.c: Likewise.
4281 * sysdeps/stub/sched_getp.c: Likewise.
4282 * sysdeps/stub/sched_gets.c: Likewise.
4283 * sysdeps/stub/sched_primax.c: Likewise.
4284 * sysdeps/stub/sched_primin.c: Likewise.
4285 * sysdeps/stub/sched_rr_gi.c: Likewise.
4286 * sysdeps/stub/sched_setp.c: Likewise.
4287 * sysdeps/stub/sched_sets.c: Likewise.
4288 * sysdeps/stub/sched_yield.c: Likewise.
4289 * sysdeps/stub/seekdir.c: Likewise.
4290 * sysdeps/stub/select.c: Likewise.
4291 * sysdeps/stub/semctl.c: Likewise.
4292 * sysdeps/stub/semget.c: Likewise.
4293 * sysdeps/stub/semop.c: Likewise.
4294 * sysdeps/stub/send.c: Likewise.
4295 * sysdeps/stub/sendmsg.c: Likewise.
4296 * sysdeps/stub/sendto.c: Likewise.
4297 * sysdeps/stub/setdomain.c: Likewise.
4298 * sysdeps/stub/setegid.c: Likewise.
4299 * sysdeps/stub/setenv.c: Likewise.
4300 * sysdeps/stub/seteuid.c: Likewise.
4301 * sysdeps/stub/setgid.c: Likewise.
4302 * sysdeps/stub/setgroups.c: Likewise.
4303 * sysdeps/stub/sethostid.c: Likewise.
4304 * sysdeps/stub/sethostname.c: Likewise.
4305 * sysdeps/stub/setitimer.c: Likewise.
4306 * sysdeps/stub/setjmp.c: Likewise.
4307 * sysdeps/stub/setlogin.c: Likewise.
4308 * sysdeps/stub/setpgid.c: Likewise.
4309 * sysdeps/stub/setpriority.c: Likewise.
4310 * sysdeps/stub/setregid.c: Likewise.
4311 * sysdeps/stub/setreuid.c: Likewise.
4312 * sysdeps/stub/setrlimit.c: Likewise.
4313 * sysdeps/stub/setsid.c: Likewise.
4314 * sysdeps/stub/setsockopt.c: Likewise.
4315 * sysdeps/stub/settimeofday.c: Likewise.
4316 * sysdeps/stub/setuid.c: Likewise.
4317 * sysdeps/stub/shmat.c: Likewise.
4318 * sysdeps/stub/shmctl.c: Likewise.
4319 * sysdeps/stub/shmdt.c: Likewise.
4320 * sysdeps/stub/shmget.c: Likewise.
4321 * sysdeps/stub/shutdown.c: Likewise.
4322 * sysdeps/stub/sigaction.c: Likewise.
4323 * sysdeps/stub/sigaltstack.c: Likewise.
4324 * sysdeps/stub/sigblock.c: Likewise.
4325 * sysdeps/stub/sigintr.c: Likewise.
4326 * sysdeps/stub/signal.c: Likewise.
4327 * sysdeps/stub/sigpause.c: Likewise.
4328 * sysdeps/stub/sigpending.c: Likewise.
4329 * sysdeps/stub/sigprocmask.c: Likewise.
4330 * sysdeps/stub/sigreturn.c: Likewise.
4331 * sysdeps/stub/sigsetmask.c: Likewise.
4332 * sysdeps/stub/sigstack.c: Likewise.
4333 * sysdeps/stub/sigsuspend.c: Likewise.
4334 * sysdeps/stub/sigvec.c: Likewise.
4335 * sysdeps/stub/sleep.c: Likewise.
4336 * sysdeps/stub/socket.c: Likewise.
4337 * sysdeps/stub/socketpair.c: Likewise.
4338 * sysdeps/stub/sstk.c: Likewise.
4339 * sysdeps/stub/statfs.c: Likewise.
4340 * sysdeps/stub/stime.c: Likewise.
4341 * sysdeps/stub/stty.c: Likewise.
4342 * sysdeps/stub/swapoff.c: Likewise.
4343 * sysdeps/stub/swapon.c: Likewise.
4344 * sysdeps/stub/symlink.c: Likewise.
4345 * sysdeps/stub/sync.c: Likewise.
4346 * sysdeps/stub/syscall.c: Likewise.
4347 * sysdeps/stub/sysconf.c: Likewise.
4348 * sysdeps/stub/sysd-stdio.c: Likewise.
4349 * sysdeps/stub/system.c: Likewise.
4350 * sysdeps/stub/tcdrain.c: Likewise.
4351 * sysdeps/stub/tcflow.c: Likewise.
4352 * sysdeps/stub/tcflush.c: Likewise.
4353 * sysdeps/stub/tcgetattr.c: Likewise.
4354 * sysdeps/stub/tcgetpgrp.c: Likewise.
4355 * sysdeps/stub/tcsendbrk.c: Likewise.
4356 * sysdeps/stub/tcsetattr.c: Likewise.
4357 * sysdeps/stub/tcsetpgrp.c: Likewise.
4358 * sysdeps/stub/telldir.c: Likewise.
4359 * sysdeps/stub/tempname.c: Likewise.
4360 * sysdeps/stub/time.c: Likewise.
4361 * sysdeps/stub/times.c: Likewise.
4362 * sysdeps/stub/truncate.c: Likewise.
4363 * sysdeps/stub/ttyname.c: Likewise.
4364 * sysdeps/stub/ttyname_r.c: Likewise.
4365 * sysdeps/stub/ualarm.c: Likewise.
4366 * sysdeps/stub/ulimit.c: Likewise.
4367 * sysdeps/stub/umask.c: Likewise.
4368 * sysdeps/stub/unlink.c: Likewise.
4369 * sysdeps/stub/usleep.c: Likewise.
4370 * sysdeps/stub/ustat.c: Likewise.
4371 * sysdeps/stub/utime.c: Likewise.
4372 * sysdeps/stub/utimes.c: Likewise.
4373 * sysdeps/stub/vhangup.c: Likewise.
4374 * sysdeps/stub/wait.c: Likewise.
4375 * sysdeps/stub/wait3.c: Likewise.
4376 * sysdeps/stub/wait4.c: Likewise.
4377 * sysdeps/stub/waitpid.c: Likewise.
4378 * sysdeps/stub/write.c: Likewise.
4379 * sysdeps/stub/writev.c: Likewise.
4380 * sysdeps/stub/xmknod.c: Likewise.
4381 * sysdeps/stub/xstat.c: Likewise.
4382 * sysdeps/unix/closedir.c: Likewise.
4383 * sysdeps/unix/fxstat.c: Likewise.
4384 * sysdeps/unix/getlogin.c: Likewise.
4385 * sysdeps/unix/getlogin_r.c: Likewise.
4386 * sysdeps/unix/mkdir.c: Likewise.
4387 * sysdeps/unix/nice.c: Likewise.
4388 * sysdeps/unix/nlist.c: Likewise.
4389 * sysdeps/unix/opendir.c: Likewise.
4390 * sysdeps/unix/readdir.c: Likewise.
4391 * sysdeps/unix/rmdir.c: Likewise.
4392 * sysdeps/unix/stime.c: Likewise.
4393 * sysdeps/unix/xmknod.c: Likewise.
4394 * sysdeps/unix/xstat.c: Likewise.
4395 * sysdeps/unix/bsd/isatty.c: Likewise.
4396 * sysdeps/unix/bsd/setegid.c: Likewise.
4397 * sysdeps/unix/bsd/seteuid.c: Likewise.
4398 * sysdeps/unix/bsd/setsid.c: Likewise.
4399 * sysdeps/unix/bsd/sigaction.c: Likewise.
4400 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4401 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4402 * sysdeps/unix/bsd/tcflow.c: Likewise.
4403 * sysdeps/unix/bsd/tcflush.c: Likewise.
4404 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4405 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4406 * sysdeps/unix/bsd/times.c: Likewise.
4407 * sysdeps/unix/bsd/ulimit.c: Likewise.
4408 * sysdeps/unix/common/lxstat.c: Likewise.
4409 * sysdeps/unix/common/tcsendbrk.c: Likewise.
4410 * sysdeps/unix/sysv/setrlimit.c: Likewise.
4411 * sysdeps/unix/sysv/settimeofday.c: Likewise.
4412 * sysdeps/unix/sysv/sigaction.c: Likewise.
4413 * sysdeps/unix/sysv/tcflow.c: Likewise.
4414 * sysdeps/unix/sysv/tcflush.c: Likewise.
4415 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4416 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4417 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4418 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
4419 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
4420 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
4421 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4422 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4423 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
4424 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4425 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4426 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4427 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4428 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
4429 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
4430 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
4431 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
4432 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
4433 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
4434 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
4435 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4436 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4437 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
4439 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
4440 * sunrpc/clnt_udp.c: Likewise.
4441 * sunrpc/bindrsvprt.c: Likewise.
4442 * sunrpc/pm_getmaps.c: Likewise.
4443 * sunrpc/pmap_rmt.c: Likewise.
4444 * sunrpc/svc.c: Likewise.
4445 * sunrpc/svc_run.c: Likewise.
4446 * sunrpc/svc_tcp.c: Likewise.
4447 * sunrpc/svc_udp.c: Likewise.
4449 * sysdeps/generic/strtok.c: Don't check argument, just crash.
4450 * sysdeps/generic/strtok_r.c: Likewise.
4452 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
4453 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
4454 * sysdeps/unix/sparc/start.c: Likewise.
4455 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
4456 * sysdeps/unix/sysv/irix4/start.c: Likewise.
4457 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4458 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
4459 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4461 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
4463 * catgets/gencat.c (main): Put package name in --version message
4464 in parantheses. Reported by Jim Meyering.
4465 * db/makedb.c: Likewise.
4466 * locale/programs/locale.c: Likewise.
4467 * locale/programs/localedef.c: Likewise.
4469 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
4470 two registers. Patch by John Bowman.
4472 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4474 * sysdeps/mach/libc-lock.h: Fix comment.
4475 * sysdeps/stubs/libc-lock.h: Likewise.
4477 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4479 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
4480 to lock when passing it to __libc_lock_init macro.
4481 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
4482 when passing it to __libc_lock_fini macro.
4484 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4486 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
4487 [_LIBC_REENTRANT]: Add missing semicolon.
4489 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
4490 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
4491 Use the ENTRY macro.
4493 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4495 * libio/Makefile: Make `all' the default target.
4496 * po/Makefile: Likewise.
4498 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
4500 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
4501 I applied it incorrectly.
4502 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4503 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
4504 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
4506 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
4508 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
4509 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
4511 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
4514 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
4515 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
4517 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
4518 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
4519 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
4520 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
4521 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
4523 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4525 * hurd/Makefile (installed-sunrpc-headers): New variable.
4526 (sunrpc-headers): New variable.
4527 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
4528 not just <rpc/netdb.h>.
4529 ($(installed-sunrpc-headers)): Provide rule for all of these.
4531 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4533 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
4534 variable `top_srcdir' in libc; use $(..) instead.
4536 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
4537 definition. It was a *Mistake*. (With a capital M.)
4539 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
4541 (__get_nprocs_conf): Renamed from __get_nproc_conf.
4543 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
4545 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
4546 `_dl_start' so that linking fails if this file should ever be used
4549 * catgets/gencat.c (main): Change --version message according to
4550 RMS' last standard revision.
4551 * db/makedb.c: Likewise.
4552 * locale/programs/locale.c: Likewise.
4553 * locale/programs/localedef.c: Likewise.
4555 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4557 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
4558 (__get_nproc_conf): New function.
4560 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
4562 * resolv/resolv.h: Update to bind-4.9.5-T4B.
4563 * resolv/base64.c: Likewise.
4564 * resolv/res_debug.c: Likewise.
4565 * resolv/res_query.c: Likewise.
4566 * resolv/gethnamaddr.c: Likewise.
4567 * nss/nss_dns/dns-host.c: Likewise.
4568 * resolv/res_comp.c: Likewise.
4569 * resolv/res_send.c: Likewise.
4570 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
4573 * resolv/Banner: New file.
4574 * resolv/Makefile (distribute): Add Banner.
4576 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
4578 * sysdeps/stub/getsysstats.c: New file.
4579 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
4581 * misc/Makefile (headers): Add sys/sysinfo.h.
4582 (routines): Add getsysstats.
4583 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
4584 (sysdep_headers): Remove sys/sysinfo.h.
4585 * sysdeps/generic/sys/sysinfo.h: New file.
4586 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
4587 get_phys_pages, and get_avphys_pages.
4589 * misc/Makefile (routines): Add mntent_r.
4590 * misc/mntent_r.c: New file.
4591 * misc/mntent.c: Remove all functions but getmntent and use
4593 * misc/mntent.h: Add prototype for __getmntent_r.
4594 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
4595 This will not clobber the state in getmntent.
4597 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
4598 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
4599 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
4600 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
4601 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
4602 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
4603 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
4604 * sysdeps/posix/sysconf.c: Likewise.
4605 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
4606 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
4608 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
4610 * version.h (VERSION): Bump to 1.95.
4612 * Make-dist (+tsrcs): Don't filter out files in subdirs which
4613 match files in the sysdeps hierachy (welcome back,
4616 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
4618 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
4620 * locale/loadlocale.c (_nl_free_locale): Remove function.
4621 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
4622 * locale/setlocale.c (setlocale): Don't free locale data of
4623 categories which succeeded to load after a wrong or missing data
4626 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
4627 that it works even when the locale data is not used.
4629 * stdlib/random_r.c: Fix typo in comment.
4630 * stdlib/drand48-iter.c: Likewise.
4631 * stdlib/drand48.c: Likewise.
4632 * stdlib/erand48.c: Likewise.
4633 * stdlib/jrand48.c: Likewise.
4634 * stdlib/lcong48.c: Likewise.
4635 * stdlib/lrand48.c: Likewise.
4636 * stdlib/mrand48.c: Likewise.
4637 * stdlib/nrand48.c: Likewise.
4638 * stdlib/random.c: Likewise.
4639 * stdlib/seed48.c: Likewise.
4640 * stdlib/srand48.c: Likewise.
4641 * misc/search.h: Likewise.
4642 * misc/hsearch.c: Likewise.
4643 * misc/hsearch_r.c: Likewise.
4645 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4647 * sysdeps/mach/getsysstats.c: New file.
4649 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
4650 binary distribution.
4652 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
4653 definition to override dangerous one in Makeconfig.
4655 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
4656 ($(includedir)/rpc/netdb.h): New rule.
4657 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
4660 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4662 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
4663 to guarantee link errors if this is included in ld.so.
4665 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4667 * hurd/hurdinit.c (__libc_argv): Provide common decl.
4668 (_hurd_setproc): Don't declare __libc_argv here.
4670 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4672 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
4673 for actual modifications to global state.
4675 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4677 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
4678 * sysdeps/mach/hurd/Makefile (includes): Add
4679 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
4681 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
4682 struct sched_params.
4683 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
4684 sched_params -> struct sched_param.
4685 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
4686 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
4688 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4690 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
4693 * stdio-common/Makefile: Put lockfile in routines
4696 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
4697 this always, not just if _LIBC_REENTRANT.
4698 (__funlockfile): Don't use weak_extern for this one;
4699 __libc_cleanup_region_end might be defined and the use of
4700 __funlockfile can't be protected the way the use of __flockfile
4703 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
4705 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
4706 instead of localtime.
4707 Reported by Matthias Urlichs.
4709 * shlib-versions: Remove version number for libcrypt.
4710 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
4711 * libc-symbols.h: Define _REENTRANT while compiling libc.
4713 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
4714 Define even if !_LIBC_REENTRANT.
4715 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
4718 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
4721 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
4722 * po/header.pot: Correct title line.
4725 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
4727 * Makeconfig (soversions.mk): Prefer shared lib version numbers
4728 is add ons over version in libc itself.
4730 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
4731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
4734 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
4735 _IO_flockfile and _IO_funlockfile resp.
4737 * locale/categories.def: Partly support for correct `era' handling
4738 in LC_TIME category.
4739 * locale/langinfo.h: Likewise.
4740 * locale/programs/ld-time.c: Likewise.
4741 * locale/localeinfo.h: Change comment a bit.
4743 * malloc/memalign.c: Don't use goto, not necessary anymore.
4745 1996-09-18 Paul Eggert <eggert@twinsun.com>
4747 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
4748 is negative, or if time_t is unsigned.
4749 * time/strftime.c (tm_diff): Work correctly even if tm_year
4752 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4754 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
4755 all three versions of the math function.
4756 (__inline_mathopf, __inline_mathopl): Removed.
4757 (__inline_functions): New temporary definition containing all
4758 non-trivial inline functions.
4760 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
4762 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
4764 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
4766 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
4769 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
4771 * sysdeps/stub/fpu_control.h: Correct end of file comment.
4773 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
4775 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
4776 stdio-common/test-popen.c: Remove temporary files after test.
4777 * stdio-common/bug5.c: Use `system' instead of `execlp'.
4778 Patches by Andreas Jaeger.
4780 * stdio-common/bug5.c: Create string for `system' argument to
4781 make sure the input and output file names are really correct.
4783 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4785 * configure.in: If $os contains a hyphen add the part before the
4788 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4790 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
4791 __ieee754_powl): Rename local variable i to __i.
4792 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
4794 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
4795 sysdeps/m68k/fpu/e_atan2l.c: New files.
4797 1996-09-15 Paul Eggert <eggert@twinsun.com>
4799 * manual/time.texi: Change `range X to Y' to `range X through
4800 Y', to avoid ambiguity in English.
4802 (strftime): Numbers that do not have a range indicated are not padded.
4803 Describe E and O modifiers.
4804 %g, %G, %u: New formats.
4805 %C, %y, %Y: Describe behavior on negative years.
4806 %e: Fix typo (was labeled %d).
4807 %l, %V: Fix typo in range.
4808 %M, %S, %U, %w, %W: Give ranges.
4809 %p: Clarify how noon and midnight are handled for AM and PM.
4810 %s: Clarify leap second handling.
4811 %r: Now locale-defined.
4812 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
4813 %z: Say that it is a GNU extension.
4816 * time/strftime.c: (strftime):
4817 %V: Fix mishandling of week numbers near year boundaries.
4818 %g, %G: New formats (suggested by Arthur David Olson).
4819 %U, %W: Use inline expression instead of `week' function.
4820 %C, %y: Handle negative years portably.
4821 %C, %Y: Use width 1, since values can be arbitrarily wide.
4822 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
4823 %u: New Posix.2 format.
4824 %w: Width is 1, not 2.
4825 (iso_week_days): New function, for %V, %G, %g.
4826 (week): Remove; it didn't handle %V correctly.
4827 (__isleap): New macro.
4828 (mbsinit): Use arg, to pacify GCC -Wall.
4830 1996-09-13 Paul Eggert <eggert@twinsun.com>
4832 * time/strftime.c (strftime):
4833 If using the GNU C library, do not bother to check for
4834 multibyte encodings, since they're safe in formats. Otherwise:
4835 - Check for multibyte encodings when encountering any character that
4836 is not in the basic execution character set of the C Standard.
4837 - Use mbrlen (if available) instead of mblen, to avoid modifying
4838 mblen's internal state.
4839 - Do not assume that '%' cannot appear as the first character of a
4840 multibyte character sequence, since this is possible when not in the
4841 initial shift state.
4842 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
4843 (DO_MULTIBYTE): New macro.
4844 (<ctype.h>): Do not include.
4845 (<wchar.h>): Include if HAVE_MBRLEN.
4846 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
4847 (mbstate_zero): New constant.
4849 1996-09-12 Paul Eggert <eggert@twinsun.com>
4851 * time/strftime.c (strftime):
4852 Use an empty zone if it can't be determined; POSIX.2 requires this.
4853 Use plain `int' for pad and modifier (which now contain char value).
4854 Use plain `int' for number_value, to print negative values correctly.
4855 Use plain `int' for digits; there was no need to make it unsigned.
4856 Initialize subfmt consistently.
4857 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
4858 For %O, if there is no alternate digit, output Ascii instead of "".
4859 Output the `%' of an unknown format; this is most likely the right
4860 thing to do if a multibyte string has been misparsed.
4862 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4864 * stdio-common/scanf7.c (main): Remove extra conversion from
4865 printf format string.
4867 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4869 * stdlib/test-canon.c (tests): Rename structure member from errno
4870 to error, all uses changed.
4872 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4874 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
4876 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
4877 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
4879 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
4880 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
4881 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
4883 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
4884 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
4886 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
4887 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
4889 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4891 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
4892 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
4894 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4896 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
4897 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
4899 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4901 * inet/herrno.c (__h_errno_location): Fix return type.
4903 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4905 * hurd/hurdinit.c (__libc_argv): Provide common decl.
4906 (_hurd_setproc): Don't declare __libc_argv here.
4908 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
4910 * sched.h: New file. Helper to access posix/sched.h.
4911 * posix/sched.h: Change `sched_params' to `sched_param' to follow
4914 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
4916 * db/makedb.c (usage): Print bug report address separately to
4917 ease translators task.
4918 * catgets/gencat.c (usage): Likewise.
4919 * locale/locale.c (usage): Likewise.
4920 * locale/localedef.c (usage): Likewise.
4922 1996-09-12 Paul Eggert <eggert@twinsun.com>
4924 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
4925 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
4926 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
4928 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
4930 * crypt/Makefile: Include Makeconfig and add crypt object dir to
4931 rpath-link so that running the check finds the new library.
4932 * crypt/cert.c: provide correct prototypes to prevent warnings.
4933 Reported by Andreas Jaeger.
4935 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
4936 old and new value must be glued using `:'.
4937 Reported by Marcus Daniels.
4939 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4941 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
4942 accidentally added on.
4944 * sysdeps/stub/intr-msg.h: New file.
4946 * stdio-common/vfprintf.c: Include <libc-lock.h>.
4947 * stdio-common/vfscanf.c: Include <libc-lock.h>.
4949 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
4951 (__libc_cleanup_region_end): New macro.
4953 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4955 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
4956 accidentally added on.
4958 * sysdeps/stub/intr-msg.h: New file.
4960 * stdio-common/vfprintf.c: Include <libc-lock.h>.
4961 * stdio-common/vfscanf.c: Include <libc-lock.h>.
4963 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
4965 (__libc_cleanup_region_end): New macro.
4967 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
4969 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
4970 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4971 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
4973 1996-09-11 Paul Eggert <eggert@twinsun.com>
4975 * strftime.c (strftime):
4976 Handle E and O modifiers, required for POSIX.2 and XPG4.
4977 Don't use sprintf to format numbers; this way, we can handle time_t
4978 correctly regardless of whether it's signed.
4979 Don't dump core if format ends in %.
4980 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
4982 Use tm_gmtoff if available.
4983 Output nothing if tm_isdst is negative.
4984 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
4985 Don't assume that UTC offset is less than 24 hours;
4986 Posix requires support for 24 hours, and there's no point
4988 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
4989 (CHAR_BIT): Define if <limits.h> doesn't.
4990 (tm_diff): New function.
4991 (fmt, <stdio.h>): Remove; no longer used.
4993 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
4995 * db/Makefile: Add extra-libs-others variable so that shared
4996 library is built in `others' pass.
4997 * elf/Makefile: Likewise.
4998 * math/Makefile: Likewise.
4999 * resolv/Makefile: Likewise.
5001 * Makefile (generated): Add version.info.h.
5003 * time/checktab.awk: New file. From ADO 96k.
5004 * time/iso3166.tab: Likewise.
5005 * time/tzselect.ksh: Likewise.
5006 * time/zone.tab: Likewise.
5008 * stdio-common/vfprintf.c: Correct cleanup registration. We
5011 1996-09-11 Paul Eggert <eggert@twinsun.com>
5013 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
5014 __USE_BSD; this is required for ANSI C compatibility.
5015 * manual/time.texi: Replace GMT by UTC, daylight savings by
5016 daylight saving, timezone by time zone.
5017 Rewrite description of %V to match ISO 8601.
5018 Fix TZ Posix string example for US Eastern time.
5019 Explain tzname[1] when DST isn't used.
5020 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
5021 Explain that timezone's sign is opposite from tm_gmtoff, and that
5022 timezone lacks DST adjustment whereas tm_gmtoff has it.
5023 Deprecate tzname and timezone.
5025 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5027 Implement Roland McGrath's idea of how to put an .interp into
5029 * interp.c: New file.
5030 * Makerules (interp-obj): New object, linked into every shared
5032 (common-generated): Add interp.so.
5033 (CFLAGS-interp.c): Pass name of interpreter.
5035 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5037 * db/Makefile: Fix typo.
5039 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5041 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
5042 occurences of the same uid, and only generate a mapping for the
5045 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5047 * sysdeps/unix/sysv/linux/system.c: New file, to override
5048 sysdeps/unix/system.c.
5050 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5052 * Makefile (before-compile): Add version-info.h, needed to build
5055 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5057 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
5058 EWOULDBLOCK, never true on Linux.
5059 (__errno_location): New function.
5060 [_LIBC_REENTRANT]: Set errno using __errno_location function.
5061 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
5062 syscall_error handler for reentrant libc.
5064 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5066 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
5068 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
5070 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
5072 * time/tzfile.c (compute_tzname_max): Likewise.
5074 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
5076 * configure.in: Quote $add_ons argument in loop to generated
5079 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
5081 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
5083 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5085 * elf/dl-cache.c: Rename to ...
5086 * sysdeps/generic/dl-cache.c: ... here.
5087 * sysdeps/mach/hurd/dl-cache.c: New file.
5089 * mach/Makefile (distribute): Add `errsystems.awk'.
5090 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
5091 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
5092 * hurd/intr-rpc.awk: Likewise.
5093 * hurd/invoke-trans.c: Likewise.
5094 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
5095 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
5096 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
5097 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
5098 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
5099 * sysdeps/stub/init-fault.c: Likewise.
5100 * sysdeps/stub/longjmp-ctx.c: Likewise.
5102 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
5104 * inet/herrno.c: Initialize `h_errno' so that we can provide
5107 * Makefile (version-info.h): Fix typo in shell script.
5109 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
5110 * sysdeps/i386/i586/strchr.S: Likewise.
5112 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
5114 * version.c (banner): Report to bug-glibc@prep not @gnu.
5115 Reported by Andreas Jaeger.
5117 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
5119 [__USE_REENTRANT]: Don't define
5121 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
5123 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
5124 when it is the third byte in the string. Reported by
5126 * string/tester.c: Add tests for above bug to strlen, strchr, and
5129 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5131 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
5132 "math_private.h" to get prototype.
5133 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5134 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5135 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5136 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5138 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
5140 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5142 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5144 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
5145 instead of __NO_MATH_INLINES.
5146 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
5147 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
5148 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5149 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5150 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5151 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5152 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5153 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5154 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5155 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5156 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
5157 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5158 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
5159 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5160 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5162 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
5164 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
5165 available character before converting number and return with
5166 error if none is available.
5168 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5170 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
5171 implementation for architectures where parameters are passed on
5173 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
5174 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
5176 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5178 * configure.in: Remove unneeded sysnames frobbing.
5180 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
5182 * time/zic.c: Update from ADO 96l.
5183 * time/africa: Update from ADO 96k.
5184 * time/antarctica: Likewise.
5185 * time/asia: Likewise.
5186 * time/australia: Likewise.
5187 * time/europe: Likewise.
5188 * time/northamerica: Likewise.
5189 * time/southamerica: Likewise.
5191 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5193 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
5194 gcc <= 2.7.2.1 which optimizes away address operations on weak
5197 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
5198 Like INT_FIELD but also accept non-existing field.
5199 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
5200 for last four fields.
5201 * shadow/putspent.c (putspent): Print `:' after numeric value.
5203 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
5205 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
5207 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
5209 * Make-dist: Filter out $(add-ons) from $(subdirs).
5210 Don't distribute TAGS files.
5211 ($(tardir).tar): Remove dist.tar when all is done.
5212 * manual/Makefile (distribute): Add libc.info*.
5213 * libio/Makefile (distribute): Add Banner.
5214 * inet/Makefile (headers): Add netinet/tcp.h.
5216 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
5218 * crypt-README: Removed.
5219 * gnu-stabs.h: Removed.
5221 * sysdeps/alpha/copysign.S: Renamed to...
5222 * sysdeps/alpha/s_copysign.S: ...this.
5223 * sysdeps/alpha/fabs.S: Renamed to...
5224 * sysdeps/alpha/s_fabs.S: ...this.
5226 * sysdeps/m68k/isinfl.c: Renamed to...
5227 * sysdeps/m68k/s_isinfl.c: ...this.
5228 * sysdeps/m68k/isnanl.c: Renamed to...
5229 * sysdeps/m68k/s_isnanl.c: ...this.
5231 * sysdeps/sparc/sqrt.c: Renamed to...
5232 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
5235 * sysdeps/generic/get_str.c: Removed.
5237 * sysdeps/ieee754/cbrt.c: Removed.
5238 * sysdeps/ieee754/drem.c: Removed.
5239 * sysdeps/ieee754/logb.c: Removed.
5240 * sysdeps/ieee754/sqrt.c: Removed.
5242 * sysdeps/stub/cbrt.c: Removed.
5243 * sysdeps/stub/cos.c: Removed.
5244 * sysdeps/stub/drem.c: Removed.
5245 * sysdeps/stub/isinf.c: Removed.
5246 * sysdeps/stub/isinfl.c: Removed.
5247 * sysdeps/stub/isnanl.c: Removed.
5248 * sysdeps/stub/logb.c: Removed.
5249 * sysdeps/stub/sin.c: Removed.
5250 * sysdeps/stub/sqrt.c: Removed.
5252 * sysdeps/tahoe/log10.c: Removed.
5254 * sysdeps/vax/index.s: Removed.
5255 * sysdeps/vax/rindex.s: Removed.
5256 * sysdeps/vax/bcmp.s: Removed.
5257 * sysdeps/vax/log10.c: Removed.
5258 * sysdeps/vax/infnan.c: Removed.
5259 * sysdeps/vax/Dist: Add fl.h.
5261 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
5263 * inet/rcmd.c (rcmd): Make messages more uniform.
5265 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
5270 * po/pl.po: New file.
5271 * po/nl.po: New file.
5273 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
5275 * Makeconfig (+link): Filter out start, pre & postinit from the
5276 generic depenancies as well.
5277 * Rules: Add start, pre & postinit to the dependancies of
5278 $(others) and $(tests).
5280 * configure.in: elf_dirs missing "sysdeps" component.
5282 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
5284 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
5285 This is consistent with all other GNU packages. We shouldn't
5286 take care for a possible clash. Nobody will name the domain
5287 of a package libc if it is not the libc itself.
5288 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
5289 * po/Makefile (domainname): Change to libc.
5290 (distribute): Now ship libc.pot.
5291 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
5292 version information banner.
5293 Change bug report address to bug-glibc@prep not @gnu.
5294 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
5295 (main): Use `PACKAGE' for package name in version information
5297 Change bug report address to bug-glibc@prep not @gnu.
5298 * locale/programs/locale.c (main): Use `PACKAGE' for package name
5299 in version information banner.
5300 Change bug report address to bug-glibc@prep not @gnu.
5301 * locale/programs/localedef.c (main): Likewise.
5303 * version.h (VERSION): Bump to 1.94.
5305 * locale/Makefile (distribute): Add locale.c and localedef.c.
5307 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
5309 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
5310 instead of sizeof(nl_catd) (which is just a pointer!).
5312 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
5314 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
5315 * version.c (banner): Add contents of version-info.h to string.
5317 * Makerules: If $($(subdir)-version) is available name versioned
5318 shared library according to this value instead of glibc's version.
5320 * libio/Banner: New file.
5322 * elf/eval.c (funcall): Write error message in case function is
5324 (eval): Recognize `_' in names.
5326 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
5328 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
5329 * libio/iofopen: Likewise.
5330 * libio/iofopncook.c: Likewise.
5331 * libio/iopopen.c: Likewise.
5332 * libio/iovsprintf.c: Likewise.
5333 * libio/iovsscanf.c: Likewise.
5334 * libio/memstream.c: Likewise.
5335 * libio/vasprintf.c: Likewise.
5336 * libio/vdprintf.c: Likewise.
5337 * libio/vsnprintf.c: Likewise.
5339 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
5341 * Makeconfig (soversions.mk): Also use shlib-versions files
5342 in add-on directories.
5343 * config.make.in (config-defines): Remove. Not used anymore.
5344 (defines): New variable. Initiliazed by @DEFINES@.
5345 * configure.in: Add AC_SUBST(DEFINES).
5347 * libio/Makefile (routines): When compiling reentrant libc add
5348 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
5349 iofflush_u, putc_u, putchar_u, ioflockfile.
5350 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
5352 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
5353 and __libc_cleanup_region_end.
5355 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
5356 using __errno_location function.
5357 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
5358 using __errno_location function.
5359 (__errno_location): New function.
5360 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
5361 syscall_error handler for reentrant libc.
5363 * sysdeps/unix/opendir.c: Remove unneeded `;'.
5365 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
5366 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
5368 * libioP.h: Include <libc-lock.h>.
5369 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
5372 * libio/clearerr.c: Use _IO_ protected versions of flockfile
5373 and funlockfile to be namespace clean.
5375 * libio/genops.c: Use __libc_lock_* macros for handling lock.
5377 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
5378 * libio/iofopen: Likewise.
5379 * libio/iofopncook.c: Likewise.
5380 * libio/iopopen.c: Likewise.
5381 * libio/iovsprintf.c: Likewise.
5382 * libio/iovsscanf.c: Likewise.
5383 * libio/memstream.c: Likewise.
5384 * libio/vasprintf.c: Likewise.
5385 * libio/vdprintf.c: Likewise.
5386 * libio/vsnprintf.c: Likewise.
5388 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
5390 * libio/fputc.c: Likewise.
5391 * libio/freopen.c: Likewise.
5392 * libio/fseek.c: Likewise.
5393 * libio/getc.c: Likewise.
5394 * libio/getchar.c: Likewise.
5395 * libio/iofclose.c: Likewise.
5396 * libio/iofflush.c: Likewise.
5397 * libio/iofgetpos.c: Likewise.
5398 * libio/iofgets.c: Likewise.
5399 * libio/iofputs.c: Likewise.
5400 * libio/iofread.c: Likewise.
5401 * libio/iofsetpos.c: Likewise.
5402 * libio/ioftell.c: Likewise.
5403 * libio/iofwrite.c: Likewise.
5404 * libio/iogetdelim.c: Likewise.
5405 * libio/iogets.c: Likewise.
5406 * libio/ioputs.c: Likewise.
5407 * libio/iosetbuffer.c: Likewise.
5408 * libio/iosetvbuf.c: Likewise.
5409 * libio/ioungetc.c: Likewise.
5410 * libio/putc.c: Likewise.
5411 * libio/putchar.c: Likewise.
5412 * libio/rewind.c: Likewise.
5413 * stdio-common/vfprintf.c: Likewise.
5414 * stdio-common/vfscanf.c: Likewise.
5416 * libio/clearerr_u.c: Correct alias name.
5417 * libio/ferror_u.c: Likewise.
5418 * libio/fileno.c: Likewise.
5419 * libio/fputc_u.c: Likewise.
5420 * libio/getc.c: Likewise.
5421 * libio/getc_u.c: Likewise.
5422 * libio/getchar.c: Likewise.
5423 * libio/getchar_u.c: Likewise.
5424 * libio/putc.c: Likewise.
5425 * libio/putchar.c: Likewise.
5427 * libio/feof_u.c: Undefine macro with name of function before
5428 definition of function itself.
5430 * libio/ioflockfile.c: New file. Implementation of flockfile and
5433 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
5435 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
5438 * malloc/free.c: Include <libc-lock.h>.
5439 * malloc/realloc.c: Likewise.
5440 * malloc/malloc-find.c: Likewise.
5441 * malloc/malloc-size.c: Likewise.
5442 * malloc/malloc-walk.c: Likewise.
5443 * malloc/memalign.c: Likewise.
5444 * malloc/malloc.c: Likewise.
5446 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
5448 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
5450 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
5451 and __libc_lock_critical_end as empty macros.
5453 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
5455 * malloc/free.c: Include <libc-lock.h>.
5456 * malloc/malloc-find.c: Likewise.
5457 * malloc/malloc-size.c: Likewise.
5458 * malloc/malloc-walk.c: Likewise.
5459 * malloc/malloc.c: Likewise.
5460 * malloc/memalign.c: Likewise.
5461 * malloc/realloc.c: Likewise.
5463 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
5466 * extra-lib.mk: Likewise.
5467 * manual/Makefile: Likewise.
5469 * db/Makefile (makedb): Choose dependecies based on build-shared.
5470 Patch by Andres Schwab.
5472 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
5473 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
5475 * sysdeps/unix/sysv/linux/errnos.h: New file.
5476 * sysdeps/unix/sysv/linux/schedbits.h: New file.
5477 * sysdeps/unix/sysv/linux/waitflags.h: New file.
5479 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
5481 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5483 * rpm/template: Fix typo in %build section.
5485 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
5487 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
5488 building libc without thread support.
5489 * resolv/netdb.h: Likewise for h_errno macro.
5491 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
5493 * libc-symbols.h: Add new macro weak_const_function. It's like
5494 weak_function, but the function is additionally marked as const.
5495 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
5497 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
5499 * inet/herrno.c (__h_errno_location): New function.
5500 (h_errno): Make strong_alias __h_errno so that we can access
5501 the variable even if `h_errno' is a macro.
5502 * resolv/netdb.h: Define macro h_errno to access thread specific
5503 version of h_errno variable. Declare alias __h_errno for h_errno.
5504 * resolv/res_query (h_errno): Remove definition.
5505 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
5506 Add macro `errno' to get thread specific variable.
5507 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
5508 __errno_location function.
5509 (__errno_location): New function.
5511 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
5513 * posix/gnu/types.h: Remove definition of key_t.
5514 * sysdeps/generic/gnu/types.h: Move it to here.
5515 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
5516 definition of key_t.
5518 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
5520 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
5521 clone prototypes and associated flags.
5523 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5525 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
5527 (init1): Initialize them.
5528 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
5529 available, pass __libc_argv in call to __proc_set_arg_locations.
5531 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
5533 (hertz): Delete function.
5534 * gmon/Makefile (routines): Add `prof-freq'.
5535 * sysdeps/generic/prof-freq.c: New file.
5536 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
5537 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
5538 (update_waiter): Store frequency in profile_tick.
5539 (__profile_frequency): New function.
5541 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
5544 * Rules (generated): Restore reference to $(generated).
5546 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
5549 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
5551 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
5552 * malloc/realloc.c: Likewise.
5553 * malloc/malloc-find.c: Likewise.
5554 * malloc/malloc-size.c: Likewise.
5555 * malloc/malloc-walk.c: Likewise.
5556 * malloc/memalign.c: Likewise.
5558 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
5560 * sysdeps/alpha/elf/start.S: Make _start global again.
5562 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
5564 Change configuration and Makefiles to allow add-ons to have a
5565 sysdeps/ directory hierachy.
5566 * configure.in: Test for sysdeps/ directory in add-ons. Before
5567 all test and searches in these hierachies, too.
5568 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
5569 Extend with $(..) if not absolute path.
5570 Use $(full-config-subdirs) where $(config-sysdirs) was used.
5571 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
5572 * MakeTAGS: Use $(full-config-subdirs).
5573 * Makerules: Change comment to libc.so link script.
5574 (sysdirs): Define based on $(full-config-subdirs).
5575 (sysd-Makefile): Define using config-sysdirs.
5576 (sysd-rules): Likewise.
5577 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
5578 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
5580 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5582 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
5583 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5584 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5586 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
5588 * malloc/free.c (free): Protect by using __libc_malloc_lock.
5589 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
5590 * malloc/malloc-size.c (malloc_usable_size): Likewise.
5591 * malloc/malloc-walk.c (malloc_walk): Likewise.
5592 * malloc/memalign.c (memalign): Likewise.
5593 * malloc/realloc.c (realloc): Likewise.
5594 * malloc/malloc.c: Define __libc_malloc_lock.
5595 (_malloc_internal): Don't use `malloc'. Instead look for
5596 `__malloc_hook' or call `_malloc_internal'.
5597 (malloc): Protect by using `__libc_malloc_lock'.
5598 * malloc/malloc.h: Declare `__libc_malloc_lock'.
5600 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
5602 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
5603 instead of the hard definition.
5605 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
5606 _start and _dl_start_user.
5608 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
5609 Make _dl_starting_up weak. Add type info for NAME.
5611 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
5613 * Makefile (all): Add extra_solibs pass.
5614 (+subdir_targets): Same.
5615 * Rules (extra_solibs): New phony empty target for subdirs without
5617 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
5618 * manual/Makefile: Add dummy extra_solibs target.
5620 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
5622 * Makeconfig (+link): Add $(link-extra-libs).
5623 (link-extra-libs): New variable which expands to the full paths of
5624 the other libraries needed by a program, as controled by LDLIBS-$(@F).
5625 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
5626 the later attempts to install the library before linking it.
5628 * sysdeps/unix/alpha/sysdep.S: Align errno.
5630 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
5632 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
5633 (_hae_shift): New function.
5634 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
5635 for the bus query functions.
5637 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
5639 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
5640 can be NULL when unloading a library.
5642 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
5643 to the library .init function.
5645 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
5646 part of the COPY reloc processing earlier, omit the rest now --
5647 we'll get into less trouble later when some fool does use a COPY.
5649 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
5650 parameters. Move all argc and __libc_multiple_libcs calculation out
5651 to init-first.h. Use __environ not __libc_envp.
5652 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
5653 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
5655 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5657 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
5658 signal settings when profiling was already turned on.
5660 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
5663 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
5665 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
5666 0 < return value < -4096 and not < 0 to decide about failure.
5667 Reported by Andreas Jaeger.
5669 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
5671 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
5674 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
5676 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
5679 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
5681 * version.c: Add missing newline character in banner.
5683 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
5684 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
5686 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
5688 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
5689 case, so don't prepend uppercase `ISO' for only numeric arg.
5691 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
5693 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
5694 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
5696 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
5698 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
5699 call to __libc_lock_lock.
5701 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
5702 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
5704 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
5706 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
5708 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
5710 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
5711 Reported by Erik Troan.
5713 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
5715 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
5716 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
5718 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
5720 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
5722 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5724 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
5727 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
5729 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
5732 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5734 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
5735 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
5737 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
5738 $(common-objpfx) is good enough.
5739 * Rules (common-generated): Provide default (empty) value.
5740 (dummy.o, dummy.c, empty.o, empty.c): Put these in
5741 $(common-generated), not $(generated), and without $(..).
5742 (subdir_echo-distinfo): Treat $(common-generated) just like
5744 (generated): Depend on the (suitably mutated) $(common-generated)
5746 * Makerules (common-clean): Remove common-generated files too.
5747 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
5749 (common-generated): Do put errnos.d and stamp-errnos here.
5750 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
5752 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
5753 auth to following rule to get it built.
5755 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
5757 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
5758 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
5759 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5761 * version.c: Add comment about where to report bugs to.
5762 * catgets/gencat.c (usage): Likewise.
5763 * db/makedb.c (usage): Likewise.
5764 * locale/programs/locale.c (usage): Likewise.
5765 * locale/programs/localedef.c (usage): Likewise.
5767 * manual/socket.texi: A little bit better wording.
5769 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
5771 * Makerules: Make sure directory exists before generating stamp file.
5772 (BUILD_CFLAGS): Always refer to using $(..).
5773 * manual/Makefile: Make sure directory exists before generating
5775 (make-target-directory): Add macro definition.
5776 * sysdeps/generic/Makefile: Make sure directory exists before
5777 generating stamp file.
5779 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
5781 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5783 When compiling in separate directory put objects into
5784 subdirectories matching the source layout.
5785 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
5786 When looking for configparms try in $(common-objpfx).
5787 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
5789 * Makerules: Add $(objpfx) to vpath list.
5790 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
5791 more than once. All uses in dependency lists changed.
5792 (+make-deps): Make target directory.
5793 (sed-remove-objpfx): Substitute $(common-objpfx).
5794 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
5795 $(objpfx) instead of $(objdir) for cd command.
5796 (O%-lib): Always find libc relative to $(..).
5797 (subdir-stamps): Collect stamp files from subdirs.
5798 (common-mostlyclean): Remove stub file in $(common-objpfx).
5799 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
5800 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
5802 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
5803 $(common-objpfx). All uses in dependency lists changed.
5804 (generated): Prepend $(..) to names.
5805 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
5807 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
5808 Use $(common-objpfx) instead of $(..) in dependencies.
5809 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
5810 $(common-objpfx) instead of $(..) and (objpfx).
5811 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
5812 (rpath-link): Likewise.
5813 (rpcuserlibs): Likewise.
5814 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
5815 errlist.c in $(objpfx), not $(common-objpfx).
5816 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
5818 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
5819 s-proto.d in $(common-objpfx), not $(objpfx).
5821 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
5823 * nss/nsswitch.c (nss_dlerror_run): Free returned error
5826 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
5828 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
5830 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
5831 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
5832 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
5833 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
5834 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
5835 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
5836 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
5837 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
5839 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5841 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
5842 spelling error of _hurd_itimerval.
5844 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
5845 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
5846 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
5848 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
5850 * stdio/fseek.c (fseek): Don't assume we know the file position;
5851 other handles may have changed it. So set STREAM.__offset to -1
5852 before calling __stdio_check_offset to make sure we have a correct
5855 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
5857 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
5858 `decimal' char is 0.
5860 * C-numeric.c (not_available): New constant.
5861 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
5863 * nss/nsswitch.conf: Example configuration file.
5864 * nss/db-Makefile: Example Makefile for generation of databases
5866 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
5868 1996-08-28 Paul Eggert <eggert@twinsun.com>
5870 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
5871 noexpr to "^[nN]"; this conforms to POSIX.2.
5873 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
5876 1996-08-28 Paul Eggert <eggert@twinsun.com>
5878 * C-monetary.c (not_available): New constant.
5879 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
5880 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
5881 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
5882 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
5884 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
5886 * nss/nss_db/db-XXX.c: Correct function names. They must be
5887 `_nss_db_*' instead of `_nss_files_*'.
5888 (lookup): `parse_line' returns 1 if succesful.
5889 * nss/nss_files/files-service.c (servbyname): Key for database
5890 must also contain protocol names.
5891 (servbypt): Likewise.
5892 Test must also check for protocol. Add `proto' argument.
5894 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5896 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
5899 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
5901 * Makerules: Add some test for correct version of GNU Make.
5903 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
5904 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
5906 * sysdeps/generic/dl-sysdep.c: Initialize break address to
5907 avoid overwriting last page (OK, Roland).
5909 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
5911 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
5912 * resolv/arpa/nameser.h: Likewise.
5913 * resolv/res_init.c: Likewise.
5914 * resolv/res_debug.c: Likewise.
5915 * resolv/res_mkquery.c: Likewise.
5917 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
5919 * elf/dl-error.c (catch): Define errstring element not as const.
5920 (_dl_catch_error): ERRSTRING argument is not const pointer.
5921 Initialize *ERRSTRING and *OBJNAME separately.
5922 * elf/link.h: Change prototype for `_dl_catch_error'.
5924 * elf/dl-load.c (_dl_map_object): Use separate variable for
5925 copied NAME to avoid `const' warning.
5927 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
5929 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
5930 provides preloading even for SUID binaries.
5931 Add some more casts to avoid signed<->unsigned warnings.
5933 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5935 * posix/sys/types.h: Define loff_t.
5936 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
5938 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
5940 * io/fcntl.h: Add definition for BSD F* macros.
5942 * misc/init-misc.c (__init_misc): Make static.
5943 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
5945 * configure.in: Add test for -fno-exception option of gcc.
5946 * config.make.in: Add definition of have-no-exceptions.
5947 * Makerules: Define no-exceptions based on have-no-exceptions.
5948 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
5949 This is necessary for gcc >= ss-960816.
5951 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
5953 * sysdeps/alpha/dl-machine.h: Clear startup flag.
5955 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5957 * Makerules (o-iterator-doit): Simplify reference to autolock
5960 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5962 * sysdeps/mach/hurd/getcwd.c
5963 (_hurd_canonicalize_directory_name_internal): After resizing the
5964 buffer move the current contents to the end. Correctly relocate
5965 file name pointer to upper half of the buffer.
5967 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
5969 * rtld.c (dl_main): Remove code to call ld.so initializer. This
5970 was introduced for compatibility with Linux ld.so and would not
5971 be used anymore. Now we don't have any good values to use as the
5972 parameters to the initializer so simply remove it.
5974 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5976 * gmon/gmon.c (ERR): Don't write the terminating NUL.
5978 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
5980 (profil_count): Use 64 bit arithmethic to avoid overflow.
5982 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
5984 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5986 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
5987 being null; in that case don't touch the timer at all (but do
5988 return something in OLD if necessary).
5990 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5992 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
5994 * sysdeps/i386/init-first.c: Likewise.
5995 * sysdeps/stub/init-first.c: Likewise.
5997 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
5999 * elf/dl-open.c (_dl_open): Call library initializer with
6000 correct command line arguments and environment information.
6001 * elf/rtld.c (dl_main): Provide arguments to initializer of
6004 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
6006 * shadow/Makefile (routines): Add lckpwdf.
6007 * shadow/lckpwdf.c: New file.
6009 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
6010 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
6012 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
6014 * configure.in: Add definition for `__eh_pc' and `__throw' in
6015 test for --no-whole-archive. The compiler generates dependencies
6016 for this but none of the standard librares and startup files
6017 are used. Necessary for gcc >= ss-960816.
6019 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
6021 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
6022 return string since string might be on stack.
6023 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
6024 Wed Aug 21 10:14:59 1996.
6025 * elf/dlerror.c (dlerror): Free error string after printing.
6026 (_dlerror_run): If error string was not printed since last error
6028 * rtld.c (dl_main): Free error string in case of error.
6030 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
6032 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
6033 this changes the global state for `localtime' and `gmtime'. Use
6034 `__localtime_r'/`__gmtime_r' instead.
6035 * resolv/res_debug.c (__p_secstodate): Likewise.
6036 * sysdeps/generic/ftime.c: Likewise.
6037 * sysdeps/posix/gettimeofday.c: Likewise.
6038 Reported by Paul Eggert.
6040 * time/gmtime.c: De-ANSI-fy.
6041 * time/strftime.c: Don't call non-reentrant functions which change
6044 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
6046 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
6047 than putting it on the stack.
6049 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
6051 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
6052 don't find .plt entries.
6054 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6056 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
6059 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
6061 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
6063 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
6065 * login/pututline_r.c (__pututline_r): Fix handling of case where
6066 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
6068 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
6070 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
6071 for "Jensen" so _bus_base() returns 0 on that platform. Use
6072 _bus_base_sparse() to determine base address of sparse memory.
6074 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
6075 and declarations in __BEGIN_DECLS/__END_DECLS.
6077 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
6079 * err.h: New file. Wrapper around misc/err.h.
6081 Correct solution of multiple initialization problem by
6083 * csu/initfini.c: Remove global variable __libc_is_static.
6084 * elf/rtld.c: Introduce new global variable _dl_starting_up.
6085 It's nonzero during the startup.
6086 * elf/dl-open.c (_dl_open): When _dl_start function is not
6087 available (i.e., if in static libc) set `__libc_multiple_libcs'
6089 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
6090 New global variable.
6091 (init): Undo change of Fri Aug 2 03:12:40 1996.
6092 Initialize `__libc_multiple_libcs' to nonzero only if this is
6093 a shared lib called from a statically linked program and don't
6094 call `personality' and `setfpucw' in this case either.
6095 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
6096 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
6097 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
6098 before jumping to user code.
6099 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6101 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
6103 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
6104 Thu Aug 8 12:40:20 1996.
6105 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
6106 -fkeep-inline-functions flag instead.
6108 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6110 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
6111 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
6112 like ECONNREFUSED already does.
6113 (_nss_dns_gethostbyaddr_r): Likewise.
6114 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6115 (_nss_dns_getnetbyaddr_r): Likewise.
6117 * sysdeps/mach/hurd/socket.c (socket): For message transmission
6118 and RPC errors that indicate that the socket server is not really
6119 present and able to do its job, turn the error into EPFNOSUPPORT.
6121 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
6123 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
6124 name dynamically. Reported by Alan Cox.
6125 Uncomment warnings and mark as translatable.
6127 * time/strftime (strftime): Add implementation for %s and %z
6128 format. Change behaviour for unknown format character: now
6129 simply print it. This matches the behaviour of printf.
6130 Reported by Jim Meyering.
6131 * manual/time.texi: Document all formats and flags of strftime.
6133 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
6135 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
6138 * misc/sys/select.h: Define fd_set using typedef, not #define.
6139 Proposed by David Mosberger-Tang.
6141 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
6143 * po/header.pot: Use real description line.
6145 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
6147 * elf/rtld.c (dl_main): When started with --verify prevent
6148 any warning. Just exit with an error.
6149 * elf/ldd.sh.in: Don't run given object directly. This fails for
6150 libraries. Instead use $RTLD again.
6152 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
6154 * manual/nss.texi: New file. Document NSS.
6155 * manual/nsswitch.texi: New file. Example configuration.
6157 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
6158 * manual/example/strdupa.c: New file. Example for strdupa.
6160 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
6162 * stdlib/strtod.c (STRTOD): Correct assertion about size of
6163 wint_t and wchar_t. Reported by David Mosberger-Tang.
6165 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6167 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
6168 RELOC_ADDR and make NOPLT a set of flags. All callers
6169 changed. Delete condition that checks for resolving to the
6170 location being filled in. Add condition to skip the
6171 executable's symbols if requested.
6172 * elf/link.h: Change declaration of _dl_lookup_symbol
6174 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
6175 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
6177 * elf/dl-runtime.c (RESOLVE): Likewise.
6178 * elf/rtld.c (RESOLVE): Likewise.
6179 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
6180 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
6181 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
6182 reloc, zero otherwise.
6183 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6184 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6185 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6187 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
6189 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
6190 * po/header.pot: Add empty line at end.
6192 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6194 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
6195 are now in $P/stdio-common.pot.
6196 (XGETTEXTFLAGS-errlist.pot): Variable removed.
6198 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6200 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
6201 script at run time, not configure time.
6202 * config.make.in, configure.in: Undo previous change.
6204 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
6206 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
6207 on stack as argument for `_exit'. Reported by Andreas Schwab.
6209 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6211 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
6213 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
6215 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
6216 (_dl_map_object_from_fd): Free name on error.
6218 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
6220 * string/strdup.c: Use result of memcpy to avoid reloading.
6222 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6224 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
6225 the other way round.
6227 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
6229 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
6232 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
6234 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
6236 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
6239 Update from bind-4.9.5-T1A.
6240 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
6241 inet_net_pton, inet_net.
6243 * resolv/gethnamaddr.c: Include <sys/types.h>.
6244 * resolv/getnetnamadr.c: Likewise.
6245 * resolv/herror.c: Likewise.
6246 * resolv/inet_addr.c: Likewise.
6247 * resolv/nsap_addr.c: Likewise.
6248 * resolv/res_comp.c: Likewise.
6249 * resolv/res_data.c: Likewise.
6250 * resolv/res_init.c: Likewise.
6251 * resolv/res_mkquery.c: Likewise.
6252 * resolv/res_query.c: Likewise.
6253 * resolv/res_send.c: Likewise.
6255 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
6257 * resolv/inet_ntop.c: Likewise.
6259 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
6260 Remove prototype of gethostbyname_ipv4.
6262 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
6263 functions instead of BSD `b*' functions.
6265 * resolv/nsap_addr.c: Add copyright message.
6267 * resolv/res_comp.c: Remove comment explaining label format.
6268 (res_mailok): Correct check.
6270 * resolv/res_debug: Include missing headers.
6271 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
6272 (__p_fqnname): New function to print FQDN from compressed name.
6273 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
6274 correctly. Add handling of T_KEY and T_SIG.
6275 Handle class and type names by using name arrays instead of
6276 explicit `switch'es.
6277 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
6278 (__dn_count_labels, __p_secstodate): New functions.
6280 * resolv/resolv.h (__RES): Update version number.
6281 (res_sym): New type.
6282 Add #defines for new functions.
6283 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
6284 __p_secstodate, dn_count_labels.
6286 * resolv/arpa/nameser.h (__BIND): Update version number.
6287 Add KEYFLAG_* and ALGORITHM_* symbols.
6288 (HEADER): Add `ad' and `cd' flags.
6290 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
6293 * manual/maint.texi: Document that we use bind-4.9.5.
6296 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
6298 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
6300 * mach/Makefile (mach/mach_host.uh): Depend on
6301 $(objpfx)/mach-syscalls.mk.
6302 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
6303 (This fixes a make loop; thanks to Marcus Daniels
6304 <marcus@sysc.pdx.edu> for the patch.)
6306 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
6308 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
6309 buffer is any longer than the amount necessary to hold the
6310 filename; the Hurd getcwd uses the *entire* contents of the
6311 buffer, however long it is specified to be.
6313 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
6315 * nss/nsswitch.c (__nss_database_lookup): Always release locks
6316 before returning. Reported by Miles Bader.
6318 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
6320 * nss/nsswitch.c (__nss_configure_lookup): New function.
6321 Allows to specify services.
6322 * nss/XXX-lookup.h: Rename database variable and make global.
6323 * nss/databases.def: New file. Real names of all databases.
6325 * nss/nss.h: New file. Contains declaration useful for users
6326 and service developers.
6327 * nss/nsswitch.h: Move some declarations to nss/nss.h.
6328 * nss.h: New file. Wrapper around nss/nss.h.
6330 * nss/Makefile (headers): Add nss.h.
6331 (distributes): Add databases.def.
6333 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
6335 Help the poor people with fast machines by making sure only
6336 one `ar' commands works on the library.
6337 * autolock.sh: New file. Written by Tom Tromey.
6338 * Makerules (do-ar): Call autolock.sh shell script instead of
6339 directly using `ar'.
6340 * config.make.in: Make configuration variable AUTOLOCK which
6341 gets initialized by configure.
6342 * configure.in: Define variable AUTOLOCK to point to autolock.sh
6343 script and mark it to substitute.
6345 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
6347 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
6348 always only if in static libc or if statically linked program
6351 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
6352 always only if in static libc or if statically linked program
6355 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
6357 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
6358 startup by moving Icache flush from here ...
6359 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
6360 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
6362 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
6363 calling conventions. The code is already correct.
6365 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
6367 * string/Makefile: Compile tester with -fno-builtin as we want to
6368 test our implementations, not gcc's.
6370 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
6372 * shadow.h: New file.
6374 * sysdeps/unix/sysv/linux/netinet/in.h: Move
6375 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
6378 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
6379 g++ 2.7.2 (and earlier) has no transparent unions support.
6381 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
6383 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
6384 function to determine the base address of sparse bus memory.
6385 (APECS_*): Rename to CIA_*.
6386 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
6387 (platform): Add sparse_bus_memory_base member and initialize.
6388 (sparse_bus_memory_base): New variable.
6390 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
6392 * sysdeps/posix/ttyname_r.c (ttyname_r),
6393 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
6394 !__isatty(fd) (POSIX.1 says so.)
6396 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
6397 This is not a gross hack, after all---for compatibility,
6398 getlogin() really should check fd 0 only and not try to base its
6399 operation on the controlling tty.
6401 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
6403 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
6404 change utmp_data from static to auto.
6406 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
6408 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
6409 Reported by David Mosberger-Tang.
6411 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
6413 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
6414 alias to `__isnanl'.
6416 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
6418 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
6419 get `struct timeval'.
6420 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
6421 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
6422 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
6423 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
6424 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
6425 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
6427 * io/fts.h: Include <sys/types.h> to get dev_t.
6428 Reported by Matthias Urlichs.
6430 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
6431 _IO_file_flags. It's the same as _flags.
6432 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
6434 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6436 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
6438 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
6440 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
6441 * pwd/getpwent_r.c: Likewise.
6442 * pwd/getpwnam.c: Likewise.
6443 * pwd/getpwnam_r.c: Likewise.
6444 * pwd/getpwuid.c: Likewise.
6445 * pwd/getpwuid_r.c: Likewise.
6447 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
6448 * grp/getgrent_r.c: Likewise.
6449 * grp/getgrgid.c: Likewise.
6450 * grp/getgrgid_r.c: Likewise.
6451 * grp/getgrnam.c: Likewise.
6453 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
6454 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
6455 * pwd/Makefile (routines): Add fgetpwent_r.
6456 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
6458 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
6459 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
6460 * grp/Makefile (routines): Add fgetgrent_r.
6461 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
6463 Implement shadow password lookup functions. This is no complete
6464 shadow password suite.
6465 * shadow/Makefile: New file.
6466 * shadow/fgetspent.c: New file.
6467 * shadow/fgetspent_r.c: New file.
6468 * shadow/getspent.c: New file.
6469 * shadow/getspent_r.c: New file.
6470 * shadow/getspnam.c: New file.
6471 * shadow/getspnam_r.c: New file.
6472 * shadow/putspent.c: New file.
6473 * shadow/sgetspent.c: New file.
6474 * shadow/sgetspent_r.c: New file.
6475 * shadow/shadow.h: New file.
6476 * shadow/spwd-lookup.c: New file.
6477 * shadow/nss_files/files-spwd.c: New file.
6479 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
6481 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
6482 call is only a stub.
6483 Reported by Matthias Urlichs.
6485 * Makeconfig [!default_cflags]: Change default value from `-g'
6488 * configure.in: Recognize i686.
6489 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
6491 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
6493 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
6494 value of CFLAGS-.o, not CFLAGS-o.
6496 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
6497 pointer to ourself. Otherwise `gcc -O3' optimized init away.
6499 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
6501 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
6502 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
6504 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
6506 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
6507 to 0x137f to allow long double operations.
6509 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
6513 * nss/nsswitch.c (_res): Remove redundant variable definition.
6514 The real one is in resolve/res_init.c, and having both prevents
6515 using -fno-common when building the shared library.
6516 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
6518 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
6519 a .bss object not a COMMON symbol.
6521 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
6522 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
6526 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
6527 main loop for better dual-issue on EV5. Rearrange binary search to
6528 pipeline better and trim one instruction.
6532 * time/localtime.c (localtime_r): Move lock declaration back next to
6533 the comment where it was before the 960724 change.
6535 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
6536 The second word is supposed to be the hardware manufacturer.
6538 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
6539 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
6541 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
6543 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
6544 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
6545 Same cleanups as with EV4 GMP stuff.
6547 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
6549 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
6550 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
6551 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
6553 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
6555 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
6558 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
6560 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
6562 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6565 * socket/sys/socket.h (send, __send, sendto): Declare buffer
6568 * string/tester.c (main): Test stpncpy.
6570 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
6571 segfault when called with an N that is not a multiple of four and
6574 * misc/syslog.c (LogType): New variable.
6575 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
6576 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
6578 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
6579 terminator as a record-delimiter. If __send(LogFile) fails,
6580 call closelog() so logfile gets re-opened next time.
6582 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
6584 * elf/dl-open (_dl_open): Add cast to avoid warning.
6586 * manual/memory.texi: Improve some examples to give readers better
6587 advice: Use `stpcpy' instead of `strcat' if possible.
6588 * manual/string.texi: Document `strtok_r' and `strtok'.
6590 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
6592 [$(cross-compiling)=no]: Change test before making librpcsvc
6593 to this from $(cross-compile).
6594 Reported by Andreas Schwab.
6596 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
6598 * elf/Makefile (routines): Move dl-sysdep to here...
6599 (rtld-routines): ...from here. This should make static linking
6602 * locale/setlocale.c: Add local variable `lock' and add code to
6603 `setlocale' to avoid simultaneous changing of global data.
6605 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
6606 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
6607 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
6608 of unprotected names.
6610 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
6612 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
6613 This requires to rename several functions to use __ protected
6615 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
6617 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
6618 and make old name a weak alias.
6619 * sysdeps/mach/hurd/getrlimit.c: Likewise.
6620 * sysdeps/mach/hurd/opendir.c: Likewise.
6621 * sysdeps/mach/hurd/readdir.c: Likewise.
6622 * sysdeps/stub/closedir.c: Likewise.
6623 * sysdeps/stub/opendir.c: Likewise.
6624 * sysdeps/stub/readdir.c: Likewise.
6625 * sysdeps/unix/closedir.c: Likewise.
6626 * sysdeps/unix/opendir.c: Likewise.
6627 * sysdeps/unix/readdir.c: Likewise.
6629 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
6631 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
6632 `__closedir' instead of unprotected names.
6634 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
6635 instead of `isatty' since later is not part of ISO C.
6636 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
6637 `open' since later is not part of ISO C.
6639 * login/endutent.c (endutent): Call `__endutent_r', not
6641 * login/endutent_r.c: Rename defined function to `__endutent_r',
6642 make `endutent_r' weak alias.
6643 * login/getutent.c (getutent): Call `__getutent_r', not
6645 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
6646 * login/getutid_r.c: Rename defined function to `__getutent_r',
6647 make `getutent_r' weak alias.
6648 * login/getutline.c (getutline): Call `__getutline_r', not
6650 * login/getutline_r.c: Rename defined function to `__getutline_r',
6651 make `getutline_r' weak alias.
6652 * login/pututline_r.c: Rename defined function to `__pututline_r',
6653 make `pututline_r' weak alias.
6654 * login/setutent.c (setutent): Call `__setutline_r', not
6656 * login/setutent_r.c: Rename defined function to `__setutline_r',
6657 make `setutline_r' weak alias.
6658 Rename `utmpname' to `__utmpname' and make former weak alias.
6659 (__utmpname): Call `__strdup', not `strdup'.
6660 * login/utmp.h: Add prototypes for name space clean reentrant
6662 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
6663 and `__endutent_r' instead of unprotected names.
6665 * math/math.h: Add prototype for `__matherr'.
6666 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
6669 * nss/getXXbyYY.c: Call __ protected reentrant function.
6670 * nss/getXXent.c: Likewise.
6671 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
6672 name. Make usual name a weak alias.
6673 * nss/getXXent_r.c: Likewise.
6675 * posix/unistd.h: Add prototype for `__ttyname_r'.
6676 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
6677 and make `ttyname_r' a weak alias.
6679 * resource/sys/resource.h: Add prototype for `__getrlimit'.
6680 * sysdeps/stub/getrlimit.c: Prepend function name with __
6681 and make old name a weak alias.
6682 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
6683 and make `getrlimit' weak alias.
6685 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
6686 * libc/stdio/vscanf.c: De-ANSI-fy.
6687 Rename function to `__vscanf' and make `vscanf' a weak alias.
6688 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
6691 * stdio-common/reg-printf.c: De-ANSI-fy.
6692 Rename function to `__register_printf_function' and make
6693 `register_printf_function' weak alias.
6695 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
6698 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
6699 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
6700 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
6701 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
6702 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
6704 * wcsmbs/mbsrtowcs.c: Likewise.
6705 * wcsmbs/wcrtomb.c: Likewise.
6706 * wcsmbs/wcsrtombs.c: Likewise.
6707 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
6709 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
6710 instead of `sigprocmask'.
6713 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
6714 version getgrent_r, getgrgid_r, and getgrnam_r.
6715 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
6716 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
6718 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
6721 * misc/error.c (private_strerror): Translate messages from table,
6724 * io/fcntl.h: Pretty printing.
6725 * misc/fstab.h: Likewise.
6726 * misc/ttyent.h: Likewise.
6727 * resource/sys/resource.h: Likewise.
6728 * string/argz.h: Likewise.
6729 * string/envz.h: Likewise.
6731 Add support for symbols from POSIX.1c (POSIX threads).
6732 * posix/getconf.c: Handle new sysconf symbols.
6733 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
6734 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
6735 * sysdeps/generic/confname.h: Define new symbols.
6736 * sysdeps/posix/sysconf.c: Handle new symbols.
6737 * sysdeps/stub/sysconf.c: Ditto.
6738 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
6741 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
6742 have real prototype.
6744 * sysdeps/generic/resourcebits.h: Add macro definition for
6745 RLIMIT_* values. Some sources test using #ifdef whether specific
6747 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
6748 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
6749 separate files for the architectures.
6750 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
6751 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
6752 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
6753 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
6755 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
6756 and only default on `OPEN_MAX'.
6757 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
6760 * time/Makefile (routines): Add ctime_r.
6761 * time/asctime.c: Add implementation of `asctime_r'. Make
6762 `asctime' implementation based on reentrant version.
6763 * time/ctime_r.c: New file.
6764 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
6767 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6769 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
6770 (_nl_C_LC_CTYPE): Fix ordering.
6771 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
6774 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
6776 * csu/initfini.c: Discover the maximum alignment generated by the
6777 compiler when emitting a function.
6778 (_init): Make sure the end of the crti fragment is aligned.
6781 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
6783 * initfini.c: (__libc_is_static): New variable. Will be
6784 initialized in init-first.c. Some actions in the libc work
6785 different when libc is static or dynamic.
6787 * sysdeps/unix/sysv/linux/init-first.c (init): Use
6788 `__libc_is_static' variable to determine whether call to
6789 `personality' and `setfpucw' is necessary. When done set variable
6790 to +-1 depending on library type.
6792 * locale/setlocale.c (setlocale): Use global variable
6793 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
6794 determine whether it's a SET[UG]ID program.
6796 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
6798 * Version 1.93 test release.
6800 * manual/Makefile: Use -include for chapters-incl too.
6802 * Makeconfig (+link): Add back start.o, mistakenly removed in last
6805 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6807 * nss/Makefile (generated): Add db-*.c.
6809 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
6810 using #include_next.
6812 * configure.in (--enable-add-ons): Quote m4 macro args.
6814 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
6816 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
6818 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
6820 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
6822 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
6825 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
6826 warning when inline function is elided.
6827 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
6828 (elf_machine_runtime_setup): Likewise.
6829 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
6830 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
6831 (elf_machine_load_address): Likewise.
6833 * catgets/gencat.c: Include <locale.h>.
6835 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
6837 * login/logwtmp.c (logwtmp): Call time, not __time.
6839 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
6840 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
6841 * login/logwtmp.c (logwtmp): Likewise.
6843 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
6844 comparing ioctl macro values.
6846 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
6848 * manual/Makefile: Use -include for chapters to suppress warning.
6850 * sysdeps/stub/socket.c: Fix type of TYPE arg.
6851 * sysdeps/stub/socketpair.c: Likewise.
6853 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
6855 * sysdeps/generic/sysdep.h: New file, broken out of ...
6856 * sysdeps/unix/sysdep.h: ... here.
6857 (C_LABEL): Moved out.
6859 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
6860 stick to sed. Do `exit 0' at end because while returns nonzero.
6862 * sysdeps/i386/sysdep.h: New file, broken out of ...
6863 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
6865 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
6866 They are defined unconditionally in libio/stdio.h.
6868 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
6869 * elf/dl-cache.c: Likewise.
6871 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
6873 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
6874 (sysdep_headers): Add sys/sysmacros.h.
6875 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
6877 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
6879 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
6880 tcgetattr. We have weak aliases now.
6881 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
6882 "optimizations" for random functions.
6884 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6886 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
6887 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
6888 redefinition warning.
6890 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6892 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
6895 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6897 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
6900 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
6902 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
6904 Reported by Richard Henderson <rth@tamu.edu>.
6906 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6908 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
6911 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
6913 * locale/setlocale.c (setlocale): Don't try to free C locale
6915 Reported by Matthias Urlichs.
6917 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
6919 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
6920 (open_file): New function, contents mostly from __open.
6921 (_dl_sysdep_read_whole_file): New function.
6923 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
6925 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
6926 `..' dots in sed search string.
6928 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6930 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
6933 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6935 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
6936 in those directories.
6937 * config.make.in (add-ons): New varaible, set from @subdirs@.
6938 * Makefile (subdirs): Added $(add-ons) at the end.
6940 * time/strftime.c (strftime: do_number): Initialize PRINTED to
6941 MAXDIGITS in case P is null and so sprintf is never actually called.
6943 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
6945 Add support for the to-be-written internationalized regexp.
6946 This code must be able to use collation symbols and collation
6948 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
6949 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
6950 New global variables for collation classes.
6951 * locale/categories.def: Add new descriptions for collation symbols
6952 and collation classes.
6953 * locale/langinfo.h: Add constants for collation symbols and
6955 * locale/lc-collate.c: Add new global variables for collation symbols
6956 and collation classes.
6957 (_nl_postload_collate): Initialize new variables.
6958 * locale/programs/ld-collate.c: Add code to emit tables for
6959 collation symbols and collation classes.
6960 * locale/programs/locales.h: Change prototype for `collate_output'.
6961 * locale/programs/locfile.c (write_all_categories): Call
6962 `collate_output' with new argument.
6963 * locale/localeinfo.h: Add declaration for new global vars.
6964 (union locale_data_value): New member wstr for `wchar_t' strings.
6965 * locale/programs/locale-spec.c: Handle `collate-classes'
6966 keyword and print information about available collation classes.
6967 * locale/strlen-hash.h: New file. Simple hashing function which
6968 takes a string with known length.
6969 * locale/Makefile (distribute): Add strlen-hash.h.
6970 (locale-modules): New var. Additional files for `locale' program.
6972 * locale/C-ctype.c: Rewrite to avoid using string for giving values
6973 which are of type `u_int32_t'.
6974 Correct entry for EOF in toupper and tolower tables.
6976 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
6979 * locale/programs/ld-ctype.c (ctype_output): Add code to make
6980 sure that all tables in binary file are word-aligned.
6982 * locale/programs/locfile.c (write_locale_data): Correct handling
6983 of LC_MESSAGES locale. Create directory if necessary.
6985 * locale/setlocale.c (setlocale): Add cast to avoid warning.
6987 * string/string.h: Add prototype for `__strndup'.
6989 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6991 * wcsmbs/mbrtowc.c: Remove unused variable.
6993 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6995 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
6996 2.0.10; some problems were reported with an earlier version, and this
6997 one is known to work.
6999 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
7000 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7002 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
7004 * elf/rtld.c (dl_main): Ignore arguments when environment variable
7005 LD_TRACE_LOADED_OBJECTS is set.
7007 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7009 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
7010 __libc_enable_secure instead of _dl_secure.
7011 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
7012 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
7014 * elf/Makefile (routines): Add enbl-secure.
7015 (elide-routines.so): Here too.
7016 * sysdeps/generic/enbl-secure.c: New file.
7017 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
7018 * elf/dl-support.c (_dl_secure): Variable removed.
7019 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
7021 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
7023 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7024 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
7025 compiler doesn't elide it.
7026 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
7028 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7030 * elf/rtld.c (dl_main): Take new option --verify when run directly.
7031 In verify mode, exit with status zero iff the argument object's
7032 PT_INTERP matches argv[0].
7033 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
7034 exits with zero status. This makes `ldd' secure again.
7036 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
7038 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
7039 environment variable handling. This makes the dynamic linker
7040 only print loaded libraries and quit.
7042 * elf/ldd.sh.in: Don't use `rtld --list' but instead
7043 LD_TRACE_LOADED_OBJECTS environment variable to print needed
7046 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7048 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
7049 after printing version until after doing usage for --help.
7050 (long_options, main, usage): Rename -l/--lowercase option to
7051 -f/--fold-case (-f matches sort).
7053 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
7055 * db/makedb.c: New file. Implement program to create simple <db.h>
7056 database from textual input. This will be used for nss_db.
7058 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7060 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
7061 * sunrpc/rpc/pmap_clnt.h: Likewise.
7062 * sunrpc/rpc/auth.h: Likewise.
7063 * sunrpc/rpc/pmap_rmt.h: Likewise.
7064 * sunrpc/rpc/rpc_msg.h: Likewise.
7066 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
7068 * string/string.h (strndupa): Change to use return value of
7069 `memcpy' for more performance.
7070 * string/strndup.c: Likewise.
7072 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
7073 This might lead to problems.
7074 (strndupa): Likewise.
7076 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
7078 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
7079 and change K&R prototypes to ANSI prototypes.
7080 * sunrpc/rpc/auth_unix.h: Ditto.
7081 * sunrpc/rpc/clnt.h: Ditto.
7082 * sunrpc/rpc/pmap_clnt.h: Ditto.
7083 * sunrpc/rpc/pmap_prot.h: Ditto.
7084 * sunrpc/rpc/pmap_rmt.h: Ditto.
7085 * sunrpc/rpc/rpc_msg.h: Ditto.
7086 * sunrpc/rpc/svc.h: Ditto.
7087 * sunrpc/rpc/svc_auth.h: Ditto.
7088 * sunrpc/rpc/xdr.h: Ditto.
7090 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7092 * ctype/test_ctype.c: Test EOF too.
7094 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
7096 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
7097 * sunrpc/rpc/auth_unix.h: Likewise.
7098 * sunrpc/rpc/clnt.h: Likewise.
7099 * sunrpc/rpc/netdb.h: Likewise.
7100 * sunrpc/rpc/pmap_clnt.h: Likewise.
7101 * sunrpc/rpc/pmap_prot.h: Likewise.
7102 * sunrpc/rpc/rpc_msg.h: Likewise.
7103 * sunrpc/rpc/svc.h: Likewise.
7104 * sunrpc/rpc/svc_auth.h: Likewise.
7105 * sunrpc/rpc/xdr.h: Likewise.
7107 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
7109 * sunrpc/pmap_rmt.c: ...here.
7111 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
7113 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
7115 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
7118 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7120 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
7121 <kkojima@info.kanagawa-u.ac.jp>.
7123 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
7125 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
7126 defined, not __OPTIMIZED.
7127 (_nl_msg_cat_cntr): Move declaration outside macro definition
7128 to prevent "nested extern" warning.
7129 (dcgettext): Rename local variable `result' to `__result'.
7131 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7133 * locale/programs/localedef.c (__progname): Remove decl.
7134 (main): Use program_invocation_short_name instead of __progname.
7135 (usage): Use program_invocation_name instead of __progname.
7137 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
7139 * catgets/gencat.c: Use "libc" instead of PACKAGE.
7140 * locale/localedef.c: Ditto.
7141 * locale/locale.c: Ditto.
7143 * locale/findlocale.c (_nl_find_locale): Little optimization.
7144 Use new function `strndup'.
7146 * locale/loadlocale.c: Little optimization. Use constant value
7147 from `_nl_category_num_items' instead of byte-order dependend
7150 * locale/programs/ld-time.c (time_add): Correct string constant.
7152 * locale/programs/locale-spec.c: New file.
7153 * locale/programs/locale.c: Call `locale_special' function if
7154 no other field matches.
7156 * locale/programs/localedef.c: No need to define `program_name'.
7157 Use global variable `__progname'.
7159 * locale/programs/locfile.c (write_locale_data): Always write
7160 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
7161 necessary since message catalogs are also installed in the
7162 LC_MESSAGES/ directory.
7164 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
7165 function instead of writing single bytes.
7166 (encode_char): Also handle little endian.
7168 * locale/setlocale.c (new_composite_name): Little optimization.
7169 Use return value of `memcpy'.
7171 * misc/ttyent.h: Pretty print prototypes, add missing parameter
7172 names, prepend parameter names with __ and use `__const' instead
7174 * posix/unistd.h: Ditto.
7175 * stdlib/stdlib.h: Ditto.
7176 * string/string.h: Ditto.
7178 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
7179 Use `error' function instead of doing it by hand.
7180 * sysdeps/posix/sysconf.c: De-ANSI-fy.
7181 Handle _SC_COLL_WEIGHTS_MAX.
7182 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
7183 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
7184 since these do not depend on the platform.
7185 Add POSIX.4 symbols.
7187 * posix/posix2_lim.h: Add missing definition of
7188 _POSIX2_COLL_WEIGHTS_MAX.
7189 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
7190 to high values since we have no fixed limit.
7192 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
7193 _SC_PAGESIZE for buggy systems (= HP UX) out there.
7195 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
7196 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
7197 * wcsmbs/wcsnrtombs.c: Ditto.
7198 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
7201 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
7203 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
7205 * nss/getXXent_r.c: Likewise.
7206 * nss/nsswitch.c: Likewise.
7207 * nss/nss_files/files-XXX.c: Likewise.
7208 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
7209 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
7210 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
7212 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7214 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
7215 macro, now put the needed Linux version just once, here; update to
7216 needing linux-2.0.3 headers.
7217 (libc_cv_linuxVER): New macro derived from that.
7218 (kernel header check): Use those macros and some m4 magic to replace
7219 hard-coded `201' and `2.0.1' in several places.
7221 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
7223 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
7225 * time/localtime.c: Move lock variable declaration to end of
7226 variable declarations since if is a dummy macro the ; at the
7227 end terminates the variable section of the function.
7229 * time/tzset.c: Undefine `tzset' before function declaration.
7230 Use `weak_function' macro instead of `weak_symbol'.
7232 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
7234 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
7237 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
7239 * locale/C-ctype.c: Increment number of fields after change
7240 from Wed Jun 19 03:24:58 1996.
7242 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7244 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
7245 ($(common-objpfx)libc.so): Move deps into that, use it.
7246 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
7247 $(rpcuserlibs:.so=_pic.a).
7248 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
7251 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7253 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
7254 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
7256 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
7258 * locale/iso-4217.def: Add India to comment for symbol "INR ".
7259 Reported by Raja R Harinath <harinath@cs.umn.edu>.
7261 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7263 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
7266 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7268 * time/tzset.c: Include <libc-lock.h>.
7269 (__tzset_lock): New lock variable.
7270 (tzset): New function (weak defn), no longer weak alias for __tzset.
7271 Call __tzset while holding __tzset_lock.
7272 * time/localtime.c: Include <libc-lock.h>.
7273 (__localtime_r): Hold __tzset_lock while doing the work.
7275 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
7276 from [!HAVE_GNU_LD] to [!_LIBC].
7277 [_LIBC]: Include <libc-lock.h> and define a lock.
7278 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
7279 (setenv, unsetenv): Use them.
7281 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
7283 * locale/programs/locfile.c (write_locale_data): Deal with missing
7286 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
7287 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
7289 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7291 Win32 hacks from <Rob_Tulloh@tivoli.com>.
7292 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
7293 use void * for my_realloc; include <malloc.h> for alloca.
7294 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
7295 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
7296 * posix/glob.h: Likewise.
7298 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
7300 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
7301 call __io_select unless there's only a single descriptor, as each
7302 descriptor now has its own reply port.
7303 If there is only a single descriptor, just use its reply port for
7304 everything and don't bother creating the port set.
7306 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
7307 <unistd.h>: New include.
7309 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
7312 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7314 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
7315 from the USA any software that even makes it easy to drop in an
7316 encryption module of foreign origin.
7317 * Makerules (cryptobjdir): Variable removed.
7318 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
7319 * Makefile (subdirs): Remove crypt.
7321 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
7323 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
7324 operator to yesexpr and noexpr string.
7326 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
7328 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
7329 old code would have failed on a big-endian 64-bit architecture).
7330 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
7332 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
7333 (xdr_u_long): Use switch instead of chain of if-statements.
7334 Remove gratitous parentheses around return expressions.
7335 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
7337 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
7339 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
7342 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7344 * dlfcn.h, db.h: New wrapper headers.
7346 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
7347 for `struct stat;' forward decl.
7349 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
7351 * locale/iso-4217.def: Add some more standardized currency
7354 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7356 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
7358 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
7360 * Rules (dummy.o, empty.o): Targets removed.
7361 (dummy.c, empty.c): New targets replace them.
7363 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7365 * crypt/Makefile (lib-noranlib): Depend on
7366 $(objpfx)libcrypt.so$(libcrypt.so-version).
7369 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
7371 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
7372 check. mib's clueless hacking broke it.
7374 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7376 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
7378 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
7380 * misc/sys/ustat.h: New file.
7381 * misc/ustat.h: Ditto.
7382 * sysdeps/generic/ustatbits.h: Ditto.
7383 * sysdeps/stub/ustat.c: Ditto.
7384 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
7385 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
7387 (routines): Mention ustat.
7389 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
7390 * sysdeps/alpha/elf/start.S: here.
7392 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
7393 alphabetically correct place. Mention ustat.
7395 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
7396 common symbol (makes errno accessible from gdb).
7398 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
7401 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
7402 record always gets appended at end of file (wtmp is a log file,
7403 after all). Set ut_type to DEAD_PROCESS if name is empty.
7405 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
7406 separate loop from search for UT_ID. Fix code so it is in
7407 sync with Unix man page.
7409 * login/getutline_r.c (getutline_r): Stop searching only if
7410 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
7412 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
7414 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
7415 avoid duplicate declarations.
7417 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
7419 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
7420 and alpha-gnu-linuxecoff targets.
7422 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
7424 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
7426 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
7428 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
7431 * resolv/res_comp.c (res_hnok): Use empty statement in place
7432 of NULL (which generates a "useless expression" warning in
7435 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
7437 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
7438 with $(..) in output.
7440 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7442 * elf/Makefile (dl-routines): Add dl-cache.
7443 * elf/dl-cache.c: New file.
7444 * elf/dl-load.c (_dl_map_object): Check cache before default path.
7446 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
7448 * stdio-common/vfscanf.c: Major change. Now read character
7449 from stream only if needed. Before it was read after the
7450 previous character was used.
7451 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
7453 * stdio-common/tstscanf.c: Change test program so that return
7454 value is != 0 if one test failed.
7456 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7458 * sysdeps/m68k/Makefile (crypt): Variable removed.
7459 * sysdeps/sparc/Makefile: Likewise.
7461 * version.h (VERSION): Update to 1.93.
7463 * Makerules ($(libdir)/libc.so): Depend on
7464 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
7466 * crypt/nocrypt.c: New file.
7467 * Makefile (subdirs): Add crypt.
7468 * crypt/Makefile: New file.
7470 * Makerules (soversions.mk): Move this target, include of it, and
7471 include of version.mk to ...
7472 * Makeconfig: ... here.
7473 (soversions.mk): Depend on Makeconfig instead of Makerules.
7475 * shlib-versions (*-*-*): Set libcrypt=0.
7477 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
7479 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
7480 word extends right up to rmargin.
7482 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
7483 output the wrap margin, set point_col to wmargin.
7484 Use negative point_col to deal with a wmargin of 0.
7485 (line_wrap_point): Return 0 for a negative point_col.
7486 (line_wrap_stream): Make wmargin ssize_t.
7487 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
7489 (line_wrap_stream): Make wmargin ssize_t.
7490 (line_wrap_point): Return 0 for a negative point_col.
7492 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7494 * shlib-versions (*-*-gnu*): Set libc=0.0
7496 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7498 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
7499 sysdeps/i386/dl-machine.h.
7501 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
7503 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
7504 to fiddle __put_limit in conjunction with __linebuf_active.
7506 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7508 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
7509 to the strong name, not the file name.
7511 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7513 * csu/initfini.c: More magic. Detect if .end is produced and put it
7514 in the output iff the compiler does.
7516 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
7517 because that is broken on alpha.
7519 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
7522 * Makerules (make-link): Install the new link with atomic mv -f in
7523 case ln itself requires the library being installed.
7525 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
7527 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
7528 i386/dl-machine.h of 960713.
7530 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
7531 (_dl_sysdep_read_whole_file): Fix result variable declaration.
7533 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7535 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
7538 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
7540 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
7541 with pointer to local variable instead of NULL.
7543 1996-07-15 Paul Eggert <eggert@twinsun.com>
7545 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
7547 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7549 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
7550 that are already added by other means.
7552 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
7553 caller column to get those syscalls added automagically.
7555 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
7557 * login/logout.c (logout): Initialize DATA to a state that will
7558 make setutent_r happy.
7560 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7562 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
7563 instead of setting the DT_DEBUG pointer.
7565 * csu/initfini.c (_init, _fini): Generate .end directives after
7566 standalone prologues and filter them out from epilogues.
7568 * Makeconfig (rtld-installed-name): Set to ld.so.1.
7569 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
7572 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
7574 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
7576 * MakeTAGS (extract): Pass --add-comments=TRANS.
7577 * sysdeps/gnu/errlist.awk: Write comments into the output with the
7578 descriptive paragraphs from the manual preceded by TRANS.
7580 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
7581 (_dl_start): Move RESOLVE defn inside this function and #include
7582 "dynamic-link.h" a second time there.
7583 [RTLD_START]: Move use of this after _dl_start function.
7585 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
7587 * elf/rtld.c: Include <string.h>.
7589 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
7590 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
7591 Conditionalize defns on [RESOLVE].
7592 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7594 Instead use RESOLVE macro with same args.
7595 (elf_machine_rel): Conditionalize defn on [RESOLVE].
7596 * elf/dl-reloc.c (RESOLVE): New macro, define before including
7597 "dynamic-link.h". It replaces `resolve' local function.
7598 * elf/dl-runtime.c: Likewise.
7599 * elf/rtld.c: Likewise.
7601 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
7603 * elf/dl-open.c (_dl_open): Force an indirect call for
7604 _dl_relocate_object so there is no chance a PLT fixup will be done
7605 and clobber _dl_global_scope before our call happens.
7607 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
7608 to =t; must operate on top of fp reg stack, not second from top.
7609 Correct input constraint to 0 from t; must be explicit when input and
7610 output are the same register.
7611 (floor): Use __volatile instead of volatile.
7614 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
7617 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7619 * manual/Makefile (lib): New phony target. Depend on stamp files.
7620 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
7622 1996-07-13 Paul Eggert <eggert@twinsun.com>
7624 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
7625 to match Emacs format-time-string specification.
7626 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
7628 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7630 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
7631 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
7632 between MAP and its deps.
7633 * elf/link.h: Fix decl.
7634 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
7635 colon-separated list of names, map those and pass vector of ptrs as
7636 PRELOADS list to _dl_map_object_deps.
7637 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
7638 _dl_map_object_deps with empty preload list.
7639 * elf/dl-open.c (_dl_open): Likewise.
7641 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
7643 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
7644 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
7645 Conditionalize defn on [! MAP_ANON].
7646 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
7648 * elf/rtld.c (dl_main): Likewise.
7649 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
7650 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
7652 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
7654 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
7656 * stdlib/random.c (__random): Declare as int32_t to be in sync
7659 * socket/Makefile (headers): Add socketbits.h.
7661 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
7664 * grp/initgroups.c (initgroups): Add groups that user is a member
7665 of, not the ones he is _not_ a member of.
7667 * nss/nsswitch.c (known_compare): Make known_compare() a static
7668 instead of a local function. The latter are difficult to debug
7669 and slow to execute on certain platforms.
7671 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
7672 place of sizeof (dev). The size of a literal string includes the
7675 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
7677 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
7679 * misc/mntent.c (addmntent): Seek to end of file before writing
7680 entry. Return 1 on error, not -1.
7682 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
7684 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
7687 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
7689 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
7690 shift amount for Jensen must be 5 not 4.
7692 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7694 * socket/sys/socket.h (struct osockaddr): New type.
7696 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
7698 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
7699 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
7700 and `long double' versions can be generated.
7701 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
7702 so that included efgcvt{,_r}.c file generate `long double'
7704 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
7707 * manual/startup.texi: Document new getsubopt function.
7708 * manual/examples/subopt.c: New example program for documenting
7711 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
7713 * stdlib/Makefile (routines): Add getsubopt.
7714 * stdlib/stdlib.h: Add prototype for getsubopt.
7715 * stdlib/getsubopt.c: New file. Implement getsubopt function
7716 to handle suboption parsing.
7718 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7720 * inet/getnetent_r.c: Define NEED_H_ERRNO.
7721 * inet/getnetbynm_r.c: Likewise.
7722 * inet/getnetent.c: Likewise.
7723 * inet/getnetbyad_r.c: Likewise.
7724 * inet/getnetbyad.c: Likewise.
7725 * inet/getnetbynm.c: Likewise.
7727 * sysdeps/generic/pselect.c: Include <sys/time.h>.
7729 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
7732 * math/Makefile (calls): Add s_frexp, s_ldexp.
7733 (routines): Remove them and &f from here.
7735 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
7737 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
7740 * nss/nss_files/files-XXX.c: Comment fix.
7742 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
7744 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
7745 of reentrant function.
7746 (setup): Pass additional argument with function name we are
7748 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
7749 new argument {SET,END,GET}FUNC_NAME_STRING.
7751 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
7752 we return a pointer.
7754 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7756 * nss/nss_files/files-parse.c: Add comment about things to #define.
7758 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
7760 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
7761 terminator char as an error.
7763 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
7765 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
7767 * catgets/gencat.c (write_out): Move code to determine new
7768 best size out of inner loop.
7770 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
7772 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
7773 implementation of frexp() function.
7774 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
7775 implementation of ldexp() function.
7777 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
7780 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
7782 * misc/mntent.c: Include <sys/types.h>.
7783 (endmntent): Return 1 one success, 0 on failure.
7784 (getmntent): Chop newline and ignore empty lines.
7786 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7788 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
7789 differently based on [RTLD_BOOTSTRAP].
7790 (elf_machine_rela): Use it instead of the fn ptr arg directly.
7792 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7794 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
7795 __glob_closedir_hook): Remove decls.
7797 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
7799 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
7800 for send and connect syscalls.
7802 * socket/sys/socket.h: New file, taken from non-sysdep parts of
7803 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
7804 Declare __ names for send and connect.
7805 * sysdeps/generic/socketbits.h: New file.
7806 * sysdeps/unix/sysv/linux/socketbits.h: New file.
7807 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
7808 * sysdeps/generic/sys/socket.h: File removed.
7810 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
7811 * sysdeps/mach/hurd/send.c: Likewise.
7813 * sysdeps/mach/libc-lock.h: New file.
7814 * sysdeps/unix/readdir.c: Do locking.
7815 * sysdeps/unix/seekdir.c: Likewise.
7816 * sysdeps/unix/rewinddir.c: Likewise.
7817 * sysdeps/unix/closedir.c: Likewise.
7818 * sysdeps/unix/bsd/telldir.c: Likewise.
7819 * sysdeps/mach/hurd/seekdir.c: Likewise.
7820 * sysdeps/mach/hurd/readdir.c: Likewise.
7821 * sysdeps/mach/hurd/closedir.c: Likewise.
7822 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
7823 * sysdeps/unix/opendir.c: Likewise.
7824 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
7825 (struct __dirstream): Add lock member using __libc_lock_define.
7826 * sysdeps/unix/dirstream.h: Likewise.
7828 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
7830 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
7832 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
7834 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
7836 * locale/programs/stringtrans.c: Fix typo in copyright.
7838 * stdio-common/printf-prs.c: Add casts to prevent
7839 signed<->unsigned warnings.
7841 * stdio-common/printf-parse.h: Initialize state variable before
7843 * stdio-common/printf-prs.c: Don't initialize state variable here.
7844 * stdio-common/vfprintf.c: Don't initialize state variable.
7845 (vfprintf): While determining length of multibyte string don't
7846 try to be clever in determining characters to use for first
7849 Add real implementation of multibyte<->wide char conversion
7850 functions. The functions always convert between the fixed wide
7851 char format (ISO 10646 in UCS4) and the UTF8 representation of
7852 this character set. Conversion between the currently used
7853 8bit character set and ISO 10646 will not take place. This is
7854 what iconv() is for.
7855 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
7857 Add optimized version of `mbrlen' function.
7858 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
7860 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
7862 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
7863 This is needed in the wchar.h header.
7864 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
7865 encoded character to UCS4.
7866 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
7867 element of `mbstate_t' for initial state.
7868 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
7869 encoded string to UCS4 string.
7870 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
7871 character to UTF8 encoded form.
7872 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
7873 encoded string to UTF8 encoded form.
7875 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7877 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
7878 variable name, so new a libc with new requirements won't fail to
7879 notice an insufficient Linux version.
7881 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
7883 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
7884 instead of 2.0 headers.
7886 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
7888 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
7889 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
7891 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
7892 before using it in lhs of weak_alias.
7894 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
7895 Call __nss_lookup when not setting STARTP.
7896 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
7897 function-calling loop.
7899 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
7901 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
7902 PENDIN, NOFLSH): Undefine these at start if they are already
7903 defined to avoid collision with termbits.h.
7904 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
7905 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
7907 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7909 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
7910 already defined to float, long double. Use those macros for _Mdouble_
7911 defns when including mathcalls.h.
7912 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
7913 -D_Mlong_double_=double.
7915 Add more -lm functions to -lc because ldexp uses them.
7916 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
7917 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
7918 ldexp have both f and l code, and those have f though not l code.
7920 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
7922 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
7923 error is 0. The "placeholder" entries recently added to
7924 errno.texi convert to zero since `???/' is at the front of them.
7925 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
7927 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
7928 __const to conform with unistd.h.
7930 * stdlib/stdlib.h (random): Declare return type to be int32_t.
7932 * string/argz-delete.c (argz_delete): Use memmove instead of
7933 memcpy for possibly overlapping strings.
7935 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7937 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
7938 storage class. GCC gives an error for non-extern data defns with the
7941 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
7943 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
7944 memmove instead of memcpy for possible overlapping strings.
7946 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7948 * libc-symbols.h (weak_function): New macro.
7949 For GCC 2.7+ define as __attribute__ ((weak)).
7950 * elf/dl-minimal.c: Use weak_function as keyword in function defns
7951 instead of weak_symbol (NAME) after the defn.
7952 * stdlib/strtol.c: Likewise.
7953 * stdlib/strtod.c: Likewise.
7954 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7956 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
7957 If this is defined, don't declare _dl_rtld_map as weak, and
7958 don't check for MAP pointing to it. RESOLVE is always null in this
7959 case, so test with #ifdef instead of if.
7961 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
7963 * csu/initfini.c (_init): Likewise.
7964 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
7965 * misc/efgcvt_r.c: Likewise.
7966 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7969 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
7970 It was not used in any assembler code.
7971 (weak_symbol_asm): Renamed to weak_extern_asm.
7972 (weak_extern): New macro replaces weak_symbol for weak extern refs;
7973 define to weak_extern_asm for [!ASSEMBLER].
7975 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7977 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
7978 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
7979 define those now as aliases.
7980 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
7981 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
7982 after GCC weak attribute decl.
7984 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
7985 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
7986 (element printer): Check for elt in ALIAS, instead of special case
7989 * io/Makefile (headers): Add sys/vfs.h.
7990 * io/sys/vfs.h: New file.
7992 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
7993 critical section lock before unlinking dying active resources.
7994 The unlock just before return is right (i.e. old code unlocked twice).
7996 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
7998 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
7999 Use memmove instead of memcpy where overlap is possible (not
8000 necessary using current implementation of memcpy, but...).
8001 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
8003 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
8005 * stdio/linewrap.c (lwupdate): New function, mostly was
8006 __line_wrap_update. Use POINT_COL field instead of POINT.
8007 (__line_wrap_output): Use lwupdate.
8008 (__line_wrap_update): New function.
8009 (ensure_unwrapped, ensure_wrapped): New functions.
8010 (line_wrap_set_lmargin, line_wrap_set_rmargin,
8011 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
8013 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
8014 POINT_COL. Add POINT_OFFS field.
8015 (__line_wrap_update): New decl.
8016 (line_wrap_set_lmargin, line_wrap_set_rmargin,
8017 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
8019 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
8021 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
8023 * login/pututline_r.c (pututline_r): Since we assign RESULT from
8024 lseek now, check that it's >= 0, not == 0.
8026 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
8028 * login/login.c (login): Make a copy of *UT, fill in various
8029 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
8032 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
8033 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
8035 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8037 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
8038 signal during critical section doing interruptible RPC, if
8039 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
8040 before thread_resume. If in critical section, pass 0 for SIGNO to
8041 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
8043 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
8045 * sysdeps/unix/sysv/linux/sys/user.h: New file.
8046 * sysdeps/unix/sysv/linux/Dist: Add it.
8047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
8049 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
8050 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
8051 itself, no need to skip past a NUL.
8053 * nss/nsswitch.h (known_function): Comment fix.
8054 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
8055 directly. Do the lookup and insertion with a single call, and fill in
8056 the tree node afterwards if new.
8057 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
8059 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
8060 (struct timeval): Add bodiless decl for scope.
8062 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
8063 Move struct timespec defn outside [_TIME_H] so it can be got with
8064 #define __need_timespec.
8066 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
8067 for `struct timespec' member names.
8068 (TIMESPEC_TO_TIMEVAL): Likewise.
8070 * nss/Makefile (extra-libs-others): New variable.
8072 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
8073 $(lib) in $(extra-libs-others).
8074 * sunrpc/Makefile (extra-libs-others): New variable.
8075 (librpcsvc-no-lib-dep): Variable removed.
8077 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
8078 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
8080 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
8081 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
8082 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
8083 _dl_rtld_map weak only here.
8085 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
8087 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
8089 * login/utmp.h: Fix typos.
8091 * misc/syslog.c (vsyslog): Use __send instead of send and
8092 __connect instead of connect to avoid name-space collisions (e.g.,
8095 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8097 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
8099 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
8101 * malloc/malloc-size.c (malloc_usable_size): Renamed from
8102 malloc_object_allocation_size.
8103 * malloc/malloc.h: Fix decl.
8105 * sys/select.h: New file, wrapper header.
8107 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
8108 fd_set, associated macros, and select decl.
8110 * sysdeps/posix/isfdtype.c: New file.
8112 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
8114 The latest Japanese proposal for POSIX locales renames the
8115 CHARMAP keyword in locale definition files to CHARCONV.
8116 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
8117 function ctype_is_charmap to ctype_is_charconv.
8118 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
8120 * locale/programs/locfile-token.h: Add definition of token
8122 * locale/programs/locfile.c: Recognize charconv keyword. Rename
8123 lables according to this.
8125 * locale/weight.h (get_weight): Cast constants to prevent
8128 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
8129 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
8132 New stuff described in P1003.1g.
8133 * misc/Makefile (headers): Add sys/select.h.
8134 (routines): Add pselect.
8135 * misc/sys/select.h: New file. Declare select functions and
8136 needed data types and macros.
8137 * sysdeps/generic/pselect.c: New file. Add generic implementation
8138 of pselect() function which uses select().
8140 * posix/getconf.c: Recognize new variables from P1003.1g.
8141 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
8142 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
8143 * posix/unistd.h: Add description of the P1003.1g variables.
8144 * sysdeps/generic/confname.h: Define _SC_* values for new
8146 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
8148 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
8149 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
8151 * sysdeps/stub/sysconf.c (sysconf): Ditto.
8152 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
8153 _POSIX_SELECT since Linux has this.
8155 * socket/Makefile (routines): Add isfdtype.
8156 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
8157 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
8160 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
8162 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8164 * elf/Makefile (LDFLAGS-dl.so): New variable.
8165 (libdl.so): Depend on eval.so.
8166 (distribute): Add eval.c.
8167 * elf/eval.c: New file.
8169 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
8170 in case it wrote fewer than MAXDIGITS chars.
8172 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
8173 newline from flushing full buffer in loop, fix test so no fflush is
8174 done when last byte written exactly fills the buffer.
8176 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
8178 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
8179 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
8181 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
8182 extracting _dl_rtld_map.l_addr.
8184 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
8186 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
8188 * shlib-versions (*-*-*): Set libnss_db=1.
8190 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8192 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
8194 * rpm/template (%build): Use @prefix@ instead of always /usr.
8195 Set up configparms only if @prefix@ is in fact /usr.
8196 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
8198 * elf/Makefile: Add missing endif.
8200 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
8202 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
8203 (DATABASE): Define this instead of DATAFILE.
8204 * nss/nss_files/files-hosts.c: Likewise.
8205 (hostbyname): Use LOOKUP_NAME macro.
8207 * nss/nss_db/db-XXX.c: New file.
8208 * nss/Makefile (services): Add db.
8209 (libnss_db-inhibit-o): New variable.
8210 (libnss_db-routines): New variable.
8211 (distribute): Append db-XXX.c.
8212 (libnss_db.so): Depend on libdb.so and libnss_files.so.
8213 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
8215 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
8217 (DATAFILE): New macro.
8218 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
8220 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
8221 Pass db key args to DB_LOOKUP.
8222 (DATAFILE): Macro removed.
8223 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
8224 * nss/nss_files/files-service.c: Likewise.
8225 * nss/nss_files/files-pwd.c: Likewise.
8226 * nss/nss_files/files-proto.c: Likewise.
8227 * nss/nss_files/files-grp.c: Likewise.
8228 * nss/nss_files/files-ethers.c: Likewise.
8230 * elf/linux-compat.c: File removed.
8231 * elf/Makefile (distribute): Remove linux-compat.c.
8232 (ld-linux.so.1): Remove target and associated variables.
8234 * sunrpc/xdr.c: Remove malloc decl.
8235 * sunrpc/portmap.c: Likewise.
8237 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
8238 casting abort to fn returning bool_t.
8240 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
8241 the parser function.
8242 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
8243 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
8244 * nss/nss_files/files-grp.c: Likewise.
8246 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
8248 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
8250 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
8251 of ld.so so lookups for that soname find it.
8253 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
8254 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
8256 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
8257 define parse_line function.
8258 (parse_line): #define to _nss_files_parse_pwent and
8259 add extern decl for that.
8261 * nss/nss_files/files-XXX.c (internal_getent): Return
8262 NSS_STATUS_TRYAGAIN for ERANGE error.
8264 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
8265 of null, so next round returns null again instead of bombing. Fix
8268 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
8269 Remove ; after `ENTDATA_DECL (data)'.
8270 Truncate line at strpbrk (line, EOLSET "\n").
8271 (ENTDATA_DECL): Put ; at end.
8272 (MIDLINE_COMMENTS): Macro removed.
8273 * nss/nss_files/files-ethers.c: Pass new argument.
8274 * nss/nss_files/files-hosts.c: Likewise.
8275 * nss/nss_files/files-network.c: Likewise.
8276 * nss/nss_files/files-parse.c: Likewise.
8277 * nss/nss_files/files-proto.c: Likewise.
8278 * nss/nss_files/files-rpc.c: Likewise.
8279 * nss/nss_files/files-service.c: Likewise.
8280 * grp/fgetgrent.c: Likewise.
8281 * pwd/fgetpwent.c: Likewise.
8282 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
8283 fgetpwent.c already defines it.
8284 * nss/nss_files/files-grp.c: Likewise.
8286 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
8287 as well as any matching with l_libname. Fix DT_SONAME lookup to use
8288 string table properly.
8290 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
8291 invoked directly, and l_libname from that if PT_INTERP missing.
8292 Set l_name from l_libname only if not set from argv.
8294 * time/europe, time/northamerica: Updated from ADO 96i.
8296 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8298 * stdio-common/tst-ungetc.c: Include unistd.h.
8300 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
8302 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
8304 * hurd/report-wait.c (describe_number): Make I unsigned long.
8306 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
8307 actually found any entry.
8309 * login/pututline_r.c (pututline_r): If not located after any
8310 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
8311 Lock the file before stating.
8313 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8315 * nss/Makefile (databases): Change host to hosts.
8316 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
8318 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
8320 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
8322 * string/string.h (strndupa): Pass missing arg to strnlen.
8324 * inet/getnetbypt_r.c: Renamed to ...
8325 * inet/getnetbyad_r.c: this; fixed function name.
8326 * inet/getnetbypt.c: Renamed to ...
8327 * inet/getnetbyad.c: this; fixed function name.
8329 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8331 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
8334 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
8336 * login/login.c (login): Initialize DATA so that setutent_r will
8337 actually do something.
8339 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
8341 * resolv/res_hconf.c (strndup): Remove function.
8343 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
8344 using ElfW() instead of Elf32_*.
8346 * sysdeps/unix/sysv/linux/alpha/init-first.h,
8347 sysdeps/unix/sysv/linux/m68k/init-first.h,
8348 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
8349 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
8350 init-first.h to make abstract machine dependent parts of
8353 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
8354 error handling. It's safer that way.
8356 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
8357 Fix by Richard Henderson.
8359 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
8360 typo/extraneous whitespace.
8362 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
8363 determine what integer sizes we're dealing with.
8365 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
8367 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
8368 check for signal zero, repair logical sense of test by
8369 parenthesizing correctly.
8371 * hurd/hurdsig.c (_hurd_internal_post_signal): In
8372 check-for-pending signals code, release _hurd_siglock before
8373 jumping to deliver_pending.
8375 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
8377 * configure.in (config_machine): Make ELF the default even for
8378 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
8381 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8383 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
8384 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
8385 member only #ifdef ENTDATA.
8386 (ENTDATA_DECL): New macro.
8387 (LINE_PARSER): Use it for entdata decl.
8388 (parse_list): Find the space for LIST from DATA->linebuffer instead of
8389 from the input LINE, which might not be writable buffer space.
8390 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
8391 [ENTDATA] (parser_stclass): #define to `static inline'.
8392 [!ENDATA] (parser_stclass): #define to empty.
8393 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
8394 function is exported to -lnss_files users.
8396 * string/strndup.c: Add missing arg.
8398 * string/string.h (strndupa): Likewise.
8399 * string/strndup.c (strndup): Always terminate the string.
8401 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8403 * stdio/Makefile (routines): Add vscanf.
8404 * stdio-common/Makefile (routines): Remove vscanf.
8405 * stdio-common/vscanf.c: Move to ...
8406 * stdio/vscanf.c: here.
8408 * rpm/Makefile (headers, install-lib, install-lib.so,
8409 versioned, install-bin, install-sbin, install-data,
8410 install-others): Add $(-VARIABLE).
8412 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8414 * nss/Makefile (databases): New variable.
8415 (routines, libnss_files-routines): Use it.
8416 (subdir-dirs): Compute from $(services).
8418 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
8419 init_module, klogctl): Use EXTRA in the "caller" column so these get
8420 added to unix-extra-syscalls and thus compiled in misc.
8422 * string/Makefile (routines): Add strndup.
8423 * string/strndup.c: New file.
8424 * string/string.h: Declare strndup.
8425 (strndupa): New macro.
8427 * string/string.h: Declare __strdup.
8428 * string/strdup.c: Deansideclized. Define __ name and weak alias.
8430 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
8432 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
8434 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
8436 * grp/initgroups.c (initgroups): De-ansi-fy.
8437 Move declaration of NGROUPS and GROUPS outside #if so that
8438 the code compiles for NGROUPS_MAX != 0.
8440 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
8441 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
8442 ether_ntoa, ether_ntoa_r, and ether_ntoh.
8443 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
8444 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
8445 inet/ether_ntoh.c: New files. Implementation of functions to
8446 handle Ethernet address to host mapping.
8447 * inet/netinet/ether.h: New file. Declare ether_* functions.
8448 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
8450 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
8451 * nss/Makefile (routines): Add ethers-lookup.
8452 (libnss_files-routines): Add files-ethers.
8454 * nss/getXXent_r.c: Don't define set*ent and end*ent function
8457 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
8458 KEEP_STREAM every time called.
8459 (_nss_files_end): Reset KEEP_STREAM here instead.
8460 (internal_getent): If STREAM == NULL try to open instead of
8462 Use cast to prevent warning.
8463 Terminate read line in case the buffer is too small.
8465 * nss/nss_files/files-ethers.c: New file. Implementation of
8466 Ethernet adress<->hostname lookup through files interface.
8468 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
8469 * stdlib/mbtowc.c: Define based on mbrtowc().
8470 * stdlib/wcstombs.c: Define based on wcsrtombs().
8471 * stdlib/wctomb.c: Define based on wcrtomb().
8473 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
8474 unexpected_sizes_in_xdr_u_int.
8476 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
8477 of `struct ether_addr'.
8478 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
8479 declaration of `struct ether_addr'.
8481 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
8482 * wcsmbs/mbsrtowcs.c: Ditto.
8483 * wcsmbs/wcrtomb.c: Ditto.
8484 * wcsmbs/wcsrtombs.c: Ditto.
8486 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
8488 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
8490 * hurd/get-host.c <fcntl.h>: New include.
8491 * hurd/set-host.c <fcntl.h>: New include.
8492 (_hurd_set_host_config): Include NEW in args to dir_link.
8493 Return NWROTE, not NREAD.
8495 * sysdeps/mach/hurd/getcwd.c
8496 (_hurd_canonicalize_directory_name_internal): Don't deallocate
8497 DOTID & DOTDEVID until we're finished with them (we need to keep
8498 them at least until we've fetched the next level of id ports, so
8499 that mach will be able to use the same name if they're the same).
8500 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
8501 jumps to errlose, for those places where such cleanup is needed.
8503 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8505 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
8507 Move DB code into separate -ldb library.
8508 * db/Makefile (extra-libs): New variable, list libdb.
8509 (routines): Renamed to libdb-routines.
8510 * shlib-versions: Add libdb=2.
8512 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
8513 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
8515 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
8516 of strncasecmp. Extend syntax to grok [!foo=bar].
8518 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
8520 * string/string.h: Declare __strncasecmp.
8522 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
8523 (service_alias): Variable removed.
8524 (nss_parse_service_list): New function, broken out of nss_getline.
8525 Remove alias conversion; we will just use symlinks.
8526 (__nss_database_lookup): Take new string arg DEFCONFIG.
8527 If no entry exists, make one with service list parsed from that.
8528 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
8529 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
8530 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
8532 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
8535 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
8537 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
8539 * locale/programs/locale.c (long_options): Short form of
8540 --version option is `-V'.
8541 (main): Recognize `-V' as option, not `-v'.
8542 Call `usage' instead of printing error message for illegal
8544 (usage): Document `-V'.
8546 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
8548 * sysdeps/mach/hurd/getcwd.c
8549 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
8550 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
8552 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8554 * inet/getrpcent.c: Fix macros.
8555 * inet/getrpcent_r.c: Fix macros.
8557 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
8559 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
8561 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
8563 * catgets/gencat.c (write_out): Use %Zu to print variables of type
8565 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
8566 cast it to (unsigned long) to make it work both on 32 and 64
8569 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8571 * locale/Makefile (distribute): Add `programs/' prefix to all
8572 files in that directory.
8574 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
8577 * MakeTAGS (sources, headers): Make them simply expanded variables
8578 so that all-dist is expanded before it is changed.
8580 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8582 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
8583 * Makefile (subdirs): Remove crypt.
8584 * crypt: Directory removed. It will be made an independent library
8587 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
8589 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
8591 * inet/getrpcbynumber.c (BUFLEN): New macro.
8593 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
8595 * Makefile (headers): Add libc-lock.h.
8596 * sysdeps/stub/libc-lock.h: New file.
8598 * inet/getrpcbynumber.c: Remove _r typo.
8600 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
8602 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
8605 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
8606 or doesn't mention DATABASE, use an internal default equivalent to
8607 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
8608 (nss_lookup_function): Call nss_new_service as needed.
8609 (nss_parse_file): Don't bother calling nss_new_service here.
8611 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
8612 * pwd/fgetpwent.c: Likewise.
8614 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
8615 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
8616 * malloc/malloc-size.c: New file.
8617 * malloc/malloc-walk.c: New file.
8619 * malloc/malloc-find.c (malloc_find_object_address): Return null if
8620 PTR is outside the heap.
8622 * elf/dl-load.c (_dl_map_object): If the requested name matches the
8623 soname of a loaded object, use that object.
8625 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8627 * Makefile (subdirs): Add nss.
8629 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
8630 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
8631 * inet/getrpcbynumber_r.c: New file.
8632 * inet/getrpcbynumber.c: New file.
8633 * inet/getrpcbyname.c: New file.
8634 * inet/getrpcbyname_r.c: New file.
8635 * inet/getrpcent_r.c: New file.
8636 * inet/getrpcent.c: New file.
8637 * nss/rpc-lookup.c: New file.
8638 * nss/nss_files/files-rpc.c: New file.
8639 * nss/Makefile (routines): Add rpc-lookup.
8640 (libnss_files-routines): Add files-rpc.
8641 * sunrpc/Makefile (routines): Remove getrpcent.
8642 * sunrpc/getrpcent.c: File removed.
8644 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
8647 * Makeconfig (rpath-link): Add $(nssobjdir).
8648 (nssobjdir): New variable.
8650 * Makerules: Move shared library building before objects rules, so
8651 versions are known before extra-lib.mk gets included.
8652 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
8654 * pwd/getpwuid.c: Rewritten using nss.
8655 * pwd/getpwnam.c: Likewise.
8656 * pwd/getpwent.c: Likewise.
8657 * grp/getgrnam.c: Likewise.
8658 * grp/getgrgid.c: Likewise.
8659 * grp/getgrent.c: Likewise.
8660 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
8661 * pwd/getpwent_r.c: New file.
8662 * pwd/getpwnam_r.c: New file.
8663 * pwd/getpwuid_r.c: New file.
8664 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
8665 * grp/getgrnam_r.c: New file.
8666 * grp/getgrgid_r.c: New file.
8667 * grp/getgrent_r.c: New file.
8668 * grp/Makefile (routines): Remove grpopen, grpread.
8669 * pwd/Makefile (routines): Remove pwdopen, pwdread.
8670 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
8672 * pwd/fgetpwent.c: Rewritten using files-parse.c.
8673 * grp/fgetgrent.c: Likewise.
8675 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
8676 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
8677 * nss/nss_files/files-grp.c: New file.
8678 * nss/nss_files/files-pwd.c: New file.
8680 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
8682 * nss/nss_files/files-parse.c: New file.
8683 * nss/nss_files/files-XXX.c: New file.
8684 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
8685 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
8686 Rewritten using them.
8688 * nss/Makefile (libnss_files-routines): Remove files-host.
8689 Add files-hosts, files-grp, files-pwd.
8691 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
8693 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
8695 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8696 A .plt entry now loads the .rela.plt offset directly rather
8697 than making us calculate it.
8699 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8701 * time/Makefile ($(installed-localtime-file) rule): Do
8702 $(make-target-directory) first.
8704 * resolv.h: Fix wrapper for resolv/resolv.h.
8706 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
8707 Compile dummy file and pass -nostdlib -nostartfiles so as not to
8708 require installed libraries.
8710 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
8713 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
8715 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
8716 and mapv4v6hostent.h.
8717 (routines): Move res* and gethnamaddr into libresolv-routines.
8718 (libresolv-routines): New variable, put them there.
8719 (extra-libs): New variable, list libresolv.
8720 (CPPFLAGS): Add -D for get*by* to res_get*by*.
8722 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
8724 * inet/herrno.c: New file.
8726 * resolv/res_init.c: Remove res_hconf calls.
8728 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
8729 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
8730 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
8731 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
8732 nss/service-lookup.c: New files. Implementation of name
8733 service switch, following the approach in Solaris.
8734 Interface specification and general structure inspired by Peter
8735 Eriksson <pen@lysator.liu.se>.
8736 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
8737 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
8738 Implementation of libnss_files.so module for file based databases
8740 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
8741 if libnss_dns.so module for DNS name lookup in NSS service.
8743 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
8744 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
8745 Changed to serve as interface to NSS.
8746 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
8747 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
8748 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
8749 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
8750 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
8751 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
8752 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
8753 interfaces to NSS, including reentrant functions.
8755 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
8756 resolv/sethostent.c: Removed: Obsoleted by NSS.
8758 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
8759 gethnamaddr.c. These private functions are now used in more
8762 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
8764 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8766 * rpm/Makefile ($(config)): Make sure the word list in the for
8767 loop is syntactically non-empty.
8769 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8771 * Version 1.92 test release.
8773 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
8775 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
8776 to klogctl to match prototype in sys/klog.h.
8778 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
8779 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
8781 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
8782 Remove. Code is now part of __getcwd again. The old function
8783 never really worked for anything but THISDIR==".".
8785 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
8786 only when building ELF version of library.
8788 * libio/libioP.h (_IO_vscanf): Add prototype.
8790 * posix/unistd.h (syscall): Change sysno arg and return value
8793 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8795 * version.h (VERSION): Updated to 1.92.
8797 * misc/Makefile (headers): Add ar.h.
8798 * misc/ar.h: New file.
8800 * config.make.in (BUILD_CC): New variable.
8801 * configure.in: Check for BUILD_CC if $host != $build.
8803 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
8805 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
8806 (stamp$o files): New targets, create them empty, no deps.
8808 * rpm/template (Source): New field.
8809 (%prep, %build, %install): New sections.
8810 (%files): Add %doc FAQ NEWS NOTES README.
8811 * rpm/rpmrc (builddir): Removed.
8813 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8815 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
8816 guessing to not assume p_vaddr of first load cmd is zero.
8818 * sysdeps/sparc/elf/start.S: New file.
8819 * sysdeps/sparc/dl-machine.h: New file.
8821 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
8822 only for ?s, not for *s. Fix from Chet Ramey.
8824 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
8825 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
8826 Use __{BEGIN,END}_DECLS.
8827 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
8828 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
8829 New macros, moved here from sysdeps/gnu/utmpbits.h.
8830 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
8831 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
8832 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
8833 Use sizeof instead of UT_*SIZE.
8834 * login/logwtmp.c: Likewise.
8836 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
8838 * version.c (banner): Add trailing newline.
8840 * login/utmp.h: Declare login_tty.
8842 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
8844 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
8845 Changed to a 12-byte PLT entry to remove dependency on $gp.
8846 Take a new got_addr parameter.
8847 (elf_machine_rela): Pass the new parameter.
8848 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
8849 (RTLD_START): Do normal linkage with program entry.
8851 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
8853 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
8855 * hurd/getuids.c (getuids): New weak link to __getuids.
8857 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
8859 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
8860 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
8862 Rename nested function lookup to lookup_op.
8863 (__file_name_lookup, __file_name_lookup_under):
8864 Pass 0 for lookup arg to __hurd_file_name_lookup.
8865 (__file_name_split): Likewise for __hurd_file_name_split.
8866 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
8867 Rename nested function lookup to scan_lookup.
8868 (file_name_path_lookup): Pass 0 for lookup arg to
8869 hurd_file_name_path_lookup.
8870 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
8871 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
8872 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
8873 Add LOOKUP argument.
8874 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
8875 __hurd_file_name_lookup.
8877 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8879 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
8880 up a huge list just to discard most of it.
8882 * configure.in (sysnames): Avoid fgrep by using the case shell
8885 * Makeconfig (config.status): Fix dependency on Implies files.
8887 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8889 * math/Makefile (distribute): Add ieee-math.c.
8891 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
8893 * locale/codeset_name.c: New file. Provide function for information
8894 about currently used character set.
8895 * locale/Makefile (routines): Add codeset_name.
8896 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
8897 * locale/localeinfo.h: Change magic number because of incompatible
8899 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
8900 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
8902 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
8903 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
8905 * locale/setlocale.c (setlocale): Initialize local variables to
8908 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
8910 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
8912 * locale/programs/locale.c: Include string.h.
8914 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
8915 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
8916 appropriate sign-extension is performed on machines with
8919 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
8920 sizeof(int)<sizeof(long), we need to go through a temporary
8923 * locale/programs/ld-numeric.c: Include <alloca.h>
8925 * libio/stdio.h (__libc_fatal): Add prototype.
8927 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
8930 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
8931 volatile to avoid "might get clobbered by longjmp" warning.
8933 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
8934 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
8935 probability is a sure loser).
8936 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
8938 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
8939 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
8941 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
8942 to be Linux FSSTND compliant.
8944 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
8946 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
8948 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
8949 sysdeps/unix/sysv/linux/alpha/brk.S,
8950 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
8951 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
8952 sysdeps/unix/sysv/linux/alpha/llseek.S,
8953 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
8954 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
8955 __syscall_error to avoid intruding application name space.
8957 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
8958 to SYS_get?id so that syscall stubs in sysdeps/unix define
8959 these syscalls in terms of getxpid/getxuid/getxgid.
8961 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
8962 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
8963 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
8964 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
8966 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
8967 (PSEUDO_END): Rename END() to PSEUDO_END().
8969 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
8970 to PSEUDO_END to improve branch-prediction. Include .frame
8971 directive to make syscalls debugabble.
8972 (PSEUDO_END): New macro.
8974 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
8975 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
8976 latter is illegal under DEC Unix.
8978 * sysdeps/unix/alpha/sysdep.S: Renamed from
8979 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
8981 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
8982 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
8983 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
8985 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
8986 address register in the .frame directive.
8988 * sysdeps/alpha/copysign.c: Remove.
8990 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
8991 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
8993 * errno.h: Move __END_DECLS to correct place to make file
8994 compilable under c++.
8996 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
8997 d_ino only if <direntry.h> hasn't defined d_fileno.
8999 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
9000 arguments to weakext to make .weakext detection work on ECOFF systems.
9002 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
9003 that _validuser() has been replaced by __ivaliduser().
9005 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
9007 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
9008 as unsigned long, not as int (to avoid incorrect int->long
9013 See ChangeLog.5 for earlier changes.