1 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
3 * Makefile (subdirs): Change crypt to md5-crypt.
4 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
5 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
7 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
8 crypt instead of LinuxThreads and des-crypt.
10 * Makefile (subdirs): Add nss back.
11 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
14 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
15 * stdio-common/Makefile (routines): Add fcloseall.
16 * stdio-common/fcloseall.c: New file.
17 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
19 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
20 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
23 * stdio-common/printf.h: Define MIN and MAX only if not already
26 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
27 allow writing. Required by POSIX.1.
29 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
32 * interp.c: Update copyright.
33 * libio/clearerr.c: Likewise.
34 * libio/ioseekoff.c: Likewise.
35 * libio/ioseekpos.c: Likewise.
36 * stdio/fclose.c: Likewise.
37 * stdio/fflus.c: Likewise.
39 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
40 and _IO_cleanup_region_end as empty.
41 * libio/fgetc.c: Use _IO_cleanup_region_start and
42 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
43 __libc_cleanup_region_end.
44 * libio/fputc.c: Likewise.
45 * libio/freopen.c: Likewise.
46 * libio/fseek.c: Likewise.
47 * libio/getc.c: Likewise.
48 * libio/getchar.c: Likewise.
49 * libio/iofclose.c: Likewise.
50 * libio/iofflush.c: Likewise.
51 * libio/iofgetpos.c: Likewise.
52 * libio/iofgets.c: Likewise.
53 * libio/iofputs.c: Likewise.
54 * libio/iofread.c: Likewise.
55 * libio/iofsetpos.c: Likewise.
56 * libio/ioftell.c: Likewise.
57 * libio/iofwrite.c: Likewise.
58 * libio/iogetdelim.c: Likewise.
59 * libio/iogets.c: Likewise.
60 * libio/ioputs.c: Likewise.
61 * libio/iosetbuffer.c: Likewise.
62 * libio/iosetvbuf.c: Likewise.
63 * libio/ioungetc.c: Likewise.
65 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
67 * libio/iovsscanf.c: Likewise.
69 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
70 instead of __libc_lock_init_recursive and __libc_lock_fini.
72 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
74 * libio/fileops.c: Likewise for __open and open.
76 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
79 * nis/ypclnt.h: Add more casts to prevent warnings.
81 * nss/Makefile (services): Remove dns.
82 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
83 ($(objpfx)libnss_dns.so): Removed.
84 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
85 * resolv/nss_dns: ...here.
86 * resolv/Makefile (extra-libs): Add libnss_dns.
87 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
90 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
91 specifying alternate name for entry in /etc/nsswitch.conf
92 * nss/nsswitch.c: If no entry with primary name is found in
93 /etc/nsswitch.conf try alternate name if given.
94 * nss/nsswitch.h: Add new parameter in prototype for
95 __nss_database_lookup.
96 * nss/spwd-lookup.c: Provide alternative entry name to look for.
97 This makes our NSS compatible with Solaris' nsswitch.conf files.
99 * string/tst-strlen.c: Change all counting variables to type size_t
102 * sysdeps/posix/fpathconf.c: Update copyright.
103 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
104 Opening the file at this path may fail if it is a FIFO or pipe.
106 These changes make the time implementation POSIX.1 compliant.
107 * time/localtime.c (__localtime_r): Always call __tzset not only
108 if __tzset_run is zero.
109 * time/strftime.c: Add definition of memset_space to help to
110 reduce for systems which have memset.
111 (strftime): Don't use tm_zone member of argument for zone name.
112 Instead always use tzname[].
113 Call tzset() as required by POSIX.1 before any action.
114 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
115 Remove global variable __tzset_run. __tzset is now called always
116 when a dependent function is used.
117 (__tzset): Caching happens based on the contents of the
118 environment variable TZ.
120 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
122 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
124 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
126 * rellns-sh: Correctly handle a relative source file name.
128 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
130 * login/utmp_file.c (setutent_file): Seek back to beginning of the
133 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
135 * hurd/hurdinit.c (map0): Delete function. Don't do this on
137 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
139 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
141 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
142 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
145 Change libio buffer handling to allocate internal buffers using
147 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
149 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
151 (_IO_default_doallocate): Change call to ALLOC_BUF.
152 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
153 to use mmap/munmap when possible.
154 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
155 * libio/vasprintf.c: Likewise.
158 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
159 * libio/libioP.h: Likewise.
161 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
162 restart syscall when EINTR was returned. Necessary for POSIX.1.
164 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
166 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
169 * nis/Makefile: Remove rules for bsd-tools which are not part
171 Patch by Thorsten Kukuk.
173 * nis/ypclnt.c: Add prototype for xdr_free.
174 Add const to first parameter for __yp_bind.
175 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
176 getpwent_next_file): Variable `p2len' must have type size_t.
177 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
178 * nis/nss_nis/nis-ethers.c: Likewise.
179 * nis/nss_nis/nis-grp.c: Likewise.
180 * nis/nss_nis/nis-hosts.c: Likewise.
181 * nis/nss_nis/nis-network.c: Likewise.
182 * nis/nss_nis/nis-proto.c: Likewise.
183 * nis/nss_nis/nis-pwd.c: Likewise.
184 * nis/nss_nis/nis-rpc.c: Likewise.
185 * nis/nss_nis/nis-service.c: Likewise.
186 * nis/nss_nis/nis-spwd.c: Likewise.
188 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
190 (ypmaplist): Change member names to `map' and `next' and provide
191 #defines for old names.
192 Patch by Thorsten Kukuk.
194 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
195 type for `datalen' parameter to size_t.
197 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
199 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
201 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
205 * stdio-common/tmpfile.c: Update copyright.
207 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
209 Don't eat white space for `C' format.
211 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
213 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
214 * sysdeps/i386/abort.c: Removed. This version does not use
217 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
221 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
222 call. If EMFILE, ENFILE, or EINTR return with error.
224 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
226 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
227 We are compatible again.
228 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
229 even though it is not used.
230 * malloc/obstack.h: Likewise.
231 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
232 alloc_failed bit to 0.
234 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
235 %P format and `0' modifier.
237 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
239 * Makerules (make-link): Don't discard exit codes of intermediate
240 commands. Always use rellns-sh if symbolic links are available.
242 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
244 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
245 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
246 conflict of ntohs etc. in <asm/byteorder.h>.
248 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
250 Add NIS NSS implementation.
251 * shlib-versions: Add versions for NIS libraries.
252 * sysdeps/unix/inet/Subdirs: Add nis.
253 * nis/Banner: New file.
254 * nis/Makefile: New file.
255 * nis/nss-nis.h: New file.
256 * nis/yp_xdr.h: New file.
257 * nis/ypclnt.h: New file.
258 * nis/ypupdate_xdr.c: New file.
259 * nis/nss_compat/compat-grp.c: New file.
260 * nis/nss_compat/compat-pwd.c: New file.
261 * nis/nss_compat/compat-spwd.c: New file.
262 * nis/nss_nis/nis-alias.c: New file.
263 * nis/nss_nis/nis-ethers.c: New file.
264 * nis/nss_nis/nis-grp.c: New file.
265 * nis/nss_nis/nis-hosts.c: New file.
266 * nis/nss_nis/nis-netgrp.c: New file.
267 * nis/nss_nis/nis-network.c: New file.
268 * nis/nss_nis/nis-proto.c: New file.
269 * nis/nss_nis/nis-publickey.c: New file.
270 * nis/nss_nis/nis-pwd.c: New file.
271 * nis/nss_nis/nis-rpc.c: New file.
272 * nis/nss_nis/nis-service.c: New file.
273 * nis/nss_nis/nis-spwd.c: New file.
274 * nis/rpcsvc/yp.h: New file.
275 * nis/rpcsvc/yp.x: New file.
276 * nis/rpcsvc/yp_prot.h: New file.
277 * nis/rpcsvc/ypclnt.h: New file.
278 * nis/rpcsvc/ypupd.h: New file.
280 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
282 * locale/C-numeric.c: Update copyright.
284 * locale/Makefile: Add rules to build libBrokenLocale.
285 * locale/broken_cur_max.c: New file.
286 * locale/mb_cur_max.c: Update copyright.
287 (__ctype_get_mb_cur_max): Make function weak.
289 * new-malloc/malloc.c: Correct copyright.
290 * new-malloc/thread-m.h: Correct key handling.
292 * shadow/lckpwdf.c: Update copyright.
293 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
295 * stdlib/strtod.c: Add another assertion.
296 * stdlib/tst-strtod.c: Add another test case.
298 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
299 * sysdeps/unix/sysv/linux/paths.h: Likewise.
301 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
302 ut_addr names a single element in ut_addr_v6.
304 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
305 Patch by Thomas Bushnell, n/BSG.
307 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
309 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
312 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
313 did fit nicely into that delay slot (patch from David Mosberger-Tang).
315 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
317 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
319 (ttyname_r): New alias.
321 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
323 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
324 error in computation of number of groups.
325 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
327 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
329 * version.h: Set version to 1.99.
331 * Make-dist (routines): Add malloc and new-malloc.
333 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
334 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
335 Same for $(CFLAGS-$(@F)) and CFLAGS.
337 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
339 * io/sys/poll.h: Likewise.
340 * sysdeps/stub/sys/ipb_buf.h: Likewise.
341 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
342 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
343 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
344 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
345 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
346 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
347 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
348 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
349 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
350 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
351 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
352 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
353 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
354 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
355 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
356 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
357 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
358 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
359 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
361 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
362 * sysvipc/sys/sem.h: Likewise.
363 * sysvipc/sys/shm.h: Likewise.
365 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
366 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
367 Add statistics for threads.
368 * new-malloc/malloc.h: Likewise.
369 * new-malloc/thread-m.h: Likewise.
371 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
373 * time/strptime.c: Update copyright.
375 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
377 * Make-dist: Make sure both malloc directories get distributed.
379 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
381 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
384 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
386 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
387 __BEGIN_DECLS/__END_DECLS.
389 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
391 * login/utmp_file.c: Consistently set file_offset to the position
392 after the entry just read.
394 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
396 * config.make.in (defines): Add @USE_NEW_MALLOC@.
397 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
398 we use the new malloc.
400 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
401 depending on USE_NEW_MALLOC.
403 Fix some more POSIX.1 problems.
404 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
405 on a write-only stream.
406 (_IO_file_overflow): Set errno to EBADF if used on a read-only
408 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
409 call really positions the file offset to the correct position
410 and no read-ahead happens.
412 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
413 to pass POSIX test suite.
414 * stdio-common/vfprintf.c: Handle empty string as grouping command
416 * stdlib/grouping.h: Likewise.
418 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
420 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
422 * stdio-common/printf_fp.c: Update copyright.
424 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
426 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
427 used (not otherwise).
429 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
431 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
433 * stdlib/canonicalize.c: Correct bugs in last change.
436 * libio/Makefile (routines): Remove ioprims.
437 (aux): Remove cleanup.
438 Add IO_DEBUG option for .o files.
439 * libio/cleanups.c: Removed.
440 * libio/ioprims.c: Removed.
441 * libio/filedoalloc.c: More updates from libg++-2.8b5.
442 * libio/fileops.c: Likewise.
443 * libio/genops.c: Likewise.
444 * libio/iolibio.h: Likewise.
445 * libio/iopopen.c: Likewise.
446 * libio/iovsprintf.c: Likewise.
447 * libio/iovsscanf.c: Likewise.
448 * libio/libio.h: Likewise.
449 * libio/libioP.h: Likewise.
450 * libio/memstream.c: Likewise.
451 * libio/strfile.h: Likewise.
452 * libio/vasprintf.c: Likewise.
453 * libio/vsnprintf.c: Likewise.
455 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
457 * manual/arith.texi: Change references to ANSI C to ISO C.
458 * manual/conf.texi: Likewise.
459 * manual/creature.texi: Likewise.
460 * manual/ctype.texi: Likewise.
461 * manual/errno.texi: Likewise.
462 * manual/filesys.texi: Likewise.
463 * manual/intro.texi. Likewise.
464 * manual/io.texi: Likewise.
465 * manual/lang.texi: Likewise.
466 * manual/libc.texinfo: Likewise.
467 * manual/locale.texi: Likewise.
468 * manual/maint.texi: Likewise.
469 * manual/mbyte.texi: Likewise.
470 * manual/memory.texi: Likewise.
471 * manual/process.texi: Likewise.
472 * manual/process.texi: Likewise.
473 * manual/search.texi: Likewise.
474 * manual/setjmp.texi: Likewise.
475 * manual/signal.texi: Likewise.
476 * manual/startup.texi: Likewise.
477 * manual/stdio.texi: Likewise.
478 * manual/string.texi: Likewise.
479 * manual/time.texi: Likewise.
481 * manual/locale.texi: Remove description of LC_RESPONSE and add
484 * Makefile (subdirs): Change malloc in $(malloc).
485 * config.make.in: Add variable malloc which is initialized from
487 * configure.in: Add new option --enable-new-malloc to use new
488 malloc. This is the default on Linux.
489 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
491 * new-malloc/Makefile: New file. Improved malloc implementation.
492 * new-malloc/malloc.c: Likewise.
493 * new-malloc/malloc.h: Likewise.
494 * new-malloc/mallocbug.c: Likewise.
495 * new-malloc/obstack.c: Likewise.
496 * new-malloc/obstack.h: Likewise.
497 * new-malloc/thread-m.h: Likewise.
498 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
499 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
501 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
504 * stdio/feof.c: Update copyright.
505 * stdio/stdio.h: Add field for lock to FILE structure.
506 Add cast to *MAGIC constants to prevent warnings.
508 * stdio-common/bug7.c: Correct test. Stream must not be closed
511 * stdlib/Makefile (routines): Add secure-getenv.
512 * stdlib/secure-getenv.c: New file. __secure_getenv function
513 moved to here from sysdeps/generic/getenv.c. Otherwise an
514 application cannot replace the getenv function in the libc.
515 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
516 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
518 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
520 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
522 * time/test-tz.c: Comment fifth test out. PROBLEM.
524 * time/tzset.c: De-ANSI-declfy.
525 (__tzset): Don't increment pointer tz when no DST information is
528 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
529 to get Hurd macros right.
531 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
533 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
535 Patch by Thomas Bushnell.
537 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
540 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
542 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
544 * time/strftime (%c format): Remove %Z from default string.
545 Reported by Paul Eggert
547 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
549 * configure.in: Discard error message from test in test for
552 * io/getwd.c: Don't apply getcwd on user supplied buffer.
553 Instead always use temporary buffer and only copy the result.
555 * stdlib/canonicalize.c: Likewise.
557 * libio/fileops.c: Change comments according to libg++2.8b5.
558 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
562 * manual/nss.texi: Correct prototypes.
564 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
565 crash if syslog daemon is restarted.
567 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
569 * stdlib/Makefile (routines): Add rand_r.
571 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
574 * configure.in: Add --disable-sanity-check option.
575 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
576 des-crypt are not available and --disbale-sanity-check is not
577 given abort with a message.
579 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
581 * posix/glob.c: Tests against STDC_HEADERS should also test
584 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
586 * misc/err.c (vwarn): Set errno again before using %m format.
588 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
590 * grp/grp.h: Add declaration of __getgrent_r.
592 * io/fts.c (fts_build): Remove "register" from variables dirbuf
593 and dp since their address is needed.
595 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
596 variable d since d's address is needed.
598 * misc/tst-dirname.c (main): Provide prototype.
599 * misc/ioctltst.c (main): Dito.
601 * Makefile: Add gnu/lib-names.h to install-others before including
604 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
606 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
608 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
609 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
610 sys/socketvar.h to sysdep_headers.
612 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
614 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
617 * elf/rtld.c (_dl_start): Don't dereference the value returned by
618 elf_machine_got to get _DYNAMIC, instead call new function
620 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
621 elf_machine_dynamic. Reformat copyright.
622 * sysdeps/i386/dl-machine.h: Likewise.
623 * sysdeps/m68k/dl-machine.h: Likewise.
624 * sysdeps/mips/dl-machine.h: Likewise.
625 * sysdeps/sparc/dl-machine.h: Likewise.
626 * sysdeps/stub/dl-machine.h: Likewise.
628 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
630 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
632 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
634 * Makerules ($(libdir)/libc.so): Make first line of generated
635 link script contain `/* GNU ld script'. This will be used in
636 ldconfig to check for linker scripts.
637 * sysdeps/mach/hurd/libc-ldscript: Likewise.
638 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
640 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
642 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
644 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
647 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
649 * assert/assert-perr.c: Use __strerror_r instead of strerror.
650 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
651 * string/string.h: Declare __strerror_r.
652 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
653 * stdio-common/vfprintf.c: Save current errno value on entry so
654 that %m format finds the correct value.
655 * io/getwd.c: Use __strerror_r instead of strerror.
656 * misc/err.c (vwarn): Use %m printf format instead of explicitly
658 * inet/rcmd.c: Likewise.
659 * misc/error.c (error, error_at_line): Use __strerror_r instead
660 of strerror when this function is available.
662 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
663 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
664 * stdlib/stdlib.h: Define prototype for rand_r.
666 * string/strfry.c: Update copyright. Use reentrant random functions.
668 * dirent/scandir.c: Use __readdir_r instead of readdir.
669 * posix/glob.c: Likewise.
670 * sysdeps/posix/ttyname.c: Likewise.
671 * sysdeps/posix/ttyname_r.c: Likewise.
672 * io/ftw.c: Likewise.
673 * io/fts.c: Likewise.
674 * sysdeps/posix/getcwd.c: Likewise.
675 * dirent/dirent.h: Add prototype for __readdir_r.
676 * sysdeps/unix/readdir_r: Update copyright.
678 * time/ctime.c: Use __localtime_r and __asctime_r instead of
679 non reentrant versions.
680 * time/ctime_r.c: Update copyright.
682 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
684 * locale/Makefile (localepath): Correct value.
686 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
688 Fix typo in using H_ERRNO_SET macro.
690 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
692 * Makerules (elfobjdir): Definition removed.
693 * Makeconfig (elfobjdir): Define it here instead, so that
694 expanding $(rpath-link) gets the right value.
697 * misc/a.out.h: Moved to...
698 * sysdeps/generic/a.out.h: ...here.
699 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
702 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
704 * grp/initgroups.c: Update and reformat copyright.
705 Use __getgrent_r instead of getgrent.
707 * inet/rcmd.c: Update and reformat copyright.
708 Use __gethostbyname_r instead of gethostbyname.
709 * inet/rexec.c: Likewise.
711 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
712 * locale/findlocale.c: Likewise.
713 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
714 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
715 * locale/setlocale.c (setlocale): Correctly split value of
717 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
718 find output directory.
720 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
721 h_errno_tmp variable.
722 Save error value from being changed during `free' call.
723 * nss/getXXent.c: Likewise.
725 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
726 before returning ERANGE error.
728 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
731 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
733 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
734 * sunrpc/clnt_simp.c: Likewise.
735 * sunrpc/getrpcport.c: Likewise.
736 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
738 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
739 since the value might be outside the range of the `long int'.
740 Print string `undefined' when a value is undefined.
742 * stdlib/l64a.c: Return correct pointer.
743 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
745 * string/Makefile (routines): Add argz-addsep.
746 * string/argz-addsep.c: New file.
747 * string/argz.h: Add prototypes for argz_add_sep.
749 * string/argz-ctsep.c: Prevent memory leak.
751 * string/strcoll.c: Correct typo in comment.
753 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
755 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
756 not general enough to be part of the libc.
757 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
758 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
760 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
762 * login/Makefile: Fix typo.
764 * nss/Makefile (generated): Filter out db-alias.c.
766 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
768 * time/Makefile (echo-zonenames): Don't depend on non-existing
771 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
774 * nss/nsswitch.c: Use it.
776 * printf.h: Fix file name.
777 * stdlib/strfmon.c: Use it.
779 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
781 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
782 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
783 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
784 Add netinet/in_systm.h.
785 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
787 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
789 * libio/fileops.c: Update from latest libg++.
791 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
793 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
794 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
795 instead of __libc_lock_init for streams.
796 Reported by a sun <asun@zoology.washington.edu>.
798 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
800 * sysdeps/generic/errno-loc.c: New file. Generic definition of
801 __errno_location function.
802 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
804 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
805 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
808 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
809 and crypt add-on and warn if not available.
811 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
813 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
815 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
816 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
818 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
820 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
821 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
822 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
823 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
825 Patch by Richard Henderson <rth@tamu.edu>.
827 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
828 pciconfig_read and pciconfig_write.
829 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
830 pciconfig_read and pciconfig_write.
832 * login/getutent_r.c: Fix several bugs in last change.
834 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
836 * Makefile: Fix typo.
838 * configure: Require autoconf-2.11.
840 * elf/dl-deps.c: Terminate duplicate list.
842 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
843 * libio/strfile.h: Update from current libg++.
844 * libio/strops.c: Likewise.
846 * login/Makefile (routines): Update after correction of reentrant
848 * login/endutent.c: Removed.
849 * login/endutent_r.c: Likewise.
850 * login/pututline.c: Likewise.
851 * login/pututline_r.c: Likewise.
852 * login/setutent.c: Likewise.
853 * login/setutent_r.c: Likewise.
854 * login/getutent.c: Update for new interface.
855 * login/getutent_r.c: Likewise.
856 * login/getutid.c: Likewise.
857 * login/getutid_r.c: Likewise.
858 * login/getutline.c: Likewise.
859 * login/getutline_r.c: Likewise.
860 * login/login.c: Likewise.
861 * login/logout.c: Likewise.
862 * login/logwtmp.c: Likewise.
863 * login/utmp.h: Likewise.
864 * sysdeps/unix/getlogin.c: Likewise.
865 * sysdeps/unix/getlogin_r.c: Likewise.
866 * login/utmp-private.h: New private header.
867 * login/utmp_db.c: Stub DB backend for utmp handler.
868 * login/utmp_file.c: File backend for utmp handler.
869 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
870 (enum utlogin): List of record types.
871 (struct exit_status): Record to align with other implementations.
873 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
874 * sysdeps/unix/sysv/linux/paths.h: Likewise.
876 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
878 * sysdeps/stub/getlogin.c: Update copyright.
879 * sysdeps/stub/getlogin_r.c: Likewise.
881 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
882 * nss/getXXent_r.c: Likewise.
883 * nss/nsswitch.c: Likewise.
885 * posix/Makefile (headers): Add wait.h.
886 * posix/wait.h: New file.
888 * posix/sys/types.h: Always define intN_t types.
890 * stdio-common/Makefile: Update copyright.
891 Use -Wno-format flag for scanf4.c and scanf7.c.
893 * stdlib/stdlib.h: Reformat.
895 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
897 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
898 move the current contents to the end and relocate file name
899 pointer to upper half of the buffer.
901 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
903 * time/africa: Update from ADO tzdata1996m.
904 * time/antarctica: Likewise.
905 * time/asia: Likewise.
906 * time/australia: Likewise.
907 * time/etcetera: Likewise.
908 * time/europe: Likewise.
909 * time/nothamerica: Likewise.
910 * time/southameria: Likewise.
911 * time/zone.tab: Likewise.
913 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
914 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
916 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
918 * posix/wait.h: New file.
919 * posix/Makefile (headers): Add wait.h.
921 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
923 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
924 expression instead of shell pattern matching.
925 * shlib-versions: Change to regular expressions.
927 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
929 * io/stat.c: Add section from libgcc to copyright comment
930 to allow this file to be statically linked in applications.
931 * io/fstat.c: Likewise.
932 * io/lstat.c: Likewise.
933 * io/mknod.c: Likewise.
935 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
937 * csu/initfini.c: Add section from libgcc to copyright comment
938 to allow this file to be statically linked in applications.
940 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
942 (obstack_grow, obstack_grow0): Correct placement of braces.
944 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
945 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
947 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
949 * Makerules (make-link): Simplify by changing directory only if
950 not using rellns-sh; check whether we really have symbolic links.
952 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
953 $(dirname $1); use status of ln for exit code; make more robust
954 against multiple slashes in a row.
956 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
958 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
960 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
961 the three-part name, to distinguish correctly from *-*-linux-gnu*.
963 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
966 * sysdeps/mach/hurd/Makefile (install-others): Add
968 ($(libdir)/libc_p.a): New rule.
969 * sysdeps/mach/hurd/libc_p-ldscript: New file.
970 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
972 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
974 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
975 * time/Makefile: Likewise.
977 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
978 * sysdeps/alpha/elf/Dist: New file.
979 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
980 The bits currently distributed with GCC fail in two ways -- they don't
981 understand multiple .got subsections and the extents of the lists are
982 dynamicly bound meaning that the application's lists get executed
983 multiple times and the library's lists never get executed.
985 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
987 * stdlib/strtod.c: Fix previous change.
989 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
991 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
994 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
996 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
999 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
1001 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
1002 alias of __sigsuspend.
1004 * grp/grp.h: Correct comment about POSIX compliance.
1005 * pwd/pwd.h: Likewise.
1007 * login/utmp.h: Update copyright and pretty-print prototypes.
1008 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
1009 _PATH_WTMP from utmpbits.h.
1010 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1011 * sysdeps/generic/utmpbits.h: Remove here.
1012 * sysdeps/gnu/utmpbits.h: Likewise.
1014 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
1015 Pretty-print prototypes.
1017 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
1020 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
1022 * inet/ether_hton.c: Include <string.h>.
1023 * inet/ether_ntoh.c: Likewise.
1024 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
1025 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
1027 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
1028 to define. Jim Nance reports problems building XEmacs otherwise.
1030 * resolv/gethnamaddr.c: Protect h_errno redefinition.
1031 * resolv/getnetnamadr.c: Likewise.
1032 * resolv/herror.c: Likewise.
1034 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
1035 with -traditional. Reported by Eric Youngdale. While we're at this,
1036 don't do error checking in the __ functions. This is consistent
1037 with the sysv4 definitions and seems Right.
1038 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
1039 prototype for __sigsuspend.
1040 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
1041 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
1042 * sysdeps/posix/sigpause.c: Likewise.
1043 * sysdeps/posix/sigsetmask.c: Likewise.
1044 * sysdeps/posix/sigvec.c: Likewise.
1045 * sysdeps/posix/sigintr.c: Reformat copyright.
1046 * sysdeps/posix/signal.c: Check signal number out of range since
1047 __sigismember doesn't anymore. Reformat copyright.
1048 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
1049 sigdelset, sigaction, and sigsuspend.
1051 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
1052 to the wider type before shifting.
1054 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
1055 without .set noat" in profiling hook.
1056 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1057 * sysdeps/alpha/htonl.S: Likewise.
1058 * sysdeps/alpha/htons.S: Likewise.
1059 * sysdeps/alpha/s_copysign.S: Likewise.
1060 * sysdeps/alpha/setjmp.S: Likewise.
1061 * sysdeps/alpha/stpcpy.S: Likewise.
1062 * sysdeps/alpha/strcat.S: Likewise.
1063 * sysdeps/alpha/strcpy.S: Likewise.
1064 * sysdeps/alpha/strncat.S: Likewise.
1065 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
1066 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1067 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1068 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1069 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1070 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
1071 function to __sigsuspend and add weak alias.
1072 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
1074 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
1076 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
1077 SYSCALL__ actually generated.
1079 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
1080 #define __set_errno, as several imported subsystems (eg. BIND) check
1081 that the symbol is defined.
1083 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
1085 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
1086 that manifests in GCC.
1088 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1090 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
1091 * sysdeps/posix/readv.c (readv): Likewise.
1093 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
1095 * nss/nss_dns/dns-network.c: Change return type of all functions
1097 Reported by NIIBE Yutaka.
1098 * nss/nss_dns/dns-host.c: Update copyright.
1100 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1102 * config.make.in: Remove definition of top_absdir.
1103 * configure.in: Likewise. Use $(..) instead.
1104 * Makerules (make-link): Use $(..) to find rellns-sh script.
1106 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1108 * manual/nss.texi (Name Service Switch): Fix reference to
1111 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1116 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
1118 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
1119 variable from __stat to __status to prevent shadowing.
1120 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
1121 for parameter __wait.
1122 Reported by NIIBE Yutaka.
1124 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
1126 * misc/regexp.c: New file. Implementation of obsolete interface
1127 to regular expression matcher (required in XPG4.2).
1128 * misc/regexp.h: New file. Header for above.
1129 * misc/Makefile (headers): Add regexp.h.
1130 (routines): Add regexp.c.
1133 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1135 * stdlib/tst-strtod.c (main): Add arguments for main.
1136 * stdlib/tst-strtol.c (main): Likewise.
1138 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
1140 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
1142 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
1143 and sysconfdir to /etc if $prefix is /usr.
1144 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
1146 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
1147 $(have-bash2) is yes.
1148 * elf/ldd.bash.in: Add copyright and various cleanups.
1149 * elf/ldd.sh.in: Likewise.
1151 Implement RTLD_NEXT.
1152 * elf/dlfcn.h: Define RTLD_NEXT.
1153 * elf/dl-deps.c: Build second searchlist which contains duplicates.
1154 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
1155 for RTLD_NEXT lookup.
1156 Rewrite _dl_lookup_symbol to put common parts for both lookup
1157 functions in a separate function.
1158 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
1159 * elf/link.h (struct link_map): Add l_dupsearchlist and
1161 Add prototype for _dl_lookup_symbol_skip.
1163 * sunrpc/Makefile (rpcsvc): Add rusers.
1164 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
1165 * sunrpc/rpcsvc/rusers.x: New file.
1167 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
1169 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
1170 __libc_lock_init for local lock.
1171 Reported by a sun <asun@zoology.washington.edu>.
1172 [!USE_IN_LIBIO] (PAD): Optimize a bit.
1174 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
1176 * db/makedb.c: Update and reformat copyright.
1177 * elf/Makefile: Likewise.
1178 * elf/dl-close.c: Likewise.
1179 * elf/dl-debug.c: Likewise.
1180 * elf/dl-deps.c: Likewise.
1181 * elf/dl-error.c: Likewise.
1182 * elf/dl-fini.c: Likewise.
1183 * elf/dl-init.c: Likewise.
1184 * elf/dl-load.c: Likewise.
1185 * elf/dl-lookup.c: Likewise.
1186 * elf/dl-minimal.c: Likewise.
1187 * elf/dl-object.c: Likewise.
1188 * elf/dl-open.c: Likewise.
1189 * elf/dl-reloc.c: Likewise.
1190 * elf/dl-runtime.c: Likewise.
1191 * elf/dl-support.c: Likewise.
1192 * elf/dl-symbol.c: Likewise.
1193 * elf/dladdr.c: Likewise.
1194 * elf/dlclose.c: Likewise.
1195 * elf/dlerror.c: Likewise.
1196 * elf/dlopen.c: Likewise.
1197 * elf/dlsym.c: Likewise.
1198 * elf/do-rel.h: Likewise.
1199 * elf/dynamic-link.h: Likewise.
1200 * elf/eval.c: Likewise.
1201 * elf/rtld.c: Likewise.
1202 * inet/ether_hton.c: Likewise.
1203 * inet/ether_ntoh.c: Likewise.
1204 * inet/ether_line.c: Likewise.
1205 * inet/getnetgrent_r.c: Likewise.
1207 * inet/Makefile (+gccwarn): Remove definition.
1208 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
1210 * inet/aliases.h: Add C++ protection.
1211 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
1212 (ether_hostton): Remove unused variable result.
1213 * inet/ether_ntoh.c: Likewise.
1214 * inet/ether_line.c: Include <ctype.h> and <string.h>.
1215 * inet/getnetgrent_r.c: Include <stdlib.h>.
1216 Use casts to prevent warnings.
1217 (innetgr): Initialize `known' and `needed'.
1218 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
1219 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
1220 return NULL. Instead set *RESULT to NULL and return -1.
1221 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
1222 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
1224 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
1227 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
1229 * sysdeps/posix/readv.c: Don't use PTR anymore.
1230 * sysdeps/posix/writev.c: Likewise.
1232 * version.h (VERSION): Bump to 1.98.
1234 * nss/db-Makefile: Generate lines for getXXXent iteration.
1236 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
1237 divqu.S, remlu.S, and remqu.S.
1239 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1241 * posix/unistd.h: Correct typo in documentation.
1243 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
1245 * inet/netinet/tcp.h: Use __ protected versions instead of
1246 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
1248 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
1250 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
1251 references in libc.so are not anymore undefined.
1253 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1255 * io/utime.h: Rename second parameter for utime to prevent warning
1257 * dirent/dirent.h: Same here for scandir prototype.
1258 * math/mathcalls.h: Likewise for frexp and ldexp.
1259 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
1261 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
1263 * stdlib/tst-strtod.c: Add test for error case below.
1265 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
1267 * stdlib/strtod.c: Recognize numbers like 0e-19.
1269 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1271 * time/Makefile ($(installed-localtime-file)): Fix path to
1274 * Makefile: Don't generate and install gnu/lib-names.h if
1275 $(build-shared) is not `yes'.
1277 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
1279 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
1280 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
1282 * Makerules (REAL_MAKE_VERSION): New, use it instead of
1285 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
1287 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
1288 * nss/getXXent_r.c: Fix typo. Set correct return value when
1289 no further service is available.
1291 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
1293 * db/recno/rec_put.c: Add cast to avoid warning.
1294 * db/recno/rec_close.c: Likewise.
1295 * db/mpool/mpool.c: Likewise.
1296 * db/hash/hash_bigkey.h: Likewise.
1297 * db/hash/hash.c: Likewise.
1298 * db/btree/bt_split.c: Likewise.
1299 * db/btree/bt_put.c: Likewise.
1301 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
1303 * dirent/dirent.h: Update copyright.
1304 * elf/elf.h: Likewise.
1305 * elf/link.h: Likewise.
1306 * gmon/sys/gmon_out.h: Likewise.
1307 * gnu-versions.h: Likewise.
1308 * intl/libintl.h: Likewise.
1309 * io/fcntl.h: Likewise.
1310 * io/ftw.h: Likewise.
1311 * io/sys/statfs.h: Likewise.
1312 * io/utime.h: Likewise.
1313 * locale/langinfo.h: Likewise.
1314 * malloc/malloc.h: Likewise.
1315 * malloc/obstack.h: Likewise.
1316 * misc/ar.h: Likewise.
1317 * misc/error.h: Likewise.
1318 * misc/mntent.h: Likewise.
1319 * misc/sgtty.h: Likewise.
1320 * misc/sys/cdefs.h: Likewise.
1321 * misc/sys/dir.h: Likewise.
1322 * misc/sys/file.h: Likewise.
1323 * misc/sys/ioctl.h: Likewise.
1324 * misc/sys/ustat.h: Likewise.
1325 * posix/fnmatch.h: Likewise.
1326 * posix/getopt.h: Likewise.
1327 * posix/glob.h: Likewise.
1328 * posix/posix2_lim.h: Likewise.
1329 * posix/regex.h: Likewise.
1330 * posix/sys/times.h: Likewise.
1331 * posix/sys/types.h: Likewise.
1332 * posix/sys/utsname.h: Likewise.
1333 * posix/tar.h: Likewise.
1334 * posix/wordexp.h: Likewise.
1335 * resource/sys/resource.h: Likewise.
1336 * resource/sys/vlimit.h: Likewise.
1337 * resource/sys/vtimes.h: Likewise.
1338 * socket/sys/socket.h: Likewise.
1339 * socket/sys/un.h: Likewise.
1340 * stdio-common/printf.h: Likewise.
1341 * stdlib/alloca.h: Likewise.
1342 * string/argz.h: Likewise.
1343 * string/endian.h: Likewise.
1344 * string/envz.h: Likewise.
1345 * string/memory.h: Likewise.
1346 * string/strings.h: Likewise.
1347 * sysdeps/generic/crypt.h: Likewise.
1348 * sysdeps/generic/direntry.h: Likewise.
1349 * sysdeps/generic/gnu/types.h: Likewise.
1350 * sysdeps/generic/ioctl-types.h: Likewise.
1351 * sysdeps/generic/netinet/in.h: Likewise.
1352 * sysdeps/generic/resourcebits.h: Likewise.
1353 * sysdeps/generic/sigset.h: Likewise.
1354 * sysdeps/generic/sockaddrcom.h: Likewise.
1355 * sysdeps/generic/sys/mman.h: Likewise.
1356 * sysdeps/generic/sys/ptrace.h: Likewise.
1357 * sysdeps/generic/termbits.h: Likewise.
1358 * sysdeps/generic/waitstatus.h: Likewise.
1359 * sysdeps/ieee754/huge_val.h: Likewise.
1360 * sysdeps/ieee754/nan.h: Likewise.
1361 * sysdeps/mach/hurd/local_lim.h: Likewise.
1362 * sysdeps/mach/hurd/statbuf.h: Likewise.
1363 * sysdeps/stub/huge_val.h: Likewise.
1364 * sysdeps/stub/libc-lock.h: Likewise.
1365 * sysdeps/stub/signum.h: Likewise.
1366 * sysdeps/stub/statbuf.h: Likewise.
1367 * sysdeps/stub/waitflags.h: Likewise.
1368 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
1369 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
1370 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1371 * sysdeps/unix/bsd/signum.h: Likewise.
1372 * sysdeps/unix/bsd/statbuf.h: Likewise.
1373 * sysdeps/unix/bsd/sun/signum.h: Likewise.
1374 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
1375 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1376 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
1377 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1378 * sysdeps/unix/bsd/waitflags.h: Likewise.
1379 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
1380 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
1381 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1382 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1383 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
1384 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
1385 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1386 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
1387 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
1388 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1389 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
1390 * sysdeps/unix/sysv/linux/signum.h: Likewise.
1391 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
1392 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
1393 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1394 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1395 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1396 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
1397 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
1398 * sysdeps/unix/sysv/local_lim.h: Likewise.
1399 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
1400 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
1401 * sysdeps/unix/sysv/signum.h: Likewise.
1402 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
1403 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
1404 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
1405 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
1406 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
1407 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
1408 * sysdeps/vax/huge_val.h: Likewise.
1409 * values.h: Likewise.
1411 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
1413 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
1414 `memcpy' using bcopy if memcpy is not available.
1416 * manual/stdio.texi: Correct description of printf customization.
1417 The argument info function is not optional anymore and the
1418 interface for `printf_function' also changed.
1419 * manual/examples/rprintf.c: Define and use argument info function.
1421 * stdio-common/printf.h (struct printf_info): Change type for field
1423 Correct comment for `register_printf_function'.
1425 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
1426 to reentrant function. Instead use temporary variable and set
1427 h_errno if an error occured.
1428 Reported by NIIBE Yutaka.
1430 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1432 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
1433 S_ITRANS): New macros.
1434 (S_ISPARE): Update to include new macros and S_IUSEUNK.
1436 * sysdeps/mach/hurd/select.c (__select): Construct arg to
1437 mach_msg_destroy more nicely.
1439 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
1441 * stdio/fopen.c (__getmode): Declare with prototype.
1442 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
1443 * stdio/internals.c (__stdio_check_funcs, init_stream,
1444 seek_to_target, flushbuf, fillbuf): Likewise.
1446 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
1447 funlockfile, not _IO_funlockfile.
1449 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
1451 * sysdeps/posix/writev.c (writev): Likewise.
1453 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
1455 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1457 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
1458 prototyped definition.
1460 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
1461 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
1463 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
1465 * inet/Makefile (headers): Add aliases.h.
1466 (routines): Add getaliasent_r, getaliasent, getaliasname, and
1468 * aliases.h: New file.
1469 * inet/aliases.h: New file.
1470 * inet/getaliasent.c: New file.
1471 * inet/getaliasent_r.c: New file.
1472 * inet/getaliasname.c: New file.
1473 * inet/getaliasname_r.c: New file.
1474 * nss/Makefile (databases): Add alias.
1475 * nss/alias-lookup.c: New file.
1476 * nss/databases.def: Add aliases and publickey.
1477 * nss/nss_db/db-alias.c: New file.
1478 * nss/nss_files/files-alias.c: New file.
1480 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
1481 argument to lookup function is of type size_t.
1482 (innetgr): Likewise.
1483 * nss/getXXbyYY_r.c: Likewise.
1484 * nss/getXXent_r.c: Likewise.
1485 * nss/nss_db/db-XXX.c: Likewise.
1487 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
1488 failed because buffer was too small.
1489 * nss/getXXent.c: Likewise.
1491 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
1492 getXXent_r function now uses f[gs]etpos to get to the correct
1495 * nss/nss_files/files-parse.c: Indent lines for better readability.
1497 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
1498 and new function print_and_abort. Remove all references to
1500 Add new function _obstack_memory_used.
1501 * malloc/obstack.h (struct obstack): Remove field alloc_field.
1502 Remove all references to alloc_failed field.
1503 Add prototype for _obstack_memory_used.
1505 * posix/unistd.h: Correct typo.
1507 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
1509 * configure.in: Require at least autoconf-2.10.2.
1511 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1513 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
1516 * mach/msg-destroy.c (mach_msg_destroy_port,
1517 mach_msg_destroy_memory): Use prototype syntax.
1518 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
1519 malloc_fork_parent, malloc_fork_child): Likewise.
1521 * stdio/stdio.h: Repair broken cpp syntax.
1523 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
1524 we pass O_NOLINK on the open.
1526 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
1527 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
1528 an XOPEN error code, move to before the "Linux only" section, and
1529 give it a new number for the Hurd.
1531 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
1533 * malloc/obstack.h: Add new macro `obstack_make_room'.
1534 * malloc/obstack.c: Add function implementation for
1535 `obstack_make_room'.
1537 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
1539 Update to BIND-4.9.5-REL.
1540 * resolv/Banner: Set to 4.9.5-REL.
1541 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
1542 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
1545 * config.make.in: Add definition for top_absdir.
1546 * Makerules (make-link): Fix path to rellns-sh script.
1548 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1550 * posix/unistd.h: Fix comment.
1552 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
1553 when talking about numbers.
1554 * manual/users.texi: Likewise.
1555 * manual/creature.texi: Likewise. Use @defvarx for a secondary
1558 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1560 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
1561 the real posix1_lim.h file so that it works in all subdirs, not
1564 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1566 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
1568 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1570 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
1571 on $(before-compile) which hasn't been properly setup yet at this
1574 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1576 * sysdeps/generic/sigset.h: Don't use implicit int which will
1577 probably require a diagnostic in the next revision of the C
1579 * sysdeps/stub/lockfile.c: Likewise.
1581 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1583 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
1584 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1586 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
1588 * time/strftime.c: Update copyright. Small cosmetic changes.
1590 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
1592 * inet/getprtname_r.c: Reformat copyright.
1594 * nss/Makefile (databases): Add key.
1595 (libnss_files-routines): Exclude key database.
1596 (libnss_db-routines): Likewise.
1597 * nss/key-lookup.c: New file.
1599 * nss/getXXent_r.c (last_nip): Remember last service used since
1601 (SETFUNC): Don't force to work through whole list of services in
1603 Update last_nip if necessary.
1604 (ENDFUNC): Only process endXXent function up to currently used
1606 (GETFUNC): Update last_nip if necessary.
1608 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1611 * rpc/auth_des.h: New file.
1612 * sunrpc/Makefile (headers): Add auth_des.h.
1613 (routines): Add publickey.
1614 * sunrpc/publickey.c: New file. Interface to public key handling.
1615 * sunrpc/rpc/auth_des.h: New file.
1616 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
1618 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
1620 * inet/gethstent_r.c: Update copyright.
1621 * nss/getXXbyYY_r.c: Likewise.
1622 * nss/nsswitch.c: Likewise.
1623 * nss/getXXent_r.c: Likewise.
1624 * nss/nss_files/files-XXX.c: Likewise.
1625 * nss/nss_files/files-netgroup.c: Likewise.
1626 * nss/nss_files/files-parse.c: Likewise.
1628 * nss/getXXent_r.c: Change implementation. It's not necessary to
1629 call all setXXent functions. Just find first available and
1630 when necessary let getXXent_r call the others.
1632 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
1633 of getXXent and getXXbyYY can be mixed. The cursor for traversing
1634 the database with getXXent will be remembered.
1636 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
1638 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
1640 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
1641 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
1643 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
1645 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
1647 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
1648 set. Instead for none beside the first seven bits to be set.
1649 X/Open allows the argument to be an `int' value.
1650 Reported by Alain Williams <addw@phcomp.co.uk>.
1651 (toascii, isascii): Define macro also when __USE_XOPEN.
1653 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
1656 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
1658 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
1659 NULL so that GETFUNC will see first entry.
1660 (ENDFUNC_NAME): Likewise.
1662 Rewrite Netgroups implementation to avoid global data.
1663 * inet/netgroup.h: Add definition of name_list and struct
1665 Add prototypes for internal netgroup functions.
1666 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
1667 extra argument and use the included data instead of global vars.
1668 (_nss_files_endnetgrent): Likewise.
1669 (_nss_netgroup_parseline): Change to be static and use data
1670 included in the RESULT structure.
1671 * inet/getnetgrent_r.c (startp): Move into setup function.
1672 (known_groups, needed_groups): new part of the __netgrent sruct.
1673 (freememory): Take extra argument and use included data.
1674 (__internal_endnetgrent): Likewise.
1675 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
1676 and take extra argument.
1677 (__internal_setnetgrent): New function. Call
1678 __internal_setnetgrent_reuse after calling free_memory.
1679 (setnetgrent): Only call __internal_setnetgrent.
1680 (__getnetgrent_r): Split into two functions. __getnetgrent_r
1681 calls __internal_getnetgrent after locking.
1682 (innetgr): Use dynamic data only. I.e., innetgr now is fully
1685 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
1687 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
1688 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
1690 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
1692 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
1693 default when no *_SOURCE macro is given.
1694 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
1695 * NOTES: remade from manual/creature.texi.
1696 * manual/libc.texinfo: Add back line about GPL translation which
1699 * Make-dist (dist.tar): Depend on README being updated.
1701 * rellns-sh: Correct thinko in removing leading /.
1702 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1704 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
1705 with `+' or `-' in parser.
1706 * grp/fgetgrent_r.c: Likewise.
1707 * shadow/sgetspent_r.c: Likewise.
1708 * nss/nss_files/files-spwd.c: Don't accept entries starting with
1711 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
1713 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
1714 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
1716 * string/argz.h: Don't protect by __USE_GNU.
1718 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
1720 * Lots of files: Update and reformat copyright.
1722 * Makefile (headers): Add xopen_lim.h.
1724 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
1726 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
1727 if __USE_XOPEN_EXTENDED is defined.
1728 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
1729 if __USE_XOPEN_EXTENDED is defined.
1731 * io/Makefile (routines): Add lchown.
1732 * sysdeps/stub/lchown.c: New file.
1734 * io/sys/poll.h: Add definition of POLLWRNORM.
1736 * io/sys/stat.h: Declare lstat, fchmod, mknod when
1737 __USE_XOPEN_EXTENDED is defined.
1739 * libio/Makefile (routines): Add obprintf.
1740 * libio/obprintf.c: New file.
1741 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
1743 * libio/libio.h: Fix typo.
1744 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
1745 Add prototypes for obstack_vprintf and obstack_printf.
1747 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
1748 * manual/intro.texi: Add reference to NSS chapter.
1749 * manual/libc.texinfo: Update UPDATED.
1750 Comment out `@printindex cp'. It works again.
1751 * manual/memory.texi: Add description for obstack_ptr_grow,
1752 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
1753 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
1754 index entries to @vindex.
1755 * manual/users.texi: Correct @cindex entry for Netgroup.
1757 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
1758 make declarations visible for X/Open sources.
1760 * misc/search.h: Declare insque/remque only is __USE_SVID or
1761 __USE_XOPEN_EXTENDED is defined.
1763 * misc/sys/uio.h (readv, writev): Change return value from int to
1766 * posix/Makefile (headers): Add re_comp.h.
1767 * posix/re_comp.h: New file. XPG interface to regex functions.
1769 * posix/getconf.c: Add all names from XPG4.2.
1770 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
1771 and _POSIX_OPEN_MAX to minimums from XPG4.2.
1772 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
1773 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
1774 * sysdeps/stub/sysconf.c: Likewise.
1776 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
1777 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
1778 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
1779 ftruncate, getdtablesize, brk, sbrk, lockf when
1780 __USE_XOPEN_EXTENDED is defined.
1782 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
1784 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
1785 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
1786 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1788 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
1789 __USE_XOPEN_EXTENDED is defined.
1791 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
1793 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
1795 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
1798 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
1799 and rindex available when __USE_XOPEN_EXTENDED is defined.
1801 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
1802 * sysdeps/posix/getpagesize.c: Likewise.
1803 * sysdeps/stub/getpagesize.c: Likewise.
1804 * sysdeps/unix/getpagesize.c: Likewise.
1806 * time/africa: Update from tzdata1996l.
1807 * time/asia: Likewise.
1808 * time/australia: Likewise.
1809 * time/europe: Likewise.
1810 * time/northamerica: Likewise.
1811 * time/pacificnew: Likewise.
1812 * time/southamerica: Likewise.
1813 * time/tzfile.h: Update from tzcode1996m.
1815 * time/time.h: Declare strptime if __USE_XOPEN.
1816 Declare daylight and timezone also if __USE_XOPEN.
1818 * time/sys/time.h: Remove declaration of ualarm.
1820 * wctype/wctype.h: Just reference ISO C standard.
1822 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
1824 * crypt/Makefile: Add crypt routines to libc as well iff
1825 $(crypt-in-libc) is set. Do this for temporary binary compatibility
1826 on existing Linux/Alpha installations.
1828 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
1829 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
1830 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
1831 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
1833 * sysdeps/alpha/div.S: New file.
1834 * sysdeps/alpha/ldiv.S: New file.
1835 * sysdeps/alpha/lldiv.S: New file.
1836 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
1837 Take pointers from Linus and tighten the inner loops a bit.
1838 * sysdeps/alpha/divl.S: Change defines for merged routines.
1839 * sysdeps/alpha/divq.S: Likewise.
1840 * sysdeps/alpha/reml.S: Likewise.
1841 * sysdeps/alpha/remq.S: Likewise.
1842 * sysdeps/alpha/divlu.S: Remove file.
1843 * sysdeps/alpha/divqu.S: Likewise.
1844 * sysdeps/alpha/remlu.S: Likewise.
1845 * sysdeps/alpha/remqu.S: Likewise.
1847 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
1848 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1849 * sysdeps/alpha/bzero.S: Likewise.
1850 * sysdeps/alpha/ffs.S: Likewise.
1851 * sysdeps/alpha/htonl.S: Likewise.
1852 * sysdeps/alpha/htons.S: Likewise.
1853 * sysdeps/alpha/memchr.S: Likewise.
1854 * sysdeps/alpha/memset.S: Likewise.
1855 * sysdeps/alpha/s_copysign.S: Likewise.
1856 * sysdeps/alpha/s_fabs.S: Likewise.
1857 * sysdeps/alpha/setjmp.S: Likewise.
1858 * sysdeps/alpha/stpcpy.S: Likewise.
1859 * sysdeps/alpha/stpncpy.S: Likewise.
1860 * sysdeps/alpha/strcat.S: Likewise.
1861 * sysdeps/alpha/strchr.S: Likewise.
1862 * sysdeps/alpha/strcpy.S: Likewise.
1863 * sysdeps/alpha/strlen.S: Likewise.
1864 * sysdeps/alpha/strncat.S: Likewise.
1865 * sysdeps/alpha/strncpy.S: Likewise.
1866 * sysdeps/alpha/strrchr.S: Likewise.
1867 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
1868 Convert two small jumps to use conditional moves.
1869 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
1870 (PSEUDO): If PROF, call _mcount.
1871 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
1872 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1873 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1874 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1875 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1876 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1877 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1879 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
1880 eventually contain memmove as well.
1881 * sysdeps/alpha/strcmp.S: New file.
1882 * sysdeps/alpha/strncmp.S: New file.
1883 * sysdeps/alpha/w_sqrt.S: New file.
1885 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
1887 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
1889 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
1891 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
1892 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
1893 Reported by Thomas Bushnell, n/BSG.
1895 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
1897 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
1899 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
1901 * malloc/calloc.c: Check for overflow before trying to allocate
1902 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
1904 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1906 * manual/llio.texi (Operating Modes): Add missing arguments to
1907 @deftypevr in O_NONBLOCK description.
1909 * manual/time.texi (Time Zone Functions): Enclose type name in
1910 braces in description of tzname. FIXME: this does not yet work
1913 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
1915 * features.h: Add X/Open macros.
1916 * posix/unistd.h: Define X/Open macros.
1917 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
1918 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
1919 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
1920 * sysdeps/posix/sysconf.c: Handle new constants.
1921 * sysdeps/stub/sysconf.c: Likewise.
1922 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
1924 * catgets/catgets.c (catopen): Set errno to ENOMEM when
1925 we run out of memory.
1926 (catgets): Set errno to EBADF when catalog handle is invalid.
1927 Set errno to ENOMSG when translation is not available.
1928 (catclose): Set errno to EBADF when catalog handle is invalid.
1930 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
1931 Likewise for _toupper and _tolower.
1933 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
1934 strtof, and strtold.
1935 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
1936 * manual/stdio.h: Document ' flag for numeric formats of scanf.
1937 * manual/users.texi: Document that cuserid shouldn't be used.
1939 * misc/Makefile (routines): Add dirname.
1940 (headers): Add libgen.h.
1941 (tests): Add tst-dirname.
1942 * misc/dirname.c: New file.
1943 * misc/libgen.h: New file.
1944 * misc/tst-dirname.c: New file.
1946 * misc/search.h: Parameter of hcreate must be of type size_t.
1947 * misc/hsearch.c: Likewise.
1948 * misc/hsearch_r.c: Likewise for hcreate_r.
1949 * misc/search.h: Parameters of insque and remque must be `void *'.
1950 * misc/insremque.c: Likewise.
1952 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
1953 * stdlib/stdlib.h: ...here.
1954 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
1957 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
1959 (parse_one_spec): Remove Linux compatibility code.
1960 Recognize %C and %S formats.
1961 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
1962 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
1963 * stdio-common/vfscanf.c: Likewise for scanf.
1965 * stdlib/l64a.c: Return value for 0 must be the empty string.
1966 * stdlib/stdlib.h: Declare reentrant function from rand49 family
1967 only if __USE_REENTRANT.
1968 Declare rand48 functions also if __USE_XOPEN.
1970 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
1972 Return 0 and set errno to EINVAL when strou* sees negativ number.
1973 * stdlib/tst-strtol.c: De-ANSI-fy.
1974 Change expected results for test of unsigned function and negative
1977 * string/stratcliff.c: Prevent warnings.
1978 * string.h: Move declaration of swab to <unistd.h>.
1979 * string/swab.c: De-ANSI-fy.
1981 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
1982 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
1983 * sysdeps/posix/mktemp.c: Likewise.
1984 * sysdeps/stub/mkstemp.c: Likewise.
1985 * sysdeps/stub/mktemp.c: Likewise.
1987 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
1989 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
1992 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
1994 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
1997 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
1999 * sysdeps/posix/cuserid.c: Use reentrant functions.
2000 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
2003 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
2005 Linus said he will make sure no system call will return a value
2006 in -1 ... -4095 as a valid result.
2007 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
2008 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2009 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2010 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2012 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2014 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
2015 __funlockfile, not a circular alias.
2016 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
2019 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
2021 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
2023 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2025 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2027 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2029 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
2032 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
2033 __internal_funlockfile (in terms of itself) should actually be a
2034 definition of __funlockfile.
2036 * pwd/pwd.h: Get `size_t' from <stddef.h>.
2037 * grp/grp.h: Likewise.
2038 * shadow/shadow.h: Likewise.
2040 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
2041 calls to __libc_lock_lock and __libc_lock_unlock.
2042 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
2045 * hurd/hurdsig.c (write_corefile): Fix typo.
2047 * sysdeps/mach/hurd/sigwait.c: New file.
2049 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
2051 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
2052 and __errno_location to correct position.
2054 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
2056 * Makefile (distribute): Add rellns-sh.
2057 * rellns-sh: New file.
2058 * Makerules (make-link): Use rellns-sh.
2059 * time/Makefile ($(installed-localtime-file)): Likewise.
2061 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
2063 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
2064 (distribute): Add ldd.bash.in.
2065 * elf/ldd.sh.in: Process --help and --version parameter.
2067 * elf/ldd.bash.in: New file.
2069 * stdlib/stdlib.h: Add prototype for clearenv.
2070 * sysdeps/generic/setenv.c: Add implementation of clearenv.
2071 (setenv): Handle __environ == NULL correctly.
2072 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
2075 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
2076 * sysdeps/generic/setenv.c: Likewise.
2077 * stdlib/strtol.h: Likewise.
2079 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
2080 Remove definition of struct timeval.
2081 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
2082 using `time_t' for members.
2083 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
2084 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
2085 as old Linux specific version.
2087 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
2089 * signal/Makefile (routines): Add sigwait.
2090 * signal/signal.h: Add prototype for sigwait.
2091 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
2092 function from POSIX.1c.
2093 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
2095 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
2097 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
2098 but don't bother going farther than sizeof(float)==sizeof(int).
2099 (xdr_double): Handle little-endian machines! Handle sizeof(double)
2100 != 2*sizeof(long), though again don't bother with more than int.
2102 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
2104 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
2107 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
2109 * Makerules: Create symbolic links for linking in $(libdir).
2110 (make-link): Use absolute path for destination if this is not in
2113 * elf/rtld.c (dl_main): When verifying don't check the name of
2116 * shlib-versions: Change entries for Hurd specific libs from
2117 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
2120 * assert/assert.h: Reformat copyright.
2121 Change reference to ANSI into reference to ISO C.
2122 * ctype/ctype.h: Likewise.
2123 * errno.h: Likewise.
2124 * limits.h: Likewise.
2125 * math/math.h: Likewise.
2126 * setjmp/setjmp.h: Likewise.
2127 * stdio/stdio.h: Likewise.
2128 * libio/stdio.h: Likewise.
2129 * stdlib/stdlib.h: Likewise.
2130 * string/string.h: Likewise.
2131 * time/time.h: Likewise.
2133 * string/argz.h: Use __const in definitions.
2135 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
2136 * misc/err.h: Likewise.
2138 * wctype/wctype.h (wctrans_t): Use __const instead of const.
2140 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
2141 sonames for versioned libraries.
2142 * Makefile: Remove code to generate libc-version.h.
2143 Generate gnu/lib-names.h with info from soversions.mk.
2144 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
2146 * dirent/tst-seekdir.c: Initialize save3.
2147 * grp/testgrp.c: Initialize my_group.
2149 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
2150 * grp/grp.h: Likewise.
2151 * nss/getXXbyYY.c: Likewise.
2152 * nss/getXXbyYY_r.c: Likewise.
2153 * nss/getXXent.c: Likewise.
2154 * nss/getXXent_r.c: Likewise.
2155 * pwd/fgetpwent_r.c: Likewise.
2156 * pwd/pwd.h: Likewise.
2157 * shadow/fgetspent_r.c: Likewise.
2158 * shadow/sgetspent.c: Likewise.
2159 * shadow/sgetspent_r.c: Likewise.
2160 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
2161 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
2162 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
2163 * resolv/netdb.h: Adapt prototypes for reentrant functions to
2165 * sunrpc/rpc/netdb.h: Likewise,
2166 * shadow/shadow.h: Likewise.
2168 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
2170 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
2172 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
2173 ELF aliasing creates strange situations.
2174 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
2176 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
2177 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2179 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
2182 * locale/programs/charmap.c: Add casts to prevent warnings.
2183 * locale/programs/linereader.h: Likewise.
2184 * locale/programs/ld-collate.c: Likewise.
2185 * locale/programs/stringtrans.c: Likewise.
2186 Change types for various variables to prevent warnings.
2187 * locale/programs/ld-ctype.c: Likewise.
2188 * locale/programs/linereader.h (lr_ungetc): Likewise.
2189 * locale/programs/charset.h (struct charset): Use `unsigned int'
2190 as type for width_default.
2191 * posix/regex.c: Change type of `this_reg' variables.
2192 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
2193 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
2195 * stdio-common/printf_fp.c: Initialize to_shift.
2196 * stdio-common/test_rdwr.c: Add cast.
2197 * stdio-common/vfprintf.c: Add casts and use correct types to
2199 * stdio-common/vfscanf.c: Initialize str and strptr.
2200 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
2201 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2202 * sysdeps/libm-ieee754/e_powf.c: Likewise.
2203 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
2204 * time/test-tz.c: Likewise.
2206 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
2207 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
2208 libc.cp index. This must be fixed.
2209 * manual/nss.texi: Adapt for correct POSIX.1c interface of
2210 reentrant functions.
2211 * manual/users.texi: Document netgroup functions.
2213 * po/es.po: Updated.
2214 * po/fr.po: Updated.
2216 * posix/fnmatch.c: Change to match libit version.
2218 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
2219 * sysdep/posix/ttyname_r.c: Likewise.
2221 * stdlib/atexit.h (__new_exitfn): Add internal locking.
2222 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
2223 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
2224 * stdlib/random.c (__srandom): Add internal locking.
2225 (__initstate): Likewise.
2226 (__setstate): Likewise.
2227 (__random): Likewise.
2229 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2231 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
2233 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
2234 * sysdeps/generic/uname.c: Likewise.
2235 * sysdeps/posix/rename.c: Likewise.
2236 * sysdeps/stub/setrlimit.c: Likewise.
2238 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
2240 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2242 * locale/programs/ld-collate.c (collate_order_elem): Fix format
2244 (collate_element_to): Cast field width argument to `int' for
2246 (collate_symbol): Likewise.
2247 (collate_order_elem): Likewise.
2248 (collate_weight_bsymbol): Likewise.
2249 (collate_simple_weight): Likewise.
2251 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
2253 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
2254 argument for format string.
2255 (ctype_map_newP): Likewise.
2256 (set_class_defaults): Fix format string.
2258 * locale/programs/localedef.c (construct_output_path): Putting an
2259 explicit \0 into the format string does not work, use %c.
2261 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
2263 * Makerules: Install all shared libraries in $(slibdir).
2265 * login/Makefile: Build libutil.so in others pass after
2268 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
2270 * string/stratcliff.c: Allocate 3 pages instead of one, then use
2271 mprotect so that we know that the adjacent pages are inaccessible.
2273 * resource/sys/resource.h: Move all structures and enums to ...
2274 * sysdeps/generic/resourcebits.h: ... here ...
2275 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
2276 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
2277 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
2278 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
2279 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
2280 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
2281 header for RLIMIT_* definitions. The members of struct rlimit
2285 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2287 * MakeTAGS (sysdep-dirs): Fix typo.
2289 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2291 * hurd/hurdsig.c (write_corefile): If we can't create the core
2292 file, still call crash_dump_task with a null FILE arg. Maybe it
2293 won't actually need the file.
2295 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
2297 * Makefile (headers): Don't mention libc-version.h.
2298 (install-others): ...but here.
2300 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
2302 * version.h: Bump version number to 1.97.
2304 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
2305 Include libc-version.h.
2306 * features.h.in: Removed.
2307 * Makefile: Change rules to generate libc-version.h instead of
2310 * malloc/free.c: Add cast to prevent warning.
2311 * malloc/malloc-walk.c: Likewise.
2312 * malloc/ralloc.c: Likewise.
2313 * malloc/realloc.c: Likewise.
2315 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
2317 * pwd/fgetpwent_r.c: Likewise.
2318 * nss/nss_files/files-grp.c: Don't accept entries with names starting
2319 with + or - in lookup functions.
2320 * nss/nss_files/files-pwd.c: Likewise.
2322 * Makerules: Call autolock.sh using $(SHELL).
2324 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2326 * elf/dl-minimal.c: Don't define `dgettext' replacement but
2327 `dcgettext'. When optimizing the macros in <libintl.h> define
2328 `dgettext' as a macro and so this function will never be called.
2330 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
2332 * sysdeps/i386/sysdep.h: Define END to use .size when available.
2333 (PSEUDO_END): Use END.
2334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
2335 define SYSCALL_ERROR_HANDLER before using END.
2336 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
2337 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
2338 and .size directive but PSEUDO_END.
2339 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
2340 * sysdeps/unix/sysv/linux/socket.S: Likewise.
2341 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
2342 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
2343 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
2344 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
2345 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2346 * sysdeps/i386/bsd-setjmp.S: Likewise.
2347 * sysdeps/i386/memchr.S: Likewise.
2348 * sysdeps/i386/memcmp.S: Likewise.
2349 * sysdeps/i386/setjmp.S: Likewise.
2350 * sysdeps/i386/stpcpy.S: Likewise.
2351 * sysdeps/i386/stpncpy.S: Likewise.
2352 * sysdeps/i386/strchr.S: Likewise.
2353 * sysdeps/i386/strcspn.S: Likewise.
2354 * sysdeps/i386/strpbrk.S: Likewise.
2355 * sysdeps/i386/strrchr.S: Likewise.
2356 * sysdeps/i386/strspn.S: Likewise.
2357 * sysdeps/i386/strtok.S: Likewise.
2358 * sysdeps/i386/i486/strcat.S: Likewise.
2359 * sysdeps/i386/i486/strlen.S: Likewise.
2360 * sysdeps/i386/i586/memset.S: Likewise.
2361 * sysdeps/i386/i586/strchr.S: Likewise.
2362 * sysdeps/i386/i586/strlen.S: Likewise.
2364 * sysdeps/i386/strlen.c: De-ANSI-fy.
2366 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
2367 Define dgettext if not defined to use dcgettext.
2368 * sysdeps/mach/_strerror.c: Likewise.
2370 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
2371 __syscall_error defined.
2373 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2375 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
2376 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
2377 now provided by PSEUDO_END.
2378 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2379 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2380 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2381 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2382 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
2384 * sysdeps/generic/sysdep.h (END): Provide default empty
2386 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
2388 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
2389 (PSEUDO_END): Include it here instead.
2390 (SYSCALL_ERROR_HANDLER): Remove type directive.
2391 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
2392 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2393 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2394 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2395 (__syscall_error): Can't use ENTRY macro.
2397 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2399 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
2400 Set caller to EXTRA.
2402 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
2404 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
2405 to beginning of function. So libc functions can use this flag.
2406 * sysdeps/generic/_strerror.c: Don't use dgettext for message
2407 translation while `_dl_starting_up' is nonzero.
2409 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
2411 Pass parameter value to _dl_map_object.
2412 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
2413 If TRACE_MODE is nonzero don#t signal error when shared lib
2414 is not found. Instead create fake entry for link map.
2415 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
2416 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
2417 argument to _dl_map_object_deps.
2418 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
2419 _dl_map_object and _dl_map_object_deps.
2420 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
2421 and _dl_map_object_deps.
2422 When mode == trace test for l_opencount == 0 before printing
2423 link information since this means the lib is not found.
2425 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
2427 * rpm/template: Add INSTALL to %doc line to follow copyright
2428 restrictions which demand the distribution of the copyright
2429 messages in INSTALL even for binary distributions.
2431 * features.h: Rename to...
2432 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
2433 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
2434 and __GNU_LIBRARY_INTERFACE__.
2435 * Makefile ($(objpfx)features.h): New rule to generate features.h
2436 from template features.h.in.
2438 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
2440 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
2442 * locale/programs/linereader.c (lr_open): Cast away const before free.
2443 (lr_close): Likewise.
2445 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
2446 * misc/paths.h: Move to ...
2447 * sysdeps/generic/paths.h: ... here.
2449 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
2450 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
2452 * nss/nss_db/db-netgrp.h: Include <string.h>.
2454 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
2455 _sys_siglist, which result in the "Unknown signal" message.
2456 * string/strsignal.c: Likewise.
2457 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
2458 don't auto-generate siglist.c.
2459 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
2460 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
2461 autogenerate makes bootstrapping and cross-compiling much easier.
2462 * sysdeps/unix/sysv/linux/siglist.h: New file.
2464 * stdlib/longlong.h: Prototype __udiv_qrnnd.
2466 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
2467 sys/io.h. It is already added in .../linux/Makefile.
2469 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
2470 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
2471 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2473 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
2475 Add implementation of POSIX.1g function getaddrinfo.
2476 * posix/Makefile (routines): Add getaddrinfo.
2477 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
2479 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
2480 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
2481 related constants and structures.
2483 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
2485 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
2486 Make all old names weak alises so that they can be replaced
2489 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
2491 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
2492 __flockfile and __funlockfile.
2493 Reported by NIIBE Yutaka.
2495 * crypt/md5.c: Change form of copyright message according to GNITS
2497 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
2498 and `md5_read_ctx' function.
2499 * crypt/md5.h: Likewise.
2501 * grp/testgrp.c: Don't use perror for error cases since getgr* and
2502 getpw* functions do not return usable error codes.
2504 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
2506 * crypt/md5.c (md5_process_bytes): Used casting for pointer
2509 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
2511 * sunrpc/Makefile (others): Remove portmap here, too.
2513 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
2515 * intl/locale.alias: Language for entry `czech' is `cs'.
2517 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2519 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
2521 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
2523 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
2524 buggy and more competent people work on a usable version which is
2525 distributed separately.
2526 * sunrpc/portmap.c: Removed.
2527 Suggested by Thorsten Kukuk.
2529 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
2531 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
2534 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2536 * string/Makefile (tests): Add stratcliff.
2537 * string/stratcliff.c: New file. Test for string function at
2538 the edge of the usable memory.
2540 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
2542 * Makerules ($(libdir)/libc.so): Fix typo.
2544 * elf/ldd.sh.in: Test whether given file really exist and give
2545 better message if it is not available.
2547 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
2549 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
2552 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
2554 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
2555 output to $@T and move to $@ later since the new rpcgen will not
2556 overwrite existing files.
2558 * po/Makefile (libc.pot): Fix typo.
2560 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2562 Update rpcgen program to TI-rpc code.
2563 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
2564 (distribute): Add proto.h.
2565 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
2566 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
2567 * sunrpc/rpc_cout.c: Likewise.
2568 * sunrpc/rpc_hout.c: Likewise.
2569 * sunrpc/rpc_main.c: Likewise.
2570 * sunrpc/rpc_parse.c: Likewise.
2571 * sunrpc/rpc_parse.h: Likewise.
2572 * sunrpc/rpc_scan.c: Likewise.
2573 * sunrpc/rpc_scan.h: Likewise.
2574 * sunrpc/rpc_svcout.c: Likewise.
2575 * sunrpc/rpc_util.c: Likewise.
2576 * sunrpc/rpc_util.h: Likewise.
2578 * sunrpc/rpc_tblout.c: New file.
2579 * sunrpc/rpc_sample.c: Likewise.
2581 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2583 * sysdeps/unix/opendir.c: Add semicolon for consistency.
2585 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2587 * locale/programs/localedef.c (main): Test with -1 to find out
2588 whether read failed.
2590 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
2592 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
2595 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2597 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
2599 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2601 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
2602 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2603 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2604 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2605 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2607 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2608 Correct generation of system call.
2610 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2612 * Makerules (sysd-Makefile): Fix command so that it works in the
2614 (BUILD_CFLAGS): Change back using $(..) instead of
2615 $(common-objpfx), the latter fails in the toplevel directory when
2616 $(objdir) is relative.
2617 (common-objdir-compile): Run compiler in $(objdir).
2618 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
2620 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
2622 * string/string.h [__USE_SVID]: Add prototype for swab.
2623 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
2624 Reported by Andreas Jaeger.
2626 The available nlist implementation is not generally usable.
2627 Especially on the currently supported ELF systems the nlist
2628 function comes with the libelf.
2629 * misc/Makefile (headers): Remove nlist.h.
2630 (routines): Remove nlist.
2632 * Makefile ($(objpfx)version-info.h): Include information about
2633 system the libc is built on in version-info.h file.
2635 * po/Makefile (distribute): Add header.pot.
2637 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2639 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
2640 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2641 * misc/error.c: Likewise.
2643 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
2645 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
2647 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2649 * crypt/Makefile (rpath-link): Extend search path to current directory.
2651 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2653 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
2656 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
2658 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
2660 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
2662 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2664 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2667 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2669 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2672 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2674 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
2676 (PSEUDO_END): Provide definition to use .size directive.
2677 (PSEUDO): Don't interpret negative return values less than -128 as
2679 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
2681 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
2683 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2684 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2685 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2686 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2687 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2688 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2689 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
2690 explicit .size directive.
2692 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
2694 * shlib-versions: Add version number/name for ld.so.
2695 * Makeconfig: Move definition of rtld-installed-name after
2696 inclusion of soversions.mk.
2697 Don't add . before version number from shlib-versions file when
2698 when name does not start with digit. This is needed for ld.so.
2700 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
2702 * libio/iogets.c: Warn when gets is used.
2703 * stdio/gets.c: Strengthen the warning.
2705 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2707 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
2708 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
2709 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
2710 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
2711 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
2713 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
2714 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
2715 appropriate values according to __USE_REENTRANT.
2716 * libio/stdio.h: Add prototype for ftrylockfile.
2717 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
2718 getc, getchar, putc, and putchar using _IO_* names.
2719 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
2720 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
2721 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
2722 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
2723 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
2724 * libio/peekc.c: New file.
2726 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
2729 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
2731 * crypt/Makefile (tests): Add md5test and md5c-test.
2732 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
2733 is called, the buffer limit is honoured and a loop in a inner
2735 * crypt/md5.h (struct md5_ctx): Add new fields.
2736 Add prototypes for new functions.
2737 * crypt/md5.c (md5_init_ctx): Initialize new fields.
2738 (md5_finish_ctx): New function. Like md5_read_ctx but before
2739 perform correct finalization.
2740 (md5_process_bytes): New function. Similar to md5_proces_block,
2741 but does not require input size to be multiple of 64.
2742 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
2743 (md5_buffer): Likewise.
2744 (md5_process_block): Count number of bytes.
2745 * crypt/md5test.c: New file. Test program for MD5 functions.
2746 * crypt/md5c-test.c: New file: Test program for MD5 crypt
2751 * time/strptime.c: Recognize %s, %u, %g, and %G format.
2753 * posix/getopt.c: Add some more casts and initializations to
2756 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
2758 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
2759 an extra function to provide this functionality.
2760 (cfgetospeed): Simply return masked value.
2761 (cfsetospeed): Don't use speeds array and so we can simply test
2762 the value of SPEED for illegal values.
2763 * termios/cfsetspeed.c: Rewrite. We convert here between the
2764 real values and the B* constants.
2765 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
2767 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2769 * locale/programs/xstrdup.c: Define prototypes.
2770 * locale/programs/xmalloc.c: Likewise.
2772 * stdio-common/xbug.c (main): Change definition to avoid warning.
2774 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
2776 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
2778 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
2780 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
2781 "$(i18ndir)/charmaps".
2783 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2785 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
2786 to get definition of FPU description struct.
2788 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
2789 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
2790 net/if_arp.h, and net/route.h.
2791 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
2792 * sysdeps/unix/sysv/linux/net/route.h: New file.
2794 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
2796 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
2797 * sysdeps/stub/e_acosl.c: Likewise.
2798 * sysdeps/stub/e_asinl.c: Likewise.
2799 * sysdeps/stub/e_atan2l.c: Likewise.
2800 * sysdeps/stub/e_expl.c: Likewise.
2801 * sysdeps/stub/e_fmodl.c: Likewise.
2802 * sysdeps/stub/e_log10l.c: Likewise.
2803 * sysdeps/stub/e_logl.c: Likewise.
2804 * sysdeps/stub/e_sqrtl.c: Likewise.
2805 * sysdeps/stub/s_atanl.c: Likewise.
2806 * sysdeps/stub/s_log1pl.c: Likewise.
2808 * Makefile (distribute): Add nsswitch.h and netgroup.h.
2810 * nss/Makefile (generated): db-netgrp.c is not generated.
2812 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
2814 * Make-dist (+out): Add $(dont_distribute).
2816 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2818 * stdio-common/Makefile (routines): Add tmpnam_r.
2820 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
2822 * version.h: Bump version to 1.96.
2824 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2826 * stdio-common/tst-printf.c: Some more cleanups.
2828 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
2830 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
2831 * resolv/resolv.h: Likewise.
2832 * resolv/gethnamaddr.c: Likewise.
2833 * resolv/res_comp.c: Likewise.
2834 * resolv/res_debug.c: Likewise.
2835 * resolv/res_init.c: Likewise.
2836 * resolv/res_send.c: Likewise.
2837 * resolv/Banner: Update version number.
2839 * nss/nss_dns/dns-host.c: Update according to change in
2840 resolv/gethnamaddr.c.
2842 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
2844 * crypt/md5.c (md5_stream): When reading the block in several
2845 pieces append to instead of replace previously read data.
2847 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
2849 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
2850 last-byte-written bit for source word misalignment.
2851 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
2854 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
2856 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
2857 comes with glibc-nis.
2858 * sunrpc/rpcsvc/yp.x: Removed.
2860 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
2861 for *CURSOR to be NULL and dump a core if yes.
2863 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
2865 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
2866 including <errnos.h> to get error numbers.
2868 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
2870 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
2871 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
2872 Alpha people find a correct file.
2873 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
2874 an alias of __cabs since the structures have different names.
2875 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
2876 Reported by Matthew Jacob <mjacob@feral.com>.
2878 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2880 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
2881 so that it still works right if we happen to get called in a
2882 subdir it still works.
2884 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
2885 as file name translation flags.
2886 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
2887 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
2890 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
2891 name (changed according to libc-name) to avoid getting the
2892 Hurd-ish linker script for libc.a when we only want the archive
2895 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
2897 * time/strftime.c: Allow old K&R compilers compile this file.
2899 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
2901 * posix/execlp.c: Add first argument parameter to be compliant
2902 with POSIX. Rearrange body to start vararg counter after
2905 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
2907 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
2908 simply a wrapper around the <linux/elfcore.h> file since the
2909 kernel header is not clean enough. We provide the definitions
2910 in this file instead.
2912 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
2914 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
2915 get?id calls by using __libc_enable_secure.
2917 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
2919 * inet/getnetgrent_r.c: Correct netgroup implementation. A
2920 specification of a netgroup can also name another netgroup.
2921 * nss/nss_files/files-netgrp.c: Likewise.
2922 * inet/netgroup.h: Add fields to hold additional information.
2924 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
2926 * posix/getopt.c: Implement POSIX -W option handling. When the
2927 option string contains "W;" -W foo is handled like --foo.
2929 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
2931 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
2932 inclusing <errnos.h> so we really get error symbols defined.
2933 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2934 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2936 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
2937 size array for getgroups call. Instead get maximal number via
2938 sysconf. But discard list to NGRPS elements before calling XDR
2939 function since Sun's code cannot handle longer lists.
2940 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2942 * sysdeps/stub/e_j0l.c: Define y0l as well.
2943 * sysdeps/stub/e_j1l.c: Define y1l as well.
2944 * sysdeps/stub/e_jnl.c: Define ynl as well.
2946 * posix/unistd.h: Correct prototype for execlp.
2948 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
2950 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2952 * Makeconfig (sysdep-library-path): New variable.
2953 (built-program-cmd): Use it here to properly build a colon
2954 separated library path.
2956 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2958 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
2959 within comparison. Fix comments.
2960 (md5_crypt): Fix comment.
2962 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
2964 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
2965 when _ERRNO_H is defined.
2966 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
2967 Should there ever be a Linux port where the numeric values are
2968 not 33 and 34 this file must change.
2970 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2972 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
2975 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2977 * string/tst-strlen.c (main): Provide prototype.
2978 * malloc/mallocbug.c: Likewise.
2979 * io/test-utime.c: Likewise.
2981 * sysdeps/generic/crypt-entry.c: Correct typo.
2983 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
2985 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
2986 test for libc.a. Checking _DYNAMIC is of no worth here.
2987 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2989 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
2990 EXTERN_PARSER is defined.
2992 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2994 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
2996 * crypt/md5-crypt.c: Fix typos in comments.
2998 * gmon/gmon.c: Provide prototypes.
2999 * db/makedb.c: Likewise.
3000 * locale/programs/xmalloc.c: Likewise.
3001 * stdio-common/bug11.c (main): Likewise.
3002 * stdio-common/bug7.c (main): Likewise.
3003 * stdio-common/bug8.c (main): Likewise.
3004 * stdio-common/bug9.c (main): Likewise.
3005 * stdio-common/scanf1.c (main): Likewise.
3006 * stdio-common/scanf2.c (main): Likewise.
3007 * stdio-common/scanf5.c (main): Likewise.
3008 * stdio-common/scanf6.c (main): Likewise.
3009 * stdio-common/scanf7.c (main): Likewise.
3010 * stdio-common/scanf8.c (main): Likewise.
3011 * stdio-common/temptest.c (main): Likewise.
3012 * stdio-common/test-fwrite.c (main): Likewise.
3013 * stdio-common/tst-printf.c: Likewise.
3014 * stdio-common/tstdiomisc.c: Likewise.
3015 * stdio-common/tstgetln.c (main): Likewise.
3016 * stdlib/testmb.c (main): Likewise.
3018 * stdio-common/scanf4.c (main): Correct prototype, remove unused
3021 * stdio-common/scanf3.c (main): Correct prototype, change
3022 declaration of s to reduce warnings.
3023 * stdio-common/bug10.c (main): Likewise.
3025 * stdio-common/tfformat.c: Provide prototype, remove unused
3026 reference to dump_stats, add braces in sprint_doubles.
3027 * stdio-common/tiformat.c: Likewise.
3029 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
3032 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3034 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
3036 * shadow/putspent.c: Don't write colon after flag field.
3038 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
3040 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
3041 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3042 * sysdeps/unix/sysv/linux/Dist: Mention new files.
3044 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
3046 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
3047 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
3049 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
3050 by using __libc_enable_secure variable.
3052 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3054 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
3055 null, don't attempt mach_port_mod_refs.
3057 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3059 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
3060 sysdeps/unix/pipestream.c.
3062 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
3063 from sysdeps/mach/hurd/readdir.c.
3065 * stdio/freopen.c: Complete de-ansideclification.
3066 * stdio/fgets.c (fgets): Likewise.
3067 * stdio/getdelim.c (__getdelim): Likewise.
3068 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
3071 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3072 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3074 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
3075 STAT_LOC without error.
3077 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
3079 * posix/getopt.c: Add casts to prevent warnings.
3080 * posix/regex.c: Likewise.
3082 * math/Makefile (long-m-routines, long-m-yes): Define to correct
3083 values to make `long double' functions available.
3084 (distribute): Add $(long-m-yes:=.c).
3086 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
3087 Use long double instruction.
3089 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
3090 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
3091 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3093 * sysdeps/libm-ieee754/e_coshl.c: New file.
3095 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
3096 for `long double' version as alias.
3097 * sysdeps/libm-ieee754/s_atan.c: Likewise.
3098 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
3099 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
3100 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
3101 * sysdeps/libm-ieee754/s_cos.c: Likewise.
3102 * sysdeps/libm-ieee754/s_erf.c: Likewise.
3103 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
3104 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
3105 * sysdeps/libm-ieee754/s_finite.c: Likewise.
3106 * sysdeps/libm-ieee754/s_floor.c: Likewise.
3107 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
3108 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3109 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3110 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
3111 * sysdeps/libm-ieee754/s_logb.c: Likewise.
3112 * sysdeps/libm-ieee754/s_modf.c: Likewise.
3113 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
3114 * sysdeps/libm-ieee754/s_rint.c: Likewise.
3115 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
3116 * sysdeps/libm-ieee754/s_significand.c: Likewise.
3117 * sysdeps/libm-ieee754/s_sin.c: Likewise.
3118 * sysdeps/libm-ieee754/s_tan.c: Likewise.
3119 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
3120 * sysdeps/libm-ieee754/w_acos.c: Likewise.
3121 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
3122 * sysdeps/libm-ieee754/w_sin.c: Likewise.
3123 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
3124 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
3125 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
3126 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
3127 * sysdeps/libm-ieee754/w_drem.c: Likewise.
3128 * sysdeps/libm-ieee754/w_exp.c: Likewise.
3129 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
3130 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3131 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
3132 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
3133 * sysdeps/libm-ieee754/w_j0.c: Likewise.
3134 * sysdeps/libm-ieee754/w_j1.c: Likewise.
3135 * sysdeps/libm-ieee754/w_jn.c: Likewise.
3136 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3137 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
3138 * sysdeps/libm-ieee754/w_log.c: Likewise.
3139 * sysdeps/libm-ieee754/w_log10.c: Likewise.
3140 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3141 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
3142 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3143 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
3144 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
3146 Stub files for missing long double math functions.
3147 * sysdeps/stub/e_acoshl.c: New file.
3148 * sysdeps/stub/e_hypotl.c: New file.
3149 * sysdeps/stub/e_j0l.c: New file.
3150 * sysdeps/stub/e_j1l.c: New file.
3151 * sysdeps/stub/e_jnl.c: New file.
3152 * sysdeps/stub/e_lgammal_r.c: New file.
3153 * sysdeps/stub/e_powl.c: New file.
3154 * sysdeps/stub/e_rem_pio2l.c: New file.
3155 * sysdeps/stub/e_sinhl.c: New file.
3156 * sysdeps/stub/k_cosl.c: New file.
3157 * sysdeps/stub/k_rem_pio2l.c: New file.
3158 * sysdeps/stub/k_sinl.c: New file.
3159 * sysdeps/stub/k_tanl.c: New file.
3160 * sysdeps/stub/s_erfl.c: New file.
3161 * sysdeps/stub/s_expm1l.c: New file.
3163 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
3165 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3166 * sysdeps/i386/bsd-setjmp.S: Likewise.
3167 * sysdeps/i386/memchr.S: Likewise.
3168 * sysdeps/i386/memcmp.S: Likewise.
3169 * sysdeps/i386/setjmp.S: Likewise.
3170 * sysdeps/i386/stpcpy.S: Likewise.
3171 * sysdeps/i386/stpncpy.S: Likewise.
3172 * sysdeps/i386/strchr.S: Likewise.
3173 * sysdeps/i386/strcspn.S: Likewise.
3174 * sysdeps/i386/strpbrk.S: Likewise.
3175 * sysdeps/i386/strrchr.S: Likewise.
3176 * sysdeps/i386/strspn.S: Likewise.
3177 * sysdeps/i386/strtok.S: Likewise.
3178 * sysdeps/i386/i486/strcat.S: Likewise.
3179 * sysdeps/i386/i486/strlen.S: Likewise.
3180 * sysdeps/i386/i586/memset.S: Likewise.
3181 * sysdeps/i386/i586/strchr.S: Likewise.
3182 * sysdeps/i386/i586/strlen.S: Likewise.
3183 * sysdeps/libm-i387/e_acos.S: Likewise.
3184 * sysdeps/libm-i387/e_acosl.S: Likewise.
3185 * sysdeps/libm-i387/e_asin.S: Likewise.
3186 * sysdeps/libm-i387/e_asinl.S: Likewise.
3187 * sysdeps/libm-i387/e_atan2.S: Likewise.
3188 * sysdeps/libm-i387/e_atan2l.S: Likewise.
3189 * sysdeps/libm-i387/e_exp.S: Likewise.
3190 * sysdeps/libm-i387/e_expl.S: Likewise.
3191 * sysdeps/libm-i387/e_fmod.S: Likewise.
3192 * sysdeps/libm-i387/e_fmodl.S: Likewise.
3193 * sysdeps/libm-i387/e_log.S: Likewise.
3194 * sysdeps/libm-i387/e_log10.S: Likewise.
3195 * sysdeps/libm-i387/e_log10l.S: Likewise.
3196 * sysdeps/libm-i387/e_logl.S: Likewise.
3197 * sysdeps/libm-i387/e_remainder.S: Likewise.
3198 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3199 * sysdeps/libm-i387/e_remainderl.S: Likewise.
3200 * sysdeps/libm-i387/e_scalb.S: Likewise.
3201 * sysdeps/libm-i387/e_scalbl.S: Likewise.
3202 * sysdeps/libm-i387/e_sqrt.S: Likewise.
3203 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
3204 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
3205 * sysdeps/libm-i387/s_atan.S: Likewise.
3206 * sysdeps/libm-i387/s_atanf.S: Likewise.
3207 * sysdeps/libm-i387/s_atanl.S: Likewise.
3208 * sysdeps/libm-i387/s_ceil.S: Likewise.
3209 * sysdeps/libm-i387/s_ceilf.S: Likewise.
3210 * sysdeps/libm-i387/s_ceill.S: Likewise.
3211 * sysdeps/libm-i387/s_copysign.S: Likewise.
3212 * sysdeps/libm-i387/s_copysignf.S: Likewise.
3213 * sysdeps/libm-i387/s_copysignl.S: Likewise.
3214 * sysdeps/libm-i387/s_cos.S: Likewise.
3215 * sysdeps/libm-i387/s_cosf.S: Likewise.
3216 * sysdeps/libm-i387/s_cosl.S: Likewise.
3217 * sysdeps/libm-i387/s_finite.S: Likewise.
3218 * sysdeps/libm-i387/s_finitef.S: Likewise.
3219 * sysdeps/libm-i387/s_finitel.S: Likewise.
3220 * sysdeps/libm-i387/s_floor.S: Likewise.
3221 * sysdeps/libm-i387/s_floorf.S: Likewise.
3222 * sysdeps/libm-i387/s_floorl.S: Likewise.
3223 * sysdeps/libm-i387/s_ilogb.S: Likewise.
3224 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3225 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
3226 * sysdeps/libm-i387/s_log1p.S: Likewise.
3227 * sysdeps/libm-i387/s_log1pf.S: Likewise.
3228 * sysdeps/libm-i387/s_log1pl.S: Likewise.
3229 * sysdeps/libm-i387/s_logb.S: Likewise.
3230 * sysdeps/libm-i387/s_logbf.S: Likewise.
3231 * sysdeps/libm-i387/s_logbl.S: Likewise.
3232 * sysdeps/libm-i387/s_rint.S: Likewise.
3233 * sysdeps/libm-i387/s_rintf.S: Likewise.
3234 * sysdeps/libm-i387/s_rintl.S: Likewise.
3235 * sysdeps/libm-i387/s_scalbn.S: Likewise.
3236 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3237 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3238 * sysdeps/libm-i387/s_significand.S: Likewise.
3239 * sysdeps/libm-i387/s_significandf.S: Likewise.
3240 * sysdeps/libm-i387/s_significandl.S: Likewise.
3241 * sysdeps/libm-i387/s_sin.S: Likewise.
3242 * sysdeps/libm-i387/s_sinf.S: Likewise.
3243 * sysdeps/libm-i387/s_sinl.S: Likewise.
3244 * sysdeps/libm-i387/s_tan.S: Likewise.
3245 * sysdeps/libm-i387/s_tanf.S: Likewise.
3246 * sysdeps/libm-i387/s_tanl.S: Likewise.
3248 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
3249 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
3250 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
3251 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
3253 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
3254 to provide .size directive on ELF systems.
3256 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
3257 <sigcontext.h> and rename parameter type to sigcontext.
3258 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
3260 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
3261 negative values might occur as positive results. Test against
3262 -125 to decide for error or not.
3263 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
3265 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3267 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
3268 whether this is a statically linked program. The latter is now
3271 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3273 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
3274 controlling terminals are allowed to send.
3276 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
3277 table is larger than the allowable address size, then return
3280 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
3284 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
3286 * po/fr.po: New file.
3288 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
3290 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
3292 Add support for MD5 crypt replacement.
3293 * Makefile (subdirs): Add crypt.
3294 * shlib-versions: Add entry for libcrypt.
3295 * crypt/md5-crypt.c: New file.
3296 * crypt/md5.c: New file.
3297 * crypt/md5.h: New file.
3298 * sysdeps/generic/crypt-entry.c: New file.
3299 * sysdeps/generic/crypt.h: New file.
3301 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3303 * dirent/tst-seekdir.c: Provide correct prototypes.
3304 * io/test-utime.c: Likewise.
3305 * malloc/mallocbug.c: Likewise.
3306 * posix/testfnm.c: Likewise.
3307 * stdio-common/xbug.c: Likewise.
3308 * sysdeps/posix/cuserid.c: Likewise.
3310 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
3312 Provide optimized string functions for Alpha processors.
3313 * sysdeps/alpha/bzero.S: New file.
3314 * sysdeps/alpha/memset.S: New file.
3315 * sysdeps/alpha/stpcpy.S: New file.
3316 * sysdeps/alpha/stpncpy.S: New file.
3317 * sysdeps/alpha/strcat.S: New file.
3318 * sysdeps/alpha/strchr.S: New file.
3319 * sysdeps/alpha/strcpy.S: New file.
3320 * sysdeps/alpha/strncat.S: New file.
3321 * sysdeps/alpha/strncpy.S: New file.
3322 * sysdeps/alpha/strrchr.S: New file.
3323 * sysdeps/alpha/stxcpy.S: New file.
3324 * sysdeps/alpha/stxncpy.S: New file.
3326 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
3327 stxncpy to sysdep_routines.
3330 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3332 * sysdeps/generic/gnu/types.h: Added __loff_t.
3333 Don't declare key_t here.
3335 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
3336 set errno (to ENOMEM).
3338 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
3340 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
3341 nothing is found. This guarantees all subsequent calls behave
3343 * sysdeps/generic/strtok_r.c: Likewise.
3345 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3347 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
3350 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
3352 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
3353 NULL immediately; we're going to get called one more time.
3354 * sysdeps/generic/strtok_r.c: Likewise.
3356 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
3358 * locale/programs/ld-time.c: Always write some bytes at the end of
3359 the file even if no `era's are specified.
3361 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
3364 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
3366 * libio/iofclose.c: Move unlocking to right position.
3368 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
3370 * misc/Makefile: Kill force-wrapper.
3371 * misc/force-wrapper.c: Delete.
3373 * elf/eval.c: Add <string.h>.
3375 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
3376 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
3377 and binary compatibility not at all. Better to do `char *foo'
3378 followed by `foo = ptr' as it is much cleaner.
3379 (struct gmon_hdr): Fix version.
3380 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
3381 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
3382 * gmon/gmon.c: De-ansidecl-ify.
3383 (write_hist): De-bcopy-fy.
3384 (write_call_graph): Likewise.
3386 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
3387 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
3388 * sysdeps/generic/machine-gmon.h: Likewise.
3390 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
3391 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
3392 * nss/nss_dns/dns-network.c: Likewise.
3393 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
3394 * resolv/getnetnamadr.c: Likewise.
3395 * resolv/res_debug.c: Likewise.
3396 * resolv/res_mkquery.c: Likewise.
3397 * resolv/res_query.c: Likewise.
3399 * libio/clearerr_u.c: It's not necessary to define __ protected
3400 function so don't do it.
3401 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
3402 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
3404 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
3405 the cleanup registrar.
3406 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
3407 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
3408 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
3409 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
3410 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
3411 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
3412 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
3415 * locale/programs/ld-ctype.c: Include <alloca.h>.
3417 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
3419 * posix/sys/types.h: Change #defines to typedefs. This is looking
3420 forward to more comprehensive namespace cleanups for C++.
3421 * posix/unistd.h: Likewise for ssize_t.
3423 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
3426 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
3427 `statement with no effect' warnings.
3428 * resolv/inet_neta.c: Include <string.h> for strlen.
3430 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
3431 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
3432 * stdio-common/vfprintf.c: Same for va_list.
3433 * stdio-common/vfscanf.c: Same.
3434 * stdio-common/reg-printf.c: Prototype the __ function.
3435 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
3436 _IO_vscanf declaration.
3438 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
3439 but to unsigned long for the health of 64-bit systems.
3441 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
3442 Many system's <sys/param.h> pulls this in.
3444 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
3447 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
3448 instead of defining it locally.
3450 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
3451 * sysdeps/stub/chflags.c: Prototype chflags.
3452 * sysdeps/stub/fchflags.c: Prototype fchflags.
3453 * sysdeps/stub/sstk.c: Prototype sstk.
3455 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
3456 variable to __errno. Update __syscall_error to store to both
3457 the global and per-thread variables.
3459 * sysdeps/unix/sysv/linux/init-first.c: Change include of
3460 init-first.h from "" to <> as "" does not search the include path.
3461 Prototype _dl_start.
3463 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3465 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
3466 pattern rule to get the right stem.
3468 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3470 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
3472 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3474 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
3476 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3478 * malloc/free.c (_free_internal): Don't call free recursively, use
3479 the internal functions instead.
3481 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3483 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
3484 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
3486 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3488 * catgets/gencat.c (main): Print version information on stdout,
3490 * db/makedb.c: Likewise.
3491 * locale/programs/locale.c: Likewise.
3492 * locale/programs/localedef.c: Likewise.
3494 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
3496 Add implementation of netgroup.
3497 * inet/Makefile (distributes): Add netgroup.h.
3498 (routines): Add getnetgrent.c and getnetgrent_r.c.
3499 * inet/getnetgrent.c: New file.
3500 * inet/getnetgrent_r.c: New file.
3501 * inet/netgroup.h: New file.
3502 * netgroup.h: New file.
3503 * nsswitch.h: New file.
3504 * nss/Makefile (databases): Add getgrp.
3505 * nss/databases.def: Add netgroup.
3506 * nss/db-Makefile: Add rules for netgroup.
3507 * nss/netgrp-lookup.c: New file.
3508 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
3509 always return without a check of the transition table.
3510 * nss/nsswitch.h (struct service_user): Extend actions array to
3512 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
3514 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
3515 to NSS_ACTION_RETURN.
3516 * nss/nss_db/db-netgrp.c: New file.
3517 * nss/nss_files/files-netgrp.c: New file.
3518 * nss/nsswitch.conf: Add entry for netgroup.
3519 * resolv/netdb.h: Add prototypes for netgroup functions.
3521 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
3524 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
3526 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
3527 _llseek to _llseek (not llseek).
3528 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3530 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
3532 * inet/rcmd.c: Remove definition of MIN.
3534 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
3536 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
3537 * sysdeps/unix/readdir_r.c: New file.
3538 * sysdeps/unix/readdir.c: Remove check for correct parameter
3539 values. Let them simply die.
3540 * manual/filesys.texi: Document readdir_r.
3542 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
3543 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
3545 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
3547 * dirent/Makefile (routines): Add readdir_r.
3548 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
3549 * dirent/dirent.h: Add prototype for readdir_r.
3551 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
3552 to prevent warnings.
3554 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3555 Initialize `result'.
3557 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
3559 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
3561 * string/string.h: Add prototype for __strsep.
3562 * misc/mntent_r.c: Use __strsep instead of strsep to keep
3565 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
3566 __nanosleep and nanosleep weak aliases.
3567 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
3569 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
3570 nanosleep to keep namespace clean.
3572 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
3573 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
3574 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3576 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
3579 * login/Makefile (headers): Add pty.h.
3580 * login/pty.h: New file.
3581 * sysdeps/generic/pty.h: Include <pty.h>.
3582 * login/pututline_r.c: Add cast to prevent warning.
3584 * gmon/gmon.c: Add prototype for __profile_frequency.
3585 (monstartup): Add cast to prevent warning.
3586 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
3588 * locale/programs/ld-time.c (time_output): Write `era' information
3591 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
3593 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
3595 Set caller for mlock, mlockall, mremap, munlock, and munlockall
3597 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3599 1996-09-27 Paul Eggert <eggert@twinsun.com>
3601 * strftime.c (strftime): Output incomplete formats like %E
3604 1996-09-27 Paul Eggert <eggert@twinsun.com>
3606 * strftime.c (strftime): Add support for %EC and %Ey.
3607 Fix support for %EY. This uses the new _nl_get_era_entry function.
3609 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
3611 Security related patch by Elliot Lee <sopwith@redhat.com> and
3612 David Holland <dholland@eecs.harvard.edu>.
3614 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
3615 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
3617 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
3618 NULL when programs runs with SUID or SGID enabled.
3619 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
3620 * stdlib/stdlib.h: Add prototype for __secure_getenv.
3622 * locale/setlocale.c: Use __secure_getenv.
3623 * resolv/res_init.c: Likewise.
3624 * resolv/res_query.c: Likewise.
3625 * inet/ruserpass.c: Likewise.
3626 * sysdeps/posix/tempname.c: Likewise.
3627 * malloc/mtrace.c: Likewise.
3628 * catgets/catgets.c: Likewise.
3630 Make temporary file handling functions reentrant.
3632 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
3633 result to. The called __stdio_gen_tempname function must be
3635 * stdio-common/tmpnam_r.c: New file.
3636 * stdio/stdio.h: Add prototype for `tmpnam_r'.
3637 Change prototype for __stdio_gen_tempname.
3638 * stdio/libio.h: Likewise.
3639 * sysdeps/posix/tempname.c: Add new parameters and use them instead
3641 Don't reset `indeces' when PID changed between calls.
3642 Don't fail for long running programs when index counter once
3644 * sysdeps/stub/tempname.c: Likewise.
3645 * stdio-common/tempnam.c: Provide local buffer as extra argument
3646 to __stdio_gen_tempname. This makes this function reentrant.
3647 * stdio-common/tmpfile.c: Likewise.
3648 * stdio-common/temptest.c: Provide extra argument to
3649 __stdio_gen_tempname.
3650 * manual/filesys.texi: Describe tmpnam_r and add comments about
3651 reentrancy of the functions.
3653 * inet/rcmd.c: Fixed address length handling.
3655 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
3657 * time/strftime.c: Remove unused variables alt_digits and
3660 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
3661 for get_nprocs and get_nprocs_conf.
3662 * sysdeps/generic/sys/sysinfo.h: Likewise.
3664 * stdlib/test-canon.c: Finally do the right fix.
3666 * misc/Makefile: Only compile force-wrapper when compiling
3669 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
3671 Add support for cancelable system calls.
3673 * csu/initfini.c: Make in crti.o reference to symbol
3674 __libc_force_cancel_wrapper when compiling reentrant version.
3675 * misc/Makefile (routines): Add force-wrapper.
3676 * misc/force-wrapper.c: New file.
3678 * posix/system.c: Rename function to __libc_system and make system
3680 * sysdeps/stub/system.c: Likewise.
3681 * posix/wait.c: Rename function to __libc_wait and make __wait a
3682 weak alias. De-ANSI-fy.
3683 * sysdeps/standalone/read.c: Rename function to __libc_read and
3684 make __read a weak alias.
3685 * sysdeps/stub/read.c: Likewise.
3686 * sysdeps/standalone/write.c: Rename function to __libc_write and
3687 make __write a weak alias.
3688 * sysdeps/stub/write.c: Likewise.
3689 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
3690 make tcdrain a weak alias.
3691 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3692 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
3693 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3694 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
3695 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
3696 and make __wait a weak alias.
3697 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
3698 make __waitpid a weak alias.
3699 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
3700 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
3701 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
3702 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
3703 and make pause a weak alias. De-ANSI-fy.
3705 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
3706 lseek, open, read, and write to have __libc_ prefix and make old
3708 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
3709 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
3711 * io/creat.c: De-ANSI-fy.
3713 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
3715 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
3717 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
3718 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3720 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
3722 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
3724 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3726 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
3728 * locale/programs/locfile.c (write_locale_data): Allocate room
3729 even for file name for LC_MESSAGES locale.
3730 (locafile_read): `tok_era' must be handled as a string list.
3731 * locale/programs/ld-time.c: Finish correction of handling `era'.
3732 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
3733 * locale/categories.def: Add postload function for LC_TIME.
3734 * locale/setlocale.c: Make lock global and rename to
3735 __libc_setlocale_lock.
3736 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
3737 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
3738 * locale/lc-time.c (_nl_postload_time): New function. Initialize
3740 (_nl_get_era_entry): New function. Return era entry which corresponds
3742 (_nl_get_alt_digit): New function. Return string with alternate
3743 digit representation for given number.
3745 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
3746 string representing alternate digit notation.
3748 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
3750 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
3751 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3753 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
3754 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
3756 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
3758 * catgets/gencat.c (main): Change --version again because RMS wants
3759 the package name in parentheses.
3760 * db/makedb.c: Likewise.
3761 * locale/programs/locale.c: Likewise.
3762 * locale/programs/localedef.c: Likewise.
3764 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3766 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
3768 ($(objpfx)version-info.h): Depend on Banner files, command
3771 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
3773 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
3775 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
3777 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
3778 on the same device as the password file.
3779 * shadow/shadow.h (struct spwd): Change type of numeric fields
3780 to `long int' since there value are days, not seconds.
3781 * shadow/putspent.c: Change casts from time_t to `long int'.
3782 * shadow/sgetspent_r.c (LINE_READER): Likewise.
3784 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
3786 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
3787 sure the thread specific variable is set as well as the global
3789 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
3791 * sysdeps/stub/errnos.h: Likewise.
3792 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
3794 * shadow/putspent.c: Don't include <errno.h>.
3796 * dirent/scandir.c (scandir): Use __set_errno to set errno
3798 * elf/dl-load.c (open_path): Likewise.
3799 * inet/rcmd.c (rcmd): Likewise.
3800 (rresvport): Likewise.
3801 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
3802 (DCGETTEXT): Use __set_errno to set errno variable.
3803 * io/fts.c (fts_open): Likewise.
3804 (fts_close): Likewise.
3805 (fts_read): Likewise.
3806 (fts_set): Likewise.
3807 (fts_children): Likewise.
3808 (fts_build): Likewise.
3809 (fts_stat): Likewise.
3810 * io/ftw.c (ftw_dir): Likewise.
3812 * io/getwd.c (getwd): Likewise.
3813 * io/lockf.c (lockf): Likewise.
3814 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
3815 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
3816 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3817 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
3819 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3820 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
3821 * libio/ioftell.c (_IO_ftell): Likewise.
3822 * locale/loadlocale.c (_nl_load_locale): Likewise.
3823 * locale/nl_langinfo.c (nl_langinfo): Likewise.
3824 * locale/setlocale.c (ERROR_RETURN): Likewise.
3825 * login/getutid_r (__getutid_r): Likewise.
3826 * login/getutline_r (__getutline_r): Likewise.
3827 * login/login.c (tty_name): Likewise.
3828 * login/oututline_r.c (__pututline_r): Likewise.
3829 * malloc/malloc.c (morecore): Likewise.
3830 * misc/efgcvt_r.c (fcvt_r): Likewise.
3831 * misc/hsearch_r.c (hcreate_r): Likewise.
3832 (hdestroy_r): Likewise.
3833 (hsearch_r): Likewise.
3834 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
3835 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
3836 (_nss_dns_gethostbyaddr_r): Likewise.
3837 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3838 * nss/nss_files/files-parse.c (parse_list): Likewise.
3839 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
3840 * posix/execvp.c (execvp): Likewise.
3841 * posix/glob.c: Define __set_errno.
3842 (glob): Use __set_errno to set errno variable.
3843 (glob_in_dir): Likewise.
3844 * pwd/getpw.c: Likewise. De-ANSI-fy.
3845 * pwd/putpwent.c: Likewise.
3846 * resolv/inet_net_ntop.c: Likewise.
3847 * resolv/inet_net_pton.c: Likewise.
3848 * resolv/inet_neta.c: Likewise.
3849 * resolv/inet_ntop.c: Likewise.
3850 * resolv/inet_pton.c: Likewise.
3851 * resolv/res_query.c (res_search): Likewise.
3852 * resolv/res_send.c (Aerror): Likewise.
3854 (res_send): Likewise.
3855 * signal/sigaddset.c: Likewise. De-ANSI-fy.
3856 * signal/sigdelset.c: Likewise.
3857 * signal/sigempty.c: Likewise.
3858 * signal/sigfillset.c: Likewise.
3859 * signal/sigismem.c: Likewise.
3860 * stdio/fclose.c: Likewise.
3861 * stdio/feof.c: Likewise.
3862 * stdio/ferror.c: Likewise.
3863 * stdio/fflush.c: Likewise.
3864 * stdio/fgetc.c: Likewise.
3865 * stdio/fgetpos.c: Likewise.
3866 * stdio/fgets.c: Likewise.
3867 * stdio/fileno.c: Likewise.
3868 * stdio/fmemopen.c: Likewise.
3869 * stdio/fopen.c: Likewise.
3870 * stdio/fputc.c: Likewise.
3871 * stdio/fread.c: Likewise.
3872 * stdio/freopen.c: Likewise.
3873 * stdio/fseek.c: Likewise.
3874 * stdio/fsetpos.c: Likewise.
3875 * stdio/ftell.c: Likewise.
3876 * stdio/fwrite.c: Likewise.
3877 * stdio/getdelim.c: Likewise.
3878 * stdio/gets.c: Likewise.
3879 * stdio/glue.c: Likewise.
3880 * stdio/internals.c: Likewise.
3881 * stdio/memstream.c: Likewise.
3882 * stdio/setvbuf.c: Likewise.
3883 * stdio/ungetc.c: Likewise.
3884 * stdio/vsscanf.c: Likewise.
3885 * stdio-common/reg-printf.c: Likewise.
3886 * stdio-common/vfprintf.c: Likewise.
3887 * stdio-common/vfscanf.c: Likewise.
3888 * stdlib/canonicalize.c: Likewise.
3889 * stdlib/msort.c: Likewise.
3890 * stdlib/random_r.c: Likewise.
3891 * stdlib/strfmon.c: Likewise.
3892 * stdlib/strtod.c: Likewise.
3893 * stdlib/strtol.c: Likewise.
3894 * sunrpc/bindrsvprt.c: Likewise.
3895 * time/asctime.c: Likewise.
3896 * time/localtime.c: Likewise.
3897 * wcsmbs/mbrtowc.c: Likewise.
3898 * wcsmbs/mbsnrtowcs.c: Likewise.
3899 * wcsmbs/mbsrtowcs.c: Likewise.
3900 * wcsmbs/wcrtomb.c: Likewise.
3901 * wcsmbs/wcsnrtombs.c: Likewise.
3902 * wcsmbs/wcsrtombs.c: Likewise.
3903 * wcsmbs/wcstok.c: Likewise.
3904 * sysdeps/generic/ftime.c: Likewise.
3905 * sysdeps/generic/pty.c: Likewise.
3906 * sysdeps/generic/setenv.c: Likewise.
3907 * sysdeps/generic/speed.c: Likewise.
3908 * sysdeps/generic/sysd-stdio.c: Likewise.
3909 * sysdeps/generic/uname.c: Likewise.
3910 * sysdeps/generic/vlimit.c: Likewise.
3911 * sysdeps/libm-ieee754/k_standard.c: Likewise.
3912 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3913 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
3914 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
3915 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3916 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
3917 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
3918 * sysdeps/posix/dup2.c: Likewise.
3919 * sysdeps/posix/euidaccess.c: Likewise.
3920 * sysdeps/posix/fdopen.c: Likewise.
3921 * sysdeps/posix/flock.c: Likewise.
3922 * sysdeps/posix/fpathconf.c: Likewise.
3923 * sysdeps/posix/getcwd.c: Likewise.
3924 * sysdeps/posix/gettimeofday.c: Likewise.
3925 * sysdeps/posix/isatty.c: Likewise.
3926 * sysdeps/posix/isfdtype.c: Likewise.
3927 * sysdeps/posix/killpg.c: Likewise.
3928 * sysdeps/posix/mkstemp.c: Likewise.
3929 * sysdeps/posix/mktemp.c: Likewise.
3930 * sysdeps/posix/pathconf.c: Likewise.
3931 * sysdeps/posix/pipestream.c: Likewise.
3932 * sysdeps/posix/remove.c: Likewise.
3933 * sysdeps/posix/rename.c: Likewise.
3934 * sysdeps/posix/sigintr.c: Likewise.
3935 * sysdeps/posix/signal.c: Likewise.
3936 * sysdeps/posix/sigsuspend.c: Likewise.
3937 * sysdeps/posix/sigvec.c: Likewise.
3938 * sysdeps/posix/sleep.c: Likewise.
3939 * sysdeps/posix/sysconf.c: Likewise.
3940 * sysdeps/posix/system.c: Likewise.
3941 * sysdeps/posix/tempname.c: Likewise.
3942 * sysdeps/posix/truncate.c: Likewise.
3943 * sysdeps/posix/ttyname.c: Likewise.
3944 * sysdeps/posix/ttyname_r.c: Likewise.
3945 * sysdeps/posix/wait3.c: Likewise.
3946 * sysdeps/standalone/close.c: Likewise.
3947 * sysdeps/standalone/open.c: Likewise.
3948 * sysdeps/standalone/read.c: Likewise.
3949 * sysdeps/standalone/write.c: Likewise.
3950 * sysdeps/stub/__longjmp.c: Likewise.
3951 * sysdeps/stub/accept.c: Likewise.
3952 * sysdeps/stub/access.c: Likewise.
3953 * sysdeps/stub/acct.c: Likewise.
3954 * sysdeps/stub/adjtime.c: Likewise.
3955 * sysdeps/stub/alarm.c: Likewise.
3956 * sysdeps/stub/bind.c: Likewise.
3957 * sysdeps/stub/brk.c: Likewise.
3958 * sysdeps/stub/chdir.c: Likewise.
3959 * sysdeps/stub/chflags.c: Likewise.
3960 * sysdeps/stub/chmod.c: Likewise.
3961 * sysdeps/stub/chown.c: Likewise.
3962 * sysdeps/stub/chroot.c: Likewise.
3963 * sysdeps/stub/clock.c: Likewise.
3964 * sysdeps/stub/close.c: Likewise.
3965 * sysdeps/stub/closedir.c: Likewise.
3966 * sysdeps/stub/connect.c: Likewise.
3967 * sysdeps/stub/ctermid.c: Likewise.
3968 * sysdeps/stub/cuserid.c: Likewise.
3969 * sysdeps/stub/dirfd.c: Likewise.
3970 * sysdeps/stub/dup.c: Likewise.
3971 * sysdeps/stub/dup2.c: Likewise.
3972 * sysdeps/stub/euidaccess.c: Likewise.
3973 * sysdeps/stub/execve.c: Likewise.
3974 * sysdeps/stub/fchdir.c: Likewise.
3975 * sysdeps/stub/fchflags.c: Likewise.
3976 * sysdeps/stub/fchmod.c: Likewise.
3977 * sysdeps/stub/fchown.c: Likewise.
3978 * sysdeps/stub/fcntl.c: Likewise.
3979 * sysdeps/stub/fdopen.c: Likewise.
3980 * sysdeps/stub/fexecve.c: Likewise.
3981 * sysdeps/stub/flock.c: Likewise.
3982 * sysdeps/stub/fork.c: Likewise.
3983 * sysdeps/stub/fpathconf.c: Likewise.
3984 * sysdeps/stub/fstatfs.c: Likewise.
3985 * sysdeps/stub/fsync.c: Likewise.
3986 * sysdeps/stub/ftruncate.c: Likewise.
3987 * sysdeps/stub/fxstat.c: Likewise.
3988 * sysdeps/stub/getcwd.c: Likewise.
3989 * sysdeps/stub/getdents.c: Likewise.
3990 * sysdeps/stub/getdomain.c: Likewise.
3991 * sysdeps/stub/getdtsz.c: Likewise.
3992 * sysdeps/stub/getegid.c: Likewise.
3993 * sysdeps/stub/getenv.c: Likewise.
3994 * sysdeps/stub/geteuid.c: Likewise.
3995 * sysdeps/stub/getgid.c: Likewise.
3996 * sysdeps/stub/getgroups.c: Likewise.
3997 * sysdeps/stub/gethostid.c: Likewise.
3998 * sysdeps/stub/gethostname.c: Likewise.
3999 * sysdeps/stub/getitimer.c: Likewise.
4000 * sysdeps/stub/getlogin.c: Likewise.
4001 * sysdeps/stub/getlogin_r.c: Likewise.
4002 * sysdeps/stub/getpagesize.c: Likewise.
4003 * sysdeps/stub/getpeername.c: Likewise.
4004 * sysdeps/stub/getpid.c: Likewise.
4005 * sysdeps/stub/getppid.c: Likewise.
4006 * sysdeps/stub/getpriority.c: Likewise.
4007 * sysdeps/stub/getrlimit.c: Likewise.
4008 * sysdeps/stub/getrusage.c: Likewise.
4009 * sysdeps/stub/getsid.c: Likewise.
4010 * sysdeps/stub/getsockname.c: Likewise.
4011 * sysdeps/stub/getsockopt.c: Likewise.
4012 * sysdeps/stub/getsysstats.c: Likewise.
4013 * sysdeps/stub/gettimeofday.c: Likewise.
4014 * sysdeps/stub/getuid.c: Likewise.
4015 * sysdeps/stub/gtty.c: Likewise.
4016 * sysdeps/stub/ioctl.c: Likewise.
4017 * sysdeps/stub/isatty.c: Likewise.
4018 * sysdeps/stub/isfdtype.c: Likewise.
4019 * sysdeps/stub/kill.c: Likewise.
4020 * sysdeps/stub/killpg.c: Likewise.
4021 * sysdeps/stub/link.c: Likewise.
4022 * sysdeps/stub/listen.c: Likewise.
4023 * sysdeps/stub/lseek.c: Likewise.
4024 * sysdeps/stub/lxstat.c: Likewise.
4025 * sysdeps/stub/madvice.c: Likewise.
4026 * sysdeps/stub/mkdir.c: Likewise.
4027 * sysdeps/stub/mkfifo.c: Likewise.
4028 * sysdeps/stub/mkstemp.c: Likewise.
4029 * sysdeps/stub/mktemp.c: Likewise.
4030 * sysdeps/stub/mmap.c: Likewise.
4031 * sysdeps/stub/morecore.c: Likewise.
4032 * sysdeps/stub/mprotect.c: Likewise.
4033 * sysdeps/stub/msgctl.c: Likewise.
4034 * sysdeps/stub/msgget.c: Likewise.
4035 * sysdeps/stub/msgrcv.c: Likewise.
4036 * sysdeps/stub/msgsnd.c: Likewise.
4037 * sysdeps/stub/msync.c: Likewise.
4038 * sysdeps/stub/munmap.c: Likewise.
4039 * sysdeps/stub/nanosleep.c: Likewise.
4040 * sysdeps/stub/nice.c: Likewise.
4041 * sysdeps/stub/nlist.c: Likewise.
4042 * sysdeps/stub/open.c: Likewise.
4043 * sysdeps/stub/opendir.c: Likewise.
4044 * sysdeps/stub/pathconf.c: Likewise.
4045 * sysdeps/stub/pause.c: Likewise.
4046 * sysdeps/stub/pipe.c: Likewise.
4047 * sysdeps/stub/pipestream.c: Likewise.
4048 * sysdeps/stub/poll.c: Likewise.
4049 * sysdeps/stub/profil.c: Likewise.
4050 * sysdeps/stub/ptrace.c: Likewise.
4051 * sysdeps/stub/putenv.c: Likewise.
4052 * sysdeps/stub/raise.c: Likewise.
4053 * sysdeps/stub/read.c: Likewise.
4054 * sysdeps/stub/readdir.c: Likewise.
4055 * sysdeps/stub/readlink.c: Likewise.
4056 * sysdeps/stub/readv.c: Likewise.
4057 * sysdeps/stub/reboot.c: Likewise.
4058 * sysdeps/stub/recv.c: Likewise.
4059 * sysdeps/stub/recvfrom.c: Likewise.
4060 * sysdeps/stub/recvmsg.c: Likewise.
4061 * sysdeps/stub/remove.c: Likewise.
4062 * sysdeps/stub/rename.c: Likewise.
4063 * sysdeps/stub/revoke.c: Likewise.
4064 * sysdeps/stub/rewinddir.c: Likewise.
4065 * sysdeps/stub/rmdir.c: Likewise.
4066 * sysdeps/stub/sbrk.c: Likewise.
4067 * sysdeps/stub/sched_getp.c: Likewise.
4068 * sysdeps/stub/sched_gets.c: Likewise.
4069 * sysdeps/stub/sched_primax.c: Likewise.
4070 * sysdeps/stub/sched_primin.c: Likewise.
4071 * sysdeps/stub/sched_rr_gi.c: Likewise.
4072 * sysdeps/stub/sched_setp.c: Likewise.
4073 * sysdeps/stub/sched_sets.c: Likewise.
4074 * sysdeps/stub/sched_yield.c: Likewise.
4075 * sysdeps/stub/seekdir.c: Likewise.
4076 * sysdeps/stub/select.c: Likewise.
4077 * sysdeps/stub/semctl.c: Likewise.
4078 * sysdeps/stub/semget.c: Likewise.
4079 * sysdeps/stub/semop.c: Likewise.
4080 * sysdeps/stub/send.c: Likewise.
4081 * sysdeps/stub/sendmsg.c: Likewise.
4082 * sysdeps/stub/sendto.c: Likewise.
4083 * sysdeps/stub/setdomain.c: Likewise.
4084 * sysdeps/stub/setegid.c: Likewise.
4085 * sysdeps/stub/setenv.c: Likewise.
4086 * sysdeps/stub/seteuid.c: Likewise.
4087 * sysdeps/stub/setgid.c: Likewise.
4088 * sysdeps/stub/setgroups.c: Likewise.
4089 * sysdeps/stub/sethostid.c: Likewise.
4090 * sysdeps/stub/sethostname.c: Likewise.
4091 * sysdeps/stub/setitimer.c: Likewise.
4092 * sysdeps/stub/setjmp.c: Likewise.
4093 * sysdeps/stub/setlogin.c: Likewise.
4094 * sysdeps/stub/setpgid.c: Likewise.
4095 * sysdeps/stub/setpriority.c: Likewise.
4096 * sysdeps/stub/setregid.c: Likewise.
4097 * sysdeps/stub/setreuid.c: Likewise.
4098 * sysdeps/stub/setrlimit.c: Likewise.
4099 * sysdeps/stub/setsid.c: Likewise.
4100 * sysdeps/stub/setsockopt.c: Likewise.
4101 * sysdeps/stub/settimeofday.c: Likewise.
4102 * sysdeps/stub/setuid.c: Likewise.
4103 * sysdeps/stub/shmat.c: Likewise.
4104 * sysdeps/stub/shmctl.c: Likewise.
4105 * sysdeps/stub/shmdt.c: Likewise.
4106 * sysdeps/stub/shmget.c: Likewise.
4107 * sysdeps/stub/shutdown.c: Likewise.
4108 * sysdeps/stub/sigaction.c: Likewise.
4109 * sysdeps/stub/sigaltstack.c: Likewise.
4110 * sysdeps/stub/sigblock.c: Likewise.
4111 * sysdeps/stub/sigintr.c: Likewise.
4112 * sysdeps/stub/signal.c: Likewise.
4113 * sysdeps/stub/sigpause.c: Likewise.
4114 * sysdeps/stub/sigpending.c: Likewise.
4115 * sysdeps/stub/sigprocmask.c: Likewise.
4116 * sysdeps/stub/sigreturn.c: Likewise.
4117 * sysdeps/stub/sigsetmask.c: Likewise.
4118 * sysdeps/stub/sigstack.c: Likewise.
4119 * sysdeps/stub/sigsuspend.c: Likewise.
4120 * sysdeps/stub/sigvec.c: Likewise.
4121 * sysdeps/stub/sleep.c: Likewise.
4122 * sysdeps/stub/socket.c: Likewise.
4123 * sysdeps/stub/socketpair.c: Likewise.
4124 * sysdeps/stub/sstk.c: Likewise.
4125 * sysdeps/stub/statfs.c: Likewise.
4126 * sysdeps/stub/stime.c: Likewise.
4127 * sysdeps/stub/stty.c: Likewise.
4128 * sysdeps/stub/swapoff.c: Likewise.
4129 * sysdeps/stub/swapon.c: Likewise.
4130 * sysdeps/stub/symlink.c: Likewise.
4131 * sysdeps/stub/sync.c: Likewise.
4132 * sysdeps/stub/syscall.c: Likewise.
4133 * sysdeps/stub/sysconf.c: Likewise.
4134 * sysdeps/stub/sysd-stdio.c: Likewise.
4135 * sysdeps/stub/system.c: Likewise.
4136 * sysdeps/stub/tcdrain.c: Likewise.
4137 * sysdeps/stub/tcflow.c: Likewise.
4138 * sysdeps/stub/tcflush.c: Likewise.
4139 * sysdeps/stub/tcgetattr.c: Likewise.
4140 * sysdeps/stub/tcgetpgrp.c: Likewise.
4141 * sysdeps/stub/tcsendbrk.c: Likewise.
4142 * sysdeps/stub/tcsetattr.c: Likewise.
4143 * sysdeps/stub/tcsetpgrp.c: Likewise.
4144 * sysdeps/stub/telldir.c: Likewise.
4145 * sysdeps/stub/tempname.c: Likewise.
4146 * sysdeps/stub/time.c: Likewise.
4147 * sysdeps/stub/times.c: Likewise.
4148 * sysdeps/stub/truncate.c: Likewise.
4149 * sysdeps/stub/ttyname.c: Likewise.
4150 * sysdeps/stub/ttyname_r.c: Likewise.
4151 * sysdeps/stub/ualarm.c: Likewise.
4152 * sysdeps/stub/ulimit.c: Likewise.
4153 * sysdeps/stub/umask.c: Likewise.
4154 * sysdeps/stub/unlink.c: Likewise.
4155 * sysdeps/stub/usleep.c: Likewise.
4156 * sysdeps/stub/ustat.c: Likewise.
4157 * sysdeps/stub/utime.c: Likewise.
4158 * sysdeps/stub/utimes.c: Likewise.
4159 * sysdeps/stub/vhangup.c: Likewise.
4160 * sysdeps/stub/wait.c: Likewise.
4161 * sysdeps/stub/wait3.c: Likewise.
4162 * sysdeps/stub/wait4.c: Likewise.
4163 * sysdeps/stub/waitpid.c: Likewise.
4164 * sysdeps/stub/write.c: Likewise.
4165 * sysdeps/stub/writev.c: Likewise.
4166 * sysdeps/stub/xmknod.c: Likewise.
4167 * sysdeps/stub/xstat.c: Likewise.
4168 * sysdeps/unix/closedir.c: Likewise.
4169 * sysdeps/unix/fxstat.c: Likewise.
4170 * sysdeps/unix/getlogin.c: Likewise.
4171 * sysdeps/unix/getlogin_r.c: Likewise.
4172 * sysdeps/unix/mkdir.c: Likewise.
4173 * sysdeps/unix/nice.c: Likewise.
4174 * sysdeps/unix/nlist.c: Likewise.
4175 * sysdeps/unix/opendir.c: Likewise.
4176 * sysdeps/unix/readdir.c: Likewise.
4177 * sysdeps/unix/rmdir.c: Likewise.
4178 * sysdeps/unix/stime.c: Likewise.
4179 * sysdeps/unix/xmknod.c: Likewise.
4180 * sysdeps/unix/xstat.c: Likewise.
4181 * sysdeps/unix/bsd/isatty.c: Likewise.
4182 * sysdeps/unix/bsd/setegid.c: Likewise.
4183 * sysdeps/unix/bsd/seteuid.c: Likewise.
4184 * sysdeps/unix/bsd/setsid.c: Likewise.
4185 * sysdeps/unix/bsd/sigaction.c: Likewise.
4186 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4187 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4188 * sysdeps/unix/bsd/tcflow.c: Likewise.
4189 * sysdeps/unix/bsd/tcflush.c: Likewise.
4190 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4191 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4192 * sysdeps/unix/bsd/times.c: Likewise.
4193 * sysdeps/unix/bsd/ulimit.c: Likewise.
4194 * sysdeps/unix/common/lxstat.c: Likewise.
4195 * sysdeps/unix/common/tcsendbrk.c: Likewise.
4196 * sysdeps/unix/sysv/setrlimit.c: Likewise.
4197 * sysdeps/unix/sysv/settimeofday.c: Likewise.
4198 * sysdeps/unix/sysv/sigaction.c: Likewise.
4199 * sysdeps/unix/sysv/tcflow.c: Likewise.
4200 * sysdeps/unix/sysv/tcflush.c: Likewise.
4201 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4202 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4203 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4204 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
4205 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
4206 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
4207 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4208 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4209 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
4210 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4211 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4212 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4213 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4214 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
4215 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
4216 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
4217 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
4218 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
4219 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
4220 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
4221 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4222 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4223 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
4225 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
4226 * sunrpc/clnt_udp.c: Likewise.
4227 * sunrpc/bindrsvprt.c: Likewise.
4228 * sunrpc/pm_getmaps.c: Likewise.
4229 * sunrpc/pmap_rmt.c: Likewise.
4230 * sunrpc/svc.c: Likewise.
4231 * sunrpc/svc_run.c: Likewise.
4232 * sunrpc/svc_tcp.c: Likewise.
4233 * sunrpc/svc_udp.c: Likewise.
4235 * sysdeps/generic/strtok.c: Don't check argument, just crash.
4236 * sysdeps/generic/strtok_r.c: Likewise.
4238 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
4239 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
4240 * sysdeps/unix/sparc/start.c: Likewise.
4241 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
4242 * sysdeps/unix/sysv/irix4/start.c: Likewise.
4243 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4244 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
4245 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4247 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
4249 * catgets/gencat.c (main): Put package name in --version message
4250 in parantheses. Reported by Jim Meyering.
4251 * db/makedb.c: Likewise.
4252 * locale/programs/locale.c: Likewise.
4253 * locale/programs/localedef.c: Likewise.
4255 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
4256 two registers. Patch by John Bowman.
4258 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4260 * sysdeps/mach/libc-lock.h: Fix comment.
4261 * sysdeps/stubs/libc-lock.h: Likewise.
4263 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4265 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
4266 to lock when passing it to __libc_lock_init macro.
4267 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
4268 when passing it to __libc_lock_fini macro.
4270 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4272 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
4273 [_LIBC_REENTRANT]: Add missing semicolon.
4275 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
4276 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
4277 Use the ENTRY macro.
4279 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4281 * libio/Makefile: Make `all' the default target.
4282 * po/Makefile: Likewise.
4284 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
4286 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
4287 I applied it incorrectly.
4288 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4289 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
4290 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
4292 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
4294 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
4295 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
4297 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
4300 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
4301 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
4303 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
4304 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
4305 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
4306 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
4307 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
4309 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4311 * hurd/Makefile (installed-sunrpc-headers): New variable.
4312 (sunrpc-headers): New variable.
4313 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
4314 not just <rpc/netdb.h>.
4315 ($(installed-sunrpc-headers)): Provide rule for all of these.
4317 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4319 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
4320 variable `top_srcdir' in libc; use $(..) instead.
4322 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
4323 definition. It was a *Mistake*. (With a capital M.)
4325 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
4327 (__get_nprocs_conf): Renamed from __get_nproc_conf.
4329 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
4331 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
4332 `_dl_start' so that linking fails if this file should ever be used
4335 * catgets/gencat.c (main): Change --version message according to
4336 RMS' last standard revision.
4337 * db/makedb.c: Likewise.
4338 * locale/programs/locale.c: Likewise.
4339 * locale/programs/localedef.c: Likewise.
4341 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4343 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
4344 (__get_nproc_conf): New function.
4346 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
4348 * resolv/resolv.h: Update to bind-4.9.5-T4B.
4349 * resolv/base64.c: Likewise.
4350 * resolv/res_debug.c: Likewise.
4351 * resolv/res_query.c: Likewise.
4352 * resolv/gethnamaddr.c: Likewise.
4353 * nss/nss_dns/dns-host.c: Likewise.
4354 * resolv/res_comp.c: Likewise.
4355 * resolv/res_send.c: Likewise.
4356 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
4359 * resolv/Banner: New file.
4360 * resolv/Makefile (distribute): Add Banner.
4362 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
4364 * sysdeps/stub/getsysstats.c: New file.
4365 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
4367 * misc/Makefile (headers): Add sys/sysinfo.h.
4368 (routines): Add getsysstats.
4369 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
4370 (sysdep_headers): Remove sys/sysinfo.h.
4371 * sysdeps/generic/sys/sysinfo.h: New file.
4372 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
4373 get_phys_pages, and get_avphys_pages.
4375 * misc/Makefile (routines): Add mntent_r.
4376 * misc/mntent_r.c: New file.
4377 * misc/mntent.c: Remove all functions but getmntent and use
4379 * misc/mntent.h: Add prototype for __getmntent_r.
4380 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
4381 This will not clobber the state in getmntent.
4383 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
4384 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
4385 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
4386 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
4387 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
4388 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
4389 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
4390 * sysdeps/posix/sysconf.c: Likewise.
4391 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
4392 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
4394 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
4396 * version.h (VERSION): Bump to 1.95.
4398 * Make-dist (+tsrcs): Don't filter out files in subdirs which
4399 match files in the sysdeps hierachy (welcome back,
4402 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
4404 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
4406 * locale/loadlocale.c (_nl_free_locale): Remove function.
4407 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
4408 * locale/setlocale.c (setlocale): Don't free locale data of
4409 categories which succeeded to load after a wrong or missing data
4412 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
4413 that it works even when the locale data is not used.
4415 * stdlib/random_r.c: Fix typo in comment.
4416 * stdlib/drand48-iter.c: Likewise.
4417 * stdlib/drand48.c: Likewise.
4418 * stdlib/erand48.c: Likewise.
4419 * stdlib/jrand48.c: Likewise.
4420 * stdlib/lcong48.c: Likewise.
4421 * stdlib/lrand48.c: Likewise.
4422 * stdlib/mrand48.c: Likewise.
4423 * stdlib/nrand48.c: Likewise.
4424 * stdlib/random.c: Likewise.
4425 * stdlib/seed48.c: Likewise.
4426 * stdlib/srand48.c: Likewise.
4427 * misc/search.h: Likewise.
4428 * misc/hsearch.c: Likewise.
4429 * misc/hsearch_r.c: Likewise.
4431 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4433 * sysdeps/mach/getsysstats.c: New file.
4435 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
4436 binary distribution.
4438 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
4439 definition to override dangerous one in Makeconfig.
4441 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
4442 ($(includedir)/rpc/netdb.h): New rule.
4443 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
4446 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4448 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
4449 to guarantee link errors if this is included in ld.so.
4451 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4453 * hurd/hurdinit.c (__libc_argv): Provide common decl.
4454 (_hurd_setproc): Don't declare __libc_argv here.
4456 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4458 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
4459 for actual modifications to global state.
4461 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4463 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
4464 * sysdeps/mach/hurd/Makefile (includes): Add
4465 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
4467 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
4468 struct sched_params.
4469 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
4470 sched_params -> struct sched_param.
4471 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
4472 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
4474 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4476 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
4479 * stdio-common/Makefile: Put lockfile in routines
4482 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
4483 this always, not just if _LIBC_REENTRANT.
4484 (__funlockfile): Don't use weak_extern for this one;
4485 __libc_cleanup_region_end might be defined and the use of
4486 __funlockfile can't be protected the way the use of __flockfile
4489 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
4491 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
4492 instead of localtime.
4493 Reported by Matthias Urlichs.
4495 * shlib-versions: Remove version number for libcrypt.
4496 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
4497 * libc-symbols.h: Define _REENTRANT while compiling libc.
4499 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
4500 Define even if !_LIBC_REENTRANT.
4501 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
4504 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
4507 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
4508 * po/header.pot: Correct title line.
4511 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
4513 * Makeconfig (soversions.mk): Prefer shared lib version numbers
4514 is add ons over version in libc itself.
4516 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
4517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
4520 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
4521 _IO_flockfile and _IO_funlockfile resp.
4523 * locale/categories.def: Partly support for correct `era' handling
4524 in LC_TIME category.
4525 * locale/langinfo.h: Likewise.
4526 * locale/programs/ld-time.c: Likewise.
4527 * locale/localeinfo.h: Change comment a bit.
4529 * malloc/memalign.c: Don't use goto, not necessary anymore.
4531 1996-09-18 Paul Eggert <eggert@twinsun.com>
4533 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
4534 is negative, or if time_t is unsigned.
4535 * time/strftime.c (tm_diff): Work correctly even if tm_year
4538 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4540 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
4541 all three versions of the math function.
4542 (__inline_mathopf, __inline_mathopl): Removed.
4543 (__inline_functions): New temporary definition containing all
4544 non-trivial inline functions.
4546 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
4548 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
4550 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
4552 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
4555 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
4557 * sysdeps/stub/fpu_control.h: Correct end of file comment.
4559 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
4561 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
4562 stdio-common/test-popen.c: Remove temporary files after test.
4563 * stdio-common/bug5.c: Use `system' instead of `execlp'.
4564 Patches by Andreas Jaeger.
4566 * stdio-common/bug5.c: Create string for `system' argument to
4567 make sure the input and output file names are really correct.
4569 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4571 * configure.in: If $os contains a hyphen add the part before the
4574 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4576 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
4577 __ieee754_powl): Rename local variable i to __i.
4578 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
4580 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
4581 sysdeps/m68k/fpu/e_atan2l.c: New files.
4583 1996-09-15 Paul Eggert <eggert@twinsun.com>
4585 * manual/time.texi: Change `range X to Y' to `range X through
4586 Y', to avoid ambiguity in English.
4588 (strftime): Numbers that do not have a range indicated are not padded.
4589 Describe E and O modifiers.
4590 %g, %G, %u: New formats.
4591 %C, %y, %Y: Describe behavior on negative years.
4592 %e: Fix typo (was labeled %d).
4593 %l, %V: Fix typo in range.
4594 %M, %S, %U, %w, %W: Give ranges.
4595 %p: Clarify how noon and midnight are handled for AM and PM.
4596 %s: Clarify leap second handling.
4597 %r: Now locale-defined.
4598 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
4599 %z: Say that it is a GNU extension.
4602 * time/strftime.c: (strftime):
4603 %V: Fix mishandling of week numbers near year boundaries.
4604 %g, %G: New formats (suggested by Arthur David Olson).
4605 %U, %W: Use inline expression instead of `week' function.
4606 %C, %y: Handle negative years portably.
4607 %C, %Y: Use width 1, since values can be arbitrarily wide.
4608 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
4609 %u: New Posix.2 format.
4610 %w: Width is 1, not 2.
4611 (iso_week_days): New function, for %V, %G, %g.
4612 (week): Remove; it didn't handle %V correctly.
4613 (__isleap): New macro.
4614 (mbsinit): Use arg, to pacify GCC -Wall.
4616 1996-09-13 Paul Eggert <eggert@twinsun.com>
4618 * time/strftime.c (strftime):
4619 If using the GNU C library, do not bother to check for
4620 multibyte encodings, since they're safe in formats. Otherwise:
4621 - Check for multibyte encodings when encountering any character that
4622 is not in the basic execution character set of the C Standard.
4623 - Use mbrlen (if available) instead of mblen, to avoid modifying
4624 mblen's internal state.
4625 - Do not assume that '%' cannot appear as the first character of a
4626 multibyte character sequence, since this is possible when not in the
4627 initial shift state.
4628 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
4629 (DO_MULTIBYTE): New macro.
4630 (<ctype.h>): Do not include.
4631 (<wchar.h>): Include if HAVE_MBRLEN.
4632 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
4633 (mbstate_zero): New constant.
4635 1996-09-12 Paul Eggert <eggert@twinsun.com>
4637 * time/strftime.c (strftime):
4638 Use an empty zone if it can't be determined; POSIX.2 requires this.
4639 Use plain `int' for pad and modifier (which now contain char value).
4640 Use plain `int' for number_value, to print negative values correctly.
4641 Use plain `int' for digits; there was no need to make it unsigned.
4642 Initialize subfmt consistently.
4643 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
4644 For %O, if there is no alternate digit, output Ascii instead of "".
4645 Output the `%' of an unknown format; this is most likely the right
4646 thing to do if a multibyte string has been misparsed.
4648 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4650 * stdio-common/scanf7.c (main): Remove extra conversion from
4651 printf format string.
4653 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4655 * stdlib/test-canon.c (tests): Rename structure member from errno
4656 to error, all uses changed.
4658 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4660 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
4662 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
4663 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
4665 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
4666 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
4667 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
4669 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
4670 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
4672 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
4673 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
4675 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4677 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
4678 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
4680 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4682 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
4683 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
4685 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4687 * inet/herrno.c (__h_errno_location): Fix return type.
4689 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4691 * hurd/hurdinit.c (__libc_argv): Provide common decl.
4692 (_hurd_setproc): Don't declare __libc_argv here.
4694 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
4696 * sched.h: New file. Helper to access posix/sched.h.
4697 * posix/sched.h: Change `sched_params' to `sched_param' to follow
4700 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
4702 * db/makedb.c (usage): Print bug report address separately to
4703 ease translators task.
4704 * catgets/gencat.c (usage): Likewise.
4705 * locale/locale.c (usage): Likewise.
4706 * locale/localedef.c (usage): Likewise.
4708 1996-09-12 Paul Eggert <eggert@twinsun.com>
4710 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
4711 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
4712 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
4714 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
4716 * crypt/Makefile: Include Makeconfig and add crypt object dir to
4717 rpath-link so that running the check finds the new library.
4718 * crypt/cert.c: provide correct prototypes to prevent warnings.
4719 Reported by Andreas Jaeger.
4721 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
4722 old and new value must be glued using `:'.
4723 Reported by Marcus Daniels.
4725 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4727 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
4728 accidentally added on.
4730 * sysdeps/stub/intr-msg.h: New file.
4732 * stdio-common/vfprintf.c: Include <libc-lock.h>.
4733 * stdio-common/vfscanf.c: Include <libc-lock.h>.
4735 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
4737 (__libc_cleanup_region_end): New macro.
4739 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4741 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
4742 accidentally added on.
4744 * sysdeps/stub/intr-msg.h: New file.
4746 * stdio-common/vfprintf.c: Include <libc-lock.h>.
4747 * stdio-common/vfscanf.c: Include <libc-lock.h>.
4749 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
4751 (__libc_cleanup_region_end): New macro.
4753 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
4755 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
4756 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4757 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
4759 1996-09-11 Paul Eggert <eggert@twinsun.com>
4761 * strftime.c (strftime):
4762 Handle E and O modifiers, required for POSIX.2 and XPG4.
4763 Don't use sprintf to format numbers; this way, we can handle time_t
4764 correctly regardless of whether it's signed.
4765 Don't dump core if format ends in %.
4766 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
4768 Use tm_gmtoff if available.
4769 Output nothing if tm_isdst is negative.
4770 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
4771 Don't assume that UTC offset is less than 24 hours;
4772 Posix requires support for 24 hours, and there's no point
4774 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
4775 (CHAR_BIT): Define if <limits.h> doesn't.
4776 (tm_diff): New function.
4777 (fmt, <stdio.h>): Remove; no longer used.
4779 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
4781 * db/Makefile: Add extra-libs-others variable so that shared
4782 library is built in `others' pass.
4783 * elf/Makefile: Likewise.
4784 * math/Makefile: Likewise.
4785 * resolv/Makefile: Likewise.
4787 * Makefile (generated): Add version.info.h.
4789 * time/checktab.awk: New file. From ADO 96k.
4790 * time/iso3166.tab: Likewise.
4791 * time/tzselect.ksh: Likewise.
4792 * time/zone.tab: Likewise.
4794 * stdio-common/vfprintf.c: Correct cleanup registration. We
4797 1996-09-11 Paul Eggert <eggert@twinsun.com>
4799 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
4800 __USE_BSD; this is required for ANSI C compatibility.
4801 * manual/time.texi: Replace GMT by UTC, daylight savings by
4802 daylight saving, timezone by time zone.
4803 Rewrite description of %V to match ISO 8601.
4804 Fix TZ Posix string example for US Eastern time.
4805 Explain tzname[1] when DST isn't used.
4806 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
4807 Explain that timezone's sign is opposite from tm_gmtoff, and that
4808 timezone lacks DST adjustment whereas tm_gmtoff has it.
4809 Deprecate tzname and timezone.
4811 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4813 Implement Roland McGrath's idea of how to put an .interp into
4815 * interp.c: New file.
4816 * Makerules (interp-obj): New object, linked into every shared
4818 (common-generated): Add interp.so.
4819 (CFLAGS-interp.c): Pass name of interpreter.
4821 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4823 * db/Makefile: Fix typo.
4825 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4827 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
4828 occurences of the same uid, and only generate a mapping for the
4831 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4833 * sysdeps/unix/sysv/linux/system.c: New file, to override
4834 sysdeps/unix/system.c.
4836 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4838 * Makefile (before-compile): Add version-info.h, needed to build
4841 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4843 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
4844 EWOULDBLOCK, never true on Linux.
4845 (__errno_location): New function.
4846 [_LIBC_REENTRANT]: Set errno using __errno_location function.
4847 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
4848 syscall_error handler for reentrant libc.
4850 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4852 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
4854 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
4856 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
4858 * time/tzfile.c (compute_tzname_max): Likewise.
4860 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
4862 * configure.in: Quote $add_ons argument in loop to generated
4865 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
4867 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
4869 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4871 * elf/dl-cache.c: Rename to ...
4872 * sysdeps/generic/dl-cache.c: ... here.
4873 * sysdeps/mach/hurd/dl-cache.c: New file.
4875 * mach/Makefile (distribute): Add `errsystems.awk'.
4876 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
4877 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
4878 * hurd/intr-rpc.awk: Likewise.
4879 * hurd/invoke-trans.c: Likewise.
4880 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
4881 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
4882 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
4883 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
4884 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
4885 * sysdeps/stub/init-fault.c: Likewise.
4886 * sysdeps/stub/longjmp-ctx.c: Likewise.
4888 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
4890 * inet/herrno.c: Initialize `h_errno' so that we can provide
4893 * Makefile (version-info.h): Fix typo in shell script.
4895 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
4896 * sysdeps/i386/i586/strchr.S: Likewise.
4898 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
4900 * version.c (banner): Report to bug-glibc@prep not @gnu.
4901 Reported by Andreas Jaeger.
4903 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
4905 [__USE_REENTRANT]: Don't define
4907 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
4909 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
4910 when it is the third byte in the string. Reported by
4912 * string/tester.c: Add tests for above bug to strlen, strchr, and
4915 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4917 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
4918 "math_private.h" to get prototype.
4919 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4920 * sysdeps/m68k/fpu/k_cos.c: Likewise.
4921 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4922 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4924 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
4926 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4928 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4930 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
4931 instead of __NO_MATH_INLINES.
4932 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
4933 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
4934 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4935 * sysdeps/m68k/fpu/k_cos.c: Likewise.
4936 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4937 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4938 * sysdeps/m68k/fpu/s_atan.c: Likewise.
4939 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4940 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4941 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4942 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
4943 * sysdeps/m68k/fpu/s_modf.c: Likewise.
4944 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
4945 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4946 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4948 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
4950 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
4951 available character before converting number and return with
4952 error if none is available.
4954 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4956 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
4957 implementation for architectures where parameters are passed on
4959 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
4960 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
4962 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4964 * configure.in: Remove unneeded sysnames frobbing.
4966 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
4968 * time/zic.c: Update from ADO 96l.
4969 * time/africa: Update from ADO 96k.
4970 * time/antarctica: Likewise.
4971 * time/asia: Likewise.
4972 * time/australia: Likewise.
4973 * time/europe: Likewise.
4974 * time/northamerica: Likewise.
4975 * time/southamerica: Likewise.
4977 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4979 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
4980 gcc <= 2.7.2.1 which optimizes away address operations on weak
4983 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
4984 Like INT_FIELD but also accept non-existing field.
4985 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
4986 for last four fields.
4987 * shadow/putspent.c (putspent): Print `:' after numeric value.
4989 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
4991 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
4993 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
4995 * Make-dist: Filter out $(add-ons) from $(subdirs).
4996 Don't distribute TAGS files.
4997 ($(tardir).tar): Remove dist.tar when all is done.
4998 * manual/Makefile (distribute): Add libc.info*.
4999 * libio/Makefile (distribute): Add Banner.
5000 * inet/Makefile (headers): Add netinet/tcp.h.
5002 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
5004 * crypt-README: Removed.
5005 * gnu-stabs.h: Removed.
5007 * sysdeps/alpha/copysign.S: Renamed to...
5008 * sysdeps/alpha/s_copysign.S: ...this.
5009 * sysdeps/alpha/fabs.S: Renamed to...
5010 * sysdeps/alpha/s_fabs.S: ...this.
5012 * sysdeps/m68k/isinfl.c: Renamed to...
5013 * sysdeps/m68k/s_isinfl.c: ...this.
5014 * sysdeps/m68k/isnanl.c: Renamed to...
5015 * sysdeps/m68k/s_isnanl.c: ...this.
5017 * sysdeps/sparc/sqrt.c: Renamed to...
5018 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
5021 * sysdeps/generic/get_str.c: Removed.
5023 * sysdeps/ieee754/cbrt.c: Removed.
5024 * sysdeps/ieee754/drem.c: Removed.
5025 * sysdeps/ieee754/logb.c: Removed.
5026 * sysdeps/ieee754/sqrt.c: Removed.
5028 * sysdeps/stub/cbrt.c: Removed.
5029 * sysdeps/stub/cos.c: Removed.
5030 * sysdeps/stub/drem.c: Removed.
5031 * sysdeps/stub/isinf.c: Removed.
5032 * sysdeps/stub/isinfl.c: Removed.
5033 * sysdeps/stub/isnanl.c: Removed.
5034 * sysdeps/stub/logb.c: Removed.
5035 * sysdeps/stub/sin.c: Removed.
5036 * sysdeps/stub/sqrt.c: Removed.
5038 * sysdeps/tahoe/log10.c: Removed.
5040 * sysdeps/vax/index.s: Removed.
5041 * sysdeps/vax/rindex.s: Removed.
5042 * sysdeps/vax/bcmp.s: Removed.
5043 * sysdeps/vax/log10.c: Removed.
5044 * sysdeps/vax/infnan.c: Removed.
5045 * sysdeps/vax/Dist: Add fl.h.
5047 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
5049 * inet/rcmd.c (rcmd): Make messages more uniform.
5051 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
5056 * po/pl.po: New file.
5057 * po/nl.po: New file.
5059 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
5061 * Makeconfig (+link): Filter out start, pre & postinit from the
5062 generic depenancies as well.
5063 * Rules: Add start, pre & postinit to the dependancies of
5064 $(others) and $(tests).
5066 * configure.in: elf_dirs missing "sysdeps" component.
5068 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
5070 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
5071 This is consistent with all other GNU packages. We shouldn't
5072 take care for a possible clash. Nobody will name the domain
5073 of a package libc if it is not the libc itself.
5074 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
5075 * po/Makefile (domainname): Change to libc.
5076 (distribute): Now ship libc.pot.
5077 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
5078 version information banner.
5079 Change bug report address to bug-glibc@prep not @gnu.
5080 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
5081 (main): Use `PACKAGE' for package name in version information
5083 Change bug report address to bug-glibc@prep not @gnu.
5084 * locale/programs/locale.c (main): Use `PACKAGE' for package name
5085 in version information banner.
5086 Change bug report address to bug-glibc@prep not @gnu.
5087 * locale/programs/localedef.c (main): Likewise.
5089 * version.h (VERSION): Bump to 1.94.
5091 * locale/Makefile (distribute): Add locale.c and localedef.c.
5093 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
5095 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
5096 instead of sizeof(nl_catd) (which is just a pointer!).
5098 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
5100 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
5101 * version.c (banner): Add contents of version-info.h to string.
5103 * Makerules: If $($(subdir)-version) is available name versioned
5104 shared library according to this value instead of glibc's version.
5106 * libio/Banner: New file.
5108 * elf/eval.c (funcall): Write error message in case function is
5110 (eval): Recognize `_' in names.
5112 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
5114 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
5115 * libio/iofopen: Likewise.
5116 * libio/iofopncook.c: Likewise.
5117 * libio/iopopen.c: Likewise.
5118 * libio/iovsprintf.c: Likewise.
5119 * libio/iovsscanf.c: Likewise.
5120 * libio/memstream.c: Likewise.
5121 * libio/vasprintf.c: Likewise.
5122 * libio/vdprintf.c: Likewise.
5123 * libio/vsnprintf.c: Likewise.
5125 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
5127 * Makeconfig (soversions.mk): Also use shlib-versions files
5128 in add-on directories.
5129 * config.make.in (config-defines): Remove. Not used anymore.
5130 (defines): New variable. Initiliazed by @DEFINES@.
5131 * configure.in: Add AC_SUBST(DEFINES).
5133 * libio/Makefile (routines): When compiling reentrant libc add
5134 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
5135 iofflush_u, putc_u, putchar_u, ioflockfile.
5136 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
5138 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
5139 and __libc_cleanup_region_end.
5141 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
5142 using __errno_location function.
5143 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
5144 using __errno_location function.
5145 (__errno_location): New function.
5146 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
5147 syscall_error handler for reentrant libc.
5149 * sysdeps/unix/opendir.c: Remove unneeded `;'.
5151 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
5152 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
5154 * libioP.h: Include <libc-lock.h>.
5155 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
5158 * libio/clearerr.c: Use _IO_ protected versions of flockfile
5159 and funlockfile to be namespace clean.
5161 * libio/genops.c: Use __libc_lock_* macros for handling lock.
5163 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
5164 * libio/iofopen: Likewise.
5165 * libio/iofopncook.c: Likewise.
5166 * libio/iopopen.c: Likewise.
5167 * libio/iovsprintf.c: Likewise.
5168 * libio/iovsscanf.c: Likewise.
5169 * libio/memstream.c: Likewise.
5170 * libio/vasprintf.c: Likewise.
5171 * libio/vdprintf.c: Likewise.
5172 * libio/vsnprintf.c: Likewise.
5174 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
5176 * libio/fputc.c: Likewise.
5177 * libio/freopen.c: Likewise.
5178 * libio/fseek.c: Likewise.
5179 * libio/getc.c: Likewise.
5180 * libio/getchar.c: Likewise.
5181 * libio/iofclose.c: Likewise.
5182 * libio/iofflush.c: Likewise.
5183 * libio/iofgetpos.c: Likewise.
5184 * libio/iofgets.c: Likewise.
5185 * libio/iofputs.c: Likewise.
5186 * libio/iofread.c: Likewise.
5187 * libio/iofsetpos.c: Likewise.
5188 * libio/ioftell.c: Likewise.
5189 * libio/iofwrite.c: Likewise.
5190 * libio/iogetdelim.c: Likewise.
5191 * libio/iogets.c: Likewise.
5192 * libio/ioputs.c: Likewise.
5193 * libio/iosetbuffer.c: Likewise.
5194 * libio/iosetvbuf.c: Likewise.
5195 * libio/ioungetc.c: Likewise.
5196 * libio/putc.c: Likewise.
5197 * libio/putchar.c: Likewise.
5198 * libio/rewind.c: Likewise.
5199 * stdio-common/vfprintf.c: Likewise.
5200 * stdio-common/vfscanf.c: Likewise.
5202 * libio/clearerr_u.c: Correct alias name.
5203 * libio/ferror_u.c: Likewise.
5204 * libio/fileno.c: Likewise.
5205 * libio/fputc_u.c: Likewise.
5206 * libio/getc.c: Likewise.
5207 * libio/getc_u.c: Likewise.
5208 * libio/getchar.c: Likewise.
5209 * libio/getchar_u.c: Likewise.
5210 * libio/putc.c: Likewise.
5211 * libio/putchar.c: Likewise.
5213 * libio/feof_u.c: Undefine macro with name of function before
5214 definition of function itself.
5216 * libio/ioflockfile.c: New file. Implementation of flockfile and
5219 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
5221 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
5224 * malloc/free.c: Include <libc-lock.h>.
5225 * malloc/realloc.c: Likewise.
5226 * malloc/malloc-find.c: Likewise.
5227 * malloc/malloc-size.c: Likewise.
5228 * malloc/malloc-walk.c: Likewise.
5229 * malloc/memalign.c: Likewise.
5230 * malloc/malloc.c: Likewise.
5232 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
5234 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
5236 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
5237 and __libc_lock_critical_end as empty macros.
5239 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
5241 * malloc/free.c: Include <libc-lock.h>.
5242 * malloc/malloc-find.c: Likewise.
5243 * malloc/malloc-size.c: Likewise.
5244 * malloc/malloc-walk.c: Likewise.
5245 * malloc/malloc.c: Likewise.
5246 * malloc/memalign.c: Likewise.
5247 * malloc/realloc.c: Likewise.
5249 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
5252 * extra-lib.mk: Likewise.
5253 * manual/Makefile: Likewise.
5255 * db/Makefile (makedb): Choose dependecies based on build-shared.
5256 Patch by Andres Schwab.
5258 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
5259 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
5261 * sysdeps/unix/sysv/linux/errnos.h: New file.
5262 * sysdeps/unix/sysv/linux/schedbits.h: New file.
5263 * sysdeps/unix/sysv/linux/waitflags.h: New file.
5265 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
5267 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5269 * rpm/template: Fix typo in %build section.
5271 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
5273 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
5274 building libc without thread support.
5275 * resolv/netdb.h: Likewise for h_errno macro.
5277 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
5279 * libc-symbols.h: Add new macro weak_const_function. It's like
5280 weak_function, but the function is additionally marked as const.
5281 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
5283 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
5285 * inet/herrno.c (__h_errno_location): New function.
5286 (h_errno): Make strong_alias __h_errno so that we can access
5287 the variable even if `h_errno' is a macro.
5288 * resolv/netdb.h: Define macro h_errno to access thread specific
5289 version of h_errno variable. Declare alias __h_errno for h_errno.
5290 * resolv/res_query (h_errno): Remove definition.
5291 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
5292 Add macro `errno' to get thread specific variable.
5293 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
5294 __errno_location function.
5295 (__errno_location): New function.
5297 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
5299 * posix/gnu/types.h: Remove definition of key_t.
5300 * sysdeps/generic/gnu/types.h: Move it to here.
5301 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
5302 definition of key_t.
5304 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
5306 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
5307 clone prototypes and associated flags.
5309 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5311 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
5313 (init1): Initialize them.
5314 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
5315 available, pass __libc_argv in call to __proc_set_arg_locations.
5317 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
5319 (hertz): Delete function.
5320 * gmon/Makefile (routines): Add `prof-freq'.
5321 * sysdeps/generic/prof-freq.c: New file.
5322 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
5323 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
5324 (update_waiter): Store frequency in profile_tick.
5325 (__profile_frequency): New function.
5327 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
5330 * Rules (generated): Restore reference to $(generated).
5332 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
5335 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
5337 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
5338 * malloc/realloc.c: Likewise.
5339 * malloc/malloc-find.c: Likewise.
5340 * malloc/malloc-size.c: Likewise.
5341 * malloc/malloc-walk.c: Likewise.
5342 * malloc/memalign.c: Likewise.
5344 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
5346 * sysdeps/alpha/elf/start.S: Make _start global again.
5348 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
5350 Change configuration and Makefiles to allow add-ons to have a
5351 sysdeps/ directory hierachy.
5352 * configure.in: Test for sysdeps/ directory in add-ons. Before
5353 all test and searches in these hierachies, too.
5354 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
5355 Extend with $(..) if not absolute path.
5356 Use $(full-config-subdirs) where $(config-sysdirs) was used.
5357 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
5358 * MakeTAGS: Use $(full-config-subdirs).
5359 * Makerules: Change comment to libc.so link script.
5360 (sysdirs): Define based on $(full-config-subdirs).
5361 (sysd-Makefile): Define using config-sysdirs.
5362 (sysd-rules): Likewise.
5363 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
5364 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
5366 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5368 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
5369 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5370 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5372 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
5374 * malloc/free.c (free): Protect by using __libc_malloc_lock.
5375 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
5376 * malloc/malloc-size.c (malloc_usable_size): Likewise.
5377 * malloc/malloc-walk.c (malloc_walk): Likewise.
5378 * malloc/memalign.c (memalign): Likewise.
5379 * malloc/realloc.c (realloc): Likewise.
5380 * malloc/malloc.c: Define __libc_malloc_lock.
5381 (_malloc_internal): Don't use `malloc'. Instead look for
5382 `__malloc_hook' or call `_malloc_internal'.
5383 (malloc): Protect by using `__libc_malloc_lock'.
5384 * malloc/malloc.h: Declare `__libc_malloc_lock'.
5386 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
5388 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
5389 instead of the hard definition.
5391 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
5392 _start and _dl_start_user.
5394 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
5395 Make _dl_starting_up weak. Add type info for NAME.
5397 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
5399 * Makefile (all): Add extra_solibs pass.
5400 (+subdir_targets): Same.
5401 * Rules (extra_solibs): New phony empty target for subdirs without
5403 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
5404 * manual/Makefile: Add dummy extra_solibs target.
5406 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
5408 * Makeconfig (+link): Add $(link-extra-libs).
5409 (link-extra-libs): New variable which expands to the full paths of
5410 the other libraries needed by a program, as controled by LDLIBS-$(@F).
5411 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
5412 the later attempts to install the library before linking it.
5414 * sysdeps/unix/alpha/sysdep.S: Align errno.
5416 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
5418 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
5419 (_hae_shift): New function.
5420 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
5421 for the bus query functions.
5423 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
5425 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
5426 can be NULL when unloading a library.
5428 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
5429 to the library .init function.
5431 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
5432 part of the COPY reloc processing earlier, omit the rest now --
5433 we'll get into less trouble later when some fool does use a COPY.
5435 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
5436 parameters. Move all argc and __libc_multiple_libcs calculation out
5437 to init-first.h. Use __environ not __libc_envp.
5438 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
5439 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
5441 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5443 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
5444 signal settings when profiling was already turned on.
5446 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
5449 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
5451 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
5452 0 < return value < -4096 and not < 0 to decide about failure.
5453 Reported by Andreas Jaeger.
5455 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
5457 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
5460 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
5462 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
5465 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
5467 * version.c: Add missing newline character in banner.
5469 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
5470 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
5472 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
5474 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
5475 case, so don't prepend uppercase `ISO' for only numeric arg.
5477 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
5479 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
5480 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
5482 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
5484 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
5485 call to __libc_lock_lock.
5487 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
5488 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
5490 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
5492 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
5494 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
5496 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
5497 Reported by Erik Troan.
5499 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
5501 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
5502 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
5504 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
5506 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
5508 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5510 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
5513 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
5515 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
5518 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5520 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
5521 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
5523 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
5524 $(common-objpfx) is good enough.
5525 * Rules (common-generated): Provide default (empty) value.
5526 (dummy.o, dummy.c, empty.o, empty.c): Put these in
5527 $(common-generated), not $(generated), and without $(..).
5528 (subdir_echo-distinfo): Treat $(common-generated) just like
5530 (generated): Depend on the (suitably mutated) $(common-generated)
5532 * Makerules (common-clean): Remove common-generated files too.
5533 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
5535 (common-generated): Do put errnos.d and stamp-errnos here.
5536 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
5538 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
5539 auth to following rule to get it built.
5541 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
5543 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
5544 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
5545 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5547 * version.c: Add comment about where to report bugs to.
5548 * catgets/gencat.c (usage): Likewise.
5549 * db/makedb.c (usage): Likewise.
5550 * locale/programs/locale.c (usage): Likewise.
5551 * locale/programs/localedef.c (usage): Likewise.
5553 * manual/socket.texi: A little bit better wording.
5555 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
5557 * Makerules: Make sure directory exists before generating stamp file.
5558 (BUILD_CFLAGS): Always refer to using $(..).
5559 * manual/Makefile: Make sure directory exists before generating
5561 (make-target-directory): Add macro definition.
5562 * sysdeps/generic/Makefile: Make sure directory exists before
5563 generating stamp file.
5565 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
5567 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5569 When compiling in separate directory put objects into
5570 subdirectories matching the source layout.
5571 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
5572 When looking for configparms try in $(common-objpfx).
5573 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
5575 * Makerules: Add $(objpfx) to vpath list.
5576 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
5577 more than once. All uses in dependency lists changed.
5578 (+make-deps): Make target directory.
5579 (sed-remove-objpfx): Substitute $(common-objpfx).
5580 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
5581 $(objpfx) instead of $(objdir) for cd command.
5582 (O%-lib): Always find libc relative to $(..).
5583 (subdir-stamps): Collect stamp files from subdirs.
5584 (common-mostlyclean): Remove stub file in $(common-objpfx).
5585 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
5586 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
5588 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
5589 $(common-objpfx). All uses in dependency lists changed.
5590 (generated): Prepend $(..) to names.
5591 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
5593 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
5594 Use $(common-objpfx) instead of $(..) in dependencies.
5595 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
5596 $(common-objpfx) instead of $(..) and (objpfx).
5597 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
5598 (rpath-link): Likewise.
5599 (rpcuserlibs): Likewise.
5600 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
5601 errlist.c in $(objpfx), not $(common-objpfx).
5602 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
5604 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
5605 s-proto.d in $(common-objpfx), not $(objpfx).
5607 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
5609 * nss/nsswitch.c (nss_dlerror_run): Free returned error
5612 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
5614 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
5616 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
5617 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
5618 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
5619 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
5620 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
5621 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
5622 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
5623 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
5625 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5627 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
5628 spelling error of _hurd_itimerval.
5630 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
5631 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
5632 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
5634 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
5636 * stdio/fseek.c (fseek): Don't assume we know the file position;
5637 other handles may have changed it. So set STREAM.__offset to -1
5638 before calling __stdio_check_offset to make sure we have a correct
5641 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
5643 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
5644 `decimal' char is 0.
5646 * C-numeric.c (not_available): New constant.
5647 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
5649 * nss/nsswitch.conf: Example configuration file.
5650 * nss/db-Makefile: Example Makefile for generation of databases
5652 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
5654 1996-08-28 Paul Eggert <eggert@twinsun.com>
5656 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
5657 noexpr to "^[nN]"; this conforms to POSIX.2.
5659 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
5662 1996-08-28 Paul Eggert <eggert@twinsun.com>
5664 * C-monetary.c (not_available): New constant.
5665 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
5666 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
5667 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
5668 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
5670 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
5672 * nss/nss_db/db-XXX.c: Correct function names. They must be
5673 `_nss_db_*' instead of `_nss_files_*'.
5674 (lookup): `parse_line' returns 1 if succesful.
5675 * nss/nss_files/files-service.c (servbyname): Key for database
5676 must also contain protocol names.
5677 (servbypt): Likewise.
5678 Test must also check for protocol. Add `proto' argument.
5680 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5682 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
5685 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
5687 * Makerules: Add some test for correct version of GNU Make.
5689 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
5690 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
5692 * sysdeps/generic/dl-sysdep.c: Initialize break address to
5693 avoid overwriting last page (OK, Roland).
5695 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
5697 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
5698 * resolv/arpa/nameser.h: Likewise.
5699 * resolv/res_init.c: Likewise.
5700 * resolv/res_debug.c: Likewise.
5701 * resolv/res_mkquery.c: Likewise.
5703 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
5705 * elf/dl-error.c (catch): Define errstring element not as const.
5706 (_dl_catch_error): ERRSTRING argument is not const pointer.
5707 Initialize *ERRSTRING and *OBJNAME separately.
5708 * elf/link.h: Change prototype for `_dl_catch_error'.
5710 * elf/dl-load.c (_dl_map_object): Use separate variable for
5711 copied NAME to avoid `const' warning.
5713 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
5715 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
5716 provides preloading even for SUID binaries.
5717 Add some more casts to avoid signed<->unsigned warnings.
5719 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5721 * posix/sys/types.h: Define loff_t.
5722 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
5724 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
5726 * io/fcntl.h: Add definition for BSD F* macros.
5728 * misc/init-misc.c (__init_misc): Make static.
5729 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
5731 * configure.in: Add test for -fno-exception option of gcc.
5732 * config.make.in: Add definition of have-no-exceptions.
5733 * Makerules: Define no-exceptions based on have-no-exceptions.
5734 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
5735 This is necessary for gcc >= ss-960816.
5737 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
5739 * sysdeps/alpha/dl-machine.h: Clear startup flag.
5741 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5743 * Makerules (o-iterator-doit): Simplify reference to autolock
5746 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5748 * sysdeps/mach/hurd/getcwd.c
5749 (_hurd_canonicalize_directory_name_internal): After resizing the
5750 buffer move the current contents to the end. Correctly relocate
5751 file name pointer to upper half of the buffer.
5753 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
5755 * rtld.c (dl_main): Remove code to call ld.so initializer. This
5756 was introduced for compatibility with Linux ld.so and would not
5757 be used anymore. Now we don't have any good values to use as the
5758 parameters to the initializer so simply remove it.
5760 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5762 * gmon/gmon.c (ERR): Don't write the terminating NUL.
5764 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
5766 (profil_count): Use 64 bit arithmethic to avoid overflow.
5768 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
5770 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5772 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
5773 being null; in that case don't touch the timer at all (but do
5774 return something in OLD if necessary).
5776 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5778 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
5780 * sysdeps/i386/init-first.c: Likewise.
5781 * sysdeps/stub/init-first.c: Likewise.
5783 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
5785 * elf/dl-open.c (_dl_open): Call library initializer with
5786 correct command line arguments and environment information.
5787 * elf/rtld.c (dl_main): Provide arguments to initializer of
5790 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
5792 * shadow/Makefile (routines): Add lckpwdf.
5793 * shadow/lckpwdf.c: New file.
5795 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
5796 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
5798 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
5800 * configure.in: Add definition for `__eh_pc' and `__throw' in
5801 test for --no-whole-archive. The compiler generates dependencies
5802 for this but none of the standard librares and startup files
5803 are used. Necessary for gcc >= ss-960816.
5805 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
5807 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
5808 return string since string might be on stack.
5809 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
5810 Wed Aug 21 10:14:59 1996.
5811 * elf/dlerror.c (dlerror): Free error string after printing.
5812 (_dlerror_run): If error string was not printed since last error
5814 * rtld.c (dl_main): Free error string in case of error.
5816 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
5818 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
5819 this changes the global state for `localtime' and `gmtime'. Use
5820 `__localtime_r'/`__gmtime_r' instead.
5821 * resolv/res_debug.c (__p_secstodate): Likewise.
5822 * sysdeps/generic/ftime.c: Likewise.
5823 * sysdeps/posix/gettimeofday.c: Likewise.
5824 Reported by Paul Eggert.
5826 * time/gmtime.c: De-ANSI-fy.
5827 * time/strftime.c: Don't call non-reentrant functions which change
5830 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
5832 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
5833 than putting it on the stack.
5835 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
5837 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
5838 don't find .plt entries.
5840 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5842 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
5845 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
5847 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
5849 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
5851 * login/pututline_r.c (__pututline_r): Fix handling of case where
5852 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
5854 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
5856 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
5857 for "Jensen" so _bus_base() returns 0 on that platform. Use
5858 _bus_base_sparse() to determine base address of sparse memory.
5860 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
5861 and declarations in __BEGIN_DECLS/__END_DECLS.
5863 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
5865 * err.h: New file. Wrapper around misc/err.h.
5867 Correct solution of multiple initialization problem by
5869 * csu/initfini.c: Remove global variable __libc_is_static.
5870 * elf/rtld.c: Introduce new global variable _dl_starting_up.
5871 It's nonzero during the startup.
5872 * elf/dl-open.c (_dl_open): When _dl_start function is not
5873 available (i.e., if in static libc) set `__libc_multiple_libcs'
5875 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
5876 New global variable.
5877 (init): Undo change of Fri Aug 2 03:12:40 1996.
5878 Initialize `__libc_multiple_libcs' to nonzero only if this is
5879 a shared lib called from a statically linked program and don't
5880 call `personality' and `setfpucw' in this case either.
5881 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
5882 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
5883 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
5884 before jumping to user code.
5885 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5887 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
5889 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
5890 Thu Aug 8 12:40:20 1996.
5891 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
5892 -fkeep-inline-functions flag instead.
5894 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5896 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
5897 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
5898 like ECONNREFUSED already does.
5899 (_nss_dns_gethostbyaddr_r): Likewise.
5900 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5901 (_nss_dns_getnetbyaddr_r): Likewise.
5903 * sysdeps/mach/hurd/socket.c (socket): For message transmission
5904 and RPC errors that indicate that the socket server is not really
5905 present and able to do its job, turn the error into EPFNOSUPPORT.
5907 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
5909 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
5910 name dynamically. Reported by Alan Cox.
5911 Uncomment warnings and mark as translatable.
5913 * time/strftime (strftime): Add implementation for %s and %z
5914 format. Change behaviour for unknown format character: now
5915 simply print it. This matches the behaviour of printf.
5916 Reported by Jim Meyering.
5917 * manual/time.texi: Document all formats and flags of strftime.
5919 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
5921 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
5924 * misc/sys/select.h: Define fd_set using typedef, not #define.
5925 Proposed by David Mosberger-Tang.
5927 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
5929 * po/header.pot: Use real description line.
5931 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
5933 * elf/rtld.c (dl_main): When started with --verify prevent
5934 any warning. Just exit with an error.
5935 * elf/ldd.sh.in: Don't run given object directly. This fails for
5936 libraries. Instead use $RTLD again.
5938 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
5940 * manual/nss.texi: New file. Document NSS.
5941 * manual/nsswitch.texi: New file. Example configuration.
5943 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
5944 * manual/example/strdupa.c: New file. Example for strdupa.
5946 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
5948 * stdlib/strtod.c (STRTOD): Correct assertion about size of
5949 wint_t and wchar_t. Reported by David Mosberger-Tang.
5951 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5953 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
5954 RELOC_ADDR and make NOPLT a set of flags. All callers
5955 changed. Delete condition that checks for resolving to the
5956 location being filled in. Add condition to skip the
5957 executable's symbols if requested.
5958 * elf/link.h: Change declaration of _dl_lookup_symbol
5960 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
5961 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
5963 * elf/dl-runtime.c (RESOLVE): Likewise.
5964 * elf/rtld.c (RESOLVE): Likewise.
5965 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
5966 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
5967 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
5968 reloc, zero otherwise.
5969 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5971 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5973 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
5975 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
5976 * po/header.pot: Add empty line at end.
5978 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5980 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
5981 are now in $P/stdio-common.pot.
5982 (XGETTEXTFLAGS-errlist.pot): Variable removed.
5984 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5986 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
5987 script at run time, not configure time.
5988 * config.make.in, configure.in: Undo previous change.
5990 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
5992 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
5993 on stack as argument for `_exit'. Reported by Andreas Schwab.
5995 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5997 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
5999 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
6001 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
6002 (_dl_map_object_from_fd): Free name on error.
6004 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
6006 * string/strdup.c: Use result of memcpy to avoid reloading.
6008 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6010 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
6011 the other way round.
6013 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
6015 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
6018 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
6020 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
6022 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
6025 Update from bind-4.9.5-T1A.
6026 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
6027 inet_net_pton, inet_net.
6029 * resolv/gethnamaddr.c: Include <sys/types.h>.
6030 * resolv/getnetnamadr.c: Likewise.
6031 * resolv/herror.c: Likewise.
6032 * resolv/inet_addr.c: Likewise.
6033 * resolv/nsap_addr.c: Likewise.
6034 * resolv/res_comp.c: Likewise.
6035 * resolv/res_data.c: Likewise.
6036 * resolv/res_init.c: Likewise.
6037 * resolv/res_mkquery.c: Likewise.
6038 * resolv/res_query.c: Likewise.
6039 * resolv/res_send.c: Likewise.
6041 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
6043 * resolv/inet_ntop.c: Likewise.
6045 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
6046 Remove prototype of gethostbyname_ipv4.
6048 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
6049 functions instead of BSD `b*' functions.
6051 * resolv/nsap_addr.c: Add copyright message.
6053 * resolv/res_comp.c: Remove comment explaining label format.
6054 (res_mailok): Correct check.
6056 * resolv/res_debug: Include missing headers.
6057 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
6058 (__p_fqnname): New function to print FQDN from compressed name.
6059 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
6060 correctly. Add handling of T_KEY and T_SIG.
6061 Handle class and type names by using name arrays instead of
6062 explicit `switch'es.
6063 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
6064 (__dn_count_labels, __p_secstodate): New functions.
6066 * resolv/resolv.h (__RES): Update version number.
6067 (res_sym): New type.
6068 Add #defines for new functions.
6069 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
6070 __p_secstodate, dn_count_labels.
6072 * resolv/arpa/nameser.h (__BIND): Update version number.
6073 Add KEYFLAG_* and ALGORITHM_* symbols.
6074 (HEADER): Add `ad' and `cd' flags.
6076 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
6079 * manual/maint.texi: Document that we use bind-4.9.5.
6082 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
6084 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
6086 * mach/Makefile (mach/mach_host.uh): Depend on
6087 $(objpfx)/mach-syscalls.mk.
6088 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
6089 (This fixes a make loop; thanks to Marcus Daniels
6090 <marcus@sysc.pdx.edu> for the patch.)
6092 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
6094 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
6095 buffer is any longer than the amount necessary to hold the
6096 filename; the Hurd getcwd uses the *entire* contents of the
6097 buffer, however long it is specified to be.
6099 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
6101 * nss/nsswitch.c (__nss_database_lookup): Always release locks
6102 before returning. Reported by Miles Bader.
6104 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
6106 * nss/nsswitch.c (__nss_configure_lookup): New function.
6107 Allows to specify services.
6108 * nss/XXX-lookup.h: Rename database variable and make global.
6109 * nss/databases.def: New file. Real names of all databases.
6111 * nss/nss.h: New file. Contains declaration useful for users
6112 and service developers.
6113 * nss/nsswitch.h: Move some declarations to nss/nss.h.
6114 * nss.h: New file. Wrapper around nss/nss.h.
6116 * nss/Makefile (headers): Add nss.h.
6117 (distributes): Add databases.def.
6119 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
6121 Help the poor people with fast machines by making sure only
6122 one `ar' commands works on the library.
6123 * autolock.sh: New file. Written by Tom Tromey.
6124 * Makerules (do-ar): Call autolock.sh shell script instead of
6125 directly using `ar'.
6126 * config.make.in: Make configuration variable AUTOLOCK which
6127 gets initialized by configure.
6128 * configure.in: Define variable AUTOLOCK to point to autolock.sh
6129 script and mark it to substitute.
6131 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
6133 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
6134 always only if in static libc or if statically linked program
6137 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
6138 always only if in static libc or if statically linked program
6141 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
6143 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
6144 startup by moving Icache flush from here ...
6145 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
6146 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
6148 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
6149 calling conventions. The code is already correct.
6151 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
6153 * string/Makefile: Compile tester with -fno-builtin as we want to
6154 test our implementations, not gcc's.
6156 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
6158 * shadow.h: New file.
6160 * sysdeps/unix/sysv/linux/netinet/in.h: Move
6161 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
6164 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
6165 g++ 2.7.2 (and earlier) has no transparent unions support.
6167 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
6169 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
6170 function to determine the base address of sparse bus memory.
6171 (APECS_*): Rename to CIA_*.
6172 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
6173 (platform): Add sparse_bus_memory_base member and initialize.
6174 (sparse_bus_memory_base): New variable.
6176 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
6178 * sysdeps/posix/ttyname_r.c (ttyname_r),
6179 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
6180 !__isatty(fd) (POSIX.1 says so.)
6182 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
6183 This is not a gross hack, after all---for compatibility,
6184 getlogin() really should check fd 0 only and not try to base its
6185 operation on the controlling tty.
6187 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
6189 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
6190 change utmp_data from static to auto.
6192 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
6194 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
6195 Reported by David Mosberger-Tang.
6197 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
6199 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
6200 alias to `__isnanl'.
6202 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
6204 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
6205 get `struct timeval'.
6206 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
6207 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
6208 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
6209 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
6210 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
6211 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
6213 * io/fts.h: Include <sys/types.h> to get dev_t.
6214 Reported by Matthias Urlichs.
6216 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
6217 _IO_file_flags. It's the same as _flags.
6218 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
6220 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6222 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
6224 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
6226 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
6227 * pwd/getpwent_r.c: Likewise.
6228 * pwd/getpwnam.c: Likewise.
6229 * pwd/getpwnam_r.c: Likewise.
6230 * pwd/getpwuid.c: Likewise.
6231 * pwd/getpwuid_r.c: Likewise.
6233 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
6234 * grp/getgrent_r.c: Likewise.
6235 * grp/getgrgid.c: Likewise.
6236 * grp/getgrgid_r.c: Likewise.
6237 * grp/getgrnam.c: Likewise.
6239 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
6240 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
6241 * pwd/Makefile (routines): Add fgetpwent_r.
6242 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
6244 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
6245 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
6246 * grp/Makefile (routines): Add fgetgrent_r.
6247 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
6249 Implement shadow password lookup functions. This is no complete
6250 shadow password suite.
6251 * shadow/Makefile: New file.
6252 * shadow/fgetspent.c: New file.
6253 * shadow/fgetspent_r.c: New file.
6254 * shadow/getspent.c: New file.
6255 * shadow/getspent_r.c: New file.
6256 * shadow/getspnam.c: New file.
6257 * shadow/getspnam_r.c: New file.
6258 * shadow/putspent.c: New file.
6259 * shadow/sgetspent.c: New file.
6260 * shadow/sgetspent_r.c: New file.
6261 * shadow/shadow.h: New file.
6262 * shadow/spwd-lookup.c: New file.
6263 * shadow/nss_files/files-spwd.c: New file.
6265 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
6267 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
6268 call is only a stub.
6269 Reported by Matthias Urlichs.
6271 * Makeconfig [!default_cflags]: Change default value from `-g'
6274 * configure.in: Recognize i686.
6275 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
6277 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
6279 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
6280 value of CFLAGS-.o, not CFLAGS-o.
6282 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
6283 pointer to ourself. Otherwise `gcc -O3' optimized init away.
6285 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
6287 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
6288 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
6290 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
6292 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
6293 to 0x137f to allow long double operations.
6295 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
6299 * nss/nsswitch.c (_res): Remove redundant variable definition.
6300 The real one is in resolve/res_init.c, and having both prevents
6301 using -fno-common when building the shared library.
6302 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
6304 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
6305 a .bss object not a COMMON symbol.
6307 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
6308 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
6312 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
6313 main loop for better dual-issue on EV5. Rearrange binary search to
6314 pipeline better and trim one instruction.
6318 * time/localtime.c (localtime_r): Move lock declaration back next to
6319 the comment where it was before the 960724 change.
6321 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
6322 The second word is supposed to be the hardware manufacturer.
6324 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
6325 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
6327 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
6329 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
6330 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
6331 Same cleanups as with EV4 GMP stuff.
6333 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
6335 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
6336 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
6337 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
6339 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
6341 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
6344 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
6346 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
6348 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6351 * socket/sys/socket.h (send, __send, sendto): Declare buffer
6354 * string/tester.c (main): Test stpncpy.
6356 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
6357 segfault when called with an N that is not a multiple of four and
6360 * misc/syslog.c (LogType): New variable.
6361 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
6362 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
6364 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
6365 terminator as a record-delimiter. If __send(LogFile) fails,
6366 call closelog() so logfile gets re-opened next time.
6368 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
6370 * elf/dl-open (_dl_open): Add cast to avoid warning.
6372 * manual/memory.texi: Improve some examples to give readers better
6373 advice: Use `stpcpy' instead of `strcat' if possible.
6374 * manual/string.texi: Document `strtok_r' and `strtok'.
6376 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
6378 [$(cross-compiling)=no]: Change test before making librpcsvc
6379 to this from $(cross-compile).
6380 Reported by Andreas Schwab.
6382 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
6384 * elf/Makefile (routines): Move dl-sysdep to here...
6385 (rtld-routines): ...from here. This should make static linking
6388 * locale/setlocale.c: Add local variable `lock' and add code to
6389 `setlocale' to avoid simultaneous changing of global data.
6391 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
6392 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
6393 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
6394 of unprotected names.
6396 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
6398 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
6399 This requires to rename several functions to use __ protected
6401 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
6403 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
6404 and make old name a weak alias.
6405 * sysdeps/mach/hurd/getrlimit.c: Likewise.
6406 * sysdeps/mach/hurd/opendir.c: Likewise.
6407 * sysdeps/mach/hurd/readdir.c: Likewise.
6408 * sysdeps/stub/closedir.c: Likewise.
6409 * sysdeps/stub/opendir.c: Likewise.
6410 * sysdeps/stub/readdir.c: Likewise.
6411 * sysdeps/unix/closedir.c: Likewise.
6412 * sysdeps/unix/opendir.c: Likewise.
6413 * sysdeps/unix/readdir.c: Likewise.
6415 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
6417 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
6418 `__closedir' instead of unprotected names.
6420 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
6421 instead of `isatty' since later is not part of ISO C.
6422 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
6423 `open' since later is not part of ISO C.
6425 * login/endutent.c (endutent): Call `__endutent_r', not
6427 * login/endutent_r.c: Rename defined function to `__endutent_r',
6428 make `endutent_r' weak alias.
6429 * login/getutent.c (getutent): Call `__getutent_r', not
6431 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
6432 * login/getutid_r.c: Rename defined function to `__getutent_r',
6433 make `getutent_r' weak alias.
6434 * login/getutline.c (getutline): Call `__getutline_r', not
6436 * login/getutline_r.c: Rename defined function to `__getutline_r',
6437 make `getutline_r' weak alias.
6438 * login/pututline_r.c: Rename defined function to `__pututline_r',
6439 make `pututline_r' weak alias.
6440 * login/setutent.c (setutent): Call `__setutline_r', not
6442 * login/setutent_r.c: Rename defined function to `__setutline_r',
6443 make `setutline_r' weak alias.
6444 Rename `utmpname' to `__utmpname' and make former weak alias.
6445 (__utmpname): Call `__strdup', not `strdup'.
6446 * login/utmp.h: Add prototypes for name space clean reentrant
6448 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
6449 and `__endutent_r' instead of unprotected names.
6451 * math/math.h: Add prototype for `__matherr'.
6452 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
6455 * nss/getXXbyYY.c: Call __ protected reentrant function.
6456 * nss/getXXent.c: Likewise.
6457 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
6458 name. Make usual name a weak alias.
6459 * nss/getXXent_r.c: Likewise.
6461 * posix/unistd.h: Add prototype for `__ttyname_r'.
6462 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
6463 and make `ttyname_r' a weak alias.
6465 * resource/sys/resource.h: Add prototype for `__getrlimit'.
6466 * sysdeps/stub/getrlimit.c: Prepend function name with __
6467 and make old name a weak alias.
6468 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
6469 and make `getrlimit' weak alias.
6471 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
6472 * libc/stdio/vscanf.c: De-ANSI-fy.
6473 Rename function to `__vscanf' and make `vscanf' a weak alias.
6474 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
6477 * stdio-common/reg-printf.c: De-ANSI-fy.
6478 Rename function to `__register_printf_function' and make
6479 `register_printf_function' weak alias.
6481 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
6484 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
6485 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
6486 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
6487 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
6488 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
6490 * wcsmbs/mbsrtowcs.c: Likewise.
6491 * wcsmbs/wcrtomb.c: Likewise.
6492 * wcsmbs/wcsrtombs.c: Likewise.
6493 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
6495 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
6496 instead of `sigprocmask'.
6499 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
6500 version getgrent_r, getgrgid_r, and getgrnam_r.
6501 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
6502 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
6504 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
6507 * misc/error.c (private_strerror): Translate messages from table,
6510 * io/fcntl.h: Pretty printing.
6511 * misc/fstab.h: Likewise.
6512 * misc/ttyent.h: Likewise.
6513 * resource/sys/resource.h: Likewise.
6514 * string/argz.h: Likewise.
6515 * string/envz.h: Likewise.
6517 Add support for symbols from POSIX.1c (POSIX threads).
6518 * posix/getconf.c: Handle new sysconf symbols.
6519 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
6520 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
6521 * sysdeps/generic/confname.h: Define new symbols.
6522 * sysdeps/posix/sysconf.c: Handle new symbols.
6523 * sysdeps/stub/sysconf.c: Ditto.
6524 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
6527 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
6528 have real prototype.
6530 * sysdeps/generic/resourcebits.h: Add macro definition for
6531 RLIMIT_* values. Some sources test using #ifdef whether specific
6533 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
6534 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
6535 separate files for the architectures.
6536 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
6537 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
6538 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
6539 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
6541 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
6542 and only default on `OPEN_MAX'.
6543 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
6546 * time/Makefile (routines): Add ctime_r.
6547 * time/asctime.c: Add implementation of `asctime_r'. Make
6548 `asctime' implementation based on reentrant version.
6549 * time/ctime_r.c: New file.
6550 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
6553 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6555 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
6556 (_nl_C_LC_CTYPE): Fix ordering.
6557 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
6560 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
6562 * csu/initfini.c: Discover the maximum alignment generated by the
6563 compiler when emitting a function.
6564 (_init): Make sure the end of the crti fragment is aligned.
6567 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
6569 * initfini.c: (__libc_is_static): New variable. Will be
6570 initialized in init-first.c. Some actions in the libc work
6571 different when libc is static or dynamic.
6573 * sysdeps/unix/sysv/linux/init-first.c (init): Use
6574 `__libc_is_static' variable to determine whether call to
6575 `personality' and `setfpucw' is necessary. When done set variable
6576 to +-1 depending on library type.
6578 * locale/setlocale.c (setlocale): Use global variable
6579 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
6580 determine whether it's a SET[UG]ID program.
6582 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
6584 * Version 1.93 test release.
6586 * manual/Makefile: Use -include for chapters-incl too.
6588 * Makeconfig (+link): Add back start.o, mistakenly removed in last
6591 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6593 * nss/Makefile (generated): Add db-*.c.
6595 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
6596 using #include_next.
6598 * configure.in (--enable-add-ons): Quote m4 macro args.
6600 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
6602 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
6604 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
6606 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
6608 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
6611 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
6612 warning when inline function is elided.
6613 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
6614 (elf_machine_runtime_setup): Likewise.
6615 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
6616 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
6617 (elf_machine_load_address): Likewise.
6619 * catgets/gencat.c: Include <locale.h>.
6621 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
6623 * login/logwtmp.c (logwtmp): Call time, not __time.
6625 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
6626 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
6627 * login/logwtmp.c (logwtmp): Likewise.
6629 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
6630 comparing ioctl macro values.
6632 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
6634 * manual/Makefile: Use -include for chapters to suppress warning.
6636 * sysdeps/stub/socket.c: Fix type of TYPE arg.
6637 * sysdeps/stub/socketpair.c: Likewise.
6639 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
6641 * sysdeps/generic/sysdep.h: New file, broken out of ...
6642 * sysdeps/unix/sysdep.h: ... here.
6643 (C_LABEL): Moved out.
6645 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
6646 stick to sed. Do `exit 0' at end because while returns nonzero.
6648 * sysdeps/i386/sysdep.h: New file, broken out of ...
6649 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
6651 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
6652 They are defined unconditionally in libio/stdio.h.
6654 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
6655 * elf/dl-cache.c: Likewise.
6657 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
6659 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
6660 (sysdep_headers): Add sys/sysmacros.h.
6661 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
6663 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
6665 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
6666 tcgetattr. We have weak aliases now.
6667 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
6668 "optimizations" for random functions.
6670 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6672 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
6673 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
6674 redefinition warning.
6676 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6678 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
6681 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6683 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
6686 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
6688 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
6690 Reported by Richard Henderson <rth@tamu.edu>.
6692 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6694 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
6697 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
6699 * locale/setlocale.c (setlocale): Don't try to free C locale
6701 Reported by Matthias Urlichs.
6703 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
6705 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
6706 (open_file): New function, contents mostly from __open.
6707 (_dl_sysdep_read_whole_file): New function.
6709 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
6711 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
6712 `..' dots in sed search string.
6714 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6716 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
6719 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6721 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
6722 in those directories.
6723 * config.make.in (add-ons): New varaible, set from @subdirs@.
6724 * Makefile (subdirs): Added $(add-ons) at the end.
6726 * time/strftime.c (strftime: do_number): Initialize PRINTED to
6727 MAXDIGITS in case P is null and so sprintf is never actually called.
6729 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
6731 Add support for the to-be-written internationalized regexp.
6732 This code must be able to use collation symbols and collation
6734 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
6735 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
6736 New global variables for collation classes.
6737 * locale/categories.def: Add new descriptions for collation symbols
6738 and collation classes.
6739 * locale/langinfo.h: Add constants for collation symbols and
6741 * locale/lc-collate.c: Add new global variables for collation symbols
6742 and collation classes.
6743 (_nl_postload_collate): Initialize new variables.
6744 * locale/programs/ld-collate.c: Add code to emit tables for
6745 collation symbols and collation classes.
6746 * locale/programs/locales.h: Change prototype for `collate_output'.
6747 * locale/programs/locfile.c (write_all_categories): Call
6748 `collate_output' with new argument.
6749 * locale/localeinfo.h: Add declaration for new global vars.
6750 (union locale_data_value): New member wstr for `wchar_t' strings.
6751 * locale/programs/locale-spec.c: Handle `collate-classes'
6752 keyword and print information about available collation classes.
6753 * locale/strlen-hash.h: New file. Simple hashing function which
6754 takes a string with known length.
6755 * locale/Makefile (distribute): Add strlen-hash.h.
6756 (locale-modules): New var. Additional files for `locale' program.
6758 * locale/C-ctype.c: Rewrite to avoid using string for giving values
6759 which are of type `u_int32_t'.
6760 Correct entry for EOF in toupper and tolower tables.
6762 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
6765 * locale/programs/ld-ctype.c (ctype_output): Add code to make
6766 sure that all tables in binary file are word-aligned.
6768 * locale/programs/locfile.c (write_locale_data): Correct handling
6769 of LC_MESSAGES locale. Create directory if necessary.
6771 * locale/setlocale.c (setlocale): Add cast to avoid warning.
6773 * string/string.h: Add prototype for `__strndup'.
6775 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6777 * wcsmbs/mbrtowc.c: Remove unused variable.
6779 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6781 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
6782 2.0.10; some problems were reported with an earlier version, and this
6783 one is known to work.
6785 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
6786 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6788 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
6790 * elf/rtld.c (dl_main): Ignore arguments when environment variable
6791 LD_TRACE_LOADED_OBJECTS is set.
6793 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6795 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
6796 __libc_enable_secure instead of _dl_secure.
6797 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6798 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
6800 * elf/Makefile (routines): Add enbl-secure.
6801 (elide-routines.so): Here too.
6802 * sysdeps/generic/enbl-secure.c: New file.
6803 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
6804 * elf/dl-support.c (_dl_secure): Variable removed.
6805 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
6807 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
6809 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6810 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
6811 compiler doesn't elide it.
6812 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
6814 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6816 * elf/rtld.c (dl_main): Take new option --verify when run directly.
6817 In verify mode, exit with status zero iff the argument object's
6818 PT_INTERP matches argv[0].
6819 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
6820 exits with zero status. This makes `ldd' secure again.
6822 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
6824 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
6825 environment variable handling. This makes the dynamic linker
6826 only print loaded libraries and quit.
6828 * elf/ldd.sh.in: Don't use `rtld --list' but instead
6829 LD_TRACE_LOADED_OBJECTS environment variable to print needed
6832 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6834 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
6835 after printing version until after doing usage for --help.
6836 (long_options, main, usage): Rename -l/--lowercase option to
6837 -f/--fold-case (-f matches sort).
6839 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
6841 * db/makedb.c: New file. Implement program to create simple <db.h>
6842 database from textual input. This will be used for nss_db.
6844 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6846 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
6847 * sunrpc/rpc/pmap_clnt.h: Likewise.
6848 * sunrpc/rpc/auth.h: Likewise.
6849 * sunrpc/rpc/pmap_rmt.h: Likewise.
6850 * sunrpc/rpc/rpc_msg.h: Likewise.
6852 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
6854 * string/string.h (strndupa): Change to use return value of
6855 `memcpy' for more performance.
6856 * string/strndup.c: Likewise.
6858 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
6859 This might lead to problems.
6860 (strndupa): Likewise.
6862 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
6864 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
6865 and change K&R prototypes to ANSI prototypes.
6866 * sunrpc/rpc/auth_unix.h: Ditto.
6867 * sunrpc/rpc/clnt.h: Ditto.
6868 * sunrpc/rpc/pmap_clnt.h: Ditto.
6869 * sunrpc/rpc/pmap_prot.h: Ditto.
6870 * sunrpc/rpc/pmap_rmt.h: Ditto.
6871 * sunrpc/rpc/rpc_msg.h: Ditto.
6872 * sunrpc/rpc/svc.h: Ditto.
6873 * sunrpc/rpc/svc_auth.h: Ditto.
6874 * sunrpc/rpc/xdr.h: Ditto.
6876 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6878 * ctype/test_ctype.c: Test EOF too.
6880 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
6882 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
6883 * sunrpc/rpc/auth_unix.h: Likewise.
6884 * sunrpc/rpc/clnt.h: Likewise.
6885 * sunrpc/rpc/netdb.h: Likewise.
6886 * sunrpc/rpc/pmap_clnt.h: Likewise.
6887 * sunrpc/rpc/pmap_prot.h: Likewise.
6888 * sunrpc/rpc/rpc_msg.h: Likewise.
6889 * sunrpc/rpc/svc.h: Likewise.
6890 * sunrpc/rpc/svc_auth.h: Likewise.
6891 * sunrpc/rpc/xdr.h: Likewise.
6893 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
6895 * sunrpc/pmap_rmt.c: ...here.
6897 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
6899 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
6901 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
6904 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6906 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
6907 <kkojima@info.kanagawa-u.ac.jp>.
6909 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
6911 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
6912 defined, not __OPTIMIZED.
6913 (_nl_msg_cat_cntr): Move declaration outside macro definition
6914 to prevent "nested extern" warning.
6915 (dcgettext): Rename local variable `result' to `__result'.
6917 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6919 * locale/programs/localedef.c (__progname): Remove decl.
6920 (main): Use program_invocation_short_name instead of __progname.
6921 (usage): Use program_invocation_name instead of __progname.
6923 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
6925 * catgets/gencat.c: Use "libc" instead of PACKAGE.
6926 * locale/localedef.c: Ditto.
6927 * locale/locale.c: Ditto.
6929 * locale/findlocale.c (_nl_find_locale): Little optimization.
6930 Use new function `strndup'.
6932 * locale/loadlocale.c: Little optimization. Use constant value
6933 from `_nl_category_num_items' instead of byte-order dependend
6936 * locale/programs/ld-time.c (time_add): Correct string constant.
6938 * locale/programs/locale-spec.c: New file.
6939 * locale/programs/locale.c: Call `locale_special' function if
6940 no other field matches.
6942 * locale/programs/localedef.c: No need to define `program_name'.
6943 Use global variable `__progname'.
6945 * locale/programs/locfile.c (write_locale_data): Always write
6946 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
6947 necessary since message catalogs are also installed in the
6948 LC_MESSAGES/ directory.
6950 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
6951 function instead of writing single bytes.
6952 (encode_char): Also handle little endian.
6954 * locale/setlocale.c (new_composite_name): Little optimization.
6955 Use return value of `memcpy'.
6957 * misc/ttyent.h: Pretty print prototypes, add missing parameter
6958 names, prepend parameter names with __ and use `__const' instead
6960 * posix/unistd.h: Ditto.
6961 * stdlib/stdlib.h: Ditto.
6962 * string/string.h: Ditto.
6964 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
6965 Use `error' function instead of doing it by hand.
6966 * sysdeps/posix/sysconf.c: De-ANSI-fy.
6967 Handle _SC_COLL_WEIGHTS_MAX.
6968 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
6969 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
6970 since these do not depend on the platform.
6971 Add POSIX.4 symbols.
6973 * posix/posix2_lim.h: Add missing definition of
6974 _POSIX2_COLL_WEIGHTS_MAX.
6975 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
6976 to high values since we have no fixed limit.
6978 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
6979 _SC_PAGESIZE for buggy systems (= HP UX) out there.
6981 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
6982 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
6983 * wcsmbs/wcsnrtombs.c: Ditto.
6984 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
6987 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
6989 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
6991 * nss/getXXent_r.c: Likewise.
6992 * nss/nsswitch.c: Likewise.
6993 * nss/nss_files/files-XXX.c: Likewise.
6994 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
6995 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
6996 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
6998 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7000 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
7001 macro, now put the needed Linux version just once, here; update to
7002 needing linux-2.0.3 headers.
7003 (libc_cv_linuxVER): New macro derived from that.
7004 (kernel header check): Use those macros and some m4 magic to replace
7005 hard-coded `201' and `2.0.1' in several places.
7007 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
7009 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
7011 * time/localtime.c: Move lock variable declaration to end of
7012 variable declarations since if is a dummy macro the ; at the
7013 end terminates the variable section of the function.
7015 * time/tzset.c: Undefine `tzset' before function declaration.
7016 Use `weak_function' macro instead of `weak_symbol'.
7018 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
7020 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
7023 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
7025 * locale/C-ctype.c: Increment number of fields after change
7026 from Wed Jun 19 03:24:58 1996.
7028 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7030 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
7031 ($(common-objpfx)libc.so): Move deps into that, use it.
7032 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
7033 $(rpcuserlibs:.so=_pic.a).
7034 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
7037 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7039 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
7040 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
7042 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
7044 * locale/iso-4217.def: Add India to comment for symbol "INR ".
7045 Reported by Raja R Harinath <harinath@cs.umn.edu>.
7047 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7049 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
7052 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7054 * time/tzset.c: Include <libc-lock.h>.
7055 (__tzset_lock): New lock variable.
7056 (tzset): New function (weak defn), no longer weak alias for __tzset.
7057 Call __tzset while holding __tzset_lock.
7058 * time/localtime.c: Include <libc-lock.h>.
7059 (__localtime_r): Hold __tzset_lock while doing the work.
7061 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
7062 from [!HAVE_GNU_LD] to [!_LIBC].
7063 [_LIBC]: Include <libc-lock.h> and define a lock.
7064 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
7065 (setenv, unsetenv): Use them.
7067 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
7069 * locale/programs/locfile.c (write_locale_data): Deal with missing
7072 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
7073 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
7075 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7077 Win32 hacks from <Rob_Tulloh@tivoli.com>.
7078 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
7079 use void * for my_realloc; include <malloc.h> for alloca.
7080 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
7081 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
7082 * posix/glob.h: Likewise.
7084 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
7086 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
7087 call __io_select unless there's only a single descriptor, as each
7088 descriptor now has its own reply port.
7089 If there is only a single descriptor, just use its reply port for
7090 everything and don't bother creating the port set.
7092 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
7093 <unistd.h>: New include.
7095 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
7098 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7100 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
7101 from the USA any software that even makes it easy to drop in an
7102 encryption module of foreign origin.
7103 * Makerules (cryptobjdir): Variable removed.
7104 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
7105 * Makefile (subdirs): Remove crypt.
7107 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
7109 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
7110 operator to yesexpr and noexpr string.
7112 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
7114 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
7115 old code would have failed on a big-endian 64-bit architecture).
7116 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
7118 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
7119 (xdr_u_long): Use switch instead of chain of if-statements.
7120 Remove gratitous parentheses around return expressions.
7121 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
7123 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
7125 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
7128 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7130 * dlfcn.h, db.h: New wrapper headers.
7132 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
7133 for `struct stat;' forward decl.
7135 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
7137 * locale/iso-4217.def: Add some more standardized currency
7140 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7142 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
7144 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
7146 * Rules (dummy.o, empty.o): Targets removed.
7147 (dummy.c, empty.c): New targets replace them.
7149 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7151 * crypt/Makefile (lib-noranlib): Depend on
7152 $(objpfx)libcrypt.so$(libcrypt.so-version).
7155 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
7157 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
7158 check. mib's clueless hacking broke it.
7160 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7162 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
7164 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
7166 * misc/sys/ustat.h: New file.
7167 * misc/ustat.h: Ditto.
7168 * sysdeps/generic/ustatbits.h: Ditto.
7169 * sysdeps/stub/ustat.c: Ditto.
7170 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
7171 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
7173 (routines): Mention ustat.
7175 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
7176 * sysdeps/alpha/elf/start.S: here.
7178 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
7179 alphabetically correct place. Mention ustat.
7181 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
7182 common symbol (makes errno accessible from gdb).
7184 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
7187 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
7188 record always gets appended at end of file (wtmp is a log file,
7189 after all). Set ut_type to DEAD_PROCESS if name is empty.
7191 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
7192 separate loop from search for UT_ID. Fix code so it is in
7193 sync with Unix man page.
7195 * login/getutline_r.c (getutline_r): Stop searching only if
7196 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
7198 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
7200 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
7201 avoid duplicate declarations.
7203 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
7205 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
7206 and alpha-gnu-linuxecoff targets.
7208 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
7210 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
7212 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
7214 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
7217 * resolv/res_comp.c (res_hnok): Use empty statement in place
7218 of NULL (which generates a "useless expression" warning in
7221 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
7223 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
7224 with $(..) in output.
7226 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7228 * elf/Makefile (dl-routines): Add dl-cache.
7229 * elf/dl-cache.c: New file.
7230 * elf/dl-load.c (_dl_map_object): Check cache before default path.
7232 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
7234 * stdio-common/vfscanf.c: Major change. Now read character
7235 from stream only if needed. Before it was read after the
7236 previous character was used.
7237 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
7239 * stdio-common/tstscanf.c: Change test program so that return
7240 value is != 0 if one test failed.
7242 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7244 * sysdeps/m68k/Makefile (crypt): Variable removed.
7245 * sysdeps/sparc/Makefile: Likewise.
7247 * version.h (VERSION): Update to 1.93.
7249 * Makerules ($(libdir)/libc.so): Depend on
7250 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
7252 * crypt/nocrypt.c: New file.
7253 * Makefile (subdirs): Add crypt.
7254 * crypt/Makefile: New file.
7256 * Makerules (soversions.mk): Move this target, include of it, and
7257 include of version.mk to ...
7258 * Makeconfig: ... here.
7259 (soversions.mk): Depend on Makeconfig instead of Makerules.
7261 * shlib-versions (*-*-*): Set libcrypt=0.
7263 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
7265 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
7266 word extends right up to rmargin.
7268 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
7269 output the wrap margin, set point_col to wmargin.
7270 Use negative point_col to deal with a wmargin of 0.
7271 (line_wrap_point): Return 0 for a negative point_col.
7272 (line_wrap_stream): Make wmargin ssize_t.
7273 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
7275 (line_wrap_stream): Make wmargin ssize_t.
7276 (line_wrap_point): Return 0 for a negative point_col.
7278 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7280 * shlib-versions (*-*-gnu*): Set libc=0.0
7282 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7284 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
7285 sysdeps/i386/dl-machine.h.
7287 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
7289 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
7290 to fiddle __put_limit in conjunction with __linebuf_active.
7292 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7294 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
7295 to the strong name, not the file name.
7297 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7299 * csu/initfini.c: More magic. Detect if .end is produced and put it
7300 in the output iff the compiler does.
7302 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
7303 because that is broken on alpha.
7305 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
7308 * Makerules (make-link): Install the new link with atomic mv -f in
7309 case ln itself requires the library being installed.
7311 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
7313 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
7314 i386/dl-machine.h of 960713.
7316 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
7317 (_dl_sysdep_read_whole_file): Fix result variable declaration.
7319 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7321 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
7324 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
7326 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
7327 with pointer to local variable instead of NULL.
7329 1996-07-15 Paul Eggert <eggert@twinsun.com>
7331 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
7333 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7335 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
7336 that are already added by other means.
7338 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
7339 caller column to get those syscalls added automagically.
7341 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
7343 * login/logout.c (logout): Initialize DATA to a state that will
7344 make setutent_r happy.
7346 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7348 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
7349 instead of setting the DT_DEBUG pointer.
7351 * csu/initfini.c (_init, _fini): Generate .end directives after
7352 standalone prologues and filter them out from epilogues.
7354 * Makeconfig (rtld-installed-name): Set to ld.so.1.
7355 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
7358 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
7360 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
7362 * MakeTAGS (extract): Pass --add-comments=TRANS.
7363 * sysdeps/gnu/errlist.awk: Write comments into the output with the
7364 descriptive paragraphs from the manual preceded by TRANS.
7366 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
7367 (_dl_start): Move RESOLVE defn inside this function and #include
7368 "dynamic-link.h" a second time there.
7369 [RTLD_START]: Move use of this after _dl_start function.
7371 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
7373 * elf/rtld.c: Include <string.h>.
7375 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
7376 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
7377 Conditionalize defns on [RESOLVE].
7378 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7379 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7380 Instead use RESOLVE macro with same args.
7381 (elf_machine_rel): Conditionalize defn on [RESOLVE].
7382 * elf/dl-reloc.c (RESOLVE): New macro, define before including
7383 "dynamic-link.h". It replaces `resolve' local function.
7384 * elf/dl-runtime.c: Likewise.
7385 * elf/rtld.c: Likewise.
7387 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
7389 * elf/dl-open.c (_dl_open): Force an indirect call for
7390 _dl_relocate_object so there is no chance a PLT fixup will be done
7391 and clobber _dl_global_scope before our call happens.
7393 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
7394 to =t; must operate on top of fp reg stack, not second from top.
7395 Correct input constraint to 0 from t; must be explicit when input and
7396 output are the same register.
7397 (floor): Use __volatile instead of volatile.
7400 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
7403 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7405 * manual/Makefile (lib): New phony target. Depend on stamp files.
7406 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
7408 1996-07-13 Paul Eggert <eggert@twinsun.com>
7410 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
7411 to match Emacs format-time-string specification.
7412 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
7414 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7416 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
7417 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
7418 between MAP and its deps.
7419 * elf/link.h: Fix decl.
7420 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
7421 colon-separated list of names, map those and pass vector of ptrs as
7422 PRELOADS list to _dl_map_object_deps.
7423 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
7424 _dl_map_object_deps with empty preload list.
7425 * elf/dl-open.c (_dl_open): Likewise.
7427 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
7429 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
7430 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
7431 Conditionalize defn on [! MAP_ANON].
7432 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
7434 * elf/rtld.c (dl_main): Likewise.
7435 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
7436 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
7438 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
7440 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
7442 * stdlib/random.c (__random): Declare as int32_t to be in sync
7445 * socket/Makefile (headers): Add socketbits.h.
7447 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
7450 * grp/initgroups.c (initgroups): Add groups that user is a member
7451 of, not the ones he is _not_ a member of.
7453 * nss/nsswitch.c (known_compare): Make known_compare() a static
7454 instead of a local function. The latter are difficult to debug
7455 and slow to execute on certain platforms.
7457 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
7458 place of sizeof (dev). The size of a literal string includes the
7461 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
7463 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
7465 * misc/mntent.c (addmntent): Seek to end of file before writing
7466 entry. Return 1 on error, not -1.
7468 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
7470 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
7473 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
7475 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
7476 shift amount for Jensen must be 5 not 4.
7478 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7480 * socket/sys/socket.h (struct osockaddr): New type.
7482 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
7484 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
7485 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
7486 and `long double' versions can be generated.
7487 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
7488 so that included efgcvt{,_r}.c file generate `long double'
7490 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
7493 * manual/startup.texi: Document new getsubopt function.
7494 * manual/examples/subopt.c: New example program for documenting
7497 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
7499 * stdlib/Makefile (routines): Add getsubopt.
7500 * stdlib/stdlib.h: Add prototype for getsubopt.
7501 * stdlib/getsubopt.c: New file. Implement getsubopt function
7502 to handle suboption parsing.
7504 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7506 * inet/getnetent_r.c: Define NEED_H_ERRNO.
7507 * inet/getnetbynm_r.c: Likewise.
7508 * inet/getnetent.c: Likewise.
7509 * inet/getnetbyad_r.c: Likewise.
7510 * inet/getnetbyad.c: Likewise.
7511 * inet/getnetbynm.c: Likewise.
7513 * sysdeps/generic/pselect.c: Include <sys/time.h>.
7515 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
7518 * math/Makefile (calls): Add s_frexp, s_ldexp.
7519 (routines): Remove them and &f from here.
7521 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
7523 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
7526 * nss/nss_files/files-XXX.c: Comment fix.
7528 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
7530 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
7531 of reentrant function.
7532 (setup): Pass additional argument with function name we are
7534 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
7535 new argument {SET,END,GET}FUNC_NAME_STRING.
7537 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
7538 we return a pointer.
7540 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7542 * nss/nss_files/files-parse.c: Add comment about things to #define.
7544 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
7546 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
7547 terminator char as an error.
7549 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
7551 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
7553 * catgets/gencat.c (write_out): Move code to determine new
7554 best size out of inner loop.
7556 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
7558 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
7559 implementation of frexp() function.
7560 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
7561 implementation of ldexp() function.
7563 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
7566 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
7568 * misc/mntent.c: Include <sys/types.h>.
7569 (endmntent): Return 1 one success, 0 on failure.
7570 (getmntent): Chop newline and ignore empty lines.
7572 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7574 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
7575 differently based on [RTLD_BOOTSTRAP].
7576 (elf_machine_rela): Use it instead of the fn ptr arg directly.
7578 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7580 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
7581 __glob_closedir_hook): Remove decls.
7583 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
7585 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
7586 for send and connect syscalls.
7588 * socket/sys/socket.h: New file, taken from non-sysdep parts of
7589 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
7590 Declare __ names for send and connect.
7591 * sysdeps/generic/socketbits.h: New file.
7592 * sysdeps/unix/sysv/linux/socketbits.h: New file.
7593 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
7594 * sysdeps/generic/sys/socket.h: File removed.
7596 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
7597 * sysdeps/mach/hurd/send.c: Likewise.
7599 * sysdeps/mach/libc-lock.h: New file.
7600 * sysdeps/unix/readdir.c: Do locking.
7601 * sysdeps/unix/seekdir.c: Likewise.
7602 * sysdeps/unix/rewinddir.c: Likewise.
7603 * sysdeps/unix/closedir.c: Likewise.
7604 * sysdeps/unix/bsd/telldir.c: Likewise.
7605 * sysdeps/mach/hurd/seekdir.c: Likewise.
7606 * sysdeps/mach/hurd/readdir.c: Likewise.
7607 * sysdeps/mach/hurd/closedir.c: Likewise.
7608 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
7609 * sysdeps/unix/opendir.c: Likewise.
7610 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
7611 (struct __dirstream): Add lock member using __libc_lock_define.
7612 * sysdeps/unix/dirstream.h: Likewise.
7614 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
7616 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
7618 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
7620 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
7622 * locale/programs/stringtrans.c: Fix typo in copyright.
7624 * stdio-common/printf-prs.c: Add casts to prevent
7625 signed<->unsigned warnings.
7627 * stdio-common/printf-parse.h: Initialize state variable before
7629 * stdio-common/printf-prs.c: Don't initialize state variable here.
7630 * stdio-common/vfprintf.c: Don't initialize state variable.
7631 (vfprintf): While determining length of multibyte string don't
7632 try to be clever in determining characters to use for first
7635 Add real implementation of multibyte<->wide char conversion
7636 functions. The functions always convert between the fixed wide
7637 char format (ISO 10646 in UCS4) and the UTF8 representation of
7638 this character set. Conversion between the currently used
7639 8bit character set and ISO 10646 will not take place. This is
7640 what iconv() is for.
7641 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
7643 Add optimized version of `mbrlen' function.
7644 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
7646 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
7648 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
7649 This is needed in the wchar.h header.
7650 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
7651 encoded character to UCS4.
7652 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
7653 element of `mbstate_t' for initial state.
7654 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
7655 encoded string to UCS4 string.
7656 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
7657 character to UTF8 encoded form.
7658 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
7659 encoded string to UTF8 encoded form.
7661 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7663 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
7664 variable name, so new a libc with new requirements won't fail to
7665 notice an insufficient Linux version.
7667 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
7669 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
7670 instead of 2.0 headers.
7672 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
7674 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
7675 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
7677 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
7678 before using it in lhs of weak_alias.
7680 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
7681 Call __nss_lookup when not setting STARTP.
7682 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
7683 function-calling loop.
7685 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
7687 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
7688 PENDIN, NOFLSH): Undefine these at start if they are already
7689 defined to avoid collision with termbits.h.
7690 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
7691 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
7693 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7695 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
7696 already defined to float, long double. Use those macros for _Mdouble_
7697 defns when including mathcalls.h.
7698 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
7699 -D_Mlong_double_=double.
7701 Add more -lm functions to -lc because ldexp uses them.
7702 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
7703 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
7704 ldexp have both f and l code, and those have f though not l code.
7706 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
7708 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
7709 error is 0. The "placeholder" entries recently added to
7710 errno.texi convert to zero since `???/' is at the front of them.
7711 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
7713 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
7714 __const to conform with unistd.h.
7716 * stdlib/stdlib.h (random): Declare return type to be int32_t.
7718 * string/argz-delete.c (argz_delete): Use memmove instead of
7719 memcpy for possibly overlapping strings.
7721 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7723 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
7724 storage class. GCC gives an error for non-extern data defns with the
7727 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
7729 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
7730 memmove instead of memcpy for possible overlapping strings.
7732 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7734 * libc-symbols.h (weak_function): New macro.
7735 For GCC 2.7+ define as __attribute__ ((weak)).
7736 * elf/dl-minimal.c: Use weak_function as keyword in function defns
7737 instead of weak_symbol (NAME) after the defn.
7738 * stdlib/strtol.c: Likewise.
7739 * stdlib/strtod.c: Likewise.
7740 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7742 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
7743 If this is defined, don't declare _dl_rtld_map as weak, and
7744 don't check for MAP pointing to it. RESOLVE is always null in this
7745 case, so test with #ifdef instead of if.
7747 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
7749 * csu/initfini.c (_init): Likewise.
7750 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
7751 * misc/efgcvt_r.c: Likewise.
7752 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7753 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7755 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
7756 It was not used in any assembler code.
7757 (weak_symbol_asm): Renamed to weak_extern_asm.
7758 (weak_extern): New macro replaces weak_symbol for weak extern refs;
7759 define to weak_extern_asm for [!ASSEMBLER].
7761 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7763 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
7764 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
7765 define those now as aliases.
7766 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
7767 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
7768 after GCC weak attribute decl.
7770 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
7771 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
7772 (element printer): Check for elt in ALIAS, instead of special case
7775 * io/Makefile (headers): Add sys/vfs.h.
7776 * io/sys/vfs.h: New file.
7778 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
7779 critical section lock before unlinking dying active resources.
7780 The unlock just before return is right (i.e. old code unlocked twice).
7782 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
7784 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
7785 Use memmove instead of memcpy where overlap is possible (not
7786 necessary using current implementation of memcpy, but...).
7787 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
7789 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
7791 * stdio/linewrap.c (lwupdate): New function, mostly was
7792 __line_wrap_update. Use POINT_COL field instead of POINT.
7793 (__line_wrap_output): Use lwupdate.
7794 (__line_wrap_update): New function.
7795 (ensure_unwrapped, ensure_wrapped): New functions.
7796 (line_wrap_set_lmargin, line_wrap_set_rmargin,
7797 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
7799 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
7800 POINT_COL. Add POINT_OFFS field.
7801 (__line_wrap_update): New decl.
7802 (line_wrap_set_lmargin, line_wrap_set_rmargin,
7803 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
7805 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
7807 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
7809 * login/pututline_r.c (pututline_r): Since we assign RESULT from
7810 lseek now, check that it's >= 0, not == 0.
7812 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
7814 * login/login.c (login): Make a copy of *UT, fill in various
7815 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
7818 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
7819 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
7821 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7823 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
7824 signal during critical section doing interruptible RPC, if
7825 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
7826 before thread_resume. If in critical section, pass 0 for SIGNO to
7827 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
7829 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
7831 * sysdeps/unix/sysv/linux/sys/user.h: New file.
7832 * sysdeps/unix/sysv/linux/Dist: Add it.
7833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
7835 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
7836 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
7837 itself, no need to skip past a NUL.
7839 * nss/nsswitch.h (known_function): Comment fix.
7840 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
7841 directly. Do the lookup and insertion with a single call, and fill in
7842 the tree node afterwards if new.
7843 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
7845 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
7846 (struct timeval): Add bodiless decl for scope.
7848 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
7849 Move struct timespec defn outside [_TIME_H] so it can be got with
7850 #define __need_timespec.
7852 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
7853 for `struct timespec' member names.
7854 (TIMESPEC_TO_TIMEVAL): Likewise.
7856 * nss/Makefile (extra-libs-others): New variable.
7858 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
7859 $(lib) in $(extra-libs-others).
7860 * sunrpc/Makefile (extra-libs-others): New variable.
7861 (librpcsvc-no-lib-dep): Variable removed.
7863 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
7864 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
7866 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
7867 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
7868 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
7869 _dl_rtld_map weak only here.
7871 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
7873 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
7875 * login/utmp.h: Fix typos.
7877 * misc/syslog.c (vsyslog): Use __send instead of send and
7878 __connect instead of connect to avoid name-space collisions (e.g.,
7881 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7883 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
7885 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
7887 * malloc/malloc-size.c (malloc_usable_size): Renamed from
7888 malloc_object_allocation_size.
7889 * malloc/malloc.h: Fix decl.
7891 * sys/select.h: New file, wrapper header.
7893 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
7894 fd_set, associated macros, and select decl.
7896 * sysdeps/posix/isfdtype.c: New file.
7898 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
7900 The latest Japanese proposal for POSIX locales renames the
7901 CHARMAP keyword in locale definition files to CHARCONV.
7902 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
7903 function ctype_is_charmap to ctype_is_charconv.
7904 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
7906 * locale/programs/locfile-token.h: Add definition of token
7908 * locale/programs/locfile.c: Recognize charconv keyword. Rename
7909 lables according to this.
7911 * locale/weight.h (get_weight): Cast constants to prevent
7914 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
7915 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
7918 New stuff described in P1003.1g.
7919 * misc/Makefile (headers): Add sys/select.h.
7920 (routines): Add pselect.
7921 * misc/sys/select.h: New file. Declare select functions and
7922 needed data types and macros.
7923 * sysdeps/generic/pselect.c: New file. Add generic implementation
7924 of pselect() function which uses select().
7926 * posix/getconf.c: Recognize new variables from P1003.1g.
7927 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
7928 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
7929 * posix/unistd.h: Add description of the P1003.1g variables.
7930 * sysdeps/generic/confname.h: Define _SC_* values for new
7932 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
7934 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
7935 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
7937 * sysdeps/stub/sysconf.c (sysconf): Ditto.
7938 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
7939 _POSIX_SELECT since Linux has this.
7941 * socket/Makefile (routines): Add isfdtype.
7942 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
7943 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
7946 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
7948 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7950 * elf/Makefile (LDFLAGS-dl.so): New variable.
7951 (libdl.so): Depend on eval.so.
7952 (distribute): Add eval.c.
7953 * elf/eval.c: New file.
7955 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
7956 in case it wrote fewer than MAXDIGITS chars.
7958 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
7959 newline from flushing full buffer in loop, fix test so no fflush is
7960 done when last byte written exactly fills the buffer.
7962 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
7964 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
7965 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
7967 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
7968 extracting _dl_rtld_map.l_addr.
7970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
7972 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7974 * shlib-versions (*-*-*): Set libnss_db=1.
7976 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7978 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
7980 * rpm/template (%build): Use @prefix@ instead of always /usr.
7981 Set up configparms only if @prefix@ is in fact /usr.
7982 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
7984 * elf/Makefile: Add missing endif.
7986 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
7988 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
7989 (DATABASE): Define this instead of DATAFILE.
7990 * nss/nss_files/files-hosts.c: Likewise.
7991 (hostbyname): Use LOOKUP_NAME macro.
7993 * nss/nss_db/db-XXX.c: New file.
7994 * nss/Makefile (services): Add db.
7995 (libnss_db-inhibit-o): New variable.
7996 (libnss_db-routines): New variable.
7997 (distribute): Append db-XXX.c.
7998 (libnss_db.so): Depend on libdb.so and libnss_files.so.
7999 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
8001 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
8003 (DATAFILE): New macro.
8004 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
8006 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
8007 Pass db key args to DB_LOOKUP.
8008 (DATAFILE): Macro removed.
8009 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
8010 * nss/nss_files/files-service.c: Likewise.
8011 * nss/nss_files/files-pwd.c: Likewise.
8012 * nss/nss_files/files-proto.c: Likewise.
8013 * nss/nss_files/files-grp.c: Likewise.
8014 * nss/nss_files/files-ethers.c: Likewise.
8016 * elf/linux-compat.c: File removed.
8017 * elf/Makefile (distribute): Remove linux-compat.c.
8018 (ld-linux.so.1): Remove target and associated variables.
8020 * sunrpc/xdr.c: Remove malloc decl.
8021 * sunrpc/portmap.c: Likewise.
8023 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
8024 casting abort to fn returning bool_t.
8026 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
8027 the parser function.
8028 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
8029 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
8030 * nss/nss_files/files-grp.c: Likewise.
8032 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
8034 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
8036 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
8037 of ld.so so lookups for that soname find it.
8039 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
8040 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
8042 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
8043 define parse_line function.
8044 (parse_line): #define to _nss_files_parse_pwent and
8045 add extern decl for that.
8047 * nss/nss_files/files-XXX.c (internal_getent): Return
8048 NSS_STATUS_TRYAGAIN for ERANGE error.
8050 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
8051 of null, so next round returns null again instead of bombing. Fix
8054 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
8055 Remove ; after `ENTDATA_DECL (data)'.
8056 Truncate line at strpbrk (line, EOLSET "\n").
8057 (ENTDATA_DECL): Put ; at end.
8058 (MIDLINE_COMMENTS): Macro removed.
8059 * nss/nss_files/files-ethers.c: Pass new argument.
8060 * nss/nss_files/files-hosts.c: Likewise.
8061 * nss/nss_files/files-network.c: Likewise.
8062 * nss/nss_files/files-parse.c: Likewise.
8063 * nss/nss_files/files-proto.c: Likewise.
8064 * nss/nss_files/files-rpc.c: Likewise.
8065 * nss/nss_files/files-service.c: Likewise.
8066 * grp/fgetgrent.c: Likewise.
8067 * pwd/fgetpwent.c: Likewise.
8068 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
8069 fgetpwent.c already defines it.
8070 * nss/nss_files/files-grp.c: Likewise.
8072 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
8073 as well as any matching with l_libname. Fix DT_SONAME lookup to use
8074 string table properly.
8076 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
8077 invoked directly, and l_libname from that if PT_INTERP missing.
8078 Set l_name from l_libname only if not set from argv.
8080 * time/europe, time/northamerica: Updated from ADO 96i.
8082 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8084 * stdio-common/tst-ungetc.c: Include unistd.h.
8086 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
8088 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
8090 * hurd/report-wait.c (describe_number): Make I unsigned long.
8092 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
8093 actually found any entry.
8095 * login/pututline_r.c (pututline_r): If not located after any
8096 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
8097 Lock the file before stating.
8099 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8101 * nss/Makefile (databases): Change host to hosts.
8102 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
8104 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
8106 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
8108 * string/string.h (strndupa): Pass missing arg to strnlen.
8110 * inet/getnetbypt_r.c: Renamed to ...
8111 * inet/getnetbyad_r.c: this; fixed function name.
8112 * inet/getnetbypt.c: Renamed to ...
8113 * inet/getnetbyad.c: this; fixed function name.
8115 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8117 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
8120 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
8122 * login/login.c (login): Initialize DATA so that setutent_r will
8123 actually do something.
8125 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
8127 * resolv/res_hconf.c (strndup): Remove function.
8129 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
8130 using ElfW() instead of Elf32_*.
8132 * sysdeps/unix/sysv/linux/alpha/init-first.h,
8133 sysdeps/unix/sysv/linux/m68k/init-first.h,
8134 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
8135 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
8136 init-first.h to make abstract machine dependent parts of
8139 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
8140 error handling. It's safer that way.
8142 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
8143 Fix by Richard Henderson.
8145 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
8146 typo/extraneous whitespace.
8148 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
8149 determine what integer sizes we're dealing with.
8151 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
8153 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
8154 check for signal zero, repair logical sense of test by
8155 parenthesizing correctly.
8157 * hurd/hurdsig.c (_hurd_internal_post_signal): In
8158 check-for-pending signals code, release _hurd_siglock before
8159 jumping to deliver_pending.
8161 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
8163 * configure.in (config_machine): Make ELF the default even for
8164 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
8167 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8169 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
8170 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
8171 member only #ifdef ENTDATA.
8172 (ENTDATA_DECL): New macro.
8173 (LINE_PARSER): Use it for entdata decl.
8174 (parse_list): Find the space for LIST from DATA->linebuffer instead of
8175 from the input LINE, which might not be writable buffer space.
8176 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
8177 [ENTDATA] (parser_stclass): #define to `static inline'.
8178 [!ENDATA] (parser_stclass): #define to empty.
8179 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
8180 function is exported to -lnss_files users.
8182 * string/strndup.c: Add missing arg.
8184 * string/string.h (strndupa): Likewise.
8185 * string/strndup.c (strndup): Always terminate the string.
8187 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8189 * stdio/Makefile (routines): Add vscanf.
8190 * stdio-common/Makefile (routines): Remove vscanf.
8191 * stdio-common/vscanf.c: Move to ...
8192 * stdio/vscanf.c: here.
8194 * rpm/Makefile (headers, install-lib, install-lib.so,
8195 versioned, install-bin, install-sbin, install-data,
8196 install-others): Add $(-VARIABLE).
8198 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8200 * nss/Makefile (databases): New variable.
8201 (routines, libnss_files-routines): Use it.
8202 (subdir-dirs): Compute from $(services).
8204 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
8205 init_module, klogctl): Use EXTRA in the "caller" column so these get
8206 added to unix-extra-syscalls and thus compiled in misc.
8208 * string/Makefile (routines): Add strndup.
8209 * string/strndup.c: New file.
8210 * string/string.h: Declare strndup.
8211 (strndupa): New macro.
8213 * string/string.h: Declare __strdup.
8214 * string/strdup.c: Deansideclized. Define __ name and weak alias.
8216 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
8218 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
8220 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
8222 * grp/initgroups.c (initgroups): De-ansi-fy.
8223 Move declaration of NGROUPS and GROUPS outside #if so that
8224 the code compiles for NGROUPS_MAX != 0.
8226 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
8227 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
8228 ether_ntoa, ether_ntoa_r, and ether_ntoh.
8229 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
8230 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
8231 inet/ether_ntoh.c: New files. Implementation of functions to
8232 handle Ethernet address to host mapping.
8233 * inet/netinet/ether.h: New file. Declare ether_* functions.
8234 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
8236 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
8237 * nss/Makefile (routines): Add ethers-lookup.
8238 (libnss_files-routines): Add files-ethers.
8240 * nss/getXXent_r.c: Don't define set*ent and end*ent function
8243 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
8244 KEEP_STREAM every time called.
8245 (_nss_files_end): Reset KEEP_STREAM here instead.
8246 (internal_getent): If STREAM == NULL try to open instead of
8248 Use cast to prevent warning.
8249 Terminate read line in case the buffer is too small.
8251 * nss/nss_files/files-ethers.c: New file. Implementation of
8252 Ethernet adress<->hostname lookup through files interface.
8254 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
8255 * stdlib/mbtowc.c: Define based on mbrtowc().
8256 * stdlib/wcstombs.c: Define based on wcsrtombs().
8257 * stdlib/wctomb.c: Define based on wcrtomb().
8259 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
8260 unexpected_sizes_in_xdr_u_int.
8262 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
8263 of `struct ether_addr'.
8264 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
8265 declaration of `struct ether_addr'.
8267 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
8268 * wcsmbs/mbsrtowcs.c: Ditto.
8269 * wcsmbs/wcrtomb.c: Ditto.
8270 * wcsmbs/wcsrtombs.c: Ditto.
8272 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
8274 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
8276 * hurd/get-host.c <fcntl.h>: New include.
8277 * hurd/set-host.c <fcntl.h>: New include.
8278 (_hurd_set_host_config): Include NEW in args to dir_link.
8279 Return NWROTE, not NREAD.
8281 * sysdeps/mach/hurd/getcwd.c
8282 (_hurd_canonicalize_directory_name_internal): Don't deallocate
8283 DOTID & DOTDEVID until we're finished with them (we need to keep
8284 them at least until we've fetched the next level of id ports, so
8285 that mach will be able to use the same name if they're the same).
8286 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
8287 jumps to errlose, for those places where such cleanup is needed.
8289 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8291 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
8293 Move DB code into separate -ldb library.
8294 * db/Makefile (extra-libs): New variable, list libdb.
8295 (routines): Renamed to libdb-routines.
8296 * shlib-versions: Add libdb=2.
8298 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
8299 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
8301 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
8302 of strncasecmp. Extend syntax to grok [!foo=bar].
8304 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
8306 * string/string.h: Declare __strncasecmp.
8308 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
8309 (service_alias): Variable removed.
8310 (nss_parse_service_list): New function, broken out of nss_getline.
8311 Remove alias conversion; we will just use symlinks.
8312 (__nss_database_lookup): Take new string arg DEFCONFIG.
8313 If no entry exists, make one with service list parsed from that.
8314 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
8315 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
8316 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
8318 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
8321 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
8323 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
8325 * locale/programs/locale.c (long_options): Short form of
8326 --version option is `-V'.
8327 (main): Recognize `-V' as option, not `-v'.
8328 Call `usage' instead of printing error message for illegal
8330 (usage): Document `-V'.
8332 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
8334 * sysdeps/mach/hurd/getcwd.c
8335 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
8336 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
8338 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8340 * inet/getrpcent.c: Fix macros.
8341 * inet/getrpcent_r.c: Fix macros.
8343 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
8345 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
8347 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
8349 * catgets/gencat.c (write_out): Use %Zu to print variables of type
8351 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
8352 cast it to (unsigned long) to make it work both on 32 and 64
8355 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8357 * locale/Makefile (distribute): Add `programs/' prefix to all
8358 files in that directory.
8360 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
8363 * MakeTAGS (sources, headers): Make them simply expanded variables
8364 so that all-dist is expanded before it is changed.
8366 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8368 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
8369 * Makefile (subdirs): Remove crypt.
8370 * crypt: Directory removed. It will be made an independent library
8373 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
8375 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
8377 * inet/getrpcbynumber.c (BUFLEN): New macro.
8379 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
8381 * Makefile (headers): Add libc-lock.h.
8382 * sysdeps/stub/libc-lock.h: New file.
8384 * inet/getrpcbynumber.c: Remove _r typo.
8386 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
8388 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
8391 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
8392 or doesn't mention DATABASE, use an internal default equivalent to
8393 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
8394 (nss_lookup_function): Call nss_new_service as needed.
8395 (nss_parse_file): Don't bother calling nss_new_service here.
8397 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
8398 * pwd/fgetpwent.c: Likewise.
8400 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
8401 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
8402 * malloc/malloc-size.c: New file.
8403 * malloc/malloc-walk.c: New file.
8405 * malloc/malloc-find.c (malloc_find_object_address): Return null if
8406 PTR is outside the heap.
8408 * elf/dl-load.c (_dl_map_object): If the requested name matches the
8409 soname of a loaded object, use that object.
8411 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8413 * Makefile (subdirs): Add nss.
8415 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
8416 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
8417 * inet/getrpcbynumber_r.c: New file.
8418 * inet/getrpcbynumber.c: New file.
8419 * inet/getrpcbyname.c: New file.
8420 * inet/getrpcbyname_r.c: New file.
8421 * inet/getrpcent_r.c: New file.
8422 * inet/getrpcent.c: New file.
8423 * nss/rpc-lookup.c: New file.
8424 * nss/nss_files/files-rpc.c: New file.
8425 * nss/Makefile (routines): Add rpc-lookup.
8426 (libnss_files-routines): Add files-rpc.
8427 * sunrpc/Makefile (routines): Remove getrpcent.
8428 * sunrpc/getrpcent.c: File removed.
8430 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
8433 * Makeconfig (rpath-link): Add $(nssobjdir).
8434 (nssobjdir): New variable.
8436 * Makerules: Move shared library building before objects rules, so
8437 versions are known before extra-lib.mk gets included.
8438 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
8440 * pwd/getpwuid.c: Rewritten using nss.
8441 * pwd/getpwnam.c: Likewise.
8442 * pwd/getpwent.c: Likewise.
8443 * grp/getgrnam.c: Likewise.
8444 * grp/getgrgid.c: Likewise.
8445 * grp/getgrent.c: Likewise.
8446 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
8447 * pwd/getpwent_r.c: New file.
8448 * pwd/getpwnam_r.c: New file.
8449 * pwd/getpwuid_r.c: New file.
8450 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
8451 * grp/getgrnam_r.c: New file.
8452 * grp/getgrgid_r.c: New file.
8453 * grp/getgrent_r.c: New file.
8454 * grp/Makefile (routines): Remove grpopen, grpread.
8455 * pwd/Makefile (routines): Remove pwdopen, pwdread.
8456 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
8458 * pwd/fgetpwent.c: Rewritten using files-parse.c.
8459 * grp/fgetgrent.c: Likewise.
8461 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
8462 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
8463 * nss/nss_files/files-grp.c: New file.
8464 * nss/nss_files/files-pwd.c: New file.
8466 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
8468 * nss/nss_files/files-parse.c: New file.
8469 * nss/nss_files/files-XXX.c: New file.
8470 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
8471 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
8472 Rewritten using them.
8474 * nss/Makefile (libnss_files-routines): Remove files-host.
8475 Add files-hosts, files-grp, files-pwd.
8477 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
8479 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
8481 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8482 A .plt entry now loads the .rela.plt offset directly rather
8483 than making us calculate it.
8485 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8487 * time/Makefile ($(installed-localtime-file) rule): Do
8488 $(make-target-directory) first.
8490 * resolv.h: Fix wrapper for resolv/resolv.h.
8492 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
8493 Compile dummy file and pass -nostdlib -nostartfiles so as not to
8494 require installed libraries.
8496 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
8499 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
8501 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
8502 and mapv4v6hostent.h.
8503 (routines): Move res* and gethnamaddr into libresolv-routines.
8504 (libresolv-routines): New variable, put them there.
8505 (extra-libs): New variable, list libresolv.
8506 (CPPFLAGS): Add -D for get*by* to res_get*by*.
8508 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
8510 * inet/herrno.c: New file.
8512 * resolv/res_init.c: Remove res_hconf calls.
8514 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
8515 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
8516 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
8517 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
8518 nss/service-lookup.c: New files. Implementation of name
8519 service switch, following the approach in Solaris.
8520 Interface specification and general structure inspired by Peter
8521 Eriksson <pen@lysator.liu.se>.
8522 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
8523 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
8524 Implementation of libnss_files.so module for file based databases
8526 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
8527 if libnss_dns.so module for DNS name lookup in NSS service.
8529 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
8530 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
8531 Changed to serve as interface to NSS.
8532 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
8533 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
8534 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
8535 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
8536 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
8537 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
8538 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
8539 interfaces to NSS, including reentrant functions.
8541 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
8542 resolv/sethostent.c: Removed: Obsoleted by NSS.
8544 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
8545 gethnamaddr.c. These private functions are now used in more
8548 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
8550 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8552 * rpm/Makefile ($(config)): Make sure the word list in the for
8553 loop is syntactically non-empty.
8555 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8557 * Version 1.92 test release.
8559 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
8561 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
8562 to klogctl to match prototype in sys/klog.h.
8564 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
8565 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
8567 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
8568 Remove. Code is now part of __getcwd again. The old function
8569 never really worked for anything but THISDIR==".".
8571 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
8572 only when building ELF version of library.
8574 * libio/libioP.h (_IO_vscanf): Add prototype.
8576 * posix/unistd.h (syscall): Change sysno arg and return value
8579 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8581 * version.h (VERSION): Updated to 1.92.
8583 * misc/Makefile (headers): Add ar.h.
8584 * misc/ar.h: New file.
8586 * config.make.in (BUILD_CC): New variable.
8587 * configure.in: Check for BUILD_CC if $host != $build.
8589 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
8591 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
8592 (stamp$o files): New targets, create them empty, no deps.
8594 * rpm/template (Source): New field.
8595 (%prep, %build, %install): New sections.
8596 (%files): Add %doc FAQ NEWS NOTES README.
8597 * rpm/rpmrc (builddir): Removed.
8599 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8601 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
8602 guessing to not assume p_vaddr of first load cmd is zero.
8604 * sysdeps/sparc/elf/start.S: New file.
8605 * sysdeps/sparc/dl-machine.h: New file.
8607 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
8608 only for ?s, not for *s. Fix from Chet Ramey.
8610 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
8611 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
8612 Use __{BEGIN,END}_DECLS.
8613 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
8614 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
8615 New macros, moved here from sysdeps/gnu/utmpbits.h.
8616 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
8617 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
8618 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
8619 Use sizeof instead of UT_*SIZE.
8620 * login/logwtmp.c: Likewise.
8622 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
8624 * version.c (banner): Add trailing newline.
8626 * login/utmp.h: Declare login_tty.
8628 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
8630 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
8631 Changed to a 12-byte PLT entry to remove dependency on $gp.
8632 Take a new got_addr parameter.
8633 (elf_machine_rela): Pass the new parameter.
8634 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
8635 (RTLD_START): Do normal linkage with program entry.
8637 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
8639 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
8641 * hurd/getuids.c (getuids): New weak link to __getuids.
8643 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
8645 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
8646 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
8648 Rename nested function lookup to lookup_op.
8649 (__file_name_lookup, __file_name_lookup_under):
8650 Pass 0 for lookup arg to __hurd_file_name_lookup.
8651 (__file_name_split): Likewise for __hurd_file_name_split.
8652 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
8653 Rename nested function lookup to scan_lookup.
8654 (file_name_path_lookup): Pass 0 for lookup arg to
8655 hurd_file_name_path_lookup.
8656 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
8657 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
8658 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
8659 Add LOOKUP argument.
8660 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
8661 __hurd_file_name_lookup.
8663 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8665 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
8666 up a huge list just to discard most of it.
8668 * configure.in (sysnames): Avoid fgrep by using the case shell
8671 * Makeconfig (config.status): Fix dependency on Implies files.
8673 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8675 * math/Makefile (distribute): Add ieee-math.c.
8677 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
8679 * locale/codeset_name.c: New file. Provide function for information
8680 about currently used character set.
8681 * locale/Makefile (routines): Add codeset_name.
8682 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
8683 * locale/localeinfo.h: Change magic number because of incompatible
8685 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
8686 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
8688 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
8689 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
8691 * locale/setlocale.c (setlocale): Initialize local variables to
8694 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
8696 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
8698 * locale/programs/locale.c: Include string.h.
8700 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
8701 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
8702 appropriate sign-extension is performed on machines with
8705 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
8706 sizeof(int)<sizeof(long), we need to go through a temporary
8709 * locale/programs/ld-numeric.c: Include <alloca.h>
8711 * libio/stdio.h (__libc_fatal): Add prototype.
8713 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
8716 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
8717 volatile to avoid "might get clobbered by longjmp" warning.
8719 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
8720 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
8721 probability is a sure loser).
8722 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
8724 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
8725 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
8727 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
8728 to be Linux FSSTND compliant.
8730 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
8732 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
8734 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
8735 sysdeps/unix/sysv/linux/alpha/brk.S,
8736 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
8737 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
8738 sysdeps/unix/sysv/linux/alpha/llseek.S,
8739 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
8740 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
8741 __syscall_error to avoid intruding application name space.
8743 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
8744 to SYS_get?id so that syscall stubs in sysdeps/unix define
8745 these syscalls in terms of getxpid/getxuid/getxgid.
8747 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
8748 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
8749 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
8750 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
8752 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
8753 (PSEUDO_END): Rename END() to PSEUDO_END().
8755 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
8756 to PSEUDO_END to improve branch-prediction. Include .frame
8757 directive to make syscalls debugabble.
8758 (PSEUDO_END): New macro.
8760 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
8761 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
8762 latter is illegal under DEC Unix.
8764 * sysdeps/unix/alpha/sysdep.S: Renamed from
8765 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
8767 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
8768 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
8769 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
8771 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
8772 address register in the .frame directive.
8774 * sysdeps/alpha/copysign.c: Remove.
8776 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
8777 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
8779 * errno.h: Move __END_DECLS to correct place to make file
8780 compilable under c++.
8782 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
8783 d_ino only if <direntry.h> hasn't defined d_fileno.
8785 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
8786 arguments to weakext to make .weakext detection work on ECOFF systems.
8788 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
8789 that _validuser() has been replaced by __ivaliduser().
8791 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
8793 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
8794 as unsigned long, not as int (to avoid incorrect int->long
8799 See ChangeLog.5 for earlier changes.