1 Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3 * sysdeps/mach/hurd/posix_opt.h: New file.
5 * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.
7 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
10 * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
13 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
15 * signal/sigempty.c (sigemptyset): Correct typo: Empty set should
18 Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com>
20 * inet/gethstbynm.c: Include additional headers for additional
21 code in nss/digits_dots.c.
22 * inet/gethstbynm_r.c: Likewise.
23 * inet/gethstbynm2.c: Likewise.
24 * inet/gethstbynm2_r.c: Likewise.
25 * nss/digits_dots.c: New file. Handle dotted pair notation for
27 * nss/getXXbyYY.c: Include digits_dots.c to get extra code for
28 handling dotted pair notation.
29 * nss/getXXbyYY_r.c: Likewise.
32 * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.
34 * io/getwd.c: Optimized a bit.
36 * signal/signal.h: Always declare __sysv_signal.
38 * sysdeps/generic/setenv.c: Add some portability code.
40 * sysdeps/unix/sysv/fcntlbits.h: Update copyright.
42 * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel
43 to avoid using kernel headers.
44 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha
47 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't
48 mark sigreturn as EXTRA.
50 * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
51 * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version.
53 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
55 * io/fts.c (fts_alloc): Add const to second parameter of function.
57 * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
60 * signal/sigfillset.c: Include <string.h> for memset declaration.
62 Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu>
64 * sysdeps/generic/setenv.c: Fix portability problems.
66 Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com>
68 * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
69 after the last option was seen.
71 Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com>
73 * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.
75 Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
77 * io/ftw.c: Add `const' to second parameter of function given as
78 second parameter to ftw.
79 * io/ftw.h: Likewise for prototype.
80 Reported by Ronald F. Guilmette <rfg@monkeys.com>.
82 Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk>
84 * inet/Makefile (headers): Add netinet/ip.h.
85 * inet/netinet/ip.h: New file, contains BSD definitions for struct
88 Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
90 * string/string.h (strnlen): Add cast for C++.
92 Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com>
94 * Makefile (install-bin): Define as glibcbug to install script.
95 (glibcbug): New rules. Create from glibcbug.in.
96 * configure.in (AC_OUTPUT): Generate glibcbug script.
97 * glibcbug.in: New file.
98 * version.c: Mention glibcbug to report bugs.
99 * catgets/gencat.c: Likewise.
100 * db/makedb.c: Likewise.
101 * locale/programs/locale.c: Likewise.
102 * locale/programs/localedef.c: Likewise.
103 * elf/ldd.bash.in: Likewise.
104 * elf/ldd.sh.in: Likewise.
105 * intl/locale.alias: Likewise.
107 * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c.
109 * set-init.c: Update and reformat copyright.
110 * version.c: Likewise.
111 * signal/sigaddset.c: Likewise.
112 * signal/sigdelset.c: Likewise.
113 * signal/sigempty.c: Likewise.
114 * signal/sigfillset.c: Likewise.
115 * signal/siggetmask.c: Likewise.
116 * signal/sigismem.c: Likewise.
117 * sysdeps/generic/speed.c: Likewise.
118 * sysdeps/unix/getdents.c: Likewise.
119 * sysdeps/unix/xmknod.c: Likewise.
120 * sysdeps/unix/bsd/poll.c: Likewise.
121 * sysdeps/unix/bsd/tcdrain.c: Likewise.
122 * sysdeps/unix/bsd/tcflow.c: Likewise.
123 * sysdeps/unix/bsd/tcflush.c: Likewise.
124 * sysdeps/unix/bsd/tcgetpgrp.c: Likewise.
125 * sysdeps/unix/bsd/tcsendbrk.c: Likewise.
126 * sysdeps/unix/bsd/tcsetpgrp.c: Likewise.
127 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
128 * sysdeps/unix/sysv/getdents.c: Likewise.
129 * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
130 * termios/Makefile: Likewise.
131 * termios/cfmakeraw.c: Likewise.
132 * termios/cfsetspeed.c: Likewise.
134 * version.h: Bump VERSION to 1.100.
136 * intl/finddomain.c: Defining stpcpy function isn't necessary.
138 * libio/genops.c (_IO_init): Use _IO_lock_init instead of
139 _IO_lock_init_recursive.
140 * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead
143 * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead
145 * locale/programs/ld-collate.c: Likewise.
146 * locale/programs/simple-hash.c: Likewise.
148 * misc/Makefile (headers): Add selectbits.h.
149 * misc/sys/select.h: Include <selectbits.h> to get necessary
151 * sysdeps/generic/selectbits.h: New file. Generic macros for
152 handling file descriptor sets.
153 * sysdeps/i386/selectbits.h: New file. i386 specific macros for
154 handling file descriptor sets.
155 * sysdeps/generic/gnu/types.h: Remove _FD_* macros.
157 * misc/mntent_r.c: Fix handling of multiple, comma-separated
158 options. Patch by Sai-Lai Lo <sll@orl.co.uk>.
164 * posix/getopt.c: Only use the bash generated environment variable
165 to determine non-option parameters when using in GNU libc and if
166 the argument vector given to getopt is the same as given to the
169 * posix/unistd.h [__USE_GNU]: Declare environ.
171 * posix/sys/types.h (key_t): Also define when __USE_XOPEN.
173 * resolv/res_debug.c: Add casts to prevent warnings.
174 * resolv/res_query.c: Likewise.
176 * resolv/nss_dns/dns-host.c: Change type for buffer size arguments
178 * resolv/nss_dns/dns-network.c: Likewise.
180 * signal/sigempty.c: Use memset to initialize variable.
181 * signal/sigfillset.c: Likewise.
183 * signal/signal.h: Change back handling of signal. The BSD
184 version is preferred and the new sysv_signal is used when
186 * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID
188 * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD
190 * sysdpes/posix/sigpause.c: Correct comment.
191 * sysdeps/stub/sigpause.c: Provide default implementation.
192 * signal/Makefile (routines): Remove bsd_signal, add sysv_signal.
194 * sysdeps/generic/abort.c: Allow repeated calls to abort if
195 a user defined handler for SIGABRT is installed.
197 * sysdeps/stub/libc-lock.h: Define separate set of macros for
198 handling recursive mutexes.
200 * sysdeps/unix/Makefile: Change rule to generate syscall.h file
201 so that it is generate in the sys/ subdir.
203 * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h.
204 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and
207 * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from
208 kernel. Define own version with additional field d_type.
209 * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent
210 entries after reading from kernel.
212 * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers.
213 Define types based on kernel types except for uid_t, gid_t, mode_t,
214 dev_t which are larger now.
215 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
217 * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include
218 <linux/termios.h>. Define structure here.
219 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise.
220 * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define
221 architecture dependent struct termio type.
222 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise.
223 * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type.
224 * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array
227 * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header.
228 * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
229 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
230 * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
231 * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
232 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
233 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
234 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
236 * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
237 Change definitions to fit new dev_t definition.
239 * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
240 Rename ustat to s_ustat since wrapper is needed.
242 * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from
243 kernel rewrite it to userland level data format.
244 * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change
245 data format to kernel format.
246 * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of
247 device parameter to format needed by kernel.
248 * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
249 * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic
250 version to change device parameter to format needed by kernel.
251 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
253 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific
254 definition of accounting structure.
256 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
257 Patch by Andreas Schwab.
259 * time/ap.c: Include <mcheck.h>.
261 * time/tzset.c (__tzset_internal): Change to take one argument
262 which tells whether examining of TZ is always wanted or only if
263 no initialization happened before.
264 * time/localtime.c: (localtime, __localtime_r): Change for new
265 __tzset_internal form.
267 * time/sys/time.h: Include <sys/select.h> to get select related
270 Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu>
272 * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
275 Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
277 * misc/getpass.c: Make sure the content of the input buffer is not
278 printed if the getpass function is interrupted.
280 Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com>
282 * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.
284 Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com>
286 * sysdeps/generic/abort.c: Include <string.h> for memset decl.
288 * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
289 <string.h> so memset is declared.
291 Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com>
293 * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.
295 * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
298 * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts.
299 * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun
302 * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant
303 macros, for Sun extensions.
304 (DT_EXTRATAGID): New macro to convert Sun extension tag values placed
305 near the top of the processor-specific range into zero-origin indices.
307 * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.
309 Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de>
311 * libio/fcloseall.c: Include stdio.h for prototype declaration for
314 Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
316 * sysdeps/posix/signal.c: Provide ignorable definitions of
317 SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
320 Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
322 * MakeTAGS ($P/siglist.pot): Delete rule.
323 (XGETTEXTFLAGS-siglist.pot): Remove definition.
324 (all-pot): Remove $P/siglist.pot.
325 * sysdeps/unix/siglist.c: Mark strings as translatable.
326 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
328 Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
330 * misc/syscall.h: New file.
331 * misc/sys/syscall.h: Removed. Forwarding to <syscall.h> might
332 find user header, so do it the other way round.
333 * sysdeps/mach/sys/syscall.h: Moved here from parent directory.
334 * sysdeps/stub/sys/syscall.h: Likewise.
335 * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
336 * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise.
337 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update
339 * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of
342 Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
344 * features.h: Fix typo.
346 Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com>
348 * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.
350 Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
352 * libio/Makefile (routines): Add fcloseall.
353 * libio/fcloseall.c: New file.
354 * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
355 * libio/iofclose.c: Don't close all streams when argument is NULL.
357 * stdio/Makefile (routines): Add fcloseall.
358 * stdio/fcloseall.c: New file.
359 * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
360 * stdio/fclose.c: Don't close all streams when argument is NULL.
362 * manual/stdio.texi: Document fcloseall.
364 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
367 * socket/sys/un.h (SUN_LEN): Add cast.
369 * sunrpc/auth_unix.c (authunix_create): Change parameter types
370 of uid, gid, and aup_gids to uid_t and gid_t respectively.
371 (authunix_create_default): Likewise.
372 (authunix_refresh): Correct cast for aup_gids assignment.
373 * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration.
374 * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field
375 types to uid_t and gid_t respectively.
376 (struct short_hand_verf): Likewise.
377 Reported by Andreas Schwab.
379 * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets
381 * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
384 * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler
385 version of pow() function.
386 * sysdeps/libm-i387/e_powf.S: New file. Float version.
387 * sysdeps/libm-i387/e_powl.S: New file. Long double version.
389 * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler
390 version of expm1() function.
391 * sysdeps/libm-i387/s_expm1f.S: New file. Float version.
392 * sysdeps/libm-i387/s_expm1l.S: New file. Long double version.
394 * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf.
395 Better handling of computation stack from current NetBSD sources.
396 * sysdeps/libm-i387/e_expf.S: Likewise.
397 * sysdeps/libm-i387/e_expl.S: Likewise.
399 * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp.
400 * sysdeps/libm-i387/e_logf.S: Likewise.
401 * sysdeps/libm-i387/e_logl.S: Likewise.
402 * sysdeps/libm-i387/e_log10.S: Likewise.
403 * sysdeps/libm-i387/e_log10f.S: Likewise.
404 * sysdeps/libm-i387/e_log10l.S: Likewise.
405 * sysdeps/libm-i387/s_asinh.S: Likewise.
406 * sysdeps/libm-i387/s_asinhf.S: Likewise.
407 * sysdeps/libm-i387/s_asinhl.S: Likewise.
408 * sysdeps/libm-i387/s_significandl.S: Likewise.
410 * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify
411 stack pointer directly. Use 32 bit instead of 16 bit operations.
412 * sysdeps/libm-i387/s_ceilf.S: Likewise.
413 * sysdeps/libm-i387/s_ceill.S: Likewise.
414 * sysdeps/libm-i387/s_floor.S: Likewise.
415 * sysdeps/libm-i387/s_floorf.S: Likewise.
416 * sysdeps/libm-i387/s_floorl.S: Likewise.
418 * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile.
419 * sysdeps/libm-ieee754/e_expf.c: Likewise.
420 * sysdeps/libm-ieee754/e_powf.c: Likewise.
421 From current NetBSD sources.
423 * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize
424 `a' and `b' in definition.
425 * sysdeps/libm-ieee754/e_hypotf.c: Likewise.
427 * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double
429 * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double
431 * sysdeps/stub/e_hypotl.c: Removed. We have a real version now.
432 * sysdeps/stub/e_sinhl.c: Removed.
434 * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of
435 sigaddset. Reported by Andreas Schwab.
436 (__default_sigpause): New function. Call __sigpause as BSD version.
437 Make this the default function by providing alias sigpause.
438 * sysdeps/stub/sigpause.c (__default_sigpause): New funciton.
439 Simply fail. Provide alias sigpause.
441 Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
443 * po/es.po: Update for glibc-1.98.
444 * po/fr.po: Likewise.
445 * po/sv.po: New file. Swedish translation.
447 Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
449 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
452 Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
454 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
455 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
457 Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
459 * Makefile (subdirs): Move `elf' last so that librtld.so isn't
460 relinked in the `make others' pass if an add-on adds something to
463 Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
465 * sysdeps/m68k/abort-instr.h: New File.
467 Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
469 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
472 Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
474 * resolv/Makefile (subdirs-dirs): Define.
476 Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
478 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
480 Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
482 Update from ADO tzcode1996o.
483 * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit
484 according to ADO version.
485 * time/zic.c: Correct typo is message.
487 Update from ADO tzdata1996n.
488 * time/asia: Updated.
489 * time/australasia: Likewise.
490 * time/europe: Likewise.
491 * time/northamerica: Likewise.
492 * time/southamerica: Likewise.
494 Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
496 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
499 * features.h: Rename ANSI C to ISO C.
500 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
502 * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION.
503 * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check
504 whether we can elide the code.
505 * posix/getopt1.c: Likewise.
506 * posix/Makefile: Correct copyright.
508 * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
510 * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if
512 * elf/eval.c: Use __getline instead of getline.
513 * elf/rtld.c (dl_main): Check return value of _dl_new_object
515 * sysdeps/generic/dl-cache.c: Update copyright.
517 * signal/Makefile: Correct copyright.
518 (routines): Remove gsignal and ssignal. Add bsd_signal.
519 * signal/gsignal.c: Removed. Now is made an alias.
520 * signal/ssignal.c: Likewise.
521 * sysdeps/posix/raise.c: Add alias gsignal.
522 * sysdeps/stub/raise.c: Likewise.
523 * sysdeps/posix/signal.c: Add alias ssignal.
524 * sysdeps/stub/signal.c: Likewise.
525 * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal
527 * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG
528 function. This is the old signal.c file.
529 * sysdeps/posix/signal.c: Change to have semantic of X/Open.
531 * sysdeps/unix/sysv/linux/signal.c: Add explanation.
533 * socket/sys/un.h: Define SUN_LEN according to POSIX.1g.
535 * stdio-common/Makefile (tests): Add scanf10.
536 * stdio-common/scanf10.c: New file.
537 * stdio-common/vfscanf.c: Decrement counter if EOF is read while
540 * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END.
541 * sysdeps/libm-i387/e_acosl.S: Likewise.
542 * sysdeps/libm-i387/e_asin.S: Likewise.
543 * sysdeps/libm-i387/e_asinl.S: Likewise.
544 * sysdeps/libm-i387/e_atan2.S: Likewise.
545 * sysdeps/libm-i387/e_atan2f.S: Likewise.
546 * sysdeps/libm-i387/e_atan2l.S: Likewise.
547 * sysdeps/libm-i387/e_exp.S: Likewise.
548 * sysdeps/libm-i387/e_expl.S: Likewise.
549 * sysdeps/libm-i387/e_fmod.S: Likewise.
550 * sysdeps/libm-i387/e_fmodl.S: Likewise.
551 * sysdeps/libm-i387/e_log.S: Likewise.
552 * sysdeps/libm-i387/e_log10.S: Likewise.
553 * sysdeps/libm-i387/e_log10l.S: Likewise.
554 * sysdeps/libm-i387/e_logl.S: Likewise.
555 * sysdeps/libm-i387/e_remainder.S: Likewise.
556 * sysdeps/libm-i387/e_remainderf.S: Likewise.
557 * sysdeps/libm-i387/e_remainderl.S: Likewise.
558 * sysdeps/libm-i387/e_scalb.S: Likewise.
559 * sysdeps/libm-i387/e_scalbl.S: Likewise.
560 * sysdeps/libm-i387/e_sqrt.S: Likewise.
561 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
562 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
563 * sysdeps/libm-i387/s_atan.S: Likewise.
564 * sysdeps/libm-i387/s_atanf.S: Likewise.
565 * sysdeps/libm-i387/s_atanl.S: Likewise.
566 * sysdeps/libm-i387/s_ceil.S: Likewise.
567 * sysdeps/libm-i387/s_ceilf.S: Likewise.
568 * sysdeps/libm-i387/s_ceill.S: Likewise.
569 * sysdeps/libm-i387/s_copysign.S: Likewise.
570 * sysdeps/libm-i387/s_copysignf.S: Likewise.
571 * sysdeps/libm-i387/s_copysignl.S: Likewise.
572 * sysdeps/libm-i387/s_cos.S: Likewise.
573 * sysdeps/libm-i387/s_cosf.S: Likewise.
574 * sysdeps/libm-i387/s_cosl.S: Likewise.
575 * sysdeps/libm-i387/s_finite.S: Likewise.
576 * sysdeps/libm-i387/s_finitef.S: Likewise.
577 * sysdeps/libm-i387/s_finitel.S: Likewise.
578 * sysdeps/libm-i387/s_floor.S: Likewise.
579 * sysdeps/libm-i387/s_floorf.S: Likewise.
580 * sysdeps/libm-i387/s_floorl.S: Likewise.
581 * sysdeps/libm-i387/s_ilogb.S: Likewise.
582 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
583 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
584 * sysdeps/libm-i387/s_log1p.S: Likewise.
585 * sysdeps/libm-i387/s_log1pf.S: Likewise.
586 * sysdeps/libm-i387/s_log1pl.S: Likewise.
587 * sysdeps/libm-i387/s_logb.S: Likewise.
588 * sysdeps/libm-i387/s_logbf.S: Likewise.
589 * sysdeps/libm-i387/s_logbl.S: Likewise.
590 * sysdeps/libm-i387/s_rint.S: Likewise.
591 * sysdeps/libm-i387/s_rintf.S: Likewise.
592 * sysdeps/libm-i387/s_rintl.S: Likewise.
593 * sysdeps/libm-i387/s_scalbn.S: Likewise.
594 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
595 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
596 * sysdeps/libm-i387/s_significand.S: Likewise.
597 * sysdeps/libm-i387/s_significandf.S: Likewise.
598 * sysdeps/libm-i387/s_significandl.S: Likewise.
599 * sysdeps/libm-i387/s_sin.S: Likewise.
600 * sysdeps/libm-i387/s_sinf.S: Likewise.
601 * sysdeps/libm-i387/s_sinl.S: Likewise.
603 * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values
604 near 1 to increase precision.
605 * sysdeps/libm-i387/e_log10.S: Likewise.
606 * sysdeps/libm-i387/e_log10l.S: Likewise.
607 * sysdeps/libm-i387/e_logl.S: Likewise.
609 * sysdeps/libm-i387/s_cos.S: Use testl instead of andw.
610 * sysdeps/libm-i387/s_cosl.S: Likewise.
611 * sysdeps/libm-i387/s_sin.S: Likewise.
612 * sysdeps/libm-i387/s_sinl.S: Likewise.
613 * sysdeps/libm-i387/s_tan.S: Likewise.
614 * sysdeps/libm-i387/s_tanl.S: Likewise.
616 * sysdeps/libm-i387/e_acosf.S: New file. Add float versions.
617 * sysdeps/libm-i387/e_asinf.S: Likewise.
618 * sysdeps/libm-i387/e_expf.S: Likewise.
619 * sysdeps/libm-i387/e_fmodf.S: Likewise.
620 * sysdeps/libm-i387/e_log10f.S: Likewise.
621 * sysdeps/libm-i387/e_logf.S: Likewise.
622 * sysdeps/libm-i387/e_scalbf.S: Likewise.
624 * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions.
625 * sysdeps/libm-i387/e_acoshf.S: Likewise.
626 * sysdeps/libm-i387/e_acoshl.S: Likewise.
627 * sysdeps/libm-i387/e_atanh.S: Likewise.
628 * sysdeps/libm-i387/e_atanhf.S: Likewise.
629 * sysdeps/libm-i387/e_atanhl.S: Likewise.
630 * sysdeps/libm-i387/e_asinh.S: Likewise.
631 * sysdeps/libm-i387/e_asinhf.S: Likewise.
632 * sysdeps/libm-i387/e_asinhl.S: Likewise.
634 * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels
635 for simplified handling.
637 * sysdeps/unix/sysv/linux/syscalls.list: Add query_module.
639 Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
641 * inet/rcmd.c (rcmd): Set h_errno before calling herror.
642 * inet/rexec.c (rexec): Likewise.
644 Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
646 * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
649 Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com>
651 * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range
652 -0.29 <= x <= 0.29, otherwise the old method.
653 * sysdeps/libm-i387/s_log1pf.S: Likewise.
654 * sysdeps/libm-i387/s_log1pl.S: Likewise.
656 Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com>
658 * inet/getnetgrent.c: Reformat copyright.
660 * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment.
661 (__internal_getnetgrent): Rename to __internal_getnetgrent_r as
662 required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996.
663 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
665 * nss/nss_files/files-netgrp.c: Fix typo.
666 * login/utmp_db.c: Comment out unused variables.
667 * misc/tst-dirname.c: Provide prototype for main (for now).
668 * new-malloc/mcheck-init.c: Include <mcheck.h>.
669 * new-malloc/obstack.c: Provide real prototypes.
671 * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int.
672 (b64_pton): Likewise for `tarindex'.
673 * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning.
675 * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning.
676 * stdio-common/printf-parse.h: Remove definition of MIN and MAX.
677 * stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX.
678 * stdio-common/vfprintf.c: Likewise.
679 * stdlib/gmp-impl.h: Only define MIN and MAX if not already done.
680 * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value.
682 * sysdeps/generic/Makefile ($(subdir)=string): Define
683 CFLAGS-wordcopy.c to prevent warning.
684 * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline.
685 * sysdeps/generic/wordcopy.c: De-ANSI-declfy.
686 * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
688 * sysdeps/i386/dl-machine.h: Correct copyright.
689 * sysdeps/unix/closedir.c: Likewise.
690 * sysdeps/unix/dirstream.h: Likewise.
691 * sysdeps/unix/opendir.c: Likewise.
692 * time/tzset.c: Add prototype for __tzset_internal.
694 * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the
695 way it is supposed to work is not yet known.
696 (struct utmp): Remove ut_login and ut_syslen field for now.
698 Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com>
700 * time/strftime.c: Fix another bug in handling flags made it
701 impossible to use the `-', `_', or `0' flag.
703 Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
705 * sysdeps/unix/common/pause.c: Add missing second argument in
707 Reported by a sun <asun@zoology.washington.edu>.
709 * locale/weight.h: Correct handling of collation elements.
710 Reported by Keld Simonsen <keld@dkuug.dk>.
712 * manual/time.texi: Document ^ flag and %P format.
714 * new-malloc/malloc.c: Update from Wolfram Gloger.
716 * nss/nss.h: Reformat copyright.
717 * posix/sched.h: Likewise.
718 * sysdeps/i386/fpu_control.h: Likewise.
719 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
720 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
721 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
722 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
723 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
724 * sysvips/sys/msg.h: Likewise.
726 * stdio-common/Makefile (routines): Remove fcloseall.
727 * stdio-common/fcloseall.c: Removed.
729 * stdlib/Makefile (distribute): Add abort-instr.h.
730 * sysdeps/generic/abort-instr.h: New file.
731 * sysdeps/i386/abort-instr.h: New file.
732 * sysdeps/generic/abort.c: Use lock and stage counter to prevent
735 * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
736 * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
737 as 1000000. Define CLK_TCK as 1024.
738 * time/time.c (CLK_TCK): Define only if not already set.
740 * time/strftime.c: Don't use `isdigit' when computing field width
741 from string since the locale might have more than one digit
744 Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
746 * posix/getopt.c (in -W option handling): Return when optind == argc.
748 Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
750 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
753 * nis/nss_compat/compat-grp.c: Include the declaration of the file
755 * nis/nss_compat/compat-pwd.c: Likewise.
756 * nis/nss_compat/compat-spwd.c: Likewise.
757 * nis/nss_nis/nis-ethers.c: Likewise.
758 * nis/nss_nis/nis-grp.c: Likewise.
759 * nis/nss_nis/nis-network.c: Likewise.
760 * nis/nss_nis/nis-proto.c: Likewise.
761 * nis/nss_nis/nis-pwd.c: Likewise.
762 * nis/nss_nis/nis-rpc.c: Likewise.
763 * nis/nss_nis/nis-spwd.c: Likewise.
765 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
766 getgrent_next_file): Pass the correct type for the buffer to the
768 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
769 getpwent_next_nis, getpwent_next_file): Likewise.
770 * nis/nss_compat/compat-spwd.c (getspent_next_netgr,
771 getspent_next_nis, getspent_next_file): Likewise.
772 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
773 _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
774 * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
775 _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
776 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
777 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
778 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
779 _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
780 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
781 _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
782 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
783 _nss_nis_getrpcbynumber_r): Likewise.
784 * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
785 _nss_nis_getspnam_r): Likewise.
787 Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
789 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
791 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
793 * resolv/resolv.h: Update from BIND 4.9.5-P1.
794 * resolv/res_comp.c: Likewise.
795 * resolv/res_debug.c: Likewise.
796 * resolv/Banner: Update version number.
798 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
800 * elf/dlfcn.h: Add extern "C" wrapper.
802 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
803 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
804 __USE_XOPEN_EXTENDED.
805 * locale/locale.h: Define NULL.
806 * math/math.c: Don't include <errno.h> to define math errors.
807 * stdlib/stdlib.h: Likewise.
808 * posix/unistd.h: Don't declare environ.
809 * posix/sys/utsname.h (struct utsname): Declare member domainname
810 as __domainname is !__USE_GNU.
811 * signal/signal.h: Declare size_t only if __USE_BSD ||
812 __USE_XOPEN_EXTENDED.
813 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
814 instead when __USE_XOPEN.
815 * string/string.h: Define strndup only if __USE_GNU.
816 * sysdeps/unix/sysv/linux/clock.c: New file.
817 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
818 1000000 per X/Open standard.
819 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
820 Define __USE_POSIX199309.
821 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
822 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
823 Patches by Rüdiger Helsch <rh@unifix.de>.
825 * locale/locale.h: Add declaration of newlocale and freelocale.
827 * new-malloc/Makefile (distibute): Add mtrace.awk.
828 (dist-routines): Add mcheck and mtrace.
829 (install-lib, non-lib.a): Define as libmcheck.a.
830 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
831 * new-malloc/mcheck.c: New file.
832 * new-malloc/mcheck.h: New file.
833 * new-malloc/mtrace.c: New file.
834 * new-malloc/mtrace.awk: New file.
836 * posix/unistd.h: Correct prototype for usleep.
837 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
838 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
841 * signal/signal.h: Change protoype of __sigpause to take two
842 arguments. Remove prototype for sigpause. Add two different
843 macros named sigpause selected when __USE_BSD or __USE_XOPEN
844 are defined. This is necessary since the old BSD definition
845 of theis function collides with the X/Open definition.
846 * sysdeps/posix/sigpause.c: Change function definition to also
847 fit X/Open definition.
849 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
851 * sysdeps/libm-i387/e_expl.S: Likewise.
854 1996-12-17 Paul Eggert <eggert@twinsun.com>
856 * many, many files: Spelling corrections.
857 * catgets/catgetsinfo.h (mmapped):
858 Renamed from mmaped (in struct catalog_info.status).
859 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
860 Fix spelling in message.
861 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
862 a fix in the tzcode distribution.
864 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
866 * time/strftime.c: Implement ^ flag to cause output be converted
867 to use upper case characters.
869 * time/zic.c: Update from ADO tzcode1996n.
871 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
873 * time/strftime.c (add): Don't change global `i' until all is over.
874 Define NULL is not already defined.
876 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
878 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
879 to avoid the need for a cast.
880 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
882 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
884 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
885 The stream is private and usages outside glibc don't care about
887 * io/fts.c: Likewise.
888 * io/ftw.c: Likewise.
889 * sysdeps/posix/getcwd.c: Likewise.
890 * sysdeps/posix/ttyname.c: Likewise.
891 * sysdeps/posix/ttyname_r.c: Likewise.
892 * sysdeps/posix/glob.c: Likewise.
894 * libio/iovsprintf.c: Add cast to prevent warning.
895 * libio/iovsscanf.c: Likewise.
897 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
898 to keep namespace clean.
900 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
901 Add hooks and check functions from old GNU malloc.
902 * new-malloc/malloc.h: Likewise.
904 * nis/ypclnt.c: Remove prototype for xdr_free.
905 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
907 * manual/nss.texi: Correct description of default values and don't
908 meantion NSS as an add-on.
910 * nss/grp-lookup.c: Provide default value as
911 "compat [NOTFOUND=return] files".
912 * nss/pwd-lookup.c: Likewise.
913 * nss/spwd-lookup.c: Likewise.
914 * nss/network-lookup.c: Correct default to
915 "dns [!UNAVAIL=return] files".
916 * nss/nsswitch.c: Change default-default value to "nis
917 [NOTFOUND=return] files" since compat is only available for group,
920 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
922 * stdlib/stdlib.h: Add prototype for __on_exit.
924 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
926 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
927 The new malloc now has mcheck.
928 * time/ap.c: Likewise.
930 * time/tzset.c (__tzset): Rename to __tzset_internal.
931 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
932 * time/localtime.c: Use __tzset_internal not __tzset.
933 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
934 as __tzset to prevent namespace pollution.
936 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
937 a weak alias of __iswctype.
938 * wctype/wctype.h: Add prototype for __iswctype.
939 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
940 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
941 Use __iswctype for the test, not iswctype.
943 1996-12-16 Paul Eggert <eggert@twinsun.com>
945 * hurd/hurd/sigpreempt.h
946 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
947 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
948 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
949 hurd/hurdsig.c (_hurdsig_preempters):
950 Renamed to fix spelling from `preempter' to `preemptor'.
953 1996-12-15 Paul Eggert <eggert@twinsun.com>
955 * ctime.c (ctime): Return asctime (localtime (t)), as the C
958 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
960 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
961 value because Mach/cthreads uses the opposite convention from
964 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
966 * stdio-common/fcloseall.c: Correct test of already_called.
967 Reported by Thomas Bushnell, n/BSG.
969 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
971 * mach/lock-intern.h (__mutex_try_lock): New function.
973 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
975 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
977 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
979 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
981 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
982 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
983 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
985 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
987 Make sure tzset() sets always tzname[].
988 * time/tzfile.c: De-ANSI-declfy.
989 (find_transition): New function. Set tzname according to given time.
990 (__tzread_file): Use find_transition to set tzname.
991 (__tzfile_compute): Use find_transition instead of doing the work
993 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
995 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
997 * login/utmp-file.c (pututline_file): Open file if closed.
998 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
999 Use fcntl instead of flock.
1001 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
1003 * manual/time.texi: Update documentation of strftime function.
1005 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
1007 * Makefile (subdirs): Change crypt to md5-crypt.
1008 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
1009 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
1011 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
1012 crypt instead of LinuxThreads and des-crypt.
1014 * Makefile (subdirs): Add nss back.
1015 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
1018 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
1019 * stdio-common/Makefile (routines): Add fcloseall.
1020 * stdio-common/fcloseall.c: New file.
1021 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
1023 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
1024 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
1027 * stdio-common/printf.h: Define MIN and MAX only if not already
1030 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
1031 allow writing. Required by POSIX.1.
1033 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
1036 * interp.c: Update copyright.
1037 * libio/clearerr.c: Likewise.
1038 * libio/ioseekoff.c: Likewise.
1039 * libio/ioseekpos.c: Likewise.
1040 * stdio/fclose.c: Likewise.
1041 * stdio/fflus.c: Likewise.
1043 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
1044 and _IO_cleanup_region_end as empty.
1045 * libio/fgetc.c: Use _IO_cleanup_region_start and
1046 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
1047 __libc_cleanup_region_end.
1048 * libio/fputc.c: Likewise.
1049 * libio/freopen.c: Likewise.
1050 * libio/fseek.c: Likewise.
1051 * libio/getc.c: Likewise.
1052 * libio/getchar.c: Likewise.
1053 * libio/iofclose.c: Likewise.
1054 * libio/iofflush.c: Likewise.
1055 * libio/iofgetpos.c: Likewise.
1056 * libio/iofgets.c: Likewise.
1057 * libio/iofputs.c: Likewise.
1058 * libio/iofread.c: Likewise.
1059 * libio/iofsetpos.c: Likewise.
1060 * libio/ioftell.c: Likewise.
1061 * libio/iofwrite.c: Likewise.
1062 * libio/iogetdelim.c: Likewise.
1063 * libio/iogets.c: Likewise.
1064 * libio/ioputs.c: Likewise.
1065 * libio/iosetbuffer.c: Likewise.
1066 * libio/iosetvbuf.c: Likewise.
1067 * libio/ioungetc.c: Likewise.
1069 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
1070 locks can stay over.
1071 * libio/iovsscanf.c: Likewise.
1073 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
1074 instead of __libc_lock_init_recursive and __libc_lock_fini.
1076 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
1077 Otherwise use isatty.
1078 * libio/fileops.c: Likewise for __open and open.
1080 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
1083 * nis/ypclnt.h: Add more casts to prevent warnings.
1085 * nss/Makefile (services): Remove dns.
1086 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
1087 ($(objpfx)libnss_dns.so): Removed.
1088 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
1089 * resolv/nss_dns: ...here.
1090 * resolv/Makefile (extra-libs): Add libnss_dns.
1091 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
1094 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
1095 specifying alternate name for entry in /etc/nsswitch.conf
1096 * nss/nsswitch.c: If no entry with primary name is found in
1097 /etc/nsswitch.conf try alternate name if given.
1098 * nss/nsswitch.h: Add new parameter in prototype for
1099 __nss_database_lookup.
1100 * nss/spwd-lookup.c: Provide alternative entry name to look for.
1101 This makes our NSS compatible with Solaris' nsswitch.conf files.
1103 * string/tst-strlen.c: Change all counting variables to type size_t
1104 to prevent warnings.
1106 * sysdeps/posix/fpathconf.c: Update copyright.
1107 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
1108 Opening the file at this path may fail if it is a FIFO or pipe.
1110 These changes make the time implementation POSIX.1 compliant.
1111 * time/localtime.c (__localtime_r): Always call __tzset not only
1112 if __tzset_run is zero.
1113 * time/strftime.c: Add definition of memset_space to help to
1114 reduce for systems which have memset.
1115 (strftime): Don't use tm_zone member of argument for zone name.
1116 Instead always use tzname[].
1117 Call tzset() as required by POSIX.1 before any action.
1118 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
1119 Remove global variable __tzset_run. __tzset is now called always
1120 when a dependent function is used.
1121 (__tzset): Caching happens based on the contents of the
1122 environment variable TZ.
1124 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1126 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
1128 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1130 * rellns-sh: Correctly handle a relative source file name.
1132 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1134 * login/utmp_file.c (setutent_file): Seek back to beginning of the
1137 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1139 * hurd/hurdinit.c (map0): Delete function. Don't do this on
1141 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1143 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
1145 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
1146 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
1149 Change libio buffer handling to allocate internal buffers using
1151 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
1153 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
1155 (_IO_default_doallocate): Change call to ALLOC_BUF.
1156 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
1157 to use mmap/munmap when possible.
1158 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
1159 * libio/vasprintf.c: Likewise.
1162 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
1163 * libio/libioP.h: Likewise.
1165 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
1166 restart syscall when EINTR was returned. Necessary for POSIX.1.
1168 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
1170 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
1173 * nis/Makefile: Remove rules for bsd-tools which are not part
1175 Patch by Thorsten Kukuk.
1177 * nis/ypclnt.c: Add prototype for xdr_free.
1178 Add const to first parameter for __yp_bind.
1179 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
1180 getpwent_next_file): Variable `p2len' must have type size_t.
1181 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
1182 * nis/nss_nis/nis-ethers.c: Likewise.
1183 * nis/nss_nis/nis-grp.c: Likewise.
1184 * nis/nss_nis/nis-hosts.c: Likewise.
1185 * nis/nss_nis/nis-network.c: Likewise.
1186 * nis/nss_nis/nis-proto.c: Likewise.
1187 * nis/nss_nis/nis-pwd.c: Likewise.
1188 * nis/nss_nis/nis-rpc.c: Likewise.
1189 * nis/nss_nis/nis-service.c: Likewise.
1190 * nis/nss_nis/nis-spwd.c: Likewise.
1192 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
1194 (ypmaplist): Change member names to `map' and `next' and provide
1195 #defines for old names.
1196 Patch by Thorsten Kukuk.
1198 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
1199 type for `datalen' parameter to size_t.
1201 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
1203 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
1205 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
1209 * stdio-common/tmpfile.c: Update copyright.
1211 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
1213 Don't eat white space for `C' format.
1215 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
1217 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
1218 * sysdeps/i386/abort.c: Removed. This version does not use
1221 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
1225 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
1226 call. If EMFILE, ENFILE, or EINTR return with error.
1228 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
1230 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
1231 We are compatible again.
1232 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
1233 even though it is not used.
1234 * malloc/obstack.h: Likewise.
1235 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
1236 alloc_failed bit to 0.
1238 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
1239 %P format and `0' modifier.
1241 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1243 * Makerules (make-link): Don't discard exit codes of intermediate
1244 commands. Always use rellns-sh if symbolic links are available.
1246 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1248 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
1249 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
1250 conflict of ntohs etc. in <asm/byteorder.h>.
1252 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
1254 Add NIS NSS implementation.
1255 * shlib-versions: Add versions for NIS libraries.
1256 * sysdeps/unix/inet/Subdirs: Add nis.
1257 * nis/Banner: New file.
1258 * nis/Makefile: New file.
1259 * nis/nss-nis.h: New file.
1260 * nis/yp_xdr.h: New file.
1261 * nis/ypclnt.h: New file.
1262 * nis/ypupdate_xdr.c: New file.
1263 * nis/nss_compat/compat-grp.c: New file.
1264 * nis/nss_compat/compat-pwd.c: New file.
1265 * nis/nss_compat/compat-spwd.c: New file.
1266 * nis/nss_nis/nis-alias.c: New file.
1267 * nis/nss_nis/nis-ethers.c: New file.
1268 * nis/nss_nis/nis-grp.c: New file.
1269 * nis/nss_nis/nis-hosts.c: New file.
1270 * nis/nss_nis/nis-netgrp.c: New file.
1271 * nis/nss_nis/nis-network.c: New file.
1272 * nis/nss_nis/nis-proto.c: New file.
1273 * nis/nss_nis/nis-publickey.c: New file.
1274 * nis/nss_nis/nis-pwd.c: New file.
1275 * nis/nss_nis/nis-rpc.c: New file.
1276 * nis/nss_nis/nis-service.c: New file.
1277 * nis/nss_nis/nis-spwd.c: New file.
1278 * nis/rpcsvc/yp.h: New file.
1279 * nis/rpcsvc/yp.x: New file.
1280 * nis/rpcsvc/yp_prot.h: New file.
1281 * nis/rpcsvc/ypclnt.h: New file.
1282 * nis/rpcsvc/ypupd.h: New file.
1284 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
1286 * locale/C-numeric.c: Update copyright.
1288 * locale/Makefile: Add rules to build libBrokenLocale.
1289 * locale/broken_cur_max.c: New file.
1290 * locale/mb_cur_max.c: Update copyright.
1291 (__ctype_get_mb_cur_max): Make function weak.
1293 * new-malloc/malloc.c: Correct copyright.
1294 * new-malloc/thread-m.h: Correct key handling.
1296 * shadow/lckpwdf.c: Update copyright.
1297 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
1299 * stdlib/strtod.c: Add another assertion.
1300 * stdlib/tst-strtod.c: Add another test case.
1302 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
1303 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1305 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
1306 ut_addr names a single element in ut_addr_v6.
1308 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
1309 Patch by Thomas Bushnell, n/BSG.
1311 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
1313 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
1316 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
1317 did fit nicely into that delay slot (patch from David Mosberger-Tang).
1319 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1321 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
1323 (ttyname_r): New alias.
1325 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
1327 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
1328 error in computation of number of groups.
1329 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
1331 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
1333 * version.h: Set version to 1.99.
1335 * Make-dist (routines): Add malloc and new-malloc.
1337 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
1338 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
1339 Same for $(CFLAGS-$(@F)) and CFLAGS.
1341 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
1343 * io/sys/poll.h: Likewise.
1344 * sysdeps/stub/sys/ipb_buf.h: Likewise.
1345 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1347 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
1348 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
1349 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1350 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1351 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
1352 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1353 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
1354 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
1355 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1356 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1357 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
1358 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
1359 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
1360 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
1361 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1362 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
1363 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1364 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
1365 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1366 * sysvipc/sys/sem.h: Likewise.
1367 * sysvipc/sys/shm.h: Likewise.
1369 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
1370 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
1371 Add statistics for threads.
1372 * new-malloc/malloc.h: Likewise.
1373 * new-malloc/thread-m.h: Likewise.
1375 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
1377 * time/strptime.c: Update copyright.
1379 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
1381 * Make-dist: Make sure both malloc directories get distributed.
1383 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1385 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
1388 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1390 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
1391 __BEGIN_DECLS/__END_DECLS.
1393 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1395 * login/utmp_file.c: Consistently set file_offset to the position
1396 after the entry just read.
1398 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
1400 * config.make.in (defines): Add @USE_NEW_MALLOC@.
1401 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
1402 we use the new malloc.
1404 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
1405 depending on USE_NEW_MALLOC.
1407 Fix some more POSIX.1 problems.
1408 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
1409 on a write-only stream.
1410 (_IO_file_overflow): Set errno to EBADF if used on a read-only
1412 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
1413 call really positions the file offset to the correct position
1414 and no read-ahead happens.
1416 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
1417 to pass POSIX test suite.
1418 * stdio-common/vfprintf.c: Handle empty string as grouping command
1420 * stdlib/grouping.h: Likewise.
1422 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
1424 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
1426 * stdio-common/printf_fp.c: Update copyright.
1428 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1430 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
1431 used (not otherwise).
1433 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
1435 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
1437 * stdlib/canonicalize.c: Correct bugs in last change.
1440 * libio/Makefile (routines): Remove ioprims.
1441 (aux): Remove cleanup.
1442 Add IO_DEBUG option for .o files.
1443 * libio/cleanups.c: Removed.
1444 * libio/ioprims.c: Removed.
1445 * libio/filedoalloc.c: More updates from libg++-2.8b5.
1446 * libio/fileops.c: Likewise.
1447 * libio/genops.c: Likewise.
1448 * libio/iolibio.h: Likewise.
1449 * libio/iopopen.c: Likewise.
1450 * libio/iovsprintf.c: Likewise.
1451 * libio/iovsscanf.c: Likewise.
1452 * libio/libio.h: Likewise.
1453 * libio/libioP.h: Likewise.
1454 * libio/memstream.c: Likewise.
1455 * libio/strfile.h: Likewise.
1456 * libio/vasprintf.c: Likewise.
1457 * libio/vsnprintf.c: Likewise.
1459 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
1461 * manual/arith.texi: Change references to ANSI C to ISO C.
1462 * manual/conf.texi: Likewise.
1463 * manual/creature.texi: Likewise.
1464 * manual/ctype.texi: Likewise.
1465 * manual/errno.texi: Likewise.
1466 * manual/filesys.texi: Likewise.
1467 * manual/intro.texi. Likewise.
1468 * manual/io.texi: Likewise.
1469 * manual/lang.texi: Likewise.
1470 * manual/libc.texinfo: Likewise.
1471 * manual/locale.texi: Likewise.
1472 * manual/maint.texi: Likewise.
1473 * manual/mbyte.texi: Likewise.
1474 * manual/memory.texi: Likewise.
1475 * manual/process.texi: Likewise.
1476 * manual/process.texi: Likewise.
1477 * manual/search.texi: Likewise.
1478 * manual/setjmp.texi: Likewise.
1479 * manual/signal.texi: Likewise.
1480 * manual/startup.texi: Likewise.
1481 * manual/stdio.texi: Likewise.
1482 * manual/string.texi: Likewise.
1483 * manual/time.texi: Likewise.
1485 * manual/locale.texi: Remove description of LC_RESPONSE and add
1488 * Makefile (subdirs): Change malloc in $(malloc).
1489 * config.make.in: Add variable malloc which is initialized from
1491 * configure.in: Add new option --enable-new-malloc to use new
1492 malloc. This is the default on Linux.
1493 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
1495 * new-malloc/Makefile: New file. Improved malloc implementation.
1496 * new-malloc/malloc.c: Likewise.
1497 * new-malloc/malloc.h: Likewise.
1498 * new-malloc/mallocbug.c: Likewise.
1499 * new-malloc/obstack.c: Likewise.
1500 * new-malloc/obstack.h: Likewise.
1501 * new-malloc/thread-m.h: Likewise.
1502 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
1503 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
1505 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
1508 * stdio/feof.c: Update copyright.
1509 * stdio/stdio.h: Add field for lock to FILE structure.
1510 Add cast to *MAGIC constants to prevent warnings.
1512 * stdio-common/bug7.c: Correct test. Stream must not be closed
1515 * stdlib/Makefile (routines): Add secure-getenv.
1516 * stdlib/secure-getenv.c: New file. __secure_getenv function
1517 moved to here from sysdeps/generic/getenv.c. Otherwise an
1518 application cannot replace the getenv function in the libc.
1519 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
1520 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
1522 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
1524 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
1526 * time/test-tz.c: Comment fifth test out. PROBLEM.
1528 * time/tzset.c: De-ANSI-declfy.
1529 (__tzset): Don't increment pointer tz when no DST information is
1532 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
1533 to get Hurd macros right.
1535 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
1537 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
1539 Patch by Thomas Bushnell.
1541 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
1544 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
1546 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
1548 * time/strftime (%c format): Remove %Z from default string.
1549 Reported by Paul Eggert
1551 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
1553 * configure.in: Discard error message from test in test for
1556 * io/getwd.c: Don't apply getcwd on user supplied buffer.
1557 Instead always use temporary buffer and only copy the result.
1559 * stdlib/canonicalize.c: Likewise.
1561 * libio/fileops.c: Change comments according to libg++2.8b5.
1562 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
1566 * manual/nss.texi: Correct prototypes.
1568 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
1569 crash if syslog daemon is restarted.
1571 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
1573 * stdlib/Makefile (routines): Add rand_r.
1575 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
1578 * configure.in: Add --disable-sanity-check option.
1579 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
1580 des-crypt are not available and --disbale-sanity-check is not
1581 given abort with a message.
1583 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
1585 * posix/glob.c: Tests against STDC_HEADERS should also test
1588 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
1590 * misc/err.c (vwarn): Set errno again before using %m format.
1592 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1594 * grp/grp.h: Add declaration of __getgrent_r.
1596 * io/fts.c (fts_build): Remove "register" from variables dirbuf
1597 and dp since their address is needed.
1599 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
1600 variable d since d's address is needed.
1602 * misc/tst-dirname.c (main): Provide prototype.
1603 * misc/ioctltst.c (main): Dito.
1605 * Makefile: Add gnu/lib-names.h to install-others before including
1608 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
1610 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
1612 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
1613 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
1614 sys/socketvar.h to sysdep_headers.
1616 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
1618 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
1621 * elf/rtld.c (_dl_start): Don't dereference the value returned by
1622 elf_machine_got to get _DYNAMIC, instead call new function
1623 elf_machine_dynamic.
1624 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
1625 elf_machine_dynamic. Reformat copyright.
1626 * sysdeps/i386/dl-machine.h: Likewise.
1627 * sysdeps/m68k/dl-machine.h: Likewise.
1628 * sysdeps/mips/dl-machine.h: Likewise.
1629 * sysdeps/sparc/dl-machine.h: Likewise.
1630 * sysdeps/stub/dl-machine.h: Likewise.
1632 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1634 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
1636 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
1638 * Makerules ($(libdir)/libc.so): Make first line of generated
1639 link script contain `/* GNU ld script'. This will be used in
1640 ldconfig to check for linker scripts.
1641 * sysdeps/mach/hurd/libc-ldscript: Likewise.
1642 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
1644 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
1646 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
1648 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
1651 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
1653 * assert/assert-perr.c: Use __strerror_r instead of strerror.
1654 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
1655 * string/string.h: Declare __strerror_r.
1656 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
1657 * stdio-common/vfprintf.c: Save current errno value on entry so
1658 that %m format finds the correct value.
1659 * io/getwd.c: Use __strerror_r instead of strerror.
1660 * misc/err.c (vwarn): Use %m printf format instead of explicitly
1662 * inet/rcmd.c: Likewise.
1663 * misc/error.c (error, error_at_line): Use __strerror_r instead
1664 of strerror when this function is available.
1666 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
1667 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
1668 * stdlib/stdlib.h: Define prototype for rand_r.
1670 * string/strfry.c: Update copyright. Use reentrant random functions.
1672 * dirent/scandir.c: Use __readdir_r instead of readdir.
1673 * posix/glob.c: Likewise.
1674 * sysdeps/posix/ttyname.c: Likewise.
1675 * sysdeps/posix/ttyname_r.c: Likewise.
1676 * io/ftw.c: Likewise.
1677 * io/fts.c: Likewise.
1678 * sysdeps/posix/getcwd.c: Likewise.
1679 * dirent/dirent.h: Add prototype for __readdir_r.
1680 * sysdeps/unix/readdir_r: Update copyright.
1682 * time/ctime.c: Use __localtime_r and __asctime_r instead of
1683 non reentrant versions.
1684 * time/ctime_r.c: Update copyright.
1686 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
1688 * locale/Makefile (localepath): Correct value.
1690 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
1692 Fix typo in using H_ERRNO_SET macro.
1694 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1696 * Makerules (elfobjdir): Definition removed.
1697 * Makeconfig (elfobjdir): Define it here instead, so that
1698 expanding $(rpath-link) gets the right value.
1701 * misc/a.out.h: Moved to...
1702 * sysdeps/generic/a.out.h: ...here.
1703 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
1706 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
1708 * grp/initgroups.c: Update and reformat copyright.
1709 Use __getgrent_r instead of getgrent.
1711 * inet/rcmd.c: Update and reformat copyright.
1712 Use __gethostbyname_r instead of gethostbyname.
1713 * inet/rexec.c: Likewise.
1715 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
1716 * locale/findlocale.c: Likewise.
1717 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
1718 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
1719 * locale/setlocale.c (setlocale): Correctly split value of
1721 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
1722 find output directory.
1724 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
1725 h_errno_tmp variable.
1726 Save error value from being changed during `free' call.
1727 * nss/getXXent.c: Likewise.
1729 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
1730 before returning ERANGE error.
1732 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
1735 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
1737 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
1738 * sunrpc/clnt_simp.c: Likewise.
1739 * sunrpc/getrpcport.c: Likewise.
1740 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1742 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
1743 since the value might be outside the range of the `long int'.
1744 Print string `undefined' when a value is undefined.
1746 * stdlib/l64a.c: Return correct pointer.
1747 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1749 * string/Makefile (routines): Add argz-addsep.
1750 * string/argz-addsep.c: New file.
1751 * string/argz.h: Add prototypes for argz_add_sep.
1753 * string/argz-ctsep.c: Prevent memory leak.
1755 * string/strcoll.c: Correct typo in comment.
1757 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
1759 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
1760 not general enough to be part of the libc.
1761 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
1762 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
1764 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1766 * login/Makefile: Fix typo.
1768 * nss/Makefile (generated): Filter out db-alias.c.
1770 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1772 * time/Makefile (echo-zonenames): Don't depend on non-existing
1775 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1778 * nss/nsswitch.c: Use it.
1780 * printf.h: Fix file name.
1781 * stdlib/strfmon.c: Use it.
1783 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
1785 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
1786 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
1787 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1788 Add netinet/in_systm.h.
1789 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1791 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
1793 * libio/fileops.c: Update from latest libg++.
1795 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
1797 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
1798 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
1799 instead of __libc_lock_init for streams.
1800 Reported by a sun <asun@zoology.washington.edu>.
1802 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
1804 * sysdeps/generic/errno-loc.c: New file. Generic definition of
1805 __errno_location function.
1806 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
1808 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1809 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
1812 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
1813 and crypt add-on and warn if not available.
1815 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
1817 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
1819 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
1820 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
1822 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
1823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
1824 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
1825 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
1826 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
1827 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
1829 Patch by Richard Henderson <rth@tamu.edu>.
1831 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
1832 pciconfig_read and pciconfig_write.
1833 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
1834 pciconfig_read and pciconfig_write.
1836 * login/getutent_r.c: Fix several bugs in last change.
1838 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
1840 * Makefile: Fix typo.
1842 * configure: Require autoconf-2.11.
1844 * elf/dl-deps.c: Terminate duplicate list.
1846 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
1847 * libio/strfile.h: Update from current libg++.
1848 * libio/strops.c: Likewise.
1850 * login/Makefile (routines): Update after correction of reentrant
1852 * login/endutent.c: Removed.
1853 * login/endutent_r.c: Likewise.
1854 * login/pututline.c: Likewise.
1855 * login/pututline_r.c: Likewise.
1856 * login/setutent.c: Likewise.
1857 * login/setutent_r.c: Likewise.
1858 * login/getutent.c: Update for new interface.
1859 * login/getutent_r.c: Likewise.
1860 * login/getutid.c: Likewise.
1861 * login/getutid_r.c: Likewise.
1862 * login/getutline.c: Likewise.
1863 * login/getutline_r.c: Likewise.
1864 * login/login.c: Likewise.
1865 * login/logout.c: Likewise.
1866 * login/logwtmp.c: Likewise.
1867 * login/utmp.h: Likewise.
1868 * sysdeps/unix/getlogin.c: Likewise.
1869 * sysdeps/unix/getlogin_r.c: Likewise.
1870 * login/utmp-private.h: New private header.
1871 * login/utmp_db.c: Stub DB backend for utmp handler.
1872 * login/utmp_file.c: File backend for utmp handler.
1873 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
1874 (enum utlogin): List of record types.
1875 (struct exit_status): Record to align with other implementations.
1877 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
1878 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1880 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
1882 * sysdeps/stub/getlogin.c: Update copyright.
1883 * sysdeps/stub/getlogin_r.c: Likewise.
1885 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
1886 * nss/getXXent_r.c: Likewise.
1887 * nss/nsswitch.c: Likewise.
1889 * posix/Makefile (headers): Add wait.h.
1890 * posix/wait.h: New file.
1892 * posix/sys/types.h: Always define intN_t types.
1894 * stdio-common/Makefile: Update copyright.
1895 Use -Wno-format flag for scanf4.c and scanf7.c.
1897 * stdlib/stdlib.h: Reformat.
1899 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1901 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
1902 move the current contents to the end and relocate file name
1903 pointer to upper half of the buffer.
1905 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
1907 * time/africa: Update from ADO tzdata1996m.
1908 * time/antarctica: Likewise.
1909 * time/asia: Likewise.
1910 * time/australia: Likewise.
1911 * time/etcetera: Likewise.
1912 * time/europe: Likewise.
1913 * time/nothamerica: Likewise.
1914 * time/southameria: Likewise.
1915 * time/zone.tab: Likewise.
1917 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
1918 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1920 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
1922 * posix/wait.h: New file.
1923 * posix/Makefile (headers): Add wait.h.
1925 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
1927 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
1928 expression instead of shell pattern matching.
1929 * shlib-versions: Change to regular expressions.
1931 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
1933 * io/stat.c: Add section from libgcc to copyright comment
1934 to allow this file to be statically linked in applications.
1935 * io/fstat.c: Likewise.
1936 * io/lstat.c: Likewise.
1937 * io/mknod.c: Likewise.
1939 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
1941 * csu/initfini.c: Add section from libgcc to copyright comment
1942 to allow this file to be statically linked in applications.
1944 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
1945 not already defined.
1946 (obstack_grow, obstack_grow0): Correct placement of braces.
1948 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
1949 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
1951 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1953 * Makerules (make-link): Simplify by changing directory only if
1954 not using rellns-sh; check whether we really have symbolic links.
1956 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
1957 $(dirname $1); use status of ln for exit code; make more robust
1958 against multiple slashes in a row.
1960 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1962 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
1964 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
1965 the three-part name, to distinguish correctly from *-*-linux-gnu*.
1967 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
1970 * sysdeps/mach/hurd/Makefile (install-others): Add
1972 ($(libdir)/libc_p.a): New rule.
1973 * sysdeps/mach/hurd/libc_p-ldscript: New file.
1974 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
1976 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
1978 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
1979 * time/Makefile: Likewise.
1981 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
1982 * sysdeps/alpha/elf/Dist: New file.
1983 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
1984 The bits currently distributed with GCC fail in two ways -- they don't
1985 understand multiple .got subsections and the extents of the lists are
1986 dynamicly bound meaning that the application's lists get executed
1987 multiple times and the library's lists never get executed.
1989 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1991 * stdlib/strtod.c: Fix previous change.
1993 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1995 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
1998 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
2000 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
2001 Likesie for scanf4.c
2003 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
2005 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
2006 alias of __sigsuspend.
2008 * grp/grp.h: Correct comment about POSIX compliance.
2009 * pwd/pwd.h: Likewise.
2011 * login/utmp.h: Update copyright and pretty-print prototypes.
2012 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
2013 _PATH_WTMP from utmpbits.h.
2014 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2015 * sysdeps/generic/utmpbits.h: Remove here.
2016 * sysdeps/gnu/utmpbits.h: Likewise.
2018 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
2019 Pretty-print prototypes.
2021 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
2024 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
2026 * inet/ether_hton.c: Include <string.h>.
2027 * inet/ether_ntoh.c: Likewise.
2028 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
2029 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
2031 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
2032 to define. Jim Nance reports problems building XEmacs otherwise.
2034 * resolv/gethnamaddr.c: Protect h_errno redefinition.
2035 * resolv/getnetnamadr.c: Likewise.
2036 * resolv/herror.c: Likewise.
2038 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
2039 with -traditional. Reported by Eric Youngdale. While we're at this,
2040 don't do error checking in the __ functions. This is consistent
2041 with the sysv4 definitions and seems Right.
2042 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
2043 prototype for __sigsuspend.
2044 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
2045 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
2046 * sysdeps/posix/sigpause.c: Likewise.
2047 * sysdeps/posix/sigsetmask.c: Likewise.
2048 * sysdeps/posix/sigvec.c: Likewise.
2049 * sysdeps/posix/sigintr.c: Reformat copyright.
2050 * sysdeps/posix/signal.c: Check signal number out of range since
2051 __sigismember doesn't anymore. Reformat copyright.
2052 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
2053 sigdelset, sigaction, and sigsuspend.
2055 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
2056 to the wider type before shifting.
2058 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
2059 without .set noat" in profiling hook.
2060 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2061 * sysdeps/alpha/htonl.S: Likewise.
2062 * sysdeps/alpha/htons.S: Likewise.
2063 * sysdeps/alpha/s_copysign.S: Likewise.
2064 * sysdeps/alpha/setjmp.S: Likewise.
2065 * sysdeps/alpha/stpcpy.S: Likewise.
2066 * sysdeps/alpha/strcat.S: Likewise.
2067 * sysdeps/alpha/strcpy.S: Likewise.
2068 * sysdeps/alpha/strncat.S: Likewise.
2069 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
2070 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2071 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2072 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2073 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2074 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
2075 function to __sigsuspend and add weak alias.
2076 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
2078 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
2080 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
2081 SYSCALL__ actually generated.
2083 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
2084 #define __set_errno, as several imported subsystems (eg. BIND) check
2085 that the symbol is defined.
2087 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
2089 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
2090 that manifests in GCC.
2092 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2094 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
2095 * sysdeps/posix/readv.c (readv): Likewise.
2097 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
2099 * nss/nss_dns/dns-network.c: Change return type of all functions
2101 Reported by NIIBE Yutaka.
2102 * nss/nss_dns/dns-host.c: Update copyright.
2104 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2106 * config.make.in: Remove definition of top_absdir.
2107 * configure.in: Likewise. Use $(..) instead.
2108 * Makerules (make-link): Use $(..) to find rellns-sh script.
2110 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2112 * manual/nss.texi (Name Service Switch): Fix reference to
2115 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2120 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
2122 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
2123 variable from __stat to __status to prevent shadowing.
2124 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
2125 for parameter __wait.
2126 Reported by NIIBE Yutaka.
2128 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
2130 * misc/regexp.c: New file. Implementation of obsolete interface
2131 to regular expression matcher (required in XPG4.2).
2132 * misc/regexp.h: New file. Header for above.
2133 * misc/Makefile (headers): Add regexp.h.
2134 (routines): Add regexp.c.
2137 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2139 * stdlib/tst-strtod.c (main): Add arguments for main.
2140 * stdlib/tst-strtol.c (main): Likewise.
2142 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
2144 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
2146 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
2147 and sysconfdir to /etc if $prefix is /usr.
2148 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
2150 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
2151 $(have-bash2) is yes.
2152 * elf/ldd.bash.in: Add copyright and various cleanups.
2153 * elf/ldd.sh.in: Likewise.
2155 Implement RTLD_NEXT.
2156 * elf/dlfcn.h: Define RTLD_NEXT.
2157 * elf/dl-deps.c: Build second searchlist which contains duplicates.
2158 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
2159 for RTLD_NEXT lookup.
2160 Rewrite _dl_lookup_symbol to put common parts for both lookup
2161 functions in a separate function.
2162 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
2163 * elf/link.h (struct link_map): Add l_dupsearchlist and
2165 Add prototype for _dl_lookup_symbol_skip.
2167 * sunrpc/Makefile (rpcsvc): Add rusers.
2168 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
2169 * sunrpc/rpcsvc/rusers.x: New file.
2171 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
2173 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
2174 __libc_lock_init for local lock.
2175 Reported by a sun <asun@zoology.washington.edu>.
2176 [!USE_IN_LIBIO] (PAD): Optimize a bit.
2178 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
2180 * db/makedb.c: Update and reformat copyright.
2181 * elf/Makefile: Likewise.
2182 * elf/dl-close.c: Likewise.
2183 * elf/dl-debug.c: Likewise.
2184 * elf/dl-deps.c: Likewise.
2185 * elf/dl-error.c: Likewise.
2186 * elf/dl-fini.c: Likewise.
2187 * elf/dl-init.c: Likewise.
2188 * elf/dl-load.c: Likewise.
2189 * elf/dl-lookup.c: Likewise.
2190 * elf/dl-minimal.c: Likewise.
2191 * elf/dl-object.c: Likewise.
2192 * elf/dl-open.c: Likewise.
2193 * elf/dl-reloc.c: Likewise.
2194 * elf/dl-runtime.c: Likewise.
2195 * elf/dl-support.c: Likewise.
2196 * elf/dl-symbol.c: Likewise.
2197 * elf/dladdr.c: Likewise.
2198 * elf/dlclose.c: Likewise.
2199 * elf/dlerror.c: Likewise.
2200 * elf/dlopen.c: Likewise.
2201 * elf/dlsym.c: Likewise.
2202 * elf/do-rel.h: Likewise.
2203 * elf/dynamic-link.h: Likewise.
2204 * elf/eval.c: Likewise.
2205 * elf/rtld.c: Likewise.
2206 * inet/ether_hton.c: Likewise.
2207 * inet/ether_ntoh.c: Likewise.
2208 * inet/ether_line.c: Likewise.
2209 * inet/getnetgrent_r.c: Likewise.
2211 * inet/Makefile (+gccwarn): Remove definition.
2212 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
2214 * inet/aliases.h: Add C++ protection.
2215 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
2216 (ether_hostton): Remove unused variable result.
2217 * inet/ether_ntoh.c: Likewise.
2218 * inet/ether_line.c: Include <ctype.h> and <string.h>.
2219 * inet/getnetgrent_r.c: Include <stdlib.h>.
2220 Use casts to prevent warnings.
2221 (innetgr): Initialize `known' and `needed'.
2222 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
2223 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
2224 return NULL. Instead set *RESULT to NULL and return -1.
2225 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
2226 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
2228 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
2231 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
2233 * sysdeps/posix/readv.c: Don't use PTR anymore.
2234 * sysdeps/posix/writev.c: Likewise.
2236 * version.h (VERSION): Bump to 1.98.
2238 * nss/db-Makefile: Generate lines for getXXXent iteration.
2240 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
2241 divqu.S, remlu.S, and remqu.S.
2243 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2245 * posix/unistd.h: Correct typo in documentation.
2247 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
2249 * inet/netinet/tcp.h: Use __ protected versions instead of
2250 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
2252 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
2254 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
2255 references in libc.so are not anymore undefined.
2257 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2259 * io/utime.h: Rename second parameter for utime to prevent warning
2261 * dirent/dirent.h: Same here for scandir prototype.
2262 * math/mathcalls.h: Likewise for frexp and ldexp.
2263 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
2265 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
2267 * stdlib/tst-strtod.c: Add test for error case below.
2269 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
2271 * stdlib/strtod.c: Recognize numbers like 0e-19.
2273 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2275 * time/Makefile ($(installed-localtime-file)): Fix path to
2278 * Makefile: Don't generate and install gnu/lib-names.h if
2279 $(build-shared) is not `yes'.
2281 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
2283 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
2284 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
2286 * Makerules (REAL_MAKE_VERSION): New, use it instead of
2289 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2291 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
2292 * nss/getXXent_r.c: Fix typo. Set correct return value when
2293 no further service is available.
2295 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
2297 * db/recno/rec_put.c: Add cast to avoid warning.
2298 * db/recno/rec_close.c: Likewise.
2299 * db/mpool/mpool.c: Likewise.
2300 * db/hash/hash_bigkey.h: Likewise.
2301 * db/hash/hash.c: Likewise.
2302 * db/btree/bt_split.c: Likewise.
2303 * db/btree/bt_put.c: Likewise.
2305 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
2307 * dirent/dirent.h: Update copyright.
2308 * elf/elf.h: Likewise.
2309 * elf/link.h: Likewise.
2310 * gmon/sys/gmon_out.h: Likewise.
2311 * gnu-versions.h: Likewise.
2312 * intl/libintl.h: Likewise.
2313 * io/fcntl.h: Likewise.
2314 * io/ftw.h: Likewise.
2315 * io/sys/statfs.h: Likewise.
2316 * io/utime.h: Likewise.
2317 * locale/langinfo.h: Likewise.
2318 * malloc/malloc.h: Likewise.
2319 * malloc/obstack.h: Likewise.
2320 * misc/ar.h: Likewise.
2321 * misc/error.h: Likewise.
2322 * misc/mntent.h: Likewise.
2323 * misc/sgtty.h: Likewise.
2324 * misc/sys/cdefs.h: Likewise.
2325 * misc/sys/dir.h: Likewise.
2326 * misc/sys/file.h: Likewise.
2327 * misc/sys/ioctl.h: Likewise.
2328 * misc/sys/ustat.h: Likewise.
2329 * posix/fnmatch.h: Likewise.
2330 * posix/getopt.h: Likewise.
2331 * posix/glob.h: Likewise.
2332 * posix/posix2_lim.h: Likewise.
2333 * posix/regex.h: Likewise.
2334 * posix/sys/times.h: Likewise.
2335 * posix/sys/types.h: Likewise.
2336 * posix/sys/utsname.h: Likewise.
2337 * posix/tar.h: Likewise.
2338 * posix/wordexp.h: Likewise.
2339 * resource/sys/resource.h: Likewise.
2340 * resource/sys/vlimit.h: Likewise.
2341 * resource/sys/vtimes.h: Likewise.
2342 * socket/sys/socket.h: Likewise.
2343 * socket/sys/un.h: Likewise.
2344 * stdio-common/printf.h: Likewise.
2345 * stdlib/alloca.h: Likewise.
2346 * string/argz.h: Likewise.
2347 * string/endian.h: Likewise.
2348 * string/envz.h: Likewise.
2349 * string/memory.h: Likewise.
2350 * string/strings.h: Likewise.
2351 * sysdeps/generic/crypt.h: Likewise.
2352 * sysdeps/generic/direntry.h: Likewise.
2353 * sysdeps/generic/gnu/types.h: Likewise.
2354 * sysdeps/generic/ioctl-types.h: Likewise.
2355 * sysdeps/generic/netinet/in.h: Likewise.
2356 * sysdeps/generic/resourcebits.h: Likewise.
2357 * sysdeps/generic/sigset.h: Likewise.
2358 * sysdeps/generic/sockaddrcom.h: Likewise.
2359 * sysdeps/generic/sys/mman.h: Likewise.
2360 * sysdeps/generic/sys/ptrace.h: Likewise.
2361 * sysdeps/generic/termbits.h: Likewise.
2362 * sysdeps/generic/waitstatus.h: Likewise.
2363 * sysdeps/ieee754/huge_val.h: Likewise.
2364 * sysdeps/ieee754/nan.h: Likewise.
2365 * sysdeps/mach/hurd/local_lim.h: Likewise.
2366 * sysdeps/mach/hurd/statbuf.h: Likewise.
2367 * sysdeps/stub/huge_val.h: Likewise.
2368 * sysdeps/stub/libc-lock.h: Likewise.
2369 * sysdeps/stub/signum.h: Likewise.
2370 * sysdeps/stub/statbuf.h: Likewise.
2371 * sysdeps/stub/waitflags.h: Likewise.
2372 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
2373 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
2374 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2375 * sysdeps/unix/bsd/signum.h: Likewise.
2376 * sysdeps/unix/bsd/statbuf.h: Likewise.
2377 * sysdeps/unix/bsd/sun/signum.h: Likewise.
2378 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
2379 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2380 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
2381 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2382 * sysdeps/unix/bsd/waitflags.h: Likewise.
2383 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
2384 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
2385 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2386 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2387 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
2388 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
2389 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
2390 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
2391 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
2392 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2393 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
2394 * sysdeps/unix/sysv/linux/signum.h: Likewise.
2395 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
2396 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2397 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2398 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2399 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2400 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
2401 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
2402 * sysdeps/unix/sysv/local_lim.h: Likewise.
2403 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
2404 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
2405 * sysdeps/unix/sysv/signum.h: Likewise.
2406 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
2407 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
2408 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
2409 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
2410 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
2411 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
2412 * sysdeps/vax/huge_val.h: Likewise.
2413 * values.h: Likewise.
2415 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
2417 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
2418 `memcpy' using bcopy if memcpy is not available.
2420 * manual/stdio.texi: Correct description of printf customization.
2421 The argument info function is not optional anymore and the
2422 interface for `printf_function' also changed.
2423 * manual/examples/rprintf.c: Define and use argument info function.
2425 * stdio-common/printf.h (struct printf_info): Change type for field
2427 Correct comment for `register_printf_function'.
2429 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
2430 to reentrant function. Instead use temporary variable and set
2431 h_errno if an error occured.
2432 Reported by NIIBE Yutaka.
2434 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2436 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
2437 S_ITRANS): New macros.
2438 (S_ISPARE): Update to include new macros and S_IUSEUNK.
2440 * sysdeps/mach/hurd/select.c (__select): Construct arg to
2441 mach_msg_destroy more nicely.
2443 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
2445 * stdio/fopen.c (__getmode): Declare with prototype.
2446 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
2447 * stdio/internals.c (__stdio_check_funcs, init_stream,
2448 seek_to_target, flushbuf, fillbuf): Likewise.
2450 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
2451 funlockfile, not _IO_funlockfile.
2453 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
2455 * sysdeps/posix/writev.c (writev): Likewise.
2457 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
2459 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2461 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
2462 prototyped definition.
2464 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
2465 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
2467 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
2469 * inet/Makefile (headers): Add aliases.h.
2470 (routines): Add getaliasent_r, getaliasent, getaliasname, and
2472 * aliases.h: New file.
2473 * inet/aliases.h: New file.
2474 * inet/getaliasent.c: New file.
2475 * inet/getaliasent_r.c: New file.
2476 * inet/getaliasname.c: New file.
2477 * inet/getaliasname_r.c: New file.
2478 * nss/Makefile (databases): Add alias.
2479 * nss/alias-lookup.c: New file.
2480 * nss/databases.def: Add aliases and publickey.
2481 * nss/nss_db/db-alias.c: New file.
2482 * nss/nss_files/files-alias.c: New file.
2484 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
2485 argument to lookup function is of type size_t.
2486 (innetgr): Likewise.
2487 * nss/getXXbyYY_r.c: Likewise.
2488 * nss/getXXent_r.c: Likewise.
2489 * nss/nss_db/db-XXX.c: Likewise.
2491 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
2492 failed because buffer was too small.
2493 * nss/getXXent.c: Likewise.
2495 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
2496 getXXent_r function now uses f[gs]etpos to get to the correct
2499 * nss/nss_files/files-parse.c: Indent lines for better readability.
2501 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
2502 and new function print_and_abort. Remove all references to
2504 Add new function _obstack_memory_used.
2505 * malloc/obstack.h (struct obstack): Remove field alloc_field.
2506 Remove all references to alloc_failed field.
2507 Add prototype for _obstack_memory_used.
2509 * posix/unistd.h: Correct typo.
2511 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
2513 * configure.in: Require at least autoconf-2.10.2.
2515 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2517 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
2520 * mach/msg-destroy.c (mach_msg_destroy_port,
2521 mach_msg_destroy_memory): Use prototype syntax.
2522 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
2523 malloc_fork_parent, malloc_fork_child): Likewise.
2525 * stdio/stdio.h: Repair broken cpp syntax.
2527 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
2528 we pass O_NOLINK on the open.
2530 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
2531 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
2532 an XOPEN error code, move to before the "Linux only" section, and
2533 give it a new number for the Hurd.
2535 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
2537 * malloc/obstack.h: Add new macro `obstack_make_room'.
2538 * malloc/obstack.c: Add function implementation for
2539 `obstack_make_room'.
2541 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2543 Update to BIND-4.9.5-REL.
2544 * resolv/Banner: Set to 4.9.5-REL.
2545 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
2546 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
2549 * config.make.in: Add definition for top_absdir.
2550 * Makerules (make-link): Fix path to rellns-sh script.
2552 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2554 * posix/unistd.h: Fix comment.
2556 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
2557 when talking about numbers.
2558 * manual/users.texi: Likewise.
2559 * manual/creature.texi: Likewise. Use @defvarx for a secondary
2562 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2564 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
2565 the real posix1_lim.h file so that it works in all subdirs, not
2568 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2570 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
2572 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2574 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
2575 on $(before-compile) which hasn't been properly setup yet at this
2578 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2580 * sysdeps/generic/sigset.h: Don't use implicit int which will
2581 probably require a diagnostic in the next revision of the C
2583 * sysdeps/stub/lockfile.c: Likewise.
2585 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2587 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
2588 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2590 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
2592 * time/strftime.c: Update copyright. Small cosmetic changes.
2594 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
2596 * inet/getprtname_r.c: Reformat copyright.
2598 * nss/Makefile (databases): Add key.
2599 (libnss_files-routines): Exclude key database.
2600 (libnss_db-routines): Likewise.
2601 * nss/key-lookup.c: New file.
2603 * nss/getXXent_r.c (last_nip): Remember last service used since
2605 (SETFUNC): Don't force to work through whole list of services in
2607 Update last_nip if necessary.
2608 (ENDFUNC): Only process endXXent function up to currently used
2610 (GETFUNC): Update last_nip if necessary.
2612 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
2615 * rpc/auth_des.h: New file.
2616 * sunrpc/Makefile (headers): Add auth_des.h.
2617 (routines): Add publickey.
2618 * sunrpc/publickey.c: New file. Interface to public key handling.
2619 * sunrpc/rpc/auth_des.h: New file.
2620 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
2622 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
2624 * inet/gethstent_r.c: Update copyright.
2625 * nss/getXXbyYY_r.c: Likewise.
2626 * nss/nsswitch.c: Likewise.
2627 * nss/getXXent_r.c: Likewise.
2628 * nss/nss_files/files-XXX.c: Likewise.
2629 * nss/nss_files/files-netgroup.c: Likewise.
2630 * nss/nss_files/files-parse.c: Likewise.
2632 * nss/getXXent_r.c: Change implementation. It's not necessary to
2633 call all setXXent functions. Just find first available and
2634 when necessary let getXXent_r call the others.
2636 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
2637 of getXXent and getXXbyYY can be mixed. The cursor for traversing
2638 the database with getXXent will be remembered.
2640 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
2642 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
2644 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
2645 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
2647 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
2649 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
2651 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
2652 set. Instead for none beside the first seven bits to be set.
2653 X/Open allows the argument to be an `int' value.
2654 Reported by Alain Williams <addw@phcomp.co.uk>.
2655 (toascii, isascii): Define macro also when __USE_XOPEN.
2657 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
2660 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
2662 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
2663 NULL so that GETFUNC will see first entry.
2664 (ENDFUNC_NAME): Likewise.
2666 Rewrite Netgroups implementation to avoid global data.
2667 * inet/netgroup.h: Add definition of name_list and struct
2669 Add prototypes for internal netgroup functions.
2670 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
2671 extra argument and use the included data instead of global vars.
2672 (_nss_files_endnetgrent): Likewise.
2673 (_nss_netgroup_parseline): Change to be static and use data
2674 included in the RESULT structure.
2675 * inet/getnetgrent_r.c (startp): Move into setup function.
2676 (known_groups, needed_groups): new part of the __netgrent sruct.
2677 (freememory): Take extra argument and use included data.
2678 (__internal_endnetgrent): Likewise.
2679 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
2680 and take extra argument.
2681 (__internal_setnetgrent): New function. Call
2682 __internal_setnetgrent_reuse after calling free_memory.
2683 (setnetgrent): Only call __internal_setnetgrent.
2684 (__getnetgrent_r): Split into two functions. __getnetgrent_r
2685 calls __internal_getnetgrent after locking.
2686 (innetgr): Use dynamic data only. I.e., innetgr now is fully
2689 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
2691 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
2692 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
2694 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
2696 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
2697 default when no *_SOURCE macro is given.
2698 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
2699 * NOTES: remade from manual/creature.texi.
2700 * manual/libc.texinfo: Add back line about GPL translation which
2703 * Make-dist (dist.tar): Depend on README being updated.
2705 * rellns-sh: Correct thinko in removing leading /.
2706 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2708 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
2709 with `+' or `-' in parser.
2710 * grp/fgetgrent_r.c: Likewise.
2711 * shadow/sgetspent_r.c: Likewise.
2712 * nss/nss_files/files-spwd.c: Don't accept entries starting with
2715 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
2717 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
2718 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
2720 * string/argz.h: Don't protect by __USE_GNU.
2722 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
2724 * Lots of files: Update and reformat copyright.
2726 * Makefile (headers): Add xopen_lim.h.
2728 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
2730 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
2731 if __USE_XOPEN_EXTENDED is defined.
2732 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
2733 if __USE_XOPEN_EXTENDED is defined.
2735 * io/Makefile (routines): Add lchown.
2736 * sysdeps/stub/lchown.c: New file.
2738 * io/sys/poll.h: Add definition of POLLWRNORM.
2740 * io/sys/stat.h: Declare lstat, fchmod, mknod when
2741 __USE_XOPEN_EXTENDED is defined.
2743 * libio/Makefile (routines): Add obprintf.
2744 * libio/obprintf.c: New file.
2745 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
2747 * libio/libio.h: Fix typo.
2748 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
2749 Add prototypes for obstack_vprintf and obstack_printf.
2751 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
2752 * manual/intro.texi: Add reference to NSS chapter.
2753 * manual/libc.texinfo: Update UPDATED.
2754 Comment out `@printindex cp'. It works again.
2755 * manual/memory.texi: Add description for obstack_ptr_grow,
2756 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
2757 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
2758 index entries to @vindex.
2759 * manual/users.texi: Correct @cindex entry for Netgroup.
2761 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
2762 make declarations visible for X/Open sources.
2764 * misc/search.h: Declare insque/remque only is __USE_SVID or
2765 __USE_XOPEN_EXTENDED is defined.
2767 * misc/sys/uio.h (readv, writev): Change return value from int to
2770 * posix/Makefile (headers): Add re_comp.h.
2771 * posix/re_comp.h: New file. XPG interface to regex functions.
2773 * posix/getconf.c: Add all names from XPG4.2.
2774 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
2775 and _POSIX_OPEN_MAX to minimums from XPG4.2.
2776 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
2777 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
2778 * sysdeps/stub/sysconf.c: Likewise.
2780 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
2781 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
2782 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
2783 ftruncate, getdtablesize, brk, sbrk, lockf when
2784 __USE_XOPEN_EXTENDED is defined.
2786 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
2788 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
2789 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
2790 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2792 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
2793 __USE_XOPEN_EXTENDED is defined.
2795 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
2797 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
2799 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
2802 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
2803 and rindex available when __USE_XOPEN_EXTENDED is defined.
2805 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
2806 * sysdeps/posix/getpagesize.c: Likewise.
2807 * sysdeps/stub/getpagesize.c: Likewise.
2808 * sysdeps/unix/getpagesize.c: Likewise.
2810 * time/africa: Update from tzdata1996l.
2811 * time/asia: Likewise.
2812 * time/australia: Likewise.
2813 * time/europe: Likewise.
2814 * time/northamerica: Likewise.
2815 * time/pacificnew: Likewise.
2816 * time/southamerica: Likewise.
2817 * time/tzfile.h: Update from tzcode1996m.
2819 * time/time.h: Declare strptime if __USE_XOPEN.
2820 Declare daylight and timezone also if __USE_XOPEN.
2822 * time/sys/time.h: Remove declaration of ualarm.
2824 * wctype/wctype.h: Just reference ISO C standard.
2826 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
2828 * crypt/Makefile: Add crypt routines to libc as well iff
2829 $(crypt-in-libc) is set. Do this for temporary binary compatibility
2830 on existing Linux/Alpha installations.
2832 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
2833 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
2834 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
2835 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
2837 * sysdeps/alpha/div.S: New file.
2838 * sysdeps/alpha/ldiv.S: New file.
2839 * sysdeps/alpha/lldiv.S: New file.
2840 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
2841 Take pointers from Linus and tighten the inner loops a bit.
2842 * sysdeps/alpha/divl.S: Change defines for merged routines.
2843 * sysdeps/alpha/divq.S: Likewise.
2844 * sysdeps/alpha/reml.S: Likewise.
2845 * sysdeps/alpha/remq.S: Likewise.
2846 * sysdeps/alpha/divlu.S: Remove file.
2847 * sysdeps/alpha/divqu.S: Likewise.
2848 * sysdeps/alpha/remlu.S: Likewise.
2849 * sysdeps/alpha/remqu.S: Likewise.
2851 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
2852 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2853 * sysdeps/alpha/bzero.S: Likewise.
2854 * sysdeps/alpha/ffs.S: Likewise.
2855 * sysdeps/alpha/htonl.S: Likewise.
2856 * sysdeps/alpha/htons.S: Likewise.
2857 * sysdeps/alpha/memchr.S: Likewise.
2858 * sysdeps/alpha/memset.S: Likewise.
2859 * sysdeps/alpha/s_copysign.S: Likewise.
2860 * sysdeps/alpha/s_fabs.S: Likewise.
2861 * sysdeps/alpha/setjmp.S: Likewise.
2862 * sysdeps/alpha/stpcpy.S: Likewise.
2863 * sysdeps/alpha/stpncpy.S: Likewise.
2864 * sysdeps/alpha/strcat.S: Likewise.
2865 * sysdeps/alpha/strchr.S: Likewise.
2866 * sysdeps/alpha/strcpy.S: Likewise.
2867 * sysdeps/alpha/strlen.S: Likewise.
2868 * sysdeps/alpha/strncat.S: Likewise.
2869 * sysdeps/alpha/strncpy.S: Likewise.
2870 * sysdeps/alpha/strrchr.S: Likewise.
2871 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
2872 Convert two small jumps to use conditional moves.
2873 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
2874 (PSEUDO): If PROF, call _mcount.
2875 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
2876 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2877 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2878 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2879 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2880 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2881 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2883 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
2884 eventually contain memmove as well.
2885 * sysdeps/alpha/strcmp.S: New file.
2886 * sysdeps/alpha/strncmp.S: New file.
2887 * sysdeps/alpha/w_sqrt.S: New file.
2889 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
2891 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
2893 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
2895 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
2896 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
2897 Reported by Thomas Bushnell, n/BSG.
2899 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
2901 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
2903 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
2905 * malloc/calloc.c: Check for overflow before trying to allocate
2906 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
2908 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2910 * manual/llio.texi (Operating Modes): Add missing arguments to
2911 @deftypevr in O_NONBLOCK description.
2913 * manual/time.texi (Time Zone Functions): Enclose type name in
2914 braces in description of tzname. FIXME: this does not yet work
2917 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
2919 * features.h: Add X/Open macros.
2920 * posix/unistd.h: Define X/Open macros.
2921 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
2922 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
2923 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
2924 * sysdeps/posix/sysconf.c: Handle new constants.
2925 * sysdeps/stub/sysconf.c: Likewise.
2926 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
2928 * catgets/catgets.c (catopen): Set errno to ENOMEM when
2929 we run out of memory.
2930 (catgets): Set errno to EBADF when catalog handle is invalid.
2931 Set errno to ENOMSG when translation is not available.
2932 (catclose): Set errno to EBADF when catalog handle is invalid.
2934 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
2935 Likewise for _toupper and _tolower.
2937 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
2938 strtof, and strtold.
2939 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
2940 * manual/stdio.h: Document ' flag for numeric formats of scanf.
2941 * manual/users.texi: Document that cuserid shouldn't be used.
2943 * misc/Makefile (routines): Add dirname.
2944 (headers): Add libgen.h.
2945 (tests): Add tst-dirname.
2946 * misc/dirname.c: New file.
2947 * misc/libgen.h: New file.
2948 * misc/tst-dirname.c: New file.
2950 * misc/search.h: Parameter of hcreate must be of type size_t.
2951 * misc/hsearch.c: Likewise.
2952 * misc/hsearch_r.c: Likewise for hcreate_r.
2953 * misc/search.h: Parameters of insque and remque must be `void *'.
2954 * misc/insremque.c: Likewise.
2956 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
2957 * stdlib/stdlib.h: ...here.
2958 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
2961 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
2963 (parse_one_spec): Remove Linux compatibility code.
2964 Recognize %C and %S formats.
2965 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
2966 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
2967 * stdio-common/vfscanf.c: Likewise for scanf.
2969 * stdlib/l64a.c: Return value for 0 must be the empty string.
2970 * stdlib/stdlib.h: Declare reentrant function from rand49 family
2971 only if __USE_REENTRANT.
2972 Declare rand48 functions also if __USE_XOPEN.
2974 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
2976 Return 0 and set errno to EINVAL when strou* sees negativ number.
2977 * stdlib/tst-strtol.c: De-ANSI-fy.
2978 Change expected results for test of unsigned function and negative
2981 * string/stratcliff.c: Prevent warnings.
2982 * string.h: Move declaration of swab to <unistd.h>.
2983 * string/swab.c: De-ANSI-fy.
2985 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
2986 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
2987 * sysdeps/posix/mktemp.c: Likewise.
2988 * sysdeps/stub/mkstemp.c: Likewise.
2989 * sysdeps/stub/mktemp.c: Likewise.
2991 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
2993 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
2996 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
2998 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
3001 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
3003 * sysdeps/posix/cuserid.c: Use reentrant functions.
3004 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
3007 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
3009 Linus said he will make sure no system call will return a value
3010 in -1 ... -4095 as a valid result.
3011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
3012 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3013 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3014 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3016 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3018 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
3019 __funlockfile, not a circular alias.
3020 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
3023 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
3025 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
3027 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3029 * stdio-common/vfprintf.c: Include <libc-lock.h>.
3031 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3033 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
3036 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
3037 __internal_funlockfile (in terms of itself) should actually be a
3038 definition of __funlockfile.
3040 * pwd/pwd.h: Get `size_t' from <stddef.h>.
3041 * grp/grp.h: Likewise.
3042 * shadow/shadow.h: Likewise.
3044 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
3045 calls to __libc_lock_lock and __libc_lock_unlock.
3046 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
3049 * hurd/hurdsig.c (write_corefile): Fix typo.
3051 * sysdeps/mach/hurd/sigwait.c: New file.
3053 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
3055 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
3056 and __errno_location to correct position.
3058 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
3060 * Makefile (distribute): Add rellns-sh.
3061 * rellns-sh: New file.
3062 * Makerules (make-link): Use rellns-sh.
3063 * time/Makefile ($(installed-localtime-file)): Likewise.
3065 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
3067 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
3068 (distribute): Add ldd.bash.in.
3069 * elf/ldd.sh.in: Process --help and --version parameter.
3071 * elf/ldd.bash.in: New file.
3073 * stdlib/stdlib.h: Add prototype for clearenv.
3074 * sysdeps/generic/setenv.c: Add implementation of clearenv.
3075 (setenv): Handle __environ == NULL correctly.
3076 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
3079 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
3080 * sysdeps/generic/setenv.c: Likewise.
3081 * stdlib/strtol.h: Likewise.
3083 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
3084 Remove definition of struct timeval.
3085 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
3086 using `time_t' for members.
3087 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
3088 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
3089 as old Linux specific version.
3091 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
3093 * signal/Makefile (routines): Add sigwait.
3094 * signal/signal.h: Add prototype for sigwait.
3095 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
3096 function from POSIX.1c.
3097 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
3099 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
3101 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
3102 but don't bother going farther than sizeof(float)==sizeof(int).
3103 (xdr_double): Handle little-endian machines! Handle sizeof(double)
3104 != 2*sizeof(long), though again don't bother with more than int.
3106 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
3108 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
3111 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
3113 * Makerules: Create symbolic links for linking in $(libdir).
3114 (make-link): Use absolute path for destination if this is not in
3117 * elf/rtld.c (dl_main): When verifying don't check the name of
3120 * shlib-versions: Change entries for Hurd specific libs from
3121 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
3124 * assert/assert.h: Reformat copyright.
3125 Change reference to ANSI into reference to ISO C.
3126 * ctype/ctype.h: Likewise.
3127 * errno.h: Likewise.
3128 * limits.h: Likewise.
3129 * math/math.h: Likewise.
3130 * setjmp/setjmp.h: Likewise.
3131 * stdio/stdio.h: Likewise.
3132 * libio/stdio.h: Likewise.
3133 * stdlib/stdlib.h: Likewise.
3134 * string/string.h: Likewise.
3135 * time/time.h: Likewise.
3137 * string/argz.h: Use __const in definitions.
3139 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
3140 * misc/err.h: Likewise.
3142 * wctype/wctype.h (wctrans_t): Use __const instead of const.
3144 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
3145 sonames for versioned libraries.
3146 * Makefile: Remove code to generate libc-version.h.
3147 Generate gnu/lib-names.h with info from soversions.mk.
3148 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
3150 * dirent/tst-seekdir.c: Initialize save3.
3151 * grp/testgrp.c: Initialize my_group.
3153 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
3154 * grp/grp.h: Likewise.
3155 * nss/getXXbyYY.c: Likewise.
3156 * nss/getXXbyYY_r.c: Likewise.
3157 * nss/getXXent.c: Likewise.
3158 * nss/getXXent_r.c: Likewise.
3159 * pwd/fgetpwent_r.c: Likewise.
3160 * pwd/pwd.h: Likewise.
3161 * shadow/fgetspent_r.c: Likewise.
3162 * shadow/sgetspent.c: Likewise.
3163 * shadow/sgetspent_r.c: Likewise.
3164 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
3165 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
3166 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
3167 * resolv/netdb.h: Adapt prototypes for reentrant functions to
3169 * sunrpc/rpc/netdb.h: Likewise,
3170 * shadow/shadow.h: Likewise.
3172 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
3174 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
3176 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
3177 ELF aliasing creates strange situations.
3178 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
3180 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
3181 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3183 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
3186 * locale/programs/charmap.c: Add casts to prevent warnings.
3187 * locale/programs/linereader.h: Likewise.
3188 * locale/programs/ld-collate.c: Likewise.
3189 * locale/programs/stringtrans.c: Likewise.
3190 Change types for various variables to prevent warnings.
3191 * locale/programs/ld-ctype.c: Likewise.
3192 * locale/programs/linereader.h (lr_ungetc): Likewise.
3193 * locale/programs/charset.h (struct charset): Use `unsigned int'
3194 as type for width_default.
3195 * posix/regex.c: Change type of `this_reg' variables.
3196 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
3197 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
3199 * stdio-common/printf_fp.c: Initialize to_shift.
3200 * stdio-common/test_rdwr.c: Add cast.
3201 * stdio-common/vfprintf.c: Add casts and use correct types to
3203 * stdio-common/vfscanf.c: Initialize str and strptr.
3204 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
3205 * sysdeps/libm-ieee754/e_pow.c: Likewise.
3206 * sysdeps/libm-ieee754/e_powf.c: Likewise.
3207 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
3208 * time/test-tz.c: Likewise.
3210 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
3211 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
3212 libc.cp index. This must be fixed.
3213 * manual/nss.texi: Adapt for correct POSIX.1c interface of
3214 reentrant functions.
3215 * manual/users.texi: Document netgroup functions.
3217 * po/es.po: Updated.
3218 * po/fr.po: Updated.
3220 * posix/fnmatch.c: Change to match libit version.
3222 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
3223 * sysdep/posix/ttyname_r.c: Likewise.
3225 * stdlib/atexit.h (__new_exitfn): Add internal locking.
3226 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
3227 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
3228 * stdlib/random.c (__srandom): Add internal locking.
3229 (__initstate): Likewise.
3230 (__setstate): Likewise.
3231 (__random): Likewise.
3233 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3235 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
3237 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
3238 * sysdeps/generic/uname.c: Likewise.
3239 * sysdeps/posix/rename.c: Likewise.
3240 * sysdeps/stub/setrlimit.c: Likewise.
3242 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
3244 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3246 * locale/programs/ld-collate.c (collate_order_elem): Fix format
3248 (collate_element_to): Cast field width argument to `int' for
3250 (collate_symbol): Likewise.
3251 (collate_order_elem): Likewise.
3252 (collate_weight_bsymbol): Likewise.
3253 (collate_simple_weight): Likewise.
3255 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
3257 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
3258 argument for format string.
3259 (ctype_map_newP): Likewise.
3260 (set_class_defaults): Fix format string.
3262 * locale/programs/localedef.c (construct_output_path): Putting an
3263 explicit \0 into the format string does not work, use %c.
3265 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
3267 * Makerules: Install all shared libraries in $(slibdir).
3269 * login/Makefile: Build libutil.so in others pass after
3272 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
3274 * string/stratcliff.c: Allocate 3 pages instead of one, then use
3275 mprotect so that we know that the adjacent pages are inaccessible.
3277 * resource/sys/resource.h: Move all structures and enums to ...
3278 * sysdeps/generic/resourcebits.h: ... here ...
3279 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
3280 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
3281 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
3282 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
3283 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
3284 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
3285 header for RLIMIT_* definitions. The members of struct rlimit
3289 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3291 * MakeTAGS (sysdep-dirs): Fix typo.
3293 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3295 * hurd/hurdsig.c (write_corefile): If we can't create the core
3296 file, still call crash_dump_task with a null FILE arg. Maybe it
3297 won't actually need the file.
3299 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
3301 * Makefile (headers): Don't mention libc-version.h.
3302 (install-others): ...but here.
3304 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
3306 * version.h: Bump version number to 1.97.
3308 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
3309 Include libc-version.h.
3310 * features.h.in: Removed.
3311 * Makefile: Change rules to generate libc-version.h instead of
3314 * malloc/free.c: Add cast to prevent warning.
3315 * malloc/malloc-walk.c: Likewise.
3316 * malloc/ralloc.c: Likewise.
3317 * malloc/realloc.c: Likewise.
3319 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
3321 * pwd/fgetpwent_r.c: Likewise.
3322 * nss/nss_files/files-grp.c: Don't accept entries with names starting
3323 with + or - in lookup functions.
3324 * nss/nss_files/files-pwd.c: Likewise.
3326 * Makerules: Call autolock.sh using $(SHELL).
3328 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3330 * elf/dl-minimal.c: Don't define `dgettext' replacement but
3331 `dcgettext'. When optimizing the macros in <libintl.h> define
3332 `dgettext' as a macro and so this function will never be called.
3334 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
3336 * sysdeps/i386/sysdep.h: Define END to use .size when available.
3337 (PSEUDO_END): Use END.
3338 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
3339 define SYSCALL_ERROR_HANDLER before using END.
3340 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
3341 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
3342 and .size directive but PSEUDO_END.
3343 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
3344 * sysdeps/unix/sysv/linux/socket.S: Likewise.
3345 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
3346 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
3347 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
3348 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
3349 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3350 * sysdeps/i386/bsd-setjmp.S: Likewise.
3351 * sysdeps/i386/memchr.S: Likewise.
3352 * sysdeps/i386/memcmp.S: Likewise.
3353 * sysdeps/i386/setjmp.S: Likewise.
3354 * sysdeps/i386/stpcpy.S: Likewise.
3355 * sysdeps/i386/stpncpy.S: Likewise.
3356 * sysdeps/i386/strchr.S: Likewise.
3357 * sysdeps/i386/strcspn.S: Likewise.
3358 * sysdeps/i386/strpbrk.S: Likewise.
3359 * sysdeps/i386/strrchr.S: Likewise.
3360 * sysdeps/i386/strspn.S: Likewise.
3361 * sysdeps/i386/strtok.S: Likewise.
3362 * sysdeps/i386/i486/strcat.S: Likewise.
3363 * sysdeps/i386/i486/strlen.S: Likewise.
3364 * sysdeps/i386/i586/memset.S: Likewise.
3365 * sysdeps/i386/i586/strchr.S: Likewise.
3366 * sysdeps/i386/i586/strlen.S: Likewise.
3368 * sysdeps/i386/strlen.c: De-ANSI-fy.
3370 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
3371 Define dgettext if not defined to use dcgettext.
3372 * sysdeps/mach/_strerror.c: Likewise.
3374 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
3375 __syscall_error defined.
3377 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3379 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
3380 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
3381 now provided by PSEUDO_END.
3382 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3383 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3384 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3385 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3386 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
3388 * sysdeps/generic/sysdep.h (END): Provide default empty
3390 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
3392 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
3393 (PSEUDO_END): Include it here instead.
3394 (SYSCALL_ERROR_HANDLER): Remove type directive.
3395 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
3396 * sysdeps/m68k/bsd-setjmp.S: Likewise.
3397 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3398 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3399 (__syscall_error): Can't use ENTRY macro.
3401 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3403 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
3404 Set caller to EXTRA.
3406 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
3408 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
3409 to beginning of function. So libc functions can use this flag.
3410 * sysdeps/generic/_strerror.c: Don't use dgettext for message
3411 translation while `_dl_starting_up' is nonzero.
3413 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
3415 Pass parameter value to _dl_map_object.
3416 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
3417 If TRACE_MODE is nonzero don#t signal error when shared lib
3418 is not found. Instead create fake entry for link map.
3419 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
3420 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
3421 argument to _dl_map_object_deps.
3422 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
3423 _dl_map_object and _dl_map_object_deps.
3424 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
3425 and _dl_map_object_deps.
3426 When mode == trace test for l_opencount == 0 before printing
3427 link information since this means the lib is not found.
3429 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
3431 * rpm/template: Add INSTALL to %doc line to follow copyright
3432 restrictions which demand the distribution of the copyright
3433 messages in INSTALL even for binary distributions.
3435 * features.h: Rename to...
3436 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
3437 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
3438 and __GNU_LIBRARY_INTERFACE__.
3439 * Makefile ($(objpfx)features.h): New rule to generate features.h
3440 from template features.h.in.
3442 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
3444 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
3446 * locale/programs/linereader.c (lr_open): Cast away const before free.
3447 (lr_close): Likewise.
3449 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
3450 * misc/paths.h: Move to ...
3451 * sysdeps/generic/paths.h: ... here.
3453 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
3454 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
3456 * nss/nss_db/db-netgrp.h: Include <string.h>.
3458 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
3459 _sys_siglist, which result in the "Unknown signal" message.
3460 * string/strsignal.c: Likewise.
3461 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
3462 don't auto-generate siglist.c.
3463 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
3464 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
3465 autogenerate makes bootstrapping and cross-compiling much easier.
3466 * sysdeps/unix/sysv/linux/siglist.h: New file.
3468 * stdlib/longlong.h: Prototype __udiv_qrnnd.
3470 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
3471 sys/io.h. It is already added in .../linux/Makefile.
3473 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
3474 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
3475 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
3477 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
3479 Add implementation of POSIX.1g function getaddrinfo.
3480 * posix/Makefile (routines): Add getaddrinfo.
3481 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
3483 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
3484 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
3485 related constants and structures.
3487 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
3489 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
3490 Make all old names weak alises so that they can be replaced
3493 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
3495 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
3496 __flockfile and __funlockfile.
3497 Reported by NIIBE Yutaka.