1 Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/common/pause.c: Add missing second argument in
5 Reported by a sun <asun@zoology.washington.edu>.
7 * locale/weight.h: Correct handling of collation elements.
8 Reported by Keld Simonsen <keld@dkuug.dk>.
10 * manual/time.texi: Document ^ flag and %P format.
12 * new-malloc/malloc.c: Update from Wolfram Gloger.
14 * nss/nss.h: Reformat copyright.
15 * posix/sched.h: Likewise.
16 * sysdeps/i386/fpu_control.h: Likewise.
17 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
18 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
19 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
20 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
21 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22 * sysvips/sys/msg.h: Likewise.
24 * stdio-common/Makefile (routines): Remove fcloseall.
25 * stdio-common/fcloseall.c: Removed.
27 * stdlib/Makefile (distribute): Add abort-instr.h.
28 * sysdeps/generic/abort-instr.h: New file.
29 * sysdeps/i386/abort-instr.h: New file.
30 * sysdeps/generic/abort.c: Use lock and stage counter to prevent
33 * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
34 * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
35 as 1000000. Define CLK_TCK as 1024.
36 * time/time.c (CLK_TCK): Define only if not already set.
38 * time/strftime.c: Don't use `isdigit' when computing field width
39 from string since the locale might have more than one digit
42 Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
44 * posix/getopt.c (in -W option handling): Return when optind == argc.
46 Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
48 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
51 * nis/nss_compat/compat-grp.c: Include the declaration of the file
53 * nis/nss_compat/compat-pwd.c: Likewise.
54 * nis/nss_compat/compat-spwd.c: Likewise.
55 * nis/nss_nis/nis-ethers.c: Likewise.
56 * nis/nss_nis/nis-grp.c: Likewise.
57 * nis/nss_nis/nis-network.c: Likewise.
58 * nis/nss_nis/nis-proto.c: Likewise.
59 * nis/nss_nis/nis-pwd.c: Likewise.
60 * nis/nss_nis/nis-rpc.c: Likewise.
61 * nis/nss_nis/nis-spwd.c: Likewise.
63 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
64 getgrent_next_file): Pass the correct type for the buffer to the
66 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
67 getpwent_next_nis, getpwent_next_file): Likewise.
68 * nis/nss_compat/compat-spwd.c (getspent_next_netgr,
69 getspent_next_nis, getspent_next_file): Likewise.
70 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
71 _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
72 * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
73 _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
74 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
75 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
76 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
77 _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
78 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
79 _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
80 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
81 _nss_nis_getrpcbynumber_r): Likewise.
82 * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
83 _nss_nis_getspnam_r): Likewise.
85 Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
87 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
89 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
91 * resolv/resolv.h: Update from BIND 4.9.5-P1.
92 * resolv/res_comp.c: Likewise.
93 * resolv/res_debug.c: Likewise.
94 * resolv/Banner: Update version number.
96 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
98 * elf/dlfcn.h: Add extern "C" wrapper.
100 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
101 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
102 __USE_XOPEN_EXTENDED.
103 * locale/locale.h: Define NULL.
104 * math/math.c: Don't include <errno.h> to define math errors.
105 * stdlib/stdlib.h: Likewise.
106 * posix/unistd.h: Don't declare environ.
107 * posix/sys/utsname.h (struct utsname): Declare member domainname
108 as __domainname is !__USE_GNU.
109 * signal/signal.h: Declare size_t only if __USE_BSD ||
110 __USE_XOPEN_EXTENDED.
111 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
112 instead when __USE_XOPEN.
113 * string/string.h: Define strndup only if __USE_GNU.
114 * sysdeps/unix/sysv/linux/clock.c: New file.
115 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
116 1000000 per X/Open standard.
117 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
118 Define __USE_POSIX199309.
119 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
120 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
121 Patches by RĂ¼diger Helsch <rh@unifix.de>.
123 * locale/locale.h: Add declaration of newlocale and freelocale.
125 * new-malloc/Makefile (distibute): Add mtrace.awk.
126 (dist-routines): Add mcheck and mtrace.
127 (install-lib, non-lib.a): Define as libmcheck.a.
128 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
129 * new-malloc/mcheck.c: New file.
130 * new-malloc/mcheck.h: New file.
131 * new-malloc/mtrace.c: New file.
132 * new-malloc/mtrace.awk: New file.
134 * posix/unistd.h: Correct prototype for usleep.
135 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
136 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
139 * signal/signal.h: Change protoype of __sigpause to take two
140 arguments. Remove prototype for sigpause. Add two different
141 macros named sigpause selected when __USE_BSD or __USE_XOPEN
142 are defined. This is necessary since the old BSD definition
143 of theis function collides with the X/Open definition.
144 * sysdeps/posix/sigpause.c: Change function definition to also
145 fit X/Open definition.
147 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
149 * sysdeps/libm-i387/e_expl.S: Likewise.
152 1996-12-17 Paul Eggert <eggert@twinsun.com>
154 * many, many files: Spelling corrections.
155 * catgets/catgetsinfo.h (mmapped):
156 Renamed from mmaped (in struct catalog_info.status).
157 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
158 Fix spelling in message.
159 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
160 a fix in the tzcode distribution.
162 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
164 * time/strftime.c: Implement ^ flag to cause output be converted
165 to use upper case characters.
167 * time/zic.c: Update from ADO tzcode1996n.
169 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
171 * time/strftime.c (add): Don't change global `i' until all is over.
172 Define NULL is not already defined.
174 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
176 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
177 to avoid the need for a cast.
178 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
180 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
182 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
183 The stream is private and usages outside glibc don't care about
185 * io/fts.c: Likewise.
186 * io/ftw.c: Likewise.
187 * sysdeps/posix/getcwd.c: Likewise.
188 * sysdeps/posix/ttyname.c: Likewise.
189 * sysdeps/posix/ttyname_r.c: Likewise.
190 * sysdeps/posix/glob.c: Likewise.
192 * libio/iovsprintf.c: Add cast to prevent warning.
193 * libio/iovsscanf.c: Likewise.
195 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
196 to keep namespace clean.
198 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
199 Add hooks and check functions from old GNU malloc.
200 * new-malloc/malloc.h: Likewise.
202 * nis/ypclnt.c: Remove prototype for xdr_free.
203 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
205 * manual/nss.texi: Correct description of default values and don't
206 meantion NSS as an add-on.
208 * nss/grp-lookup.c: Provide default value as
209 "compat [NOTFOUND=return] files".
210 * nss/pwd-lookup.c: Likewise.
211 * nss/spwd-lookup.c: Likewise.
212 * nss/network-lookup.c: Correct default to
213 "dns [!UNAVAIL=return] files".
214 * nss/nsswitch.c: Change default-default value to "nis
215 [NOTFOUND=return] files" since compat is only available for group,
218 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
220 * stdlib/stdlib.h: Add prototype for __on_exit.
222 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
224 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
225 The new malloc now has mcheck.
226 * time/ap.c: Likewise.
228 * time/tzset.c (__tzset): Rename to __tzset_internal.
229 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
230 * time/localtime.c: Use __tzset_internal not __tzset.
231 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
232 as __tzset to prevent namespace pollution.
234 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
235 a weak alias of __iswctype.
236 * wctype/wctype.h: Add prototype for __iswctype.
237 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
238 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
239 Use __iswctype for the test, not iswctype.
241 1996-12-16 Paul Eggert <eggert@twinsun.com>
243 * hurd/hurd/sigpreempt.h
244 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
245 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
246 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
247 hurd/hurdsig.c (_hurdsig_preempters):
248 Renamed to fix spelling from `preempter' to `preemptor'.
251 1996-12-15 Paul Eggert <eggert@twinsun.com>
253 * ctime.c (ctime): Return asctime (localtime (t)), as the C
256 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
258 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
259 value because Mach/cthreads uses the opposite convention from
262 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
264 * stdio-common/fcloseall.c: Correct test of already_called.
265 Reported by Thomas Bushnell, n/BSG.
267 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
269 * mach/lock-intern.h (__mutex_try_lock): New function.
271 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
273 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
275 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
277 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
279 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
280 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
281 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
283 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
285 Make sure tzset() sets always tzname[].
286 * time/tzfile.c: De-ANSI-declfy.
287 (find_transition): New function. Set tzname according to given time.
288 (__tzread_file): Use find_transition to set tzname.
289 (__tzfile_compute): Use find_transition instead of doing the work
291 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
293 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
295 * login/utmp-file.c (pututline_file): Open file if closed.
296 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
297 Use fcntl instead of flock.
299 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
301 * manual/time.texi: Update documentation of strftime function.
303 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
305 * Makefile (subdirs): Change crypt to md5-crypt.
306 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
307 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
309 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
310 crypt instead of LinuxThreads and des-crypt.
312 * Makefile (subdirs): Add nss back.
313 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
316 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
317 * stdio-common/Makefile (routines): Add fcloseall.
318 * stdio-common/fcloseall.c: New file.
319 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
321 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
322 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
325 * stdio-common/printf.h: Define MIN and MAX only if not already
328 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
329 allow writing. Required by POSIX.1.
331 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
334 * interp.c: Update copyright.
335 * libio/clearerr.c: Likewise.
336 * libio/ioseekoff.c: Likewise.
337 * libio/ioseekpos.c: Likewise.
338 * stdio/fclose.c: Likewise.
339 * stdio/fflus.c: Likewise.
341 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
342 and _IO_cleanup_region_end as empty.
343 * libio/fgetc.c: Use _IO_cleanup_region_start and
344 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
345 __libc_cleanup_region_end.
346 * libio/fputc.c: Likewise.
347 * libio/freopen.c: Likewise.
348 * libio/fseek.c: Likewise.
349 * libio/getc.c: Likewise.
350 * libio/getchar.c: Likewise.
351 * libio/iofclose.c: Likewise.
352 * libio/iofflush.c: Likewise.
353 * libio/iofgetpos.c: Likewise.
354 * libio/iofgets.c: Likewise.
355 * libio/iofputs.c: Likewise.
356 * libio/iofread.c: Likewise.
357 * libio/iofsetpos.c: Likewise.
358 * libio/ioftell.c: Likewise.
359 * libio/iofwrite.c: Likewise.
360 * libio/iogetdelim.c: Likewise.
361 * libio/iogets.c: Likewise.
362 * libio/ioputs.c: Likewise.
363 * libio/iosetbuffer.c: Likewise.
364 * libio/iosetvbuf.c: Likewise.
365 * libio/ioungetc.c: Likewise.
367 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
369 * libio/iovsscanf.c: Likewise.
371 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
372 instead of __libc_lock_init_recursive and __libc_lock_fini.
374 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
375 Otherwise use isatty.
376 * libio/fileops.c: Likewise for __open and open.
378 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
381 * nis/ypclnt.h: Add more casts to prevent warnings.
383 * nss/Makefile (services): Remove dns.
384 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
385 ($(objpfx)libnss_dns.so): Removed.
386 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
387 * resolv/nss_dns: ...here.
388 * resolv/Makefile (extra-libs): Add libnss_dns.
389 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
392 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
393 specifying alternate name for entry in /etc/nsswitch.conf
394 * nss/nsswitch.c: If no entry with primary name is found in
395 /etc/nsswitch.conf try alternate name if given.
396 * nss/nsswitch.h: Add new parameter in prototype for
397 __nss_database_lookup.
398 * nss/spwd-lookup.c: Provide alternative entry name to look for.
399 This makes our NSS compatible with Solaris' nsswitch.conf files.
401 * string/tst-strlen.c: Change all counting variables to type size_t
404 * sysdeps/posix/fpathconf.c: Update copyright.
405 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
406 Opening the file at this path may fail if it is a FIFO or pipe.
408 These changes make the time implementation POSIX.1 compliant.
409 * time/localtime.c (__localtime_r): Always call __tzset not only
410 if __tzset_run is zero.
411 * time/strftime.c: Add definition of memset_space to help to
412 reduce for systems which have memset.
413 (strftime): Don't use tm_zone member of argument for zone name.
414 Instead always use tzname[].
415 Call tzset() as required by POSIX.1 before any action.
416 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
417 Remove global variable __tzset_run. __tzset is now called always
418 when a dependent function is used.
419 (__tzset): Caching happens based on the contents of the
420 environment variable TZ.
422 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
424 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
426 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
428 * rellns-sh: Correctly handle a relative source file name.
430 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
432 * login/utmp_file.c (setutent_file): Seek back to beginning of the
435 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
437 * hurd/hurdinit.c (map0): Delete function. Don't do this on
439 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
441 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
443 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
444 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
447 Change libio buffer handling to allocate internal buffers using
449 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
451 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
453 (_IO_default_doallocate): Change call to ALLOC_BUF.
454 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
455 to use mmap/munmap when possible.
456 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
457 * libio/vasprintf.c: Likewise.
460 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
461 * libio/libioP.h: Likewise.
463 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
464 restart syscall when EINTR was returned. Necessary for POSIX.1.
466 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
468 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
471 * nis/Makefile: Remove rules for bsd-tools which are not part
473 Patch by Thorsten Kukuk.
475 * nis/ypclnt.c: Add prototype for xdr_free.
476 Add const to first parameter for __yp_bind.
477 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
478 getpwent_next_file): Variable `p2len' must have type size_t.
479 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
480 * nis/nss_nis/nis-ethers.c: Likewise.
481 * nis/nss_nis/nis-grp.c: Likewise.
482 * nis/nss_nis/nis-hosts.c: Likewise.
483 * nis/nss_nis/nis-network.c: Likewise.
484 * nis/nss_nis/nis-proto.c: Likewise.
485 * nis/nss_nis/nis-pwd.c: Likewise.
486 * nis/nss_nis/nis-rpc.c: Likewise.
487 * nis/nss_nis/nis-service.c: Likewise.
488 * nis/nss_nis/nis-spwd.c: Likewise.
490 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
492 (ypmaplist): Change member names to `map' and `next' and provide
493 #defines for old names.
494 Patch by Thorsten Kukuk.
496 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
497 type for `datalen' parameter to size_t.
499 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
501 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
503 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
507 * stdio-common/tmpfile.c: Update copyright.
509 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
511 Don't eat white space for `C' format.
513 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
515 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
516 * sysdeps/i386/abort.c: Removed. This version does not use
519 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
523 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
524 call. If EMFILE, ENFILE, or EINTR return with error.
526 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
528 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
529 We are compatible again.
530 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
531 even though it is not used.
532 * malloc/obstack.h: Likewise.
533 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
534 alloc_failed bit to 0.
536 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
537 %P format and `0' modifier.
539 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
541 * Makerules (make-link): Don't discard exit codes of intermediate
542 commands. Always use rellns-sh if symbolic links are available.
544 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
546 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
547 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
548 conflict of ntohs etc. in <asm/byteorder.h>.
550 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
552 Add NIS NSS implementation.
553 * shlib-versions: Add versions for NIS libraries.
554 * sysdeps/unix/inet/Subdirs: Add nis.
555 * nis/Banner: New file.
556 * nis/Makefile: New file.
557 * nis/nss-nis.h: New file.
558 * nis/yp_xdr.h: New file.
559 * nis/ypclnt.h: New file.
560 * nis/ypupdate_xdr.c: New file.
561 * nis/nss_compat/compat-grp.c: New file.
562 * nis/nss_compat/compat-pwd.c: New file.
563 * nis/nss_compat/compat-spwd.c: New file.
564 * nis/nss_nis/nis-alias.c: New file.
565 * nis/nss_nis/nis-ethers.c: New file.
566 * nis/nss_nis/nis-grp.c: New file.
567 * nis/nss_nis/nis-hosts.c: New file.
568 * nis/nss_nis/nis-netgrp.c: New file.
569 * nis/nss_nis/nis-network.c: New file.
570 * nis/nss_nis/nis-proto.c: New file.
571 * nis/nss_nis/nis-publickey.c: New file.
572 * nis/nss_nis/nis-pwd.c: New file.
573 * nis/nss_nis/nis-rpc.c: New file.
574 * nis/nss_nis/nis-service.c: New file.
575 * nis/nss_nis/nis-spwd.c: New file.
576 * nis/rpcsvc/yp.h: New file.
577 * nis/rpcsvc/yp.x: New file.
578 * nis/rpcsvc/yp_prot.h: New file.
579 * nis/rpcsvc/ypclnt.h: New file.
580 * nis/rpcsvc/ypupd.h: New file.
582 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
584 * locale/C-numeric.c: Update copyright.
586 * locale/Makefile: Add rules to build libBrokenLocale.
587 * locale/broken_cur_max.c: New file.
588 * locale/mb_cur_max.c: Update copyright.
589 (__ctype_get_mb_cur_max): Make function weak.
591 * new-malloc/malloc.c: Correct copyright.
592 * new-malloc/thread-m.h: Correct key handling.
594 * shadow/lckpwdf.c: Update copyright.
595 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
597 * stdlib/strtod.c: Add another assertion.
598 * stdlib/tst-strtod.c: Add another test case.
600 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
601 * sysdeps/unix/sysv/linux/paths.h: Likewise.
603 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
604 ut_addr names a single element in ut_addr_v6.
606 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
607 Patch by Thomas Bushnell, n/BSG.
609 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
611 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
614 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
615 did fit nicely into that delay slot (patch from David Mosberger-Tang).
617 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
619 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
621 (ttyname_r): New alias.
623 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
625 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
626 error in computation of number of groups.
627 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
629 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
631 * version.h: Set version to 1.99.
633 * Make-dist (routines): Add malloc and new-malloc.
635 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
636 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
637 Same for $(CFLAGS-$(@F)) and CFLAGS.
639 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
641 * io/sys/poll.h: Likewise.
642 * sysdeps/stub/sys/ipb_buf.h: Likewise.
643 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
644 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
645 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
646 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
647 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
648 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
649 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
650 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
651 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
652 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
653 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
654 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
655 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
656 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
657 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
658 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
659 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
660 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
661 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
662 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
663 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
664 * sysvipc/sys/sem.h: Likewise.
665 * sysvipc/sys/shm.h: Likewise.
667 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
668 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
669 Add statistics for threads.
670 * new-malloc/malloc.h: Likewise.
671 * new-malloc/thread-m.h: Likewise.
673 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
675 * time/strptime.c: Update copyright.
677 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
679 * Make-dist: Make sure both malloc directories get distributed.
681 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
683 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
686 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
688 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
689 __BEGIN_DECLS/__END_DECLS.
691 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
693 * login/utmp_file.c: Consistently set file_offset to the position
694 after the entry just read.
696 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
698 * config.make.in (defines): Add @USE_NEW_MALLOC@.
699 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
700 we use the new malloc.
702 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
703 depending on USE_NEW_MALLOC.
705 Fix some more POSIX.1 problems.
706 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
707 on a write-only stream.
708 (_IO_file_overflow): Set errno to EBADF if used on a read-only
710 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
711 call really positions the file offset to the correct position
712 and no read-ahead happens.
714 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
715 to pass POSIX test suite.
716 * stdio-common/vfprintf.c: Handle empty string as grouping command
718 * stdlib/grouping.h: Likewise.
720 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
722 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
724 * stdio-common/printf_fp.c: Update copyright.
726 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
728 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
729 used (not otherwise).
731 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
733 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
735 * stdlib/canonicalize.c: Correct bugs in last change.
738 * libio/Makefile (routines): Remove ioprims.
739 (aux): Remove cleanup.
740 Add IO_DEBUG option for .o files.
741 * libio/cleanups.c: Removed.
742 * libio/ioprims.c: Removed.
743 * libio/filedoalloc.c: More updates from libg++-2.8b5.
744 * libio/fileops.c: Likewise.
745 * libio/genops.c: Likewise.
746 * libio/iolibio.h: Likewise.
747 * libio/iopopen.c: Likewise.
748 * libio/iovsprintf.c: Likewise.
749 * libio/iovsscanf.c: Likewise.
750 * libio/libio.h: Likewise.
751 * libio/libioP.h: Likewise.
752 * libio/memstream.c: Likewise.
753 * libio/strfile.h: Likewise.
754 * libio/vasprintf.c: Likewise.
755 * libio/vsnprintf.c: Likewise.
757 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
759 * manual/arith.texi: Change references to ANSI C to ISO C.
760 * manual/conf.texi: Likewise.
761 * manual/creature.texi: Likewise.
762 * manual/ctype.texi: Likewise.
763 * manual/errno.texi: Likewise.
764 * manual/filesys.texi: Likewise.
765 * manual/intro.texi. Likewise.
766 * manual/io.texi: Likewise.
767 * manual/lang.texi: Likewise.
768 * manual/libc.texinfo: Likewise.
769 * manual/locale.texi: Likewise.
770 * manual/maint.texi: Likewise.
771 * manual/mbyte.texi: Likewise.
772 * manual/memory.texi: Likewise.
773 * manual/process.texi: Likewise.
774 * manual/process.texi: Likewise.
775 * manual/search.texi: Likewise.
776 * manual/setjmp.texi: Likewise.
777 * manual/signal.texi: Likewise.
778 * manual/startup.texi: Likewise.
779 * manual/stdio.texi: Likewise.
780 * manual/string.texi: Likewise.
781 * manual/time.texi: Likewise.
783 * manual/locale.texi: Remove description of LC_RESPONSE and add
786 * Makefile (subdirs): Change malloc in $(malloc).
787 * config.make.in: Add variable malloc which is initialized from
789 * configure.in: Add new option --enable-new-malloc to use new
790 malloc. This is the default on Linux.
791 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
793 * new-malloc/Makefile: New file. Improved malloc implementation.
794 * new-malloc/malloc.c: Likewise.
795 * new-malloc/malloc.h: Likewise.
796 * new-malloc/mallocbug.c: Likewise.
797 * new-malloc/obstack.c: Likewise.
798 * new-malloc/obstack.h: Likewise.
799 * new-malloc/thread-m.h: Likewise.
800 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
801 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
803 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
806 * stdio/feof.c: Update copyright.
807 * stdio/stdio.h: Add field for lock to FILE structure.
808 Add cast to *MAGIC constants to prevent warnings.
810 * stdio-common/bug7.c: Correct test. Stream must not be closed
813 * stdlib/Makefile (routines): Add secure-getenv.
814 * stdlib/secure-getenv.c: New file. __secure_getenv function
815 moved to here from sysdeps/generic/getenv.c. Otherwise an
816 application cannot replace the getenv function in the libc.
817 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
818 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
820 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
822 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
824 * time/test-tz.c: Comment fifth test out. PROBLEM.
826 * time/tzset.c: De-ANSI-declfy.
827 (__tzset): Don't increment pointer tz when no DST information is
830 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
831 to get Hurd macros right.
833 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
835 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
837 Patch by Thomas Bushnell.
839 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
842 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
844 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
846 * time/strftime (%c format): Remove %Z from default string.
847 Reported by Paul Eggert
849 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
851 * configure.in: Discard error message from test in test for
854 * io/getwd.c: Don't apply getcwd on user supplied buffer.
855 Instead always use temporary buffer and only copy the result.
857 * stdlib/canonicalize.c: Likewise.
859 * libio/fileops.c: Change comments according to libg++2.8b5.
860 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
864 * manual/nss.texi: Correct prototypes.
866 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
867 crash if syslog daemon is restarted.
869 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
871 * stdlib/Makefile (routines): Add rand_r.
873 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
876 * configure.in: Add --disable-sanity-check option.
877 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
878 des-crypt are not available and --disbale-sanity-check is not
879 given abort with a message.
881 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
883 * posix/glob.c: Tests against STDC_HEADERS should also test
886 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
888 * misc/err.c (vwarn): Set errno again before using %m format.
890 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
892 * grp/grp.h: Add declaration of __getgrent_r.
894 * io/fts.c (fts_build): Remove "register" from variables dirbuf
895 and dp since their address is needed.
897 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
898 variable d since d's address is needed.
900 * misc/tst-dirname.c (main): Provide prototype.
901 * misc/ioctltst.c (main): Dito.
903 * Makefile: Add gnu/lib-names.h to install-others before including
906 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
908 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
910 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
911 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
912 sys/socketvar.h to sysdep_headers.
914 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
916 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
919 * elf/rtld.c (_dl_start): Don't dereference the value returned by
920 elf_machine_got to get _DYNAMIC, instead call new function
922 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
923 elf_machine_dynamic. Reformat copyright.
924 * sysdeps/i386/dl-machine.h: Likewise.
925 * sysdeps/m68k/dl-machine.h: Likewise.
926 * sysdeps/mips/dl-machine.h: Likewise.
927 * sysdeps/sparc/dl-machine.h: Likewise.
928 * sysdeps/stub/dl-machine.h: Likewise.
930 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
932 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
934 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
936 * Makerules ($(libdir)/libc.so): Make first line of generated
937 link script contain `/* GNU ld script'. This will be used in
938 ldconfig to check for linker scripts.
939 * sysdeps/mach/hurd/libc-ldscript: Likewise.
940 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
942 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
944 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
946 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
949 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
951 * assert/assert-perr.c: Use __strerror_r instead of strerror.
952 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
953 * string/string.h: Declare __strerror_r.
954 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
955 * stdio-common/vfprintf.c: Save current errno value on entry so
956 that %m format finds the correct value.
957 * io/getwd.c: Use __strerror_r instead of strerror.
958 * misc/err.c (vwarn): Use %m printf format instead of explicitly
960 * inet/rcmd.c: Likewise.
961 * misc/error.c (error, error_at_line): Use __strerror_r instead
962 of strerror when this function is available.
964 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
965 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
966 * stdlib/stdlib.h: Define prototype for rand_r.
968 * string/strfry.c: Update copyright. Use reentrant random functions.
970 * dirent/scandir.c: Use __readdir_r instead of readdir.
971 * posix/glob.c: Likewise.
972 * sysdeps/posix/ttyname.c: Likewise.
973 * sysdeps/posix/ttyname_r.c: Likewise.
974 * io/ftw.c: Likewise.
975 * io/fts.c: Likewise.
976 * sysdeps/posix/getcwd.c: Likewise.
977 * dirent/dirent.h: Add prototype for __readdir_r.
978 * sysdeps/unix/readdir_r: Update copyright.
980 * time/ctime.c: Use __localtime_r and __asctime_r instead of
981 non reentrant versions.
982 * time/ctime_r.c: Update copyright.
984 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
986 * locale/Makefile (localepath): Correct value.
988 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
990 Fix typo in using H_ERRNO_SET macro.
992 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
994 * Makerules (elfobjdir): Definition removed.
995 * Makeconfig (elfobjdir): Define it here instead, so that
996 expanding $(rpath-link) gets the right value.
999 * misc/a.out.h: Moved to...
1000 * sysdeps/generic/a.out.h: ...here.
1001 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
1004 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
1006 * grp/initgroups.c: Update and reformat copyright.
1007 Use __getgrent_r instead of getgrent.
1009 * inet/rcmd.c: Update and reformat copyright.
1010 Use __gethostbyname_r instead of gethostbyname.
1011 * inet/rexec.c: Likewise.
1013 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
1014 * locale/findlocale.c: Likewise.
1015 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
1016 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
1017 * locale/setlocale.c (setlocale): Correctly split value of
1019 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
1020 find output directory.
1022 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
1023 h_errno_tmp variable.
1024 Save error value from being changed during `free' call.
1025 * nss/getXXent.c: Likewise.
1027 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
1028 before returning ERANGE error.
1030 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
1033 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
1035 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
1036 * sunrpc/clnt_simp.c: Likewise.
1037 * sunrpc/getrpcport.c: Likewise.
1038 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1040 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
1041 since the value might be outside the range of the `long int'.
1042 Print string `undefined' when a value is undefined.
1044 * stdlib/l64a.c: Return correct pointer.
1045 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1047 * string/Makefile (routines): Add argz-addsep.
1048 * string/argz-addsep.c: New file.
1049 * string/argz.h: Add prototypes for argz_add_sep.
1051 * string/argz-ctsep.c: Prevent memory leak.
1053 * string/strcoll.c: Correct typo in comment.
1055 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
1057 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
1058 not general enough to be part of the libc.
1059 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
1060 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
1062 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1064 * login/Makefile: Fix typo.
1066 * nss/Makefile (generated): Filter out db-alias.c.
1068 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1070 * time/Makefile (echo-zonenames): Don't depend on non-existing
1073 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1076 * nss/nsswitch.c: Use it.
1078 * printf.h: Fix file name.
1079 * stdlib/strfmon.c: Use it.
1081 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
1083 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
1084 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
1085 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1086 Add netinet/in_systm.h.
1087 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1089 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
1091 * libio/fileops.c: Update from latest libg++.
1093 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
1095 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
1096 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
1097 instead of __libc_lock_init for streams.
1098 Reported by a sun <asun@zoology.washington.edu>.
1100 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
1102 * sysdeps/generic/errno-loc.c: New file. Generic definition of
1103 __errno_location function.
1104 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
1106 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1107 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
1110 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
1111 and crypt add-on and warn if not available.
1113 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
1115 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
1117 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
1118 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
1120 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
1121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
1122 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
1123 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
1124 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
1125 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
1127 Patch by Richard Henderson <rth@tamu.edu>.
1129 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
1130 pciconfig_read and pciconfig_write.
1131 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
1132 pciconfig_read and pciconfig_write.
1134 * login/getutent_r.c: Fix several bugs in last change.
1136 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
1138 * Makefile: Fix typo.
1140 * configure: Require autoconf-2.11.
1142 * elf/dl-deps.c: Terminate duplicate list.
1144 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
1145 * libio/strfile.h: Update from current libg++.
1146 * libio/strops.c: Likewise.
1148 * login/Makefile (routines): Update after correction of reentrant
1150 * login/endutent.c: Removed.
1151 * login/endutent_r.c: Likewise.
1152 * login/pututline.c: Likewise.
1153 * login/pututline_r.c: Likewise.
1154 * login/setutent.c: Likewise.
1155 * login/setutent_r.c: Likewise.
1156 * login/getutent.c: Update for new interface.
1157 * login/getutent_r.c: Likewise.
1158 * login/getutid.c: Likewise.
1159 * login/getutid_r.c: Likewise.
1160 * login/getutline.c: Likewise.
1161 * login/getutline_r.c: Likewise.
1162 * login/login.c: Likewise.
1163 * login/logout.c: Likewise.
1164 * login/logwtmp.c: Likewise.
1165 * login/utmp.h: Likewise.
1166 * sysdeps/unix/getlogin.c: Likewise.
1167 * sysdeps/unix/getlogin_r.c: Likewise.
1168 * login/utmp-private.h: New private header.
1169 * login/utmp_db.c: Stub DB backend for utmp handler.
1170 * login/utmp_file.c: File backend for utmp handler.
1171 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
1172 (enum utlogin): List of record types.
1173 (struct exit_status): Record to align with other implementations.
1175 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
1176 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1178 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
1180 * sysdeps/stub/getlogin.c: Update copyright.
1181 * sysdeps/stub/getlogin_r.c: Likewise.
1183 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
1184 * nss/getXXent_r.c: Likewise.
1185 * nss/nsswitch.c: Likewise.
1187 * posix/Makefile (headers): Add wait.h.
1188 * posix/wait.h: New file.
1190 * posix/sys/types.h: Always define intN_t types.
1192 * stdio-common/Makefile: Update copyright.
1193 Use -Wno-format flag for scanf4.c and scanf7.c.
1195 * stdlib/stdlib.h: Reformat.
1197 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1199 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
1200 move the current contents to the end and relocate file name
1201 pointer to upper half of the buffer.
1203 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
1205 * time/africa: Update from ADO tzdata1996m.
1206 * time/antarctica: Likewise.
1207 * time/asia: Likewise.
1208 * time/australia: Likewise.
1209 * time/etcetera: Likewise.
1210 * time/europe: Likewise.
1211 * time/nothamerica: Likewise.
1212 * time/southameria: Likewise.
1213 * time/zone.tab: Likewise.
1215 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
1216 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1218 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
1220 * posix/wait.h: New file.
1221 * posix/Makefile (headers): Add wait.h.
1223 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
1225 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
1226 expression instead of shell pattern matching.
1227 * shlib-versions: Change to regular expressions.
1229 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
1231 * io/stat.c: Add section from libgcc to copyright comment
1232 to allow this file to be statically linked in applications.
1233 * io/fstat.c: Likewise.
1234 * io/lstat.c: Likewise.
1235 * io/mknod.c: Likewise.
1237 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
1239 * csu/initfini.c: Add section from libgcc to copyright comment
1240 to allow this file to be statically linked in applications.
1242 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
1243 not already defined.
1244 (obstack_grow, obstack_grow0): Correct placement of braces.
1246 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
1247 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
1249 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1251 * Makerules (make-link): Simplify by changing directory only if
1252 not using rellns-sh; check whether we really have symbolic links.
1254 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
1255 $(dirname $1); use status of ln for exit code; make more robust
1256 against multiple slashes in a row.
1258 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1260 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
1262 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
1263 the three-part name, to distinguish correctly from *-*-linux-gnu*.
1265 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
1268 * sysdeps/mach/hurd/Makefile (install-others): Add
1270 ($(libdir)/libc_p.a): New rule.
1271 * sysdeps/mach/hurd/libc_p-ldscript: New file.
1272 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
1274 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
1276 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
1277 * time/Makefile: Likewise.
1279 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
1280 * sysdeps/alpha/elf/Dist: New file.
1281 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
1282 The bits currently distributed with GCC fail in two ways -- they don't
1283 understand multiple .got subsections and the extents of the lists are
1284 dynamicly bound meaning that the application's lists get executed
1285 multiple times and the library's lists never get executed.
1287 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1289 * stdlib/strtod.c: Fix previous change.
1291 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1293 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
1296 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
1298 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
1299 Likesie for scanf4.c
1301 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
1303 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
1304 alias of __sigsuspend.
1306 * grp/grp.h: Correct comment about POSIX compliance.
1307 * pwd/pwd.h: Likewise.
1309 * login/utmp.h: Update copyright and pretty-print prototypes.
1310 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
1311 _PATH_WTMP from utmpbits.h.
1312 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1313 * sysdeps/generic/utmpbits.h: Remove here.
1314 * sysdeps/gnu/utmpbits.h: Likewise.
1316 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
1317 Pretty-print prototypes.
1319 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
1322 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
1324 * inet/ether_hton.c: Include <string.h>.
1325 * inet/ether_ntoh.c: Likewise.
1326 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
1327 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
1329 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
1330 to define. Jim Nance reports problems building XEmacs otherwise.
1332 * resolv/gethnamaddr.c: Protect h_errno redefinition.
1333 * resolv/getnetnamadr.c: Likewise.
1334 * resolv/herror.c: Likewise.
1336 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
1337 with -traditional. Reported by Eric Youngdale. While we're at this,
1338 don't do error checking in the __ functions. This is consistent
1339 with the sysv4 definitions and seems Right.
1340 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
1341 prototype for __sigsuspend.
1342 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
1343 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
1344 * sysdeps/posix/sigpause.c: Likewise.
1345 * sysdeps/posix/sigsetmask.c: Likewise.
1346 * sysdeps/posix/sigvec.c: Likewise.
1347 * sysdeps/posix/sigintr.c: Reformat copyright.
1348 * sysdeps/posix/signal.c: Check signal number out of range since
1349 __sigismember doesn't anymore. Reformat copyright.
1350 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
1351 sigdelset, sigaction, and sigsuspend.
1353 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
1354 to the wider type before shifting.
1356 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
1357 without .set noat" in profiling hook.
1358 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1359 * sysdeps/alpha/htonl.S: Likewise.
1360 * sysdeps/alpha/htons.S: Likewise.
1361 * sysdeps/alpha/s_copysign.S: Likewise.
1362 * sysdeps/alpha/setjmp.S: Likewise.
1363 * sysdeps/alpha/stpcpy.S: Likewise.
1364 * sysdeps/alpha/strcat.S: Likewise.
1365 * sysdeps/alpha/strcpy.S: Likewise.
1366 * sysdeps/alpha/strncat.S: Likewise.
1367 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
1368 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1369 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1370 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1371 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1372 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
1373 function to __sigsuspend and add weak alias.
1374 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
1376 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
1378 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
1379 SYSCALL__ actually generated.
1381 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
1382 #define __set_errno, as several imported subsystems (eg. BIND) check
1383 that the symbol is defined.
1385 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
1387 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
1388 that manifests in GCC.
1390 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1392 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
1393 * sysdeps/posix/readv.c (readv): Likewise.
1395 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
1397 * nss/nss_dns/dns-network.c: Change return type of all functions
1399 Reported by NIIBE Yutaka.
1400 * nss/nss_dns/dns-host.c: Update copyright.
1402 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1404 * config.make.in: Remove definition of top_absdir.
1405 * configure.in: Likewise. Use $(..) instead.
1406 * Makerules (make-link): Use $(..) to find rellns-sh script.
1408 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1410 * manual/nss.texi (Name Service Switch): Fix reference to
1413 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1418 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
1420 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
1421 variable from __stat to __status to prevent shadowing.
1422 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
1423 for parameter __wait.
1424 Reported by NIIBE Yutaka.
1426 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
1428 * misc/regexp.c: New file. Implementation of obsolete interface
1429 to regular expression matcher (required in XPG4.2).
1430 * misc/regexp.h: New file. Header for above.
1431 * misc/Makefile (headers): Add regexp.h.
1432 (routines): Add regexp.c.
1435 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1437 * stdlib/tst-strtod.c (main): Add arguments for main.
1438 * stdlib/tst-strtol.c (main): Likewise.
1440 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
1442 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
1444 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
1445 and sysconfdir to /etc if $prefix is /usr.
1446 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
1448 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
1449 $(have-bash2) is yes.
1450 * elf/ldd.bash.in: Add copyright and various cleanups.
1451 * elf/ldd.sh.in: Likewise.
1453 Implement RTLD_NEXT.
1454 * elf/dlfcn.h: Define RTLD_NEXT.
1455 * elf/dl-deps.c: Build second searchlist which contains duplicates.
1456 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
1457 for RTLD_NEXT lookup.
1458 Rewrite _dl_lookup_symbol to put common parts for both lookup
1459 functions in a separate function.
1460 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
1461 * elf/link.h (struct link_map): Add l_dupsearchlist and
1463 Add prototype for _dl_lookup_symbol_skip.
1465 * sunrpc/Makefile (rpcsvc): Add rusers.
1466 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
1467 * sunrpc/rpcsvc/rusers.x: New file.
1469 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
1471 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
1472 __libc_lock_init for local lock.
1473 Reported by a sun <asun@zoology.washington.edu>.
1474 [!USE_IN_LIBIO] (PAD): Optimize a bit.
1476 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
1478 * db/makedb.c: Update and reformat copyright.
1479 * elf/Makefile: Likewise.
1480 * elf/dl-close.c: Likewise.
1481 * elf/dl-debug.c: Likewise.
1482 * elf/dl-deps.c: Likewise.
1483 * elf/dl-error.c: Likewise.
1484 * elf/dl-fini.c: Likewise.
1485 * elf/dl-init.c: Likewise.
1486 * elf/dl-load.c: Likewise.
1487 * elf/dl-lookup.c: Likewise.
1488 * elf/dl-minimal.c: Likewise.
1489 * elf/dl-object.c: Likewise.
1490 * elf/dl-open.c: Likewise.
1491 * elf/dl-reloc.c: Likewise.
1492 * elf/dl-runtime.c: Likewise.
1493 * elf/dl-support.c: Likewise.
1494 * elf/dl-symbol.c: Likewise.
1495 * elf/dladdr.c: Likewise.
1496 * elf/dlclose.c: Likewise.
1497 * elf/dlerror.c: Likewise.
1498 * elf/dlopen.c: Likewise.
1499 * elf/dlsym.c: Likewise.
1500 * elf/do-rel.h: Likewise.
1501 * elf/dynamic-link.h: Likewise.
1502 * elf/eval.c: Likewise.
1503 * elf/rtld.c: Likewise.
1504 * inet/ether_hton.c: Likewise.
1505 * inet/ether_ntoh.c: Likewise.
1506 * inet/ether_line.c: Likewise.
1507 * inet/getnetgrent_r.c: Likewise.
1509 * inet/Makefile (+gccwarn): Remove definition.
1510 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
1512 * inet/aliases.h: Add C++ protection.
1513 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
1514 (ether_hostton): Remove unused variable result.
1515 * inet/ether_ntoh.c: Likewise.
1516 * inet/ether_line.c: Include <ctype.h> and <string.h>.
1517 * inet/getnetgrent_r.c: Include <stdlib.h>.
1518 Use casts to prevent warnings.
1519 (innetgr): Initialize `known' and `needed'.
1520 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
1521 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
1522 return NULL. Instead set *RESULT to NULL and return -1.
1523 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
1524 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
1526 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
1529 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
1531 * sysdeps/posix/readv.c: Don't use PTR anymore.
1532 * sysdeps/posix/writev.c: Likewise.
1534 * version.h (VERSION): Bump to 1.98.
1536 * nss/db-Makefile: Generate lines for getXXXent iteration.
1538 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
1539 divqu.S, remlu.S, and remqu.S.
1541 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1543 * posix/unistd.h: Correct typo in documentation.
1545 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
1547 * inet/netinet/tcp.h: Use __ protected versions instead of
1548 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
1550 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
1552 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
1553 references in libc.so are not anymore undefined.
1555 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1557 * io/utime.h: Rename second parameter for utime to prevent warning
1559 * dirent/dirent.h: Same here for scandir prototype.
1560 * math/mathcalls.h: Likewise for frexp and ldexp.
1561 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
1563 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
1565 * stdlib/tst-strtod.c: Add test for error case below.
1567 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
1569 * stdlib/strtod.c: Recognize numbers like 0e-19.
1571 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1573 * time/Makefile ($(installed-localtime-file)): Fix path to
1576 * Makefile: Don't generate and install gnu/lib-names.h if
1577 $(build-shared) is not `yes'.
1579 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
1581 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
1582 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
1584 * Makerules (REAL_MAKE_VERSION): New, use it instead of
1587 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
1589 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
1590 * nss/getXXent_r.c: Fix typo. Set correct return value when
1591 no further service is available.
1593 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
1595 * db/recno/rec_put.c: Add cast to avoid warning.
1596 * db/recno/rec_close.c: Likewise.
1597 * db/mpool/mpool.c: Likewise.
1598 * db/hash/hash_bigkey.h: Likewise.
1599 * db/hash/hash.c: Likewise.
1600 * db/btree/bt_split.c: Likewise.
1601 * db/btree/bt_put.c: Likewise.
1603 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
1605 * dirent/dirent.h: Update copyright.
1606 * elf/elf.h: Likewise.
1607 * elf/link.h: Likewise.
1608 * gmon/sys/gmon_out.h: Likewise.
1609 * gnu-versions.h: Likewise.
1610 * intl/libintl.h: Likewise.
1611 * io/fcntl.h: Likewise.
1612 * io/ftw.h: Likewise.
1613 * io/sys/statfs.h: Likewise.
1614 * io/utime.h: Likewise.
1615 * locale/langinfo.h: Likewise.
1616 * malloc/malloc.h: Likewise.
1617 * malloc/obstack.h: Likewise.
1618 * misc/ar.h: Likewise.
1619 * misc/error.h: Likewise.
1620 * misc/mntent.h: Likewise.
1621 * misc/sgtty.h: Likewise.
1622 * misc/sys/cdefs.h: Likewise.
1623 * misc/sys/dir.h: Likewise.
1624 * misc/sys/file.h: Likewise.
1625 * misc/sys/ioctl.h: Likewise.
1626 * misc/sys/ustat.h: Likewise.
1627 * posix/fnmatch.h: Likewise.
1628 * posix/getopt.h: Likewise.
1629 * posix/glob.h: Likewise.
1630 * posix/posix2_lim.h: Likewise.
1631 * posix/regex.h: Likewise.
1632 * posix/sys/times.h: Likewise.
1633 * posix/sys/types.h: Likewise.
1634 * posix/sys/utsname.h: Likewise.
1635 * posix/tar.h: Likewise.
1636 * posix/wordexp.h: Likewise.
1637 * resource/sys/resource.h: Likewise.
1638 * resource/sys/vlimit.h: Likewise.
1639 * resource/sys/vtimes.h: Likewise.
1640 * socket/sys/socket.h: Likewise.
1641 * socket/sys/un.h: Likewise.
1642 * stdio-common/printf.h: Likewise.
1643 * stdlib/alloca.h: Likewise.
1644 * string/argz.h: Likewise.
1645 * string/endian.h: Likewise.
1646 * string/envz.h: Likewise.
1647 * string/memory.h: Likewise.
1648 * string/strings.h: Likewise.
1649 * sysdeps/generic/crypt.h: Likewise.
1650 * sysdeps/generic/direntry.h: Likewise.
1651 * sysdeps/generic/gnu/types.h: Likewise.
1652 * sysdeps/generic/ioctl-types.h: Likewise.
1653 * sysdeps/generic/netinet/in.h: Likewise.
1654 * sysdeps/generic/resourcebits.h: Likewise.
1655 * sysdeps/generic/sigset.h: Likewise.
1656 * sysdeps/generic/sockaddrcom.h: Likewise.
1657 * sysdeps/generic/sys/mman.h: Likewise.
1658 * sysdeps/generic/sys/ptrace.h: Likewise.
1659 * sysdeps/generic/termbits.h: Likewise.
1660 * sysdeps/generic/waitstatus.h: Likewise.
1661 * sysdeps/ieee754/huge_val.h: Likewise.
1662 * sysdeps/ieee754/nan.h: Likewise.
1663 * sysdeps/mach/hurd/local_lim.h: Likewise.
1664 * sysdeps/mach/hurd/statbuf.h: Likewise.
1665 * sysdeps/stub/huge_val.h: Likewise.
1666 * sysdeps/stub/libc-lock.h: Likewise.
1667 * sysdeps/stub/signum.h: Likewise.
1668 * sysdeps/stub/statbuf.h: Likewise.
1669 * sysdeps/stub/waitflags.h: Likewise.
1670 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
1671 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
1672 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1673 * sysdeps/unix/bsd/signum.h: Likewise.
1674 * sysdeps/unix/bsd/statbuf.h: Likewise.
1675 * sysdeps/unix/bsd/sun/signum.h: Likewise.
1676 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
1677 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1678 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
1679 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1680 * sysdeps/unix/bsd/waitflags.h: Likewise.
1681 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
1682 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
1683 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1684 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1685 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
1686 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
1687 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1688 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
1689 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
1690 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1691 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
1692 * sysdeps/unix/sysv/linux/signum.h: Likewise.
1693 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
1694 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
1695 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1696 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1697 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1698 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
1699 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
1700 * sysdeps/unix/sysv/local_lim.h: Likewise.
1701 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
1702 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
1703 * sysdeps/unix/sysv/signum.h: Likewise.
1704 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
1705 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
1706 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
1707 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
1708 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
1709 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
1710 * sysdeps/vax/huge_val.h: Likewise.
1711 * values.h: Likewise.
1713 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
1715 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
1716 `memcpy' using bcopy if memcpy is not available.
1718 * manual/stdio.texi: Correct description of printf customization.
1719 The argument info function is not optional anymore and the
1720 interface for `printf_function' also changed.
1721 * manual/examples/rprintf.c: Define and use argument info function.
1723 * stdio-common/printf.h (struct printf_info): Change type for field
1725 Correct comment for `register_printf_function'.
1727 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
1728 to reentrant function. Instead use temporary variable and set
1729 h_errno if an error occured.
1730 Reported by NIIBE Yutaka.
1732 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1734 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
1735 S_ITRANS): New macros.
1736 (S_ISPARE): Update to include new macros and S_IUSEUNK.
1738 * sysdeps/mach/hurd/select.c (__select): Construct arg to
1739 mach_msg_destroy more nicely.
1741 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
1743 * stdio/fopen.c (__getmode): Declare with prototype.
1744 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
1745 * stdio/internals.c (__stdio_check_funcs, init_stream,
1746 seek_to_target, flushbuf, fillbuf): Likewise.
1748 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
1749 funlockfile, not _IO_funlockfile.
1751 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
1753 * sysdeps/posix/writev.c (writev): Likewise.
1755 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
1757 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1759 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
1760 prototyped definition.
1762 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
1763 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
1765 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
1767 * inet/Makefile (headers): Add aliases.h.
1768 (routines): Add getaliasent_r, getaliasent, getaliasname, and
1770 * aliases.h: New file.
1771 * inet/aliases.h: New file.
1772 * inet/getaliasent.c: New file.
1773 * inet/getaliasent_r.c: New file.
1774 * inet/getaliasname.c: New file.
1775 * inet/getaliasname_r.c: New file.
1776 * nss/Makefile (databases): Add alias.
1777 * nss/alias-lookup.c: New file.
1778 * nss/databases.def: Add aliases and publickey.
1779 * nss/nss_db/db-alias.c: New file.
1780 * nss/nss_files/files-alias.c: New file.
1782 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
1783 argument to lookup function is of type size_t.
1784 (innetgr): Likewise.
1785 * nss/getXXbyYY_r.c: Likewise.
1786 * nss/getXXent_r.c: Likewise.
1787 * nss/nss_db/db-XXX.c: Likewise.
1789 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
1790 failed because buffer was too small.
1791 * nss/getXXent.c: Likewise.
1793 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
1794 getXXent_r function now uses f[gs]etpos to get to the correct
1797 * nss/nss_files/files-parse.c: Indent lines for better readability.
1799 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
1800 and new function print_and_abort. Remove all references to
1802 Add new function _obstack_memory_used.
1803 * malloc/obstack.h (struct obstack): Remove field alloc_field.
1804 Remove all references to alloc_failed field.
1805 Add prototype for _obstack_memory_used.
1807 * posix/unistd.h: Correct typo.
1809 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
1811 * configure.in: Require at least autoconf-2.10.2.
1813 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1815 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
1818 * mach/msg-destroy.c (mach_msg_destroy_port,
1819 mach_msg_destroy_memory): Use prototype syntax.
1820 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
1821 malloc_fork_parent, malloc_fork_child): Likewise.
1823 * stdio/stdio.h: Repair broken cpp syntax.
1825 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
1826 we pass O_NOLINK on the open.
1828 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
1829 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
1830 an XOPEN error code, move to before the "Linux only" section, and
1831 give it a new number for the Hurd.
1833 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
1835 * malloc/obstack.h: Add new macro `obstack_make_room'.
1836 * malloc/obstack.c: Add function implementation for
1837 `obstack_make_room'.
1839 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
1841 Update to BIND-4.9.5-REL.
1842 * resolv/Banner: Set to 4.9.5-REL.
1843 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
1844 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
1847 * config.make.in: Add definition for top_absdir.
1848 * Makerules (make-link): Fix path to rellns-sh script.
1850 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1852 * posix/unistd.h: Fix comment.
1854 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
1855 when talking about numbers.
1856 * manual/users.texi: Likewise.
1857 * manual/creature.texi: Likewise. Use @defvarx for a secondary
1860 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1862 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
1863 the real posix1_lim.h file so that it works in all subdirs, not
1866 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1868 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
1870 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1872 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
1873 on $(before-compile) which hasn't been properly setup yet at this
1876 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1878 * sysdeps/generic/sigset.h: Don't use implicit int which will
1879 probably require a diagnostic in the next revision of the C
1881 * sysdeps/stub/lockfile.c: Likewise.
1883 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1885 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
1886 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1888 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
1890 * time/strftime.c: Update copyright. Small cosmetic changes.
1892 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
1894 * inet/getprtname_r.c: Reformat copyright.
1896 * nss/Makefile (databases): Add key.
1897 (libnss_files-routines): Exclude key database.
1898 (libnss_db-routines): Likewise.
1899 * nss/key-lookup.c: New file.
1901 * nss/getXXent_r.c (last_nip): Remember last service used since
1903 (SETFUNC): Don't force to work through whole list of services in
1905 Update last_nip if necessary.
1906 (ENDFUNC): Only process endXXent function up to currently used
1908 (GETFUNC): Update last_nip if necessary.
1910 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1913 * rpc/auth_des.h: New file.
1914 * sunrpc/Makefile (headers): Add auth_des.h.
1915 (routines): Add publickey.
1916 * sunrpc/publickey.c: New file. Interface to public key handling.
1917 * sunrpc/rpc/auth_des.h: New file.
1918 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
1920 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
1922 * inet/gethstent_r.c: Update copyright.
1923 * nss/getXXbyYY_r.c: Likewise.
1924 * nss/nsswitch.c: Likewise.
1925 * nss/getXXent_r.c: Likewise.
1926 * nss/nss_files/files-XXX.c: Likewise.
1927 * nss/nss_files/files-netgroup.c: Likewise.
1928 * nss/nss_files/files-parse.c: Likewise.
1930 * nss/getXXent_r.c: Change implementation. It's not necessary to
1931 call all setXXent functions. Just find first available and
1932 when necessary let getXXent_r call the others.
1934 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
1935 of getXXent and getXXbyYY can be mixed. The cursor for traversing
1936 the database with getXXent will be remembered.
1938 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
1940 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
1942 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
1943 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
1945 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
1947 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
1949 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
1950 set. Instead for none beside the first seven bits to be set.
1951 X/Open allows the argument to be an `int' value.
1952 Reported by Alain Williams <addw@phcomp.co.uk>.
1953 (toascii, isascii): Define macro also when __USE_XOPEN.
1955 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
1958 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
1960 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
1961 NULL so that GETFUNC will see first entry.
1962 (ENDFUNC_NAME): Likewise.
1964 Rewrite Netgroups implementation to avoid global data.
1965 * inet/netgroup.h: Add definition of name_list and struct
1967 Add prototypes for internal netgroup functions.
1968 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
1969 extra argument and use the included data instead of global vars.
1970 (_nss_files_endnetgrent): Likewise.
1971 (_nss_netgroup_parseline): Change to be static and use data
1972 included in the RESULT structure.
1973 * inet/getnetgrent_r.c (startp): Move into setup function.
1974 (known_groups, needed_groups): new part of the __netgrent sruct.
1975 (freememory): Take extra argument and use included data.
1976 (__internal_endnetgrent): Likewise.
1977 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
1978 and take extra argument.
1979 (__internal_setnetgrent): New function. Call
1980 __internal_setnetgrent_reuse after calling free_memory.
1981 (setnetgrent): Only call __internal_setnetgrent.
1982 (__getnetgrent_r): Split into two functions. __getnetgrent_r
1983 calls __internal_getnetgrent after locking.
1984 (innetgr): Use dynamic data only. I.e., innetgr now is fully
1987 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
1989 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
1990 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
1992 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
1994 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
1995 default when no *_SOURCE macro is given.
1996 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
1997 * NOTES: remade from manual/creature.texi.
1998 * manual/libc.texinfo: Add back line about GPL translation which
2001 * Make-dist (dist.tar): Depend on README being updated.
2003 * rellns-sh: Correct thinko in removing leading /.
2004 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2006 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
2007 with `+' or `-' in parser.
2008 * grp/fgetgrent_r.c: Likewise.
2009 * shadow/sgetspent_r.c: Likewise.
2010 * nss/nss_files/files-spwd.c: Don't accept entries starting with
2013 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
2015 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
2016 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
2018 * string/argz.h: Don't protect by __USE_GNU.
2020 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
2022 * Lots of files: Update and reformat copyright.
2024 * Makefile (headers): Add xopen_lim.h.
2026 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
2028 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
2029 if __USE_XOPEN_EXTENDED is defined.
2030 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
2031 if __USE_XOPEN_EXTENDED is defined.
2033 * io/Makefile (routines): Add lchown.
2034 * sysdeps/stub/lchown.c: New file.
2036 * io/sys/poll.h: Add definition of POLLWRNORM.
2038 * io/sys/stat.h: Declare lstat, fchmod, mknod when
2039 __USE_XOPEN_EXTENDED is defined.
2041 * libio/Makefile (routines): Add obprintf.
2042 * libio/obprintf.c: New file.
2043 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
2045 * libio/libio.h: Fix typo.
2046 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
2047 Add prototypes for obstack_vprintf and obstack_printf.
2049 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
2050 * manual/intro.texi: Add reference to NSS chapter.
2051 * manual/libc.texinfo: Update UPDATED.
2052 Comment out `@printindex cp'. It works again.
2053 * manual/memory.texi: Add description for obstack_ptr_grow,
2054 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
2055 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
2056 index entries to @vindex.
2057 * manual/users.texi: Correct @cindex entry for Netgroup.
2059 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
2060 make declarations visible for X/Open sources.
2062 * misc/search.h: Declare insque/remque only is __USE_SVID or
2063 __USE_XOPEN_EXTENDED is defined.
2065 * misc/sys/uio.h (readv, writev): Change return value from int to
2068 * posix/Makefile (headers): Add re_comp.h.
2069 * posix/re_comp.h: New file. XPG interface to regex functions.
2071 * posix/getconf.c: Add all names from XPG4.2.
2072 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
2073 and _POSIX_OPEN_MAX to minimums from XPG4.2.
2074 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
2075 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
2076 * sysdeps/stub/sysconf.c: Likewise.
2078 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
2079 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
2080 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
2081 ftruncate, getdtablesize, brk, sbrk, lockf when
2082 __USE_XOPEN_EXTENDED is defined.
2084 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
2086 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
2087 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
2088 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2090 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
2091 __USE_XOPEN_EXTENDED is defined.
2093 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
2095 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
2097 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
2100 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
2101 and rindex available when __USE_XOPEN_EXTENDED is defined.
2103 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
2104 * sysdeps/posix/getpagesize.c: Likewise.
2105 * sysdeps/stub/getpagesize.c: Likewise.
2106 * sysdeps/unix/getpagesize.c: Likewise.
2108 * time/africa: Update from tzdata1996l.
2109 * time/asia: Likewise.
2110 * time/australia: Likewise.
2111 * time/europe: Likewise.
2112 * time/northamerica: Likewise.
2113 * time/pacificnew: Likewise.
2114 * time/southamerica: Likewise.
2115 * time/tzfile.h: Update from tzcode1996m.
2117 * time/time.h: Declare strptime if __USE_XOPEN.
2118 Declare daylight and timezone also if __USE_XOPEN.
2120 * time/sys/time.h: Remove declaration of ualarm.
2122 * wctype/wctype.h: Just reference ISO C standard.
2124 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
2126 * crypt/Makefile: Add crypt routines to libc as well iff
2127 $(crypt-in-libc) is set. Do this for temporary binary compatibility
2128 on existing Linux/Alpha installations.
2130 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
2131 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
2132 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
2133 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
2135 * sysdeps/alpha/div.S: New file.
2136 * sysdeps/alpha/ldiv.S: New file.
2137 * sysdeps/alpha/lldiv.S: New file.
2138 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
2139 Take pointers from Linus and tighten the inner loops a bit.
2140 * sysdeps/alpha/divl.S: Change defines for merged routines.
2141 * sysdeps/alpha/divq.S: Likewise.
2142 * sysdeps/alpha/reml.S: Likewise.
2143 * sysdeps/alpha/remq.S: Likewise.
2144 * sysdeps/alpha/divlu.S: Remove file.
2145 * sysdeps/alpha/divqu.S: Likewise.
2146 * sysdeps/alpha/remlu.S: Likewise.
2147 * sysdeps/alpha/remqu.S: Likewise.
2149 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
2150 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2151 * sysdeps/alpha/bzero.S: Likewise.
2152 * sysdeps/alpha/ffs.S: Likewise.
2153 * sysdeps/alpha/htonl.S: Likewise.
2154 * sysdeps/alpha/htons.S: Likewise.
2155 * sysdeps/alpha/memchr.S: Likewise.
2156 * sysdeps/alpha/memset.S: Likewise.
2157 * sysdeps/alpha/s_copysign.S: Likewise.
2158 * sysdeps/alpha/s_fabs.S: Likewise.
2159 * sysdeps/alpha/setjmp.S: Likewise.
2160 * sysdeps/alpha/stpcpy.S: Likewise.
2161 * sysdeps/alpha/stpncpy.S: Likewise.
2162 * sysdeps/alpha/strcat.S: Likewise.
2163 * sysdeps/alpha/strchr.S: Likewise.
2164 * sysdeps/alpha/strcpy.S: Likewise.
2165 * sysdeps/alpha/strlen.S: Likewise.
2166 * sysdeps/alpha/strncat.S: Likewise.
2167 * sysdeps/alpha/strncpy.S: Likewise.
2168 * sysdeps/alpha/strrchr.S: Likewise.
2169 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
2170 Convert two small jumps to use conditional moves.
2171 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
2172 (PSEUDO): If PROF, call _mcount.
2173 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
2174 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2175 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2176 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2177 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2178 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2179 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2181 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
2182 eventually contain memmove as well.
2183 * sysdeps/alpha/strcmp.S: New file.
2184 * sysdeps/alpha/strncmp.S: New file.
2185 * sysdeps/alpha/w_sqrt.S: New file.
2187 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
2189 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
2191 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
2193 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
2194 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
2195 Reported by Thomas Bushnell, n/BSG.
2197 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
2199 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
2201 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
2203 * malloc/calloc.c: Check for overflow before trying to allocate
2204 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
2206 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2208 * manual/llio.texi (Operating Modes): Add missing arguments to
2209 @deftypevr in O_NONBLOCK description.
2211 * manual/time.texi (Time Zone Functions): Enclose type name in
2212 braces in description of tzname. FIXME: this does not yet work
2215 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
2217 * features.h: Add X/Open macros.
2218 * posix/unistd.h: Define X/Open macros.
2219 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
2220 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
2221 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
2222 * sysdeps/posix/sysconf.c: Handle new constants.
2223 * sysdeps/stub/sysconf.c: Likewise.
2224 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
2226 * catgets/catgets.c (catopen): Set errno to ENOMEM when
2227 we run out of memory.
2228 (catgets): Set errno to EBADF when catalog handle is invalid.
2229 Set errno to ENOMSG when translation is not available.
2230 (catclose): Set errno to EBADF when catalog handle is invalid.
2232 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
2233 Likewise for _toupper and _tolower.
2235 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
2236 strtof, and strtold.
2237 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
2238 * manual/stdio.h: Document ' flag for numeric formats of scanf.
2239 * manual/users.texi: Document that cuserid shouldn't be used.
2241 * misc/Makefile (routines): Add dirname.
2242 (headers): Add libgen.h.
2243 (tests): Add tst-dirname.
2244 * misc/dirname.c: New file.
2245 * misc/libgen.h: New file.
2246 * misc/tst-dirname.c: New file.
2248 * misc/search.h: Parameter of hcreate must be of type size_t.
2249 * misc/hsearch.c: Likewise.
2250 * misc/hsearch_r.c: Likewise for hcreate_r.
2251 * misc/search.h: Parameters of insque and remque must be `void *'.
2252 * misc/insremque.c: Likewise.
2254 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
2255 * stdlib/stdlib.h: ...here.
2256 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
2259 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
2261 (parse_one_spec): Remove Linux compatibility code.
2262 Recognize %C and %S formats.
2263 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
2264 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
2265 * stdio-common/vfscanf.c: Likewise for scanf.
2267 * stdlib/l64a.c: Return value for 0 must be the empty string.
2268 * stdlib/stdlib.h: Declare reentrant function from rand49 family
2269 only if __USE_REENTRANT.
2270 Declare rand48 functions also if __USE_XOPEN.
2272 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
2274 Return 0 and set errno to EINVAL when strou* sees negativ number.
2275 * stdlib/tst-strtol.c: De-ANSI-fy.
2276 Change expected results for test of unsigned function and negative
2279 * string/stratcliff.c: Prevent warnings.
2280 * string.h: Move declaration of swab to <unistd.h>.
2281 * string/swab.c: De-ANSI-fy.
2283 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
2284 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
2285 * sysdeps/posix/mktemp.c: Likewise.
2286 * sysdeps/stub/mkstemp.c: Likewise.
2287 * sysdeps/stub/mktemp.c: Likewise.
2289 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
2291 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
2294 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
2296 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
2299 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
2301 * sysdeps/posix/cuserid.c: Use reentrant functions.
2302 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
2305 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
2307 Linus said he will make sure no system call will return a value
2308 in -1 ... -4095 as a valid result.
2309 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
2310 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2311 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2312 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2314 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2316 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
2317 __funlockfile, not a circular alias.
2318 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
2321 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
2323 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
2325 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2327 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2329 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2331 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
2334 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
2335 __internal_funlockfile (in terms of itself) should actually be a
2336 definition of __funlockfile.
2338 * pwd/pwd.h: Get `size_t' from <stddef.h>.
2339 * grp/grp.h: Likewise.
2340 * shadow/shadow.h: Likewise.
2342 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
2343 calls to __libc_lock_lock and __libc_lock_unlock.
2344 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
2347 * hurd/hurdsig.c (write_corefile): Fix typo.
2349 * sysdeps/mach/hurd/sigwait.c: New file.
2351 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
2353 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
2354 and __errno_location to correct position.
2356 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
2358 * Makefile (distribute): Add rellns-sh.
2359 * rellns-sh: New file.
2360 * Makerules (make-link): Use rellns-sh.
2361 * time/Makefile ($(installed-localtime-file)): Likewise.
2363 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
2365 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
2366 (distribute): Add ldd.bash.in.
2367 * elf/ldd.sh.in: Process --help and --version parameter.
2369 * elf/ldd.bash.in: New file.
2371 * stdlib/stdlib.h: Add prototype for clearenv.
2372 * sysdeps/generic/setenv.c: Add implementation of clearenv.
2373 (setenv): Handle __environ == NULL correctly.
2374 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
2377 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
2378 * sysdeps/generic/setenv.c: Likewise.
2379 * stdlib/strtol.h: Likewise.
2381 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
2382 Remove definition of struct timeval.
2383 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
2384 using `time_t' for members.
2385 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
2386 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
2387 as old Linux specific version.
2389 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
2391 * signal/Makefile (routines): Add sigwait.
2392 * signal/signal.h: Add prototype for sigwait.
2393 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
2394 function from POSIX.1c.
2395 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
2397 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
2399 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
2400 but don't bother going farther than sizeof(float)==sizeof(int).
2401 (xdr_double): Handle little-endian machines! Handle sizeof(double)
2402 != 2*sizeof(long), though again don't bother with more than int.
2404 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
2406 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
2409 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
2411 * Makerules: Create symbolic links for linking in $(libdir).
2412 (make-link): Use absolute path for destination if this is not in
2415 * elf/rtld.c (dl_main): When verifying don't check the name of
2418 * shlib-versions: Change entries for Hurd specific libs from
2419 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
2422 * assert/assert.h: Reformat copyright.
2423 Change reference to ANSI into reference to ISO C.
2424 * ctype/ctype.h: Likewise.
2425 * errno.h: Likewise.
2426 * limits.h: Likewise.
2427 * math/math.h: Likewise.
2428 * setjmp/setjmp.h: Likewise.
2429 * stdio/stdio.h: Likewise.
2430 * libio/stdio.h: Likewise.
2431 * stdlib/stdlib.h: Likewise.
2432 * string/string.h: Likewise.
2433 * time/time.h: Likewise.
2435 * string/argz.h: Use __const in definitions.
2437 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
2438 * misc/err.h: Likewise.
2440 * wctype/wctype.h (wctrans_t): Use __const instead of const.
2442 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
2443 sonames for versioned libraries.
2444 * Makefile: Remove code to generate libc-version.h.
2445 Generate gnu/lib-names.h with info from soversions.mk.
2446 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
2448 * dirent/tst-seekdir.c: Initialize save3.
2449 * grp/testgrp.c: Initialize my_group.
2451 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
2452 * grp/grp.h: Likewise.
2453 * nss/getXXbyYY.c: Likewise.
2454 * nss/getXXbyYY_r.c: Likewise.
2455 * nss/getXXent.c: Likewise.
2456 * nss/getXXent_r.c: Likewise.
2457 * pwd/fgetpwent_r.c: Likewise.
2458 * pwd/pwd.h: Likewise.
2459 * shadow/fgetspent_r.c: Likewise.
2460 * shadow/sgetspent.c: Likewise.
2461 * shadow/sgetspent_r.c: Likewise.
2462 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
2463 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
2464 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
2465 * resolv/netdb.h: Adapt prototypes for reentrant functions to
2467 * sunrpc/rpc/netdb.h: Likewise,
2468 * shadow/shadow.h: Likewise.
2470 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
2472 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
2474 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
2475 ELF aliasing creates strange situations.
2476 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
2478 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
2479 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2481 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
2484 * locale/programs/charmap.c: Add casts to prevent warnings.
2485 * locale/programs/linereader.h: Likewise.
2486 * locale/programs/ld-collate.c: Likewise.
2487 * locale/programs/stringtrans.c: Likewise.
2488 Change types for various variables to prevent warnings.
2489 * locale/programs/ld-ctype.c: Likewise.
2490 * locale/programs/linereader.h (lr_ungetc): Likewise.
2491 * locale/programs/charset.h (struct charset): Use `unsigned int'
2492 as type for width_default.
2493 * posix/regex.c: Change type of `this_reg' variables.
2494 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
2495 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
2497 * stdio-common/printf_fp.c: Initialize to_shift.
2498 * stdio-common/test_rdwr.c: Add cast.
2499 * stdio-common/vfprintf.c: Add casts and use correct types to
2501 * stdio-common/vfscanf.c: Initialize str and strptr.
2502 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
2503 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2504 * sysdeps/libm-ieee754/e_powf.c: Likewise.
2505 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
2506 * time/test-tz.c: Likewise.
2508 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
2509 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
2510 libc.cp index. This must be fixed.
2511 * manual/nss.texi: Adapt for correct POSIX.1c interface of
2512 reentrant functions.
2513 * manual/users.texi: Document netgroup functions.
2515 * po/es.po: Updated.
2516 * po/fr.po: Updated.
2518 * posix/fnmatch.c: Change to match libit version.
2520 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
2521 * sysdep/posix/ttyname_r.c: Likewise.
2523 * stdlib/atexit.h (__new_exitfn): Add internal locking.
2524 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
2525 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
2526 * stdlib/random.c (__srandom): Add internal locking.
2527 (__initstate): Likewise.
2528 (__setstate): Likewise.
2529 (__random): Likewise.
2531 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2533 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
2535 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
2536 * sysdeps/generic/uname.c: Likewise.
2537 * sysdeps/posix/rename.c: Likewise.
2538 * sysdeps/stub/setrlimit.c: Likewise.
2540 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
2542 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2544 * locale/programs/ld-collate.c (collate_order_elem): Fix format
2546 (collate_element_to): Cast field width argument to `int' for
2548 (collate_symbol): Likewise.
2549 (collate_order_elem): Likewise.
2550 (collate_weight_bsymbol): Likewise.
2551 (collate_simple_weight): Likewise.
2553 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
2555 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
2556 argument for format string.
2557 (ctype_map_newP): Likewise.
2558 (set_class_defaults): Fix format string.
2560 * locale/programs/localedef.c (construct_output_path): Putting an
2561 explicit \0 into the format string does not work, use %c.
2563 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
2565 * Makerules: Install all shared libraries in $(slibdir).
2567 * login/Makefile: Build libutil.so in others pass after
2570 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
2572 * string/stratcliff.c: Allocate 3 pages instead of one, then use
2573 mprotect so that we know that the adjacent pages are inaccessible.
2575 * resource/sys/resource.h: Move all structures and enums to ...
2576 * sysdeps/generic/resourcebits.h: ... here ...
2577 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
2578 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
2579 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
2580 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
2581 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
2582 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
2583 header for RLIMIT_* definitions. The members of struct rlimit
2587 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2589 * MakeTAGS (sysdep-dirs): Fix typo.
2591 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2593 * hurd/hurdsig.c (write_corefile): If we can't create the core
2594 file, still call crash_dump_task with a null FILE arg. Maybe it
2595 won't actually need the file.
2597 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
2599 * Makefile (headers): Don't mention libc-version.h.
2600 (install-others): ...but here.
2602 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
2604 * version.h: Bump version number to 1.97.
2606 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
2607 Include libc-version.h.
2608 * features.h.in: Removed.
2609 * Makefile: Change rules to generate libc-version.h instead of
2612 * malloc/free.c: Add cast to prevent warning.
2613 * malloc/malloc-walk.c: Likewise.
2614 * malloc/ralloc.c: Likewise.
2615 * malloc/realloc.c: Likewise.
2617 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
2619 * pwd/fgetpwent_r.c: Likewise.
2620 * nss/nss_files/files-grp.c: Don't accept entries with names starting
2621 with + or - in lookup functions.
2622 * nss/nss_files/files-pwd.c: Likewise.
2624 * Makerules: Call autolock.sh using $(SHELL).
2626 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2628 * elf/dl-minimal.c: Don't define `dgettext' replacement but
2629 `dcgettext'. When optimizing the macros in <libintl.h> define
2630 `dgettext' as a macro and so this function will never be called.
2632 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
2634 * sysdeps/i386/sysdep.h: Define END to use .size when available.
2635 (PSEUDO_END): Use END.
2636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
2637 define SYSCALL_ERROR_HANDLER before using END.
2638 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
2639 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
2640 and .size directive but PSEUDO_END.
2641 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
2642 * sysdeps/unix/sysv/linux/socket.S: Likewise.
2643 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
2644 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
2645 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
2646 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
2647 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2648 * sysdeps/i386/bsd-setjmp.S: Likewise.
2649 * sysdeps/i386/memchr.S: Likewise.
2650 * sysdeps/i386/memcmp.S: Likewise.
2651 * sysdeps/i386/setjmp.S: Likewise.
2652 * sysdeps/i386/stpcpy.S: Likewise.
2653 * sysdeps/i386/stpncpy.S: Likewise.
2654 * sysdeps/i386/strchr.S: Likewise.
2655 * sysdeps/i386/strcspn.S: Likewise.
2656 * sysdeps/i386/strpbrk.S: Likewise.
2657 * sysdeps/i386/strrchr.S: Likewise.
2658 * sysdeps/i386/strspn.S: Likewise.
2659 * sysdeps/i386/strtok.S: Likewise.
2660 * sysdeps/i386/i486/strcat.S: Likewise.
2661 * sysdeps/i386/i486/strlen.S: Likewise.
2662 * sysdeps/i386/i586/memset.S: Likewise.
2663 * sysdeps/i386/i586/strchr.S: Likewise.
2664 * sysdeps/i386/i586/strlen.S: Likewise.
2666 * sysdeps/i386/strlen.c: De-ANSI-fy.
2668 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
2669 Define dgettext if not defined to use dcgettext.
2670 * sysdeps/mach/_strerror.c: Likewise.
2672 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
2673 __syscall_error defined.
2675 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2677 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
2678 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
2679 now provided by PSEUDO_END.
2680 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2681 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2682 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2683 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2684 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
2686 * sysdeps/generic/sysdep.h (END): Provide default empty
2688 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
2690 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
2691 (PSEUDO_END): Include it here instead.
2692 (SYSCALL_ERROR_HANDLER): Remove type directive.
2693 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
2694 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2695 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2696 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2697 (__syscall_error): Can't use ENTRY macro.
2699 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2701 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
2702 Set caller to EXTRA.
2704 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
2706 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
2707 to beginning of function. So libc functions can use this flag.
2708 * sysdeps/generic/_strerror.c: Don't use dgettext for message
2709 translation while `_dl_starting_up' is nonzero.
2711 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
2713 Pass parameter value to _dl_map_object.
2714 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
2715 If TRACE_MODE is nonzero don#t signal error when shared lib
2716 is not found. Instead create fake entry for link map.
2717 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
2718 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
2719 argument to _dl_map_object_deps.
2720 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
2721 _dl_map_object and _dl_map_object_deps.
2722 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
2723 and _dl_map_object_deps.
2724 When mode == trace test for l_opencount == 0 before printing
2725 link information since this means the lib is not found.
2727 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
2729 * rpm/template: Add INSTALL to %doc line to follow copyright
2730 restrictions which demand the distribution of the copyright
2731 messages in INSTALL even for binary distributions.
2733 * features.h: Rename to...
2734 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
2735 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
2736 and __GNU_LIBRARY_INTERFACE__.
2737 * Makefile ($(objpfx)features.h): New rule to generate features.h
2738 from template features.h.in.
2740 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
2742 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
2744 * locale/programs/linereader.c (lr_open): Cast away const before free.
2745 (lr_close): Likewise.
2747 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
2748 * misc/paths.h: Move to ...
2749 * sysdeps/generic/paths.h: ... here.
2751 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
2752 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
2754 * nss/nss_db/db-netgrp.h: Include <string.h>.
2756 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
2757 _sys_siglist, which result in the "Unknown signal" message.
2758 * string/strsignal.c: Likewise.
2759 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
2760 don't auto-generate siglist.c.
2761 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
2762 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
2763 autogenerate makes bootstrapping and cross-compiling much easier.
2764 * sysdeps/unix/sysv/linux/siglist.h: New file.
2766 * stdlib/longlong.h: Prototype __udiv_qrnnd.
2768 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
2769 sys/io.h. It is already added in .../linux/Makefile.
2771 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
2772 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
2773 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2775 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
2777 Add implementation of POSIX.1g function getaddrinfo.
2778 * posix/Makefile (routines): Add getaddrinfo.
2779 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
2781 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
2782 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
2783 related constants and structures.
2785 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
2787 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
2788 Make all old names weak alises so that they can be replaced
2791 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
2793 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
2794 __flockfile and __funlockfile.
2795 Reported by NIIBE Yutaka.
2797 * crypt/md5.c: Change form of copyright message according to GNITS
2799 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
2800 and `md5_read_ctx' function.
2801 * crypt/md5.h: Likewise.
2803 * grp/testgrp.c: Don't use perror for error cases since getgr* and
2804 getpw* functions do not return usable error codes.
2806 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
2808 * crypt/md5.c (md5_process_bytes): Used casting for pointer
2811 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
2813 * sunrpc/Makefile (others): Remove portmap here, too.
2815 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
2817 * intl/locale.alias: Language for entry `czech' is `cs'.
2819 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2821 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
2823 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
2825 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
2826 buggy and more competent people work on a usable version which is
2827 distributed separately.
2828 * sunrpc/portmap.c: Removed.
2829 Suggested by Thorsten Kukuk.
2831 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
2833 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
2836 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2838 * string/Makefile (tests): Add stratcliff.
2839 * string/stratcliff.c: New file. Test for string function at
2840 the edge of the usable memory.
2842 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
2844 * Makerules ($(libdir)/libc.so): Fix typo.
2846 * elf/ldd.sh.in: Test whether given file really exist and give
2847 better message if it is not available.
2849 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
2851 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
2854 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
2856 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
2857 output to $@T and move to $@ later since the new rpcgen will not
2858 overwrite existing files.
2860 * po/Makefile (libc.pot): Fix typo.
2862 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2864 Update rpcgen program to TI-rpc code.
2865 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
2866 (distribute): Add proto.h.
2867 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
2868 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
2869 * sunrpc/rpc_cout.c: Likewise.
2870 * sunrpc/rpc_hout.c: Likewise.
2871 * sunrpc/rpc_main.c: Likewise.
2872 * sunrpc/rpc_parse.c: Likewise.
2873 * sunrpc/rpc_parse.h: Likewise.
2874 * sunrpc/rpc_scan.c: Likewise.
2875 * sunrpc/rpc_scan.h: Likewise.
2876 * sunrpc/rpc_svcout.c: Likewise.
2877 * sunrpc/rpc_util.c: Likewise.
2878 * sunrpc/rpc_util.h: Likewise.
2880 * sunrpc/rpc_tblout.c: New file.
2881 * sunrpc/rpc_sample.c: Likewise.
2883 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2885 * sysdeps/unix/opendir.c: Add semicolon for consistency.
2887 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2889 * locale/programs/localedef.c (main): Test with -1 to find out
2890 whether read failed.
2892 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
2894 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
2897 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2899 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
2901 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2903 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
2904 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2905 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2906 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2907 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2909 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2910 Correct generation of system call.
2912 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2914 * Makerules (sysd-Makefile): Fix command so that it works in the
2916 (BUILD_CFLAGS): Change back using $(..) instead of
2917 $(common-objpfx), the latter fails in the toplevel directory when
2918 $(objdir) is relative.
2919 (common-objdir-compile): Run compiler in $(objdir).
2920 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
2922 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
2924 * string/string.h [__USE_SVID]: Add prototype for swab.
2925 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
2926 Reported by Andreas Jaeger.
2928 The available nlist implementation is not generally usable.
2929 Especially on the currently supported ELF systems the nlist
2930 function comes with the libelf.
2931 * misc/Makefile (headers): Remove nlist.h.
2932 (routines): Remove nlist.
2934 * Makefile ($(objpfx)version-info.h): Include information about
2935 system the libc is built on in version-info.h file.
2937 * po/Makefile (distribute): Add header.pot.
2939 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2941 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
2942 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2943 * misc/error.c: Likewise.
2945 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
2947 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
2949 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2951 * crypt/Makefile (rpath-link): Extend search path to current directory.
2953 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2955 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
2958 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
2960 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
2962 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
2964 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2966 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2969 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2971 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2974 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2976 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
2978 (PSEUDO_END): Provide definition to use .size directive.
2979 (PSEUDO): Don't interpret negative return values less than -128 as
2981 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
2983 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
2985 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2986 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2987 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2988 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2989 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2990 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2991 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
2992 explicit .size directive.
2994 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
2996 * shlib-versions: Add version number/name for ld.so.
2997 * Makeconfig: Move definition of rtld-installed-name after
2998 inclusion of soversions.mk.
2999 Don't add . before version number from shlib-versions file when
3000 when name does not start with digit. This is needed for ld.so.
3002 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
3004 * libio/iogets.c: Warn when gets is used.
3005 * stdio/gets.c: Strengthen the warning.
3007 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
3009 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
3010 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
3011 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
3012 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
3013 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
3015 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
3016 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
3017 appropriate values according to __USE_REENTRANT.
3018 * libio/stdio.h: Add prototype for ftrylockfile.
3019 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
3020 getc, getchar, putc, and putchar using _IO_* names.
3021 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
3022 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
3023 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
3024 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
3025 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
3026 * libio/peekc.c: New file.
3028 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
3031 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
3033 * crypt/Makefile (tests): Add md5test and md5c-test.
3034 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
3035 is called, the buffer limit is honoured and a loop in a inner
3037 * crypt/md5.h (struct md5_ctx): Add new fields.
3038 Add prototypes for new functions.
3039 * crypt/md5.c (md5_init_ctx): Initialize new fields.
3040 (md5_finish_ctx): New function. Like md5_read_ctx but before
3041 perform correct finalization.
3042 (md5_process_bytes): New function. Similar to md5_proces_block,
3043 but does not require input size to be multiple of 64.
3044 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
3045 (md5_buffer): Likewise.
3046 (md5_process_block): Count number of bytes.
3047 * crypt/md5test.c: New file. Test program for MD5 functions.
3048 * crypt/md5c-test.c: New file: Test program for MD5 crypt
3053 * time/strptime.c: Recognize %s, %u, %g, and %G format.
3055 * posix/getopt.c: Add some more casts and initializations to
3058 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
3060 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
3061 an extra function to provide this functionality.
3062 (cfgetospeed): Simply return masked value.
3063 (cfsetospeed): Don't use speeds array and so we can simply test
3064 the value of SPEED for illegal values.
3065 * termios/cfsetspeed.c: Rewrite. We convert here between the
3066 real values and the B* constants.
3067 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
3069 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3071 * locale/programs/xstrdup.c: Define prototypes.
3072 * locale/programs/xmalloc.c: Likewise.
3074 * stdio-common/xbug.c (main): Change definition to avoid warning.
3076 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
3078 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
3080 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
3082 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
3083 "$(i18ndir)/charmaps".
3085 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3087 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
3088 to get definition of FPU description struct.
3090 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
3091 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
3092 net/if_arp.h, and net/route.h.
3093 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
3094 * sysdeps/unix/sysv/linux/net/route.h: New file.
3096 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
3098 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
3099 * sysdeps/stub/e_acosl.c: Likewise.
3100 * sysdeps/stub/e_asinl.c: Likewise.
3101 * sysdeps/stub/e_atan2l.c: Likewise.
3102 * sysdeps/stub/e_expl.c: Likewise.
3103 * sysdeps/stub/e_fmodl.c: Likewise.
3104 * sysdeps/stub/e_log10l.c: Likewise.
3105 * sysdeps/stub/e_logl.c: Likewise.
3106 * sysdeps/stub/e_sqrtl.c: Likewise.
3107 * sysdeps/stub/s_atanl.c: Likewise.
3108 * sysdeps/stub/s_log1pl.c: Likewise.
3110 * Makefile (distribute): Add nsswitch.h and netgroup.h.
3112 * nss/Makefile (generated): db-netgrp.c is not generated.
3114 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
3116 * Make-dist (+out): Add $(dont_distribute).
3118 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3120 * stdio-common/Makefile (routines): Add tmpnam_r.
3122 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
3124 * version.h: Bump version to 1.96.
3126 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3128 * stdio-common/tst-printf.c: Some more cleanups.
3130 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
3132 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
3133 * resolv/resolv.h: Likewise.
3134 * resolv/gethnamaddr.c: Likewise.
3135 * resolv/res_comp.c: Likewise.
3136 * resolv/res_debug.c: Likewise.
3137 * resolv/res_init.c: Likewise.
3138 * resolv/res_send.c: Likewise.
3139 * resolv/Banner: Update version number.
3141 * nss/nss_dns/dns-host.c: Update according to change in
3142 resolv/gethnamaddr.c.
3144 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
3146 * crypt/md5.c (md5_stream): When reading the block in several
3147 pieces append to instead of replace previously read data.
3149 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
3151 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
3152 last-byte-written bit for source word misalignment.
3153 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
3156 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
3158 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
3159 comes with glibc-nis.
3160 * sunrpc/rpcsvc/yp.x: Removed.
3162 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
3163 for *CURSOR to be NULL and dump a core if yes.
3165 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
3167 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
3168 including <errnos.h> to get error numbers.
3170 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
3172 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
3173 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
3174 Alpha people find a correct file.
3175 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
3176 an alias of __cabs since the structures have different names.
3177 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
3178 Reported by Matthew Jacob <mjacob@feral.com>.
3180 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3182 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
3183 so that it still works right if we happen to get called in a
3184 subdir it still works.
3186 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
3187 as file name translation flags.
3188 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
3189 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
3192 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
3193 name (changed according to libc-name) to avoid getting the
3194 Hurd-ish linker script for libc.a when we only want the archive
3197 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
3199 * time/strftime.c: Allow old K&R compilers compile this file.
3201 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
3203 * posix/execlp.c: Add first argument parameter to be compliant
3204 with POSIX. Rearrange body to start vararg counter after
3207 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
3209 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
3210 simply a wrapper around the <linux/elfcore.h> file since the
3211 kernel header is not clean enough. We provide the definitions
3212 in this file instead.
3214 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
3216 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
3217 get?id calls by using __libc_enable_secure.
3219 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
3221 * inet/getnetgrent_r.c: Correct netgroup implementation. A
3222 specification of a netgroup can also name another netgroup.
3223 * nss/nss_files/files-netgrp.c: Likewise.
3224 * inet/netgroup.h: Add fields to hold additional information.
3226 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
3228 * posix/getopt.c: Implement POSIX -W option handling. When the
3229 option string contains "W;" -W foo is handled like --foo.
3231 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
3233 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
3234 inclusing <errnos.h> so we really get error symbols defined.
3235 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3236 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3238 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
3239 size array for getgroups call. Instead get maximal number via
3240 sysconf. But discard list to NGRPS elements before calling XDR
3241 function since Sun's code cannot handle longer lists.
3242 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3244 * sysdeps/stub/e_j0l.c: Define y0l as well.
3245 * sysdeps/stub/e_j1l.c: Define y1l as well.
3246 * sysdeps/stub/e_jnl.c: Define ynl as well.
3248 * posix/unistd.h: Correct prototype for execlp.
3250 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
3252 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3254 * Makeconfig (sysdep-library-path): New variable.
3255 (built-program-cmd): Use it here to properly build a colon
3256 separated library path.
3258 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3260 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
3261 within comparison. Fix comments.
3262 (md5_crypt): Fix comment.
3264 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
3266 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
3267 when _ERRNO_H is defined.
3268 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
3269 Should there ever be a Linux port where the numeric values are
3270 not 33 and 34 this file must change.
3272 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3274 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
3277 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3279 * string/tst-strlen.c (main): Provide prototype.
3280 * malloc/mallocbug.c: Likewise.
3281 * io/test-utime.c: Likewise.
3283 * sysdeps/generic/crypt-entry.c: Correct typo.
3285 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
3287 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
3288 test for libc.a. Checking _DYNAMIC is of no worth here.
3289 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3291 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
3292 EXTERN_PARSER is defined.
3294 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3296 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
3298 * crypt/md5-crypt.c: Fix typos in comments.
3300 * gmon/gmon.c: Provide prototypes.
3301 * db/makedb.c: Likewise.
3302 * locale/programs/xmalloc.c: Likewise.
3303 * stdio-common/bug11.c (main): Likewise.
3304 * stdio-common/bug7.c (main): Likewise.
3305 * stdio-common/bug8.c (main): Likewise.
3306 * stdio-common/bug9.c (main): Likewise.
3307 * stdio-common/scanf1.c (main): Likewise.
3308 * stdio-common/scanf2.c (main): Likewise.
3309 * stdio-common/scanf5.c (main): Likewise.
3310 * stdio-common/scanf6.c (main): Likewise.
3311 * stdio-common/scanf7.c (main): Likewise.
3312 * stdio-common/scanf8.c (main): Likewise.
3313 * stdio-common/temptest.c (main): Likewise.
3314 * stdio-common/test-fwrite.c (main): Likewise.
3315 * stdio-common/tst-printf.c: Likewise.
3316 * stdio-common/tstdiomisc.c: Likewise.
3317 * stdio-common/tstgetln.c (main): Likewise.
3318 * stdlib/testmb.c (main): Likewise.
3320 * stdio-common/scanf4.c (main): Correct prototype, remove unused
3323 * stdio-common/scanf3.c (main): Correct prototype, change
3324 declaration of s to reduce warnings.
3325 * stdio-common/bug10.c (main): Likewise.
3327 * stdio-common/tfformat.c: Provide prototype, remove unused
3328 reference to dump_stats, add braces in sprint_doubles.
3329 * stdio-common/tiformat.c: Likewise.
3331 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
3334 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3336 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
3338 * shadow/putspent.c: Don't write colon after flag field.
3340 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
3342 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
3343 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3344 * sysdeps/unix/sysv/linux/Dist: Mention new files.
3346 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
3348 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
3349 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
3351 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
3352 by using __libc_enable_secure variable.
3354 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3356 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
3357 null, don't attempt mach_port_mod_refs.
3359 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3361 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
3362 sysdeps/unix/pipestream.c.
3364 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
3365 from sysdeps/mach/hurd/readdir.c.
3367 * stdio/freopen.c: Complete de-ansideclification.
3368 * stdio/fgets.c (fgets): Likewise.
3369 * stdio/getdelim.c (__getdelim): Likewise.
3370 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
3373 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3374 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3376 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
3377 STAT_LOC without error.
3379 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
3381 * posix/getopt.c: Add casts to prevent warnings.
3382 * posix/regex.c: Likewise.
3384 * math/Makefile (long-m-routines, long-m-yes): Define to correct
3385 values to make `long double' functions available.
3386 (distribute): Add $(long-m-yes:=.c).
3388 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
3389 Use long double instruction.
3391 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
3392 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
3393 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3395 * sysdeps/libm-ieee754/e_coshl.c: New file.
3397 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
3398 for `long double' version as alias.
3399 * sysdeps/libm-ieee754/s_atan.c: Likewise.
3400 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
3401 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
3402 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
3403 * sysdeps/libm-ieee754/s_cos.c: Likewise.
3404 * sysdeps/libm-ieee754/s_erf.c: Likewise.
3405 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
3406 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
3407 * sysdeps/libm-ieee754/s_finite.c: Likewise.
3408 * sysdeps/libm-ieee754/s_floor.c: Likewise.
3409 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
3410 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3411 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3412 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
3413 * sysdeps/libm-ieee754/s_logb.c: Likewise.
3414 * sysdeps/libm-ieee754/s_modf.c: Likewise.
3415 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
3416 * sysdeps/libm-ieee754/s_rint.c: Likewise.
3417 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
3418 * sysdeps/libm-ieee754/s_significand.c: Likewise.
3419 * sysdeps/libm-ieee754/s_sin.c: Likewise.
3420 * sysdeps/libm-ieee754/s_tan.c: Likewise.
3421 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
3422 * sysdeps/libm-ieee754/w_acos.c: Likewise.
3423 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
3424 * sysdeps/libm-ieee754/w_sin.c: Likewise.
3425 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
3426 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
3427 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
3428 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
3429 * sysdeps/libm-ieee754/w_drem.c: Likewise.
3430 * sysdeps/libm-ieee754/w_exp.c: Likewise.
3431 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
3432 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3433 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
3434 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
3435 * sysdeps/libm-ieee754/w_j0.c: Likewise.
3436 * sysdeps/libm-ieee754/w_j1.c: Likewise.
3437 * sysdeps/libm-ieee754/w_jn.c: Likewise.
3438 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3439 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
3440 * sysdeps/libm-ieee754/w_log.c: Likewise.
3441 * sysdeps/libm-ieee754/w_log10.c: Likewise.
3442 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3443 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
3444 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3445 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
3446 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
3448 Stub files for missing long double math functions.
3449 * sysdeps/stub/e_acoshl.c: New file.
3450 * sysdeps/stub/e_hypotl.c: New file.
3451 * sysdeps/stub/e_j0l.c: New file.
3452 * sysdeps/stub/e_j1l.c: New file.
3453 * sysdeps/stub/e_jnl.c: New file.
3454 * sysdeps/stub/e_lgammal_r.c: New file.
3455 * sysdeps/stub/e_powl.c: New file.
3456 * sysdeps/stub/e_rem_pio2l.c: New file.
3457 * sysdeps/stub/e_sinhl.c: New file.
3458 * sysdeps/stub/k_cosl.c: New file.
3459 * sysdeps/stub/k_rem_pio2l.c: New file.
3460 * sysdeps/stub/k_sinl.c: New file.
3461 * sysdeps/stub/k_tanl.c: New file.
3462 * sysdeps/stub/s_erfl.c: New file.
3463 * sysdeps/stub/s_expm1l.c: New file.
3465 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
3467 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3468 * sysdeps/i386/bsd-setjmp.S: Likewise.
3469 * sysdeps/i386/memchr.S: Likewise.
3470 * sysdeps/i386/memcmp.S: Likewise.
3471 * sysdeps/i386/setjmp.S: Likewise.
3472 * sysdeps/i386/stpcpy.S: Likewise.
3473 * sysdeps/i386/stpncpy.S: Likewise.
3474 * sysdeps/i386/strchr.S: Likewise.
3475 * sysdeps/i386/strcspn.S: Likewise.
3476 * sysdeps/i386/strpbrk.S: Likewise.
3477 * sysdeps/i386/strrchr.S: Likewise.
3478 * sysdeps/i386/strspn.S: Likewise.
3479 * sysdeps/i386/strtok.S: Likewise.
3480 * sysdeps/i386/i486/strcat.S: Likewise.
3481 * sysdeps/i386/i486/strlen.S: Likewise.
3482 * sysdeps/i386/i586/memset.S: Likewise.
3483 * sysdeps/i386/i586/strchr.S: Likewise.
3484 * sysdeps/i386/i586/strlen.S: Likewise.
3485 * sysdeps/libm-i387/e_acos.S: Likewise.
3486 * sysdeps/libm-i387/e_acosl.S: Likewise.
3487 * sysdeps/libm-i387/e_asin.S: Likewise.
3488 * sysdeps/libm-i387/e_asinl.S: Likewise.
3489 * sysdeps/libm-i387/e_atan2.S: Likewise.
3490 * sysdeps/libm-i387/e_atan2l.S: Likewise.
3491 * sysdeps/libm-i387/e_exp.S: Likewise.
3492 * sysdeps/libm-i387/e_expl.S: Likewise.
3493 * sysdeps/libm-i387/e_fmod.S: Likewise.
3494 * sysdeps/libm-i387/e_fmodl.S: Likewise.
3495 * sysdeps/libm-i387/e_log.S: Likewise.
3496 * sysdeps/libm-i387/e_log10.S: Likewise.
3497 * sysdeps/libm-i387/e_log10l.S: Likewise.
3498 * sysdeps/libm-i387/e_logl.S: Likewise.
3499 * sysdeps/libm-i387/e_remainder.S: Likewise.
3500 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3501 * sysdeps/libm-i387/e_remainderl.S: Likewise.
3502 * sysdeps/libm-i387/e_scalb.S: Likewise.
3503 * sysdeps/libm-i387/e_scalbl.S: Likewise.
3504 * sysdeps/libm-i387/e_sqrt.S: Likewise.
3505 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
3506 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
3507 * sysdeps/libm-i387/s_atan.S: Likewise.
3508 * sysdeps/libm-i387/s_atanf.S: Likewise.
3509 * sysdeps/libm-i387/s_atanl.S: Likewise.
3510 * sysdeps/libm-i387/s_ceil.S: Likewise.
3511 * sysdeps/libm-i387/s_ceilf.S: Likewise.
3512 * sysdeps/libm-i387/s_ceill.S: Likewise.
3513 * sysdeps/libm-i387/s_copysign.S: Likewise.
3514 * sysdeps/libm-i387/s_copysignf.S: Likewise.
3515 * sysdeps/libm-i387/s_copysignl.S: Likewise.
3516 * sysdeps/libm-i387/s_cos.S: Likewise.
3517 * sysdeps/libm-i387/s_cosf.S: Likewise.
3518 * sysdeps/libm-i387/s_cosl.S: Likewise.
3519 * sysdeps/libm-i387/s_finite.S: Likewise.
3520 * sysdeps/libm-i387/s_finitef.S: Likewise.
3521 * sysdeps/libm-i387/s_finitel.S: Likewise.
3522 * sysdeps/libm-i387/s_floor.S: Likewise.
3523 * sysdeps/libm-i387/s_floorf.S: Likewise.
3524 * sysdeps/libm-i387/s_floorl.S: Likewise.
3525 * sysdeps/libm-i387/s_ilogb.S: Likewise.
3526 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3527 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
3528 * sysdeps/libm-i387/s_log1p.S: Likewise.
3529 * sysdeps/libm-i387/s_log1pf.S: Likewise.
3530 * sysdeps/libm-i387/s_log1pl.S: Likewise.
3531 * sysdeps/libm-i387/s_logb.S: Likewise.
3532 * sysdeps/libm-i387/s_logbf.S: Likewise.
3533 * sysdeps/libm-i387/s_logbl.S: Likewise.
3534 * sysdeps/libm-i387/s_rint.S: Likewise.
3535 * sysdeps/libm-i387/s_rintf.S: Likewise.
3536 * sysdeps/libm-i387/s_rintl.S: Likewise.
3537 * sysdeps/libm-i387/s_scalbn.S: Likewise.
3538 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3539 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3540 * sysdeps/libm-i387/s_significand.S: Likewise.
3541 * sysdeps/libm-i387/s_significandf.S: Likewise.
3542 * sysdeps/libm-i387/s_significandl.S: Likewise.
3543 * sysdeps/libm-i387/s_sin.S: Likewise.
3544 * sysdeps/libm-i387/s_sinf.S: Likewise.
3545 * sysdeps/libm-i387/s_sinl.S: Likewise.
3546 * sysdeps/libm-i387/s_tan.S: Likewise.
3547 * sysdeps/libm-i387/s_tanf.S: Likewise.
3548 * sysdeps/libm-i387/s_tanl.S: Likewise.
3550 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
3551 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
3552 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
3553 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
3555 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
3556 to provide .size directive on ELF systems.
3558 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
3559 <sigcontext.h> and rename parameter type to sigcontext.
3560 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
3562 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
3563 negative values might occur as positive results. Test against
3564 -125 to decide for error or not.
3565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
3567 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3569 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
3570 whether this is a statically linked program. The latter is now
3573 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3575 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
3576 controlling terminals are allowed to send.
3578 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
3579 table is larger than the allowable address size, then return
3582 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
3586 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
3588 * po/fr.po: New file.
3590 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
3592 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
3594 Add support for MD5 crypt replacement.
3595 * Makefile (subdirs): Add crypt.
3596 * shlib-versions: Add entry for libcrypt.
3597 * crypt/md5-crypt.c: New file.
3598 * crypt/md5.c: New file.
3599 * crypt/md5.h: New file.
3600 * sysdeps/generic/crypt-entry.c: New file.
3601 * sysdeps/generic/crypt.h: New file.
3603 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3605 * dirent/tst-seekdir.c: Provide correct prototypes.
3606 * io/test-utime.c: Likewise.
3607 * malloc/mallocbug.c: Likewise.
3608 * posix/testfnm.c: Likewise.
3609 * stdio-common/xbug.c: Likewise.
3610 * sysdeps/posix/cuserid.c: Likewise.
3612 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
3614 Provide optimized string functions for Alpha processors.
3615 * sysdeps/alpha/bzero.S: New file.
3616 * sysdeps/alpha/memset.S: New file.
3617 * sysdeps/alpha/stpcpy.S: New file.
3618 * sysdeps/alpha/stpncpy.S: New file.
3619 * sysdeps/alpha/strcat.S: New file.
3620 * sysdeps/alpha/strchr.S: New file.
3621 * sysdeps/alpha/strcpy.S: New file.
3622 * sysdeps/alpha/strncat.S: New file.
3623 * sysdeps/alpha/strncpy.S: New file.
3624 * sysdeps/alpha/strrchr.S: New file.
3625 * sysdeps/alpha/stxcpy.S: New file.
3626 * sysdeps/alpha/stxncpy.S: New file.
3628 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
3629 stxncpy to sysdep_routines.
3632 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3634 * sysdeps/generic/gnu/types.h: Added __loff_t.
3635 Don't declare key_t here.
3637 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
3638 set errno (to ENOMEM).
3640 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
3642 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
3643 nothing is found. This guarantees all subsequent calls behave
3645 * sysdeps/generic/strtok_r.c: Likewise.
3647 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3649 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
3652 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
3654 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
3655 NULL immediately; we're going to get called one more time.
3656 * sysdeps/generic/strtok_r.c: Likewise.
3658 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
3660 * locale/programs/ld-time.c: Always write some bytes at the end of
3661 the file even if no `era's are specified.
3663 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
3666 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
3668 * libio/iofclose.c: Move unlocking to right position.
3670 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
3672 * misc/Makefile: Kill force-wrapper.
3673 * misc/force-wrapper.c: Delete.
3675 * elf/eval.c: Add <string.h>.
3677 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
3678 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
3679 and binary compatibility not at all. Better to do `char *foo'
3680 followed by `foo = ptr' as it is much cleaner.
3681 (struct gmon_hdr): Fix version.
3682 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
3683 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
3684 * gmon/gmon.c: De-ansidecl-ify.
3685 (write_hist): De-bcopy-fy.
3686 (write_call_graph): Likewise.
3688 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
3689 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
3690 * sysdeps/generic/machine-gmon.h: Likewise.
3692 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
3693 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
3694 * nss/nss_dns/dns-network.c: Likewise.
3695 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
3696 * resolv/getnetnamadr.c: Likewise.
3697 * resolv/res_debug.c: Likewise.
3698 * resolv/res_mkquery.c: Likewise.
3699 * resolv/res_query.c: Likewise.
3701 * libio/clearerr_u.c: It's not necessary to define __ protected
3702 function so don't do it.
3703 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
3704 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
3706 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
3707 the cleanup registrar.
3708 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
3709 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
3710 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
3711 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
3712 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
3713 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
3714 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
3717 * locale/programs/ld-ctype.c: Include <alloca.h>.
3719 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
3721 * posix/sys/types.h: Change #defines to typedefs. This is looking
3722 forward to more comprehensive namespace cleanups for C++.
3723 * posix/unistd.h: Likewise for ssize_t.
3725 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
3728 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
3729 `statement with no effect' warnings.
3730 * resolv/inet_neta.c: Include <string.h> for strlen.
3732 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
3733 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
3734 * stdio-common/vfprintf.c: Same for va_list.
3735 * stdio-common/vfscanf.c: Same.
3736 * stdio-common/reg-printf.c: Prototype the __ function.
3737 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
3738 _IO_vscanf declaration.
3740 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
3741 but to unsigned long for the health of 64-bit systems.
3743 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
3744 Many system's <sys/param.h> pulls this in.
3746 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
3749 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
3750 instead of defining it locally.
3752 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
3753 * sysdeps/stub/chflags.c: Prototype chflags.
3754 * sysdeps/stub/fchflags.c: Prototype fchflags.
3755 * sysdeps/stub/sstk.c: Prototype sstk.
3757 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
3758 variable to __errno. Update __syscall_error to store to both
3759 the global and per-thread variables.
3761 * sysdeps/unix/sysv/linux/init-first.c: Change include of
3762 init-first.h from "" to <> as "" does not search the include path.
3763 Prototype _dl_start.
3765 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3767 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
3768 pattern rule to get the right stem.
3770 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3772 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
3774 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3776 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
3778 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3780 * malloc/free.c (_free_internal): Don't call free recursively, use
3781 the internal functions instead.
3783 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3785 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
3786 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
3788 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3790 * catgets/gencat.c (main): Print version information on stdout,
3792 * db/makedb.c: Likewise.
3793 * locale/programs/locale.c: Likewise.
3794 * locale/programs/localedef.c: Likewise.
3796 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
3798 Add implementation of netgroup.
3799 * inet/Makefile (distributes): Add netgroup.h.
3800 (routines): Add getnetgrent.c and getnetgrent_r.c.
3801 * inet/getnetgrent.c: New file.
3802 * inet/getnetgrent_r.c: New file.
3803 * inet/netgroup.h: New file.
3804 * netgroup.h: New file.
3805 * nsswitch.h: New file.
3806 * nss/Makefile (databases): Add getgrp.
3807 * nss/databases.def: Add netgroup.
3808 * nss/db-Makefile: Add rules for netgroup.
3809 * nss/netgrp-lookup.c: New file.
3810 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
3811 always return without a check of the transition table.
3812 * nss/nsswitch.h (struct service_user): Extend actions array to
3814 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
3816 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
3817 to NSS_ACTION_RETURN.
3818 * nss/nss_db/db-netgrp.c: New file.
3819 * nss/nss_files/files-netgrp.c: New file.
3820 * nss/nsswitch.conf: Add entry for netgroup.
3821 * resolv/netdb.h: Add prototypes for netgroup functions.
3823 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
3826 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
3828 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
3829 _llseek to _llseek (not llseek).
3830 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3832 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
3834 * inet/rcmd.c: Remove definition of MIN.
3836 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
3838 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
3839 * sysdeps/unix/readdir_r.c: New file.
3840 * sysdeps/unix/readdir.c: Remove check for correct parameter
3841 values. Let them simply die.
3842 * manual/filesys.texi: Document readdir_r.
3844 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
3845 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
3847 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
3849 * dirent/Makefile (routines): Add readdir_r.
3850 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
3851 * dirent/dirent.h: Add prototype for readdir_r.
3853 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
3854 to prevent warnings.
3856 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3857 Initialize `result'.
3859 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
3861 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
3863 * string/string.h: Add prototype for __strsep.
3864 * misc/mntent_r.c: Use __strsep instead of strsep to keep
3867 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
3868 __nanosleep and nanosleep weak aliases.
3869 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
3871 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
3872 nanosleep to keep namespace clean.
3874 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
3875 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
3876 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3878 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
3881 * login/Makefile (headers): Add pty.h.
3882 * login/pty.h: New file.
3883 * sysdeps/generic/pty.h: Include <pty.h>.
3884 * login/pututline_r.c: Add cast to prevent warning.
3886 * gmon/gmon.c: Add prototype for __profile_frequency.
3887 (monstartup): Add cast to prevent warning.
3888 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
3890 * locale/programs/ld-time.c (time_output): Write `era' information
3893 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
3895 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
3897 Set caller for mlock, mlockall, mremap, munlock, and munlockall
3899 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3901 1996-09-27 Paul Eggert <eggert@twinsun.com>
3903 * strftime.c (strftime): Output incomplete formats like %E
3906 1996-09-27 Paul Eggert <eggert@twinsun.com>
3908 * strftime.c (strftime): Add support for %EC and %Ey.
3909 Fix support for %EY. This uses the new _nl_get_era_entry function.
3911 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
3913 Security related patch by Elliot Lee <sopwith@redhat.com> and
3914 David Holland <dholland@eecs.harvard.edu>.
3916 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
3917 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
3919 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
3920 NULL when programs runs with SUID or SGID enabled.
3921 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
3922 * stdlib/stdlib.h: Add prototype for __secure_getenv.
3924 * locale/setlocale.c: Use __secure_getenv.
3925 * resolv/res_init.c: Likewise.
3926 * resolv/res_query.c: Likewise.
3927 * inet/ruserpass.c: Likewise.
3928 * sysdeps/posix/tempname.c: Likewise.
3929 * malloc/mtrace.c: Likewise.
3930 * catgets/catgets.c: Likewise.
3932 Make temporary file handling functions reentrant.
3934 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
3935 result to. The called __stdio_gen_tempname function must be
3937 * stdio-common/tmpnam_r.c: New file.
3938 * stdio/stdio.h: Add prototype for `tmpnam_r'.
3939 Change prototype for __stdio_gen_tempname.
3940 * stdio/libio.h: Likewise.
3941 * sysdeps/posix/tempname.c: Add new parameters and use them instead
3943 Don't reset `indeces' when PID changed between calls.
3944 Don't fail for long running programs when index counter once
3946 * sysdeps/stub/tempname.c: Likewise.
3947 * stdio-common/tempnam.c: Provide local buffer as extra argument
3948 to __stdio_gen_tempname. This makes this function reentrant.
3949 * stdio-common/tmpfile.c: Likewise.
3950 * stdio-common/temptest.c: Provide extra argument to
3951 __stdio_gen_tempname.
3952 * manual/filesys.texi: Describe tmpnam_r and add comments about
3953 reentrancy of the functions.
3955 * inet/rcmd.c: Fixed address length handling.
3957 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
3959 * time/strftime.c: Remove unused variables alt_digits and
3962 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
3963 for get_nprocs and get_nprocs_conf.
3964 * sysdeps/generic/sys/sysinfo.h: Likewise.
3966 * stdlib/test-canon.c: Finally do the right fix.
3968 * misc/Makefile: Only compile force-wrapper when compiling
3971 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
3973 Add support for cancelable system calls.
3975 * csu/initfini.c: Make in crti.o reference to symbol
3976 __libc_force_cancel_wrapper when compiling reentrant version.
3977 * misc/Makefile (routines): Add force-wrapper.
3978 * misc/force-wrapper.c: New file.
3980 * posix/system.c: Rename function to __libc_system and make system
3982 * sysdeps/stub/system.c: Likewise.
3983 * posix/wait.c: Rename function to __libc_wait and make __wait a
3984 weak alias. De-ANSI-fy.
3985 * sysdeps/standalone/read.c: Rename function to __libc_read and
3986 make __read a weak alias.
3987 * sysdeps/stub/read.c: Likewise.
3988 * sysdeps/standalone/write.c: Rename function to __libc_write and
3989 make __write a weak alias.
3990 * sysdeps/stub/write.c: Likewise.
3991 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
3992 make tcdrain a weak alias.
3993 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3994 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
3995 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3996 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
3997 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
3998 and make __wait a weak alias.
3999 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
4000 make __waitpid a weak alias.
4001 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
4002 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
4003 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
4004 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
4005 and make pause a weak alias. De-ANSI-fy.
4007 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
4008 lseek, open, read, and write to have __libc_ prefix and make old
4010 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
4011 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
4013 * io/creat.c: De-ANSI-fy.
4015 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
4017 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
4019 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
4020 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
4022 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
4024 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
4026 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4028 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
4030 * locale/programs/locfile.c (write_locale_data): Allocate room
4031 even for file name for LC_MESSAGES locale.
4032 (locafile_read): `tok_era' must be handled as a string list.
4033 * locale/programs/ld-time.c: Finish correction of handling `era'.
4034 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
4035 * locale/categories.def: Add postload function for LC_TIME.
4036 * locale/setlocale.c: Make lock global and rename to
4037 __libc_setlocale_lock.
4038 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
4039 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
4040 * locale/lc-time.c (_nl_postload_time): New function. Initialize
4042 (_nl_get_era_entry): New function. Return era entry which corresponds
4044 (_nl_get_alt_digit): New function. Return string with alternate
4045 digit representation for given number.
4047 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
4048 string representing alternate digit notation.
4050 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
4052 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
4053 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
4055 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
4056 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
4058 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
4060 * catgets/gencat.c (main): Change --version again because RMS wants
4061 the package name in parentheses.
4062 * db/makedb.c: Likewise.
4063 * locale/programs/locale.c: Likewise.
4064 * locale/programs/localedef.c: Likewise.
4066 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4068 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
4070 ($(objpfx)version-info.h): Depend on Banner files, command
4073 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
4075 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
4077 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
4079 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
4080 on the same device as the password file.
4081 * shadow/shadow.h (struct spwd): Change type of numeric fields
4082 to `long int' since there value are days, not seconds.
4083 * shadow/putspent.c: Change casts from time_t to `long int'.
4084 * shadow/sgetspent_r.c (LINE_READER): Likewise.
4086 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
4088 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
4089 sure the thread specific variable is set as well as the global
4091 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
4093 * sysdeps/stub/errnos.h: Likewise.
4094 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
4096 * shadow/putspent.c: Don't include <errno.h>.
4098 * dirent/scandir.c (scandir): Use __set_errno to set errno
4100 * elf/dl-load.c (open_path): Likewise.
4101 * inet/rcmd.c (rcmd): Likewise.
4102 (rresvport): Likewise.
4103 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
4104 (DCGETTEXT): Use __set_errno to set errno variable.
4105 * io/fts.c (fts_open): Likewise.
4106 (fts_close): Likewise.
4107 (fts_read): Likewise.
4108 (fts_set): Likewise.
4109 (fts_children): Likewise.
4110 (fts_build): Likewise.