1 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
3 * signal/sigempty.c (sigemptyset): Correct typo: Empty set should
6 Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com>
8 * inet/gethstbynm.c: Include additional headers for additional
9 code in nss/digits_dots.c.
10 * inet/gethstbynm_r.c: Likewise.
11 * inet/gethstbynm2.c: Likewise.
12 * inet/gethstbynm2_r.c: Likewise.
13 * nss/digits_dots.c: New file. Handle dotted pair notation for
15 * nss/getXXbyYY.c: Include digits_dots.c to get extra code for
16 handling dotted pair notation.
17 * nss/getXXbyYY_r.c: Likewise.
20 * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.
22 * io/getwd.c: Optimized a bit.
24 * signal/signal.h: Always declare __sysv_signal.
26 * sysdeps/generic/setenv.c: Add some portability code.
28 * sysdeps/unix/sysv/fcntlbits.h: Update copyright.
30 * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel
31 to avoid using kernel headers.
32 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha
35 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't
36 mark sigreturn as EXTRA.
38 * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
39 * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version.
41 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
43 * io/fts.c (fts_alloc): Add const to second parameter of function.
45 * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
48 * signal/sigfillset.c: Include <string.h> for memset declaration.
50 Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu>
52 * sysdeps/generic/setenv.c: Fix portability problems.
54 Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com>
56 * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
57 after the last option was seen.
59 Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com>
61 * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.
63 Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
65 * io/ftw.c: Add `const' to second parameter of function given as
66 second parameter to ftw.
67 * io/ftw.h: Likewise for prototype.
68 Reported by Ronald F. Guilmette <rfg@monkeys.com>.
70 Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk>
72 * inet/Makefile (headers): Add netinet/ip.h.
73 * inet/netinet/ip.h: New file, contains BSD definitions for struct
76 Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
78 * string/string.h (strnlen): Add cast for C++.
80 Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com>
82 * Makefile (install-bin): Define as glibcbug to install script.
83 (glibcbug): New rules. Create from glibcbug.in.
84 * configure.in (AC_OUTPUT): Generate glibcbug script.
85 * glibcbug.in: New file.
86 * version.c: Mention glibcbug to report bugs.
87 * catgets/gencat.c: Likewise.
88 * db/makedb.c: Likewise.
89 * locale/programs/locale.c: Likewise.
90 * locale/programs/localedef.c: Likewise.
91 * elf/ldd.bash.in: Likewise.
92 * elf/ldd.sh.in: Likewise.
93 * intl/locale.alias: Likewise.
95 * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c.
97 * set-init.c: Update and reformat copyright.
98 * version.c: Likewise.
99 * signal/sigaddset.c: Likewise.
100 * signal/sigdelset.c: Likewise.
101 * signal/sigempty.c: Likewise.
102 * signal/sigfillset.c: Likewise.
103 * signal/siggetmask.c: Likewise.
104 * signal/sigismem.c: Likewise.
105 * sysdeps/generic/speed.c: Likewise.
106 * sysdeps/unix/getdents.c: Likewise.
107 * sysdeps/unix/xmknod.c: Likewise.
108 * sysdeps/unix/bsd/poll.c: Likewise.
109 * sysdeps/unix/bsd/tcdrain.c: Likewise.
110 * sysdeps/unix/bsd/tcflow.c: Likewise.
111 * sysdeps/unix/bsd/tcflush.c: Likewise.
112 * sysdeps/unix/bsd/tcgetpgrp.c: Likewise.
113 * sysdeps/unix/bsd/tcsendbrk.c: Likewise.
114 * sysdeps/unix/bsd/tcsetpgrp.c: Likewise.
115 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
116 * sysdeps/unix/sysv/getdents.c: Likewise.
117 * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
118 * termios/Makefile: Likewise.
119 * termios/cfmakeraw.c: Likewise.
120 * termios/cfsetspeed.c: Likewise.
122 * version.h: Bump VERSION to 1.100.
124 * intl/finddomain.c: Defining stpcpy function isn't necessary.
126 * libio/genops.c (_IO_init): Use _IO_lock_init instead of
127 _IO_lock_init_recursive.
128 * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead
131 * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead
133 * locale/programs/ld-collate.c: Likewise.
134 * locale/programs/simple-hash.c: Likewise.
136 * misc/Makefile (headers): Add selectbits.h.
137 * misc/sys/select.h: Include <selectbits.h> to get necessary
139 * sysdeps/generic/selectbits.h: New file. Generic macros for
140 handling file descriptor sets.
141 * sysdeps/i386/selectbits.h: New file. i386 specific macros for
142 handling file descriptor sets.
143 * sysdeps/generic/gnu/types.h: Remove _FD_* macros.
145 * misc/mntent_r.c: Fix handling of multiple, comma-separated
146 options. Patch by Sai-Lai Lo <sll@orl.co.uk>.
152 * posix/getopt.c: Only use the bash generated environment variable
153 to determine non-option parameters when using in GNU libc and if
154 the argument vector given to getopt is the same as given to the
157 * posix/unistd.h [__USE_GNU]: Declare environ.
159 * posix/sys/types.h (key_t): Also define when __USE_XOPEN.
161 * resolv/res_debug.c: Add casts to prevent warnings.
162 * resolv/res_query.c: Likewise.
164 * resolv/nss_dns/dns-host.c: Change type for buffer size arguments
166 * resolv/nss_dns/dns-network.c: Likewise.
168 * signal/sigempty.c: Use memset to initialize variable.
169 * signal/sigfillset.c: Likewise.
171 * signal/signal.h: Change back handling of signal. The BSD
172 version is preferred and the new sysv_signal is used when
174 * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID
176 * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD
178 * sysdpes/posix/sigpause.c: Correct comment.
179 * sysdeps/stub/sigpause.c: Provide default implementation.
180 * signal/Makefile (routines): Remove bsd_signal, add sysv_signal.
182 * sysdeps/generic/abort.c: Allow repeated calls to abort if
183 a user defined handler for SIGABRT is installed.
185 * sysdeps/stub/libc-lock.h: Define separate set of macros for
186 handling recursive mutexes.
188 * sysdeps/unix/Makefile: Change rule to generate syscall.h file
189 so that it is generate in the sys/ subdir.
191 * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h.
192 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and
195 * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from
196 kernel. Define own version with additional field d_type.
197 * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent
198 entries after reading from kernel.
200 * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers.
201 Define types based on kernel types except for uid_t, gid_t, mode_t,
202 dev_t which are larger now.
203 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
205 * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include
206 <linux/termios.h>. Define structure here.
207 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise.
208 * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define
209 architecture dependent struct termio type.
210 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise.
211 * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type.
212 * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array
215 * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header.
216 * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
217 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
218 * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
219 * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
220 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
221 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
222 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
224 * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
225 Change definitions to fit new dev_t definition.
227 * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
228 Rename ustat to s_ustat since wrapper is needed.
230 * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from
231 kernel rewrite it to userland level data format.
232 * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change
233 data format to kernel format.
234 * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of
235 device parameter to format needed by kernel.
236 * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
237 * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic
238 version to change device parameter to format needed by kernel.
239 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
241 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific
242 definition of accounting structure.
244 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
245 Patch by Andreas Schwab.
247 * time/ap.c: Include <mcheck.h>.
249 * time/tzset.c (__tzset_internal): Change to take one argument
250 which tells whether examining of TZ is always wanted or only if
251 no initialization happened before.
252 * time/localtime.c: (localtime, __localtime_r): Change for new
253 __tzset_internal form.
255 * time/sys/time.h: Include <sys/select.h> to get select related
258 Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu>
260 * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
263 Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
265 * misc/getpass.c: Make sure the content of the input buffer is not
266 printed if the getpass function is interrupted.
268 Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com>
270 * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.
272 Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com>
274 * sysdeps/generic/abort.c: Include <string.h> for memset decl.
276 * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
277 <string.h> so memset is declared.
279 Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com>
281 * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.
283 * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
286 * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts.
287 * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun
290 * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant
291 macros, for Sun extensions.
292 (DT_EXTRATAGID): New macro to convert Sun extension tag values placed
293 near the top of the processor-specific range into zero-origin indices.
295 * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.
297 Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de>
299 * libio/fcloseall.c: Include stdio.h for prototype declaration for
302 Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
304 * sysdeps/posix/signal.c: Provide ignorable definitions of
305 SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
308 Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
310 * MakeTAGS ($P/siglist.pot): Delete rule.
311 (XGETTEXTFLAGS-siglist.pot): Remove definition.
312 (all-pot): Remove $P/siglist.pot.
313 * sysdeps/unix/siglist.c: Mark strings as translatable.
314 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
316 Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
318 * misc/syscall.h: New file.
319 * misc/sys/syscall.h: Removed. Forwarding to <syscall.h> might
320 find user header, so do it the other way round.
321 * sysdeps/mach/sys/syscall.h: Moved here from parent directory.
322 * sysdeps/stub/sys/syscall.h: Likewise.
323 * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
324 * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise.
325 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update
327 * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of
330 Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
332 * features.h: Fix typo.
334 Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com>
336 * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.
338 Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
340 * libio/Makefile (routines): Add fcloseall.
341 * libio/fcloseall.c: New file.
342 * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
343 * libio/iofclose.c: Don't close all streams when argument is NULL.
345 * stdio/Makefile (routines): Add fcloseall.
346 * stdio/fcloseall.c: New file.
347 * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
348 * stdio/fclose.c: Don't close all streams when argument is NULL.
350 * manual/stdio.texi: Document fcloseall.
352 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
355 * socket/sys/un.h (SUN_LEN): Add cast.
357 * sunrpc/auth_unix.c (authunix_create): Change parameter types
358 of uid, gid, and aup_gids to uid_t and gid_t respectively.
359 (authunix_create_default): Likewise.
360 (authunix_refresh): Correct cast for aup_gids assignment.
361 * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration.
362 * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field
363 types to uid_t and gid_t respectively.
364 (struct short_hand_verf): Likewise.
365 Reported by Andreas Schwab.
367 * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets
369 * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
372 * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler
373 version of pow() function.
374 * sysdeps/libm-i387/e_powf.S: New file. Float version.
375 * sysdeps/libm-i387/e_powl.S: New file. Long double version.
377 * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler
378 version of expm1() function.
379 * sysdeps/libm-i387/s_expm1f.S: New file. Float version.
380 * sysdeps/libm-i387/s_expm1l.S: New file. Long double version.
382 * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf.
383 Better handling of computation stack from current NetBSD sources.
384 * sysdeps/libm-i387/e_expf.S: Likewise.
385 * sysdeps/libm-i387/e_expl.S: Likewise.
387 * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp.
388 * sysdeps/libm-i387/e_logf.S: Likewise.
389 * sysdeps/libm-i387/e_logl.S: Likewise.
390 * sysdeps/libm-i387/e_log10.S: Likewise.
391 * sysdeps/libm-i387/e_log10f.S: Likewise.
392 * sysdeps/libm-i387/e_log10l.S: Likewise.
393 * sysdeps/libm-i387/s_asinh.S: Likewise.
394 * sysdeps/libm-i387/s_asinhf.S: Likewise.
395 * sysdeps/libm-i387/s_asinhl.S: Likewise.
396 * sysdeps/libm-i387/s_significandl.S: Likewise.
398 * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify
399 stack pointer directly. Use 32 bit instead of 16 bit operations.
400 * sysdeps/libm-i387/s_ceilf.S: Likewise.
401 * sysdeps/libm-i387/s_ceill.S: Likewise.
402 * sysdeps/libm-i387/s_floor.S: Likewise.
403 * sysdeps/libm-i387/s_floorf.S: Likewise.
404 * sysdeps/libm-i387/s_floorl.S: Likewise.
406 * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile.
407 * sysdeps/libm-ieee754/e_expf.c: Likewise.
408 * sysdeps/libm-ieee754/e_powf.c: Likewise.
409 From current NetBSD sources.
411 * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize
412 `a' and `b' in definition.
413 * sysdeps/libm-ieee754/e_hypotf.c: Likewise.
415 * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double
417 * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double
419 * sysdeps/stub/e_hypotl.c: Removed. We have a real version now.
420 * sysdeps/stub/e_sinhl.c: Removed.
422 * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of
423 sigaddset. Reported by Andreas Schwab.
424 (__default_sigpause): New function. Call __sigpause as BSD version.
425 Make this the default function by providing alias sigpause.
426 * sysdeps/stub/sigpause.c (__default_sigpause): New funciton.
427 Simply fail. Provide alias sigpause.
429 Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
431 * po/es.po: Update for glibc-1.98.
432 * po/fr.po: Likewise.
433 * po/sv.po: New file. Swedish translation.
435 Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
437 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
440 Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
442 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
443 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
445 Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
447 * Makefile (subdirs): Move `elf' last so that librtld.so isn't
448 relinked in the `make others' pass if an add-on adds something to
451 Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
453 * sysdeps/m68k/abort-instr.h: New File.
455 Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
457 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
460 Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
462 * resolv/Makefile (subdirs-dirs): Define.
464 Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
466 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
468 Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
470 Update from ADO tzcode1996o.
471 * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit
472 according to ADO version.
473 * time/zic.c: Correct typo is message.
475 Update from ADO tzdata1996n.
476 * time/asia: Updated.
477 * time/australasia: Likewise.
478 * time/europe: Likewise.
479 * time/northamerica: Likewise.
480 * time/southamerica: Likewise.
482 Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
484 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
487 * features.h: Rename ANSI C to ISO C.
488 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
490 * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION.
491 * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check
492 whether we can elide the code.
493 * posix/getopt1.c: Likewise.
494 * posix/Makefile: Correct copyright.
496 * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
498 * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if
500 * elf/eval.c: Use __getline instead of getline.
501 * elf/rtld.c (dl_main): Check return value of _dl_new_object
503 * sysdeps/generic/dl-cache.c: Update copyright.
505 * signal/Makefile: Correct copyright.
506 (routines): Remove gsignal and ssignal. Add bsd_signal.
507 * signal/gsignal.c: Removed. Now is made an alias.
508 * signal/ssignal.c: Likewise.
509 * sysdeps/posix/raise.c: Add alias gsignal.
510 * sysdeps/stub/raise.c: Likewise.
511 * sysdeps/posix/signal.c: Add alias ssignal.
512 * sysdeps/stub/signal.c: Likewise.
513 * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal
515 * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG
516 function. This is the old signal.c file.
517 * sysdeps/posix/signal.c: Change to have semantic of X/Open.
519 * sysdeps/unix/sysv/linux/signal.c: Add explanation.
521 * socket/sys/un.h: Define SUN_LEN according to POSIX.1g.
523 * stdio-common/Makefile (tests): Add scanf10.
524 * stdio-common/scanf10.c: New file.
525 * stdio-common/vfscanf.c: Decrement counter if EOF is read while
528 * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END.
529 * sysdeps/libm-i387/e_acosl.S: Likewise.
530 * sysdeps/libm-i387/e_asin.S: Likewise.
531 * sysdeps/libm-i387/e_asinl.S: Likewise.
532 * sysdeps/libm-i387/e_atan2.S: Likewise.
533 * sysdeps/libm-i387/e_atan2f.S: Likewise.
534 * sysdeps/libm-i387/e_atan2l.S: Likewise.
535 * sysdeps/libm-i387/e_exp.S: Likewise.
536 * sysdeps/libm-i387/e_expl.S: Likewise.
537 * sysdeps/libm-i387/e_fmod.S: Likewise.
538 * sysdeps/libm-i387/e_fmodl.S: Likewise.
539 * sysdeps/libm-i387/e_log.S: Likewise.
540 * sysdeps/libm-i387/e_log10.S: Likewise.
541 * sysdeps/libm-i387/e_log10l.S: Likewise.
542 * sysdeps/libm-i387/e_logl.S: Likewise.
543 * sysdeps/libm-i387/e_remainder.S: Likewise.
544 * sysdeps/libm-i387/e_remainderf.S: Likewise.
545 * sysdeps/libm-i387/e_remainderl.S: Likewise.
546 * sysdeps/libm-i387/e_scalb.S: Likewise.
547 * sysdeps/libm-i387/e_scalbl.S: Likewise.
548 * sysdeps/libm-i387/e_sqrt.S: Likewise.
549 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
550 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
551 * sysdeps/libm-i387/s_atan.S: Likewise.
552 * sysdeps/libm-i387/s_atanf.S: Likewise.
553 * sysdeps/libm-i387/s_atanl.S: Likewise.
554 * sysdeps/libm-i387/s_ceil.S: Likewise.
555 * sysdeps/libm-i387/s_ceilf.S: Likewise.
556 * sysdeps/libm-i387/s_ceill.S: Likewise.
557 * sysdeps/libm-i387/s_copysign.S: Likewise.
558 * sysdeps/libm-i387/s_copysignf.S: Likewise.
559 * sysdeps/libm-i387/s_copysignl.S: Likewise.
560 * sysdeps/libm-i387/s_cos.S: Likewise.
561 * sysdeps/libm-i387/s_cosf.S: Likewise.
562 * sysdeps/libm-i387/s_cosl.S: Likewise.
563 * sysdeps/libm-i387/s_finite.S: Likewise.
564 * sysdeps/libm-i387/s_finitef.S: Likewise.
565 * sysdeps/libm-i387/s_finitel.S: Likewise.
566 * sysdeps/libm-i387/s_floor.S: Likewise.
567 * sysdeps/libm-i387/s_floorf.S: Likewise.
568 * sysdeps/libm-i387/s_floorl.S: Likewise.
569 * sysdeps/libm-i387/s_ilogb.S: Likewise.
570 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
571 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
572 * sysdeps/libm-i387/s_log1p.S: Likewise.
573 * sysdeps/libm-i387/s_log1pf.S: Likewise.
574 * sysdeps/libm-i387/s_log1pl.S: Likewise.
575 * sysdeps/libm-i387/s_logb.S: Likewise.
576 * sysdeps/libm-i387/s_logbf.S: Likewise.
577 * sysdeps/libm-i387/s_logbl.S: Likewise.
578 * sysdeps/libm-i387/s_rint.S: Likewise.
579 * sysdeps/libm-i387/s_rintf.S: Likewise.
580 * sysdeps/libm-i387/s_rintl.S: Likewise.
581 * sysdeps/libm-i387/s_scalbn.S: Likewise.
582 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
583 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
584 * sysdeps/libm-i387/s_significand.S: Likewise.
585 * sysdeps/libm-i387/s_significandf.S: Likewise.
586 * sysdeps/libm-i387/s_significandl.S: Likewise.
587 * sysdeps/libm-i387/s_sin.S: Likewise.
588 * sysdeps/libm-i387/s_sinf.S: Likewise.
589 * sysdeps/libm-i387/s_sinl.S: Likewise.
591 * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values
592 near 1 to increase precision.
593 * sysdeps/libm-i387/e_log10.S: Likewise.
594 * sysdeps/libm-i387/e_log10l.S: Likewise.
595 * sysdeps/libm-i387/e_logl.S: Likewise.
597 * sysdeps/libm-i387/s_cos.S: Use testl instead of andw.
598 * sysdeps/libm-i387/s_cosl.S: Likewise.
599 * sysdeps/libm-i387/s_sin.S: Likewise.
600 * sysdeps/libm-i387/s_sinl.S: Likewise.
601 * sysdeps/libm-i387/s_tan.S: Likewise.
602 * sysdeps/libm-i387/s_tanl.S: Likewise.
604 * sysdeps/libm-i387/e_acosf.S: New file. Add float versions.
605 * sysdeps/libm-i387/e_asinf.S: Likewise.
606 * sysdeps/libm-i387/e_expf.S: Likewise.
607 * sysdeps/libm-i387/e_fmodf.S: Likewise.
608 * sysdeps/libm-i387/e_log10f.S: Likewise.
609 * sysdeps/libm-i387/e_logf.S: Likewise.
610 * sysdeps/libm-i387/e_scalbf.S: Likewise.
612 * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions.
613 * sysdeps/libm-i387/e_acoshf.S: Likewise.
614 * sysdeps/libm-i387/e_acoshl.S: Likewise.
615 * sysdeps/libm-i387/e_atanh.S: Likewise.
616 * sysdeps/libm-i387/e_atanhf.S: Likewise.
617 * sysdeps/libm-i387/e_atanhl.S: Likewise.
618 * sysdeps/libm-i387/e_asinh.S: Likewise.
619 * sysdeps/libm-i387/e_asinhf.S: Likewise.
620 * sysdeps/libm-i387/e_asinhl.S: Likewise.
622 * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels
623 for simplified handling.
625 * sysdeps/unix/sysv/linux/syscalls.list: Add query_module.
627 Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
629 * inet/rcmd.c (rcmd): Set h_errno before calling herror.
630 * inet/rexec.c (rexec): Likewise.
632 Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
634 * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
637 Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com>
639 * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range
640 -0.29 <= x <= 0.29, otherwise the old method.
641 * sysdeps/libm-i387/s_log1pf.S: Likewise.
642 * sysdeps/libm-i387/s_log1pl.S: Likewise.
644 Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com>
646 * inet/getnetgrent.c: Reformat copyright.
648 * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment.
649 (__internal_getnetgrent): Rename to __internal_getnetgrent_r as
650 required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996.
651 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
653 * nss/nss_files/files-netgrp.c: Fix typo.
654 * login/utmp_db.c: Comment out unused variables.
655 * misc/tst-dirname.c: Provide prototype for main (for now).
656 * new-malloc/mcheck-init.c: Include <mcheck.h>.
657 * new-malloc/obstack.c: Provide real prototypes.
659 * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int.
660 (b64_pton): Likewise for `tarindex'.
661 * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning.
663 * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning.
664 * stdio-common/printf-parse.h: Remove definition of MIN and MAX.
665 * stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX.
666 * stdio-common/vfprintf.c: Likewise.
667 * stdlib/gmp-impl.h: Only define MIN and MAX if not already done.
668 * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value.
670 * sysdeps/generic/Makefile ($(subdir)=string): Define
671 CFLAGS-wordcopy.c to prevent warning.
672 * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline.
673 * sysdeps/generic/wordcopy.c: De-ANSI-declfy.
674 * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
676 * sysdeps/i386/dl-machine.h: Correct copyright.
677 * sysdeps/unix/closedir.c: Likewise.
678 * sysdeps/unix/dirstream.h: Likewise.
679 * sysdeps/unix/opendir.c: Likewise.
680 * time/tzset.c: Add prototype for __tzset_internal.
682 * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the
683 way it is supposed to work is not yet known.
684 (struct utmp): Remove ut_login and ut_syslen field for now.
686 Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com>
688 * time/strftime.c: Fix another bug in handling flags made it
689 impossible to use the `-', `_', or `0' flag.
691 Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
693 * sysdeps/unix/common/pause.c: Add missing second argument in
695 Reported by a sun <asun@zoology.washington.edu>.
697 * locale/weight.h: Correct handling of collation elements.
698 Reported by Keld Simonsen <keld@dkuug.dk>.
700 * manual/time.texi: Document ^ flag and %P format.
702 * new-malloc/malloc.c: Update from Wolfram Gloger.
704 * nss/nss.h: Reformat copyright.
705 * posix/sched.h: Likewise.
706 * sysdeps/i386/fpu_control.h: Likewise.
707 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
708 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
709 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
710 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
711 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
712 * sysvips/sys/msg.h: Likewise.
714 * stdio-common/Makefile (routines): Remove fcloseall.
715 * stdio-common/fcloseall.c: Removed.
717 * stdlib/Makefile (distribute): Add abort-instr.h.
718 * sysdeps/generic/abort-instr.h: New file.
719 * sysdeps/i386/abort-instr.h: New file.
720 * sysdeps/generic/abort.c: Use lock and stage counter to prevent
723 * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
724 * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
725 as 1000000. Define CLK_TCK as 1024.
726 * time/time.c (CLK_TCK): Define only if not already set.
728 * time/strftime.c: Don't use `isdigit' when computing field width
729 from string since the locale might have more than one digit
732 Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
734 * posix/getopt.c (in -W option handling): Return when optind == argc.
736 Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
738 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
741 * nis/nss_compat/compat-grp.c: Include the declaration of the file
743 * nis/nss_compat/compat-pwd.c: Likewise.
744 * nis/nss_compat/compat-spwd.c: Likewise.
745 * nis/nss_nis/nis-ethers.c: Likewise.
746 * nis/nss_nis/nis-grp.c: Likewise.
747 * nis/nss_nis/nis-network.c: Likewise.
748 * nis/nss_nis/nis-proto.c: Likewise.
749 * nis/nss_nis/nis-pwd.c: Likewise.
750 * nis/nss_nis/nis-rpc.c: Likewise.
751 * nis/nss_nis/nis-spwd.c: Likewise.
753 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
754 getgrent_next_file): Pass the correct type for the buffer to the
756 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
757 getpwent_next_nis, getpwent_next_file): Likewise.
758 * nis/nss_compat/compat-spwd.c (getspent_next_netgr,
759 getspent_next_nis, getspent_next_file): Likewise.
760 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
761 _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
762 * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
763 _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
764 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
765 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
766 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
767 _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
768 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
769 _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
770 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
771 _nss_nis_getrpcbynumber_r): Likewise.
772 * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
773 _nss_nis_getspnam_r): Likewise.
775 Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
777 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
779 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
781 * resolv/resolv.h: Update from BIND 4.9.5-P1.
782 * resolv/res_comp.c: Likewise.
783 * resolv/res_debug.c: Likewise.
784 * resolv/Banner: Update version number.
786 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
788 * elf/dlfcn.h: Add extern "C" wrapper.
790 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
791 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
792 __USE_XOPEN_EXTENDED.
793 * locale/locale.h: Define NULL.
794 * math/math.c: Don't include <errno.h> to define math errors.
795 * stdlib/stdlib.h: Likewise.
796 * posix/unistd.h: Don't declare environ.
797 * posix/sys/utsname.h (struct utsname): Declare member domainname
798 as __domainname is !__USE_GNU.
799 * signal/signal.h: Declare size_t only if __USE_BSD ||
800 __USE_XOPEN_EXTENDED.
801 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
802 instead when __USE_XOPEN.
803 * string/string.h: Define strndup only if __USE_GNU.
804 * sysdeps/unix/sysv/linux/clock.c: New file.
805 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
806 1000000 per X/Open standard.
807 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
808 Define __USE_POSIX199309.
809 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
810 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
811 Patches by Rüdiger Helsch <rh@unifix.de>.
813 * locale/locale.h: Add declaration of newlocale and freelocale.
815 * new-malloc/Makefile (distibute): Add mtrace.awk.
816 (dist-routines): Add mcheck and mtrace.
817 (install-lib, non-lib.a): Define as libmcheck.a.
818 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
819 * new-malloc/mcheck.c: New file.
820 * new-malloc/mcheck.h: New file.
821 * new-malloc/mtrace.c: New file.
822 * new-malloc/mtrace.awk: New file.
824 * posix/unistd.h: Correct prototype for usleep.
825 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
826 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
829 * signal/signal.h: Change protoype of __sigpause to take two
830 arguments. Remove prototype for sigpause. Add two different
831 macros named sigpause selected when __USE_BSD or __USE_XOPEN
832 are defined. This is necessary since the old BSD definition
833 of theis function collides with the X/Open definition.
834 * sysdeps/posix/sigpause.c: Change function definition to also
835 fit X/Open definition.
837 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
839 * sysdeps/libm-i387/e_expl.S: Likewise.
842 1996-12-17 Paul Eggert <eggert@twinsun.com>
844 * many, many files: Spelling corrections.
845 * catgets/catgetsinfo.h (mmapped):
846 Renamed from mmaped (in struct catalog_info.status).
847 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
848 Fix spelling in message.
849 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
850 a fix in the tzcode distribution.
852 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
854 * time/strftime.c: Implement ^ flag to cause output be converted
855 to use upper case characters.
857 * time/zic.c: Update from ADO tzcode1996n.
859 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
861 * time/strftime.c (add): Don't change global `i' until all is over.
862 Define NULL is not already defined.
864 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
866 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
867 to avoid the need for a cast.
868 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
870 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
872 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
873 The stream is private and usages outside glibc don't care about
875 * io/fts.c: Likewise.
876 * io/ftw.c: Likewise.
877 * sysdeps/posix/getcwd.c: Likewise.
878 * sysdeps/posix/ttyname.c: Likewise.
879 * sysdeps/posix/ttyname_r.c: Likewise.
880 * sysdeps/posix/glob.c: Likewise.
882 * libio/iovsprintf.c: Add cast to prevent warning.
883 * libio/iovsscanf.c: Likewise.
885 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
886 to keep namespace clean.
888 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
889 Add hooks and check functions from old GNU malloc.
890 * new-malloc/malloc.h: Likewise.
892 * nis/ypclnt.c: Remove prototype for xdr_free.
893 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
895 * manual/nss.texi: Correct description of default values and don't
896 meantion NSS as an add-on.
898 * nss/grp-lookup.c: Provide default value as
899 "compat [NOTFOUND=return] files".
900 * nss/pwd-lookup.c: Likewise.
901 * nss/spwd-lookup.c: Likewise.
902 * nss/network-lookup.c: Correct default to
903 "dns [!UNAVAIL=return] files".
904 * nss/nsswitch.c: Change default-default value to "nis
905 [NOTFOUND=return] files" since compat is only available for group,
908 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
910 * stdlib/stdlib.h: Add prototype for __on_exit.
912 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
914 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
915 The new malloc now has mcheck.
916 * time/ap.c: Likewise.
918 * time/tzset.c (__tzset): Rename to __tzset_internal.
919 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
920 * time/localtime.c: Use __tzset_internal not __tzset.
921 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
922 as __tzset to prevent namespace pollution.
924 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
925 a weak alias of __iswctype.
926 * wctype/wctype.h: Add prototype for __iswctype.
927 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
928 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
929 Use __iswctype for the test, not iswctype.
931 1996-12-16 Paul Eggert <eggert@twinsun.com>
933 * hurd/hurd/sigpreempt.h
934 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
935 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
936 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
937 hurd/hurdsig.c (_hurdsig_preempters):
938 Renamed to fix spelling from `preempter' to `preemptor'.
941 1996-12-15 Paul Eggert <eggert@twinsun.com>
943 * ctime.c (ctime): Return asctime (localtime (t)), as the C
946 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
948 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
949 value because Mach/cthreads uses the opposite convention from
952 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
954 * stdio-common/fcloseall.c: Correct test of already_called.
955 Reported by Thomas Bushnell, n/BSG.
957 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
959 * mach/lock-intern.h (__mutex_try_lock): New function.
961 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
963 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
965 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
967 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
969 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
970 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
971 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
973 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
975 Make sure tzset() sets always tzname[].
976 * time/tzfile.c: De-ANSI-declfy.
977 (find_transition): New function. Set tzname according to given time.
978 (__tzread_file): Use find_transition to set tzname.
979 (__tzfile_compute): Use find_transition instead of doing the work
981 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
983 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
985 * login/utmp-file.c (pututline_file): Open file if closed.
986 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
987 Use fcntl instead of flock.
989 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
991 * manual/time.texi: Update documentation of strftime function.
993 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
995 * Makefile (subdirs): Change crypt to md5-crypt.
996 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
997 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
999 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
1000 crypt instead of LinuxThreads and des-crypt.
1002 * Makefile (subdirs): Add nss back.
1003 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
1006 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
1007 * stdio-common/Makefile (routines): Add fcloseall.
1008 * stdio-common/fcloseall.c: New file.
1009 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
1011 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
1012 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
1015 * stdio-common/printf.h: Define MIN and MAX only if not already
1018 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
1019 allow writing. Required by POSIX.1.
1021 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
1024 * interp.c: Update copyright.
1025 * libio/clearerr.c: Likewise.
1026 * libio/ioseekoff.c: Likewise.
1027 * libio/ioseekpos.c: Likewise.
1028 * stdio/fclose.c: Likewise.
1029 * stdio/fflus.c: Likewise.
1031 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
1032 and _IO_cleanup_region_end as empty.
1033 * libio/fgetc.c: Use _IO_cleanup_region_start and
1034 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
1035 __libc_cleanup_region_end.
1036 * libio/fputc.c: Likewise.
1037 * libio/freopen.c: Likewise.
1038 * libio/fseek.c: Likewise.
1039 * libio/getc.c: Likewise.
1040 * libio/getchar.c: Likewise.
1041 * libio/iofclose.c: Likewise.
1042 * libio/iofflush.c: Likewise.
1043 * libio/iofgetpos.c: Likewise.
1044 * libio/iofgets.c: Likewise.
1045 * libio/iofputs.c: Likewise.
1046 * libio/iofread.c: Likewise.
1047 * libio/iofsetpos.c: Likewise.
1048 * libio/ioftell.c: Likewise.
1049 * libio/iofwrite.c: Likewise.
1050 * libio/iogetdelim.c: Likewise.
1051 * libio/iogets.c: Likewise.
1052 * libio/ioputs.c: Likewise.
1053 * libio/iosetbuffer.c: Likewise.
1054 * libio/iosetvbuf.c: Likewise.
1055 * libio/ioungetc.c: Likewise.
1057 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
1058 locks can stay over.
1059 * libio/iovsscanf.c: Likewise.
1061 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
1062 instead of __libc_lock_init_recursive and __libc_lock_fini.
1064 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
1065 Otherwise use isatty.
1066 * libio/fileops.c: Likewise for __open and open.
1068 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
1071 * nis/ypclnt.h: Add more casts to prevent warnings.
1073 * nss/Makefile (services): Remove dns.
1074 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
1075 ($(objpfx)libnss_dns.so): Removed.
1076 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
1077 * resolv/nss_dns: ...here.
1078 * resolv/Makefile (extra-libs): Add libnss_dns.
1079 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
1082 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
1083 specifying alternate name for entry in /etc/nsswitch.conf
1084 * nss/nsswitch.c: If no entry with primary name is found in
1085 /etc/nsswitch.conf try alternate name if given.
1086 * nss/nsswitch.h: Add new parameter in prototype for
1087 __nss_database_lookup.
1088 * nss/spwd-lookup.c: Provide alternative entry name to look for.
1089 This makes our NSS compatible with Solaris' nsswitch.conf files.
1091 * string/tst-strlen.c: Change all counting variables to type size_t
1092 to prevent warnings.
1094 * sysdeps/posix/fpathconf.c: Update copyright.
1095 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
1096 Opening the file at this path may fail if it is a FIFO or pipe.
1098 These changes make the time implementation POSIX.1 compliant.
1099 * time/localtime.c (__localtime_r): Always call __tzset not only
1100 if __tzset_run is zero.
1101 * time/strftime.c: Add definition of memset_space to help to
1102 reduce for systems which have memset.
1103 (strftime): Don't use tm_zone member of argument for zone name.
1104 Instead always use tzname[].
1105 Call tzset() as required by POSIX.1 before any action.
1106 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
1107 Remove global variable __tzset_run. __tzset is now called always
1108 when a dependent function is used.
1109 (__tzset): Caching happens based on the contents of the
1110 environment variable TZ.
1112 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1114 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
1116 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1118 * rellns-sh: Correctly handle a relative source file name.
1120 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1122 * login/utmp_file.c (setutent_file): Seek back to beginning of the
1125 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1127 * hurd/hurdinit.c (map0): Delete function. Don't do this on
1129 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1131 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
1133 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
1134 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
1137 Change libio buffer handling to allocate internal buffers using
1139 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
1141 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
1143 (_IO_default_doallocate): Change call to ALLOC_BUF.
1144 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
1145 to use mmap/munmap when possible.
1146 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
1147 * libio/vasprintf.c: Likewise.
1150 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
1151 * libio/libioP.h: Likewise.
1153 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
1154 restart syscall when EINTR was returned. Necessary for POSIX.1.
1156 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
1158 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
1161 * nis/Makefile: Remove rules for bsd-tools which are not part
1163 Patch by Thorsten Kukuk.
1165 * nis/ypclnt.c: Add prototype for xdr_free.
1166 Add const to first parameter for __yp_bind.
1167 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
1168 getpwent_next_file): Variable `p2len' must have type size_t.
1169 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
1170 * nis/nss_nis/nis-ethers.c: Likewise.
1171 * nis/nss_nis/nis-grp.c: Likewise.
1172 * nis/nss_nis/nis-hosts.c: Likewise.
1173 * nis/nss_nis/nis-network.c: Likewise.
1174 * nis/nss_nis/nis-proto.c: Likewise.
1175 * nis/nss_nis/nis-pwd.c: Likewise.
1176 * nis/nss_nis/nis-rpc.c: Likewise.
1177 * nis/nss_nis/nis-service.c: Likewise.
1178 * nis/nss_nis/nis-spwd.c: Likewise.
1180 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
1182 (ypmaplist): Change member names to `map' and `next' and provide
1183 #defines for old names.
1184 Patch by Thorsten Kukuk.
1186 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
1187 type for `datalen' parameter to size_t.
1189 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
1191 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
1193 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
1197 * stdio-common/tmpfile.c: Update copyright.
1199 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
1201 Don't eat white space for `C' format.
1203 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
1205 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
1206 * sysdeps/i386/abort.c: Removed. This version does not use
1209 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
1213 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
1214 call. If EMFILE, ENFILE, or EINTR return with error.
1216 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
1218 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
1219 We are compatible again.
1220 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
1221 even though it is not used.
1222 * malloc/obstack.h: Likewise.
1223 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
1224 alloc_failed bit to 0.
1226 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
1227 %P format and `0' modifier.
1229 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1231 * Makerules (make-link): Don't discard exit codes of intermediate
1232 commands. Always use rellns-sh if symbolic links are available.
1234 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1236 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
1237 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
1238 conflict of ntohs etc. in <asm/byteorder.h>.
1240 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
1242 Add NIS NSS implementation.
1243 * shlib-versions: Add versions for NIS libraries.
1244 * sysdeps/unix/inet/Subdirs: Add nis.
1245 * nis/Banner: New file.
1246 * nis/Makefile: New file.
1247 * nis/nss-nis.h: New file.
1248 * nis/yp_xdr.h: New file.
1249 * nis/ypclnt.h: New file.
1250 * nis/ypupdate_xdr.c: New file.
1251 * nis/nss_compat/compat-grp.c: New file.
1252 * nis/nss_compat/compat-pwd.c: New file.
1253 * nis/nss_compat/compat-spwd.c: New file.
1254 * nis/nss_nis/nis-alias.c: New file.
1255 * nis/nss_nis/nis-ethers.c: New file.
1256 * nis/nss_nis/nis-grp.c: New file.
1257 * nis/nss_nis/nis-hosts.c: New file.
1258 * nis/nss_nis/nis-netgrp.c: New file.
1259 * nis/nss_nis/nis-network.c: New file.
1260 * nis/nss_nis/nis-proto.c: New file.
1261 * nis/nss_nis/nis-publickey.c: New file.
1262 * nis/nss_nis/nis-pwd.c: New file.
1263 * nis/nss_nis/nis-rpc.c: New file.
1264 * nis/nss_nis/nis-service.c: New file.
1265 * nis/nss_nis/nis-spwd.c: New file.
1266 * nis/rpcsvc/yp.h: New file.
1267 * nis/rpcsvc/yp.x: New file.
1268 * nis/rpcsvc/yp_prot.h: New file.
1269 * nis/rpcsvc/ypclnt.h: New file.
1270 * nis/rpcsvc/ypupd.h: New file.
1272 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
1274 * locale/C-numeric.c: Update copyright.
1276 * locale/Makefile: Add rules to build libBrokenLocale.
1277 * locale/broken_cur_max.c: New file.
1278 * locale/mb_cur_max.c: Update copyright.
1279 (__ctype_get_mb_cur_max): Make function weak.
1281 * new-malloc/malloc.c: Correct copyright.
1282 * new-malloc/thread-m.h: Correct key handling.
1284 * shadow/lckpwdf.c: Update copyright.
1285 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
1287 * stdlib/strtod.c: Add another assertion.
1288 * stdlib/tst-strtod.c: Add another test case.
1290 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
1291 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1293 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
1294 ut_addr names a single element in ut_addr_v6.
1296 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
1297 Patch by Thomas Bushnell, n/BSG.
1299 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
1301 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
1304 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
1305 did fit nicely into that delay slot (patch from David Mosberger-Tang).
1307 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1309 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
1311 (ttyname_r): New alias.
1313 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
1315 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
1316 error in computation of number of groups.
1317 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
1319 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
1321 * version.h: Set version to 1.99.
1323 * Make-dist (routines): Add malloc and new-malloc.
1325 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
1326 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
1327 Same for $(CFLAGS-$(@F)) and CFLAGS.
1329 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
1331 * io/sys/poll.h: Likewise.
1332 * sysdeps/stub/sys/ipb_buf.h: Likewise.
1333 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
1334 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1335 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
1336 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
1337 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1338 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1339 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
1340 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1341 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
1342 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
1343 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1344 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1345 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
1346 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
1347 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
1348 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
1349 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1350 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
1351 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1352 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
1353 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1354 * sysvipc/sys/sem.h: Likewise.
1355 * sysvipc/sys/shm.h: Likewise.
1357 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
1358 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
1359 Add statistics for threads.
1360 * new-malloc/malloc.h: Likewise.
1361 * new-malloc/thread-m.h: Likewise.
1363 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
1365 * time/strptime.c: Update copyright.
1367 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
1369 * Make-dist: Make sure both malloc directories get distributed.
1371 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1373 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
1376 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1378 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
1379 __BEGIN_DECLS/__END_DECLS.
1381 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1383 * login/utmp_file.c: Consistently set file_offset to the position
1384 after the entry just read.
1386 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
1388 * config.make.in (defines): Add @USE_NEW_MALLOC@.
1389 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
1390 we use the new malloc.
1392 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
1393 depending on USE_NEW_MALLOC.
1395 Fix some more POSIX.1 problems.
1396 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
1397 on a write-only stream.
1398 (_IO_file_overflow): Set errno to EBADF if used on a read-only
1400 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
1401 call really positions the file offset to the correct position
1402 and no read-ahead happens.
1404 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
1405 to pass POSIX test suite.
1406 * stdio-common/vfprintf.c: Handle empty string as grouping command
1408 * stdlib/grouping.h: Likewise.
1410 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
1412 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
1414 * stdio-common/printf_fp.c: Update copyright.
1416 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1418 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
1419 used (not otherwise).
1421 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
1423 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
1425 * stdlib/canonicalize.c: Correct bugs in last change.
1428 * libio/Makefile (routines): Remove ioprims.
1429 (aux): Remove cleanup.
1430 Add IO_DEBUG option for .o files.
1431 * libio/cleanups.c: Removed.
1432 * libio/ioprims.c: Removed.
1433 * libio/filedoalloc.c: More updates from libg++-2.8b5.
1434 * libio/fileops.c: Likewise.
1435 * libio/genops.c: Likewise.
1436 * libio/iolibio.h: Likewise.
1437 * libio/iopopen.c: Likewise.
1438 * libio/iovsprintf.c: Likewise.
1439 * libio/iovsscanf.c: Likewise.
1440 * libio/libio.h: Likewise.
1441 * libio/libioP.h: Likewise.
1442 * libio/memstream.c: Likewise.
1443 * libio/strfile.h: Likewise.
1444 * libio/vasprintf.c: Likewise.
1445 * libio/vsnprintf.c: Likewise.
1447 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
1449 * manual/arith.texi: Change references to ANSI C to ISO C.
1450 * manual/conf.texi: Likewise.
1451 * manual/creature.texi: Likewise.
1452 * manual/ctype.texi: Likewise.
1453 * manual/errno.texi: Likewise.
1454 * manual/filesys.texi: Likewise.
1455 * manual/intro.texi. Likewise.
1456 * manual/io.texi: Likewise.
1457 * manual/lang.texi: Likewise.
1458 * manual/libc.texinfo: Likewise.
1459 * manual/locale.texi: Likewise.
1460 * manual/maint.texi: Likewise.
1461 * manual/mbyte.texi: Likewise.
1462 * manual/memory.texi: Likewise.
1463 * manual/process.texi: Likewise.
1464 * manual/process.texi: Likewise.
1465 * manual/search.texi: Likewise.
1466 * manual/setjmp.texi: Likewise.
1467 * manual/signal.texi: Likewise.
1468 * manual/startup.texi: Likewise.
1469 * manual/stdio.texi: Likewise.
1470 * manual/string.texi: Likewise.
1471 * manual/time.texi: Likewise.
1473 * manual/locale.texi: Remove description of LC_RESPONSE and add
1476 * Makefile (subdirs): Change malloc in $(malloc).
1477 * config.make.in: Add variable malloc which is initialized from
1479 * configure.in: Add new option --enable-new-malloc to use new
1480 malloc. This is the default on Linux.
1481 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
1483 * new-malloc/Makefile: New file. Improved malloc implementation.
1484 * new-malloc/malloc.c: Likewise.
1485 * new-malloc/malloc.h: Likewise.
1486 * new-malloc/mallocbug.c: Likewise.
1487 * new-malloc/obstack.c: Likewise.
1488 * new-malloc/obstack.h: Likewise.
1489 * new-malloc/thread-m.h: Likewise.
1490 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
1491 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
1493 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
1496 * stdio/feof.c: Update copyright.
1497 * stdio/stdio.h: Add field for lock to FILE structure.
1498 Add cast to *MAGIC constants to prevent warnings.
1500 * stdio-common/bug7.c: Correct test. Stream must not be closed
1503 * stdlib/Makefile (routines): Add secure-getenv.
1504 * stdlib/secure-getenv.c: New file. __secure_getenv function
1505 moved to here from sysdeps/generic/getenv.c. Otherwise an
1506 application cannot replace the getenv function in the libc.
1507 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
1508 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
1510 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
1512 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
1514 * time/test-tz.c: Comment fifth test out. PROBLEM.
1516 * time/tzset.c: De-ANSI-declfy.
1517 (__tzset): Don't increment pointer tz when no DST information is
1520 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
1521 to get Hurd macros right.
1523 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
1525 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
1527 Patch by Thomas Bushnell.
1529 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
1532 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
1534 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
1536 * time/strftime (%c format): Remove %Z from default string.
1537 Reported by Paul Eggert
1539 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
1541 * configure.in: Discard error message from test in test for
1544 * io/getwd.c: Don't apply getcwd on user supplied buffer.
1545 Instead always use temporary buffer and only copy the result.
1547 * stdlib/canonicalize.c: Likewise.
1549 * libio/fileops.c: Change comments according to libg++2.8b5.
1550 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
1554 * manual/nss.texi: Correct prototypes.
1556 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
1557 crash if syslog daemon is restarted.
1559 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
1561 * stdlib/Makefile (routines): Add rand_r.
1563 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
1566 * configure.in: Add --disable-sanity-check option.
1567 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
1568 des-crypt are not available and --disbale-sanity-check is not
1569 given abort with a message.
1571 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
1573 * posix/glob.c: Tests against STDC_HEADERS should also test
1576 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
1578 * misc/err.c (vwarn): Set errno again before using %m format.
1580 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1582 * grp/grp.h: Add declaration of __getgrent_r.
1584 * io/fts.c (fts_build): Remove "register" from variables dirbuf
1585 and dp since their address is needed.
1587 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
1588 variable d since d's address is needed.
1590 * misc/tst-dirname.c (main): Provide prototype.
1591 * misc/ioctltst.c (main): Dito.
1593 * Makefile: Add gnu/lib-names.h to install-others before including
1596 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
1598 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
1600 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
1601 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
1602 sys/socketvar.h to sysdep_headers.
1604 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
1606 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
1609 * elf/rtld.c (_dl_start): Don't dereference the value returned by
1610 elf_machine_got to get _DYNAMIC, instead call new function
1611 elf_machine_dynamic.
1612 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
1613 elf_machine_dynamic. Reformat copyright.
1614 * sysdeps/i386/dl-machine.h: Likewise.
1615 * sysdeps/m68k/dl-machine.h: Likewise.
1616 * sysdeps/mips/dl-machine.h: Likewise.
1617 * sysdeps/sparc/dl-machine.h: Likewise.
1618 * sysdeps/stub/dl-machine.h: Likewise.
1620 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1622 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
1624 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
1626 * Makerules ($(libdir)/libc.so): Make first line of generated
1627 link script contain `/* GNU ld script'. This will be used in
1628 ldconfig to check for linker scripts.
1629 * sysdeps/mach/hurd/libc-ldscript: Likewise.
1630 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
1632 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
1634 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
1636 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
1639 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
1641 * assert/assert-perr.c: Use __strerror_r instead of strerror.
1642 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
1643 * string/string.h: Declare __strerror_r.
1644 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
1645 * stdio-common/vfprintf.c: Save current errno value on entry so
1646 that %m format finds the correct value.
1647 * io/getwd.c: Use __strerror_r instead of strerror.
1648 * misc/err.c (vwarn): Use %m printf format instead of explicitly
1650 * inet/rcmd.c: Likewise.
1651 * misc/error.c (error, error_at_line): Use __strerror_r instead
1652 of strerror when this function is available.
1654 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
1655 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
1656 * stdlib/stdlib.h: Define prototype for rand_r.
1658 * string/strfry.c: Update copyright. Use reentrant random functions.
1660 * dirent/scandir.c: Use __readdir_r instead of readdir.
1661 * posix/glob.c: Likewise.
1662 * sysdeps/posix/ttyname.c: Likewise.
1663 * sysdeps/posix/ttyname_r.c: Likewise.
1664 * io/ftw.c: Likewise.
1665 * io/fts.c: Likewise.
1666 * sysdeps/posix/getcwd.c: Likewise.
1667 * dirent/dirent.h: Add prototype for __readdir_r.
1668 * sysdeps/unix/readdir_r: Update copyright.
1670 * time/ctime.c: Use __localtime_r and __asctime_r instead of
1671 non reentrant versions.
1672 * time/ctime_r.c: Update copyright.
1674 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
1676 * locale/Makefile (localepath): Correct value.
1678 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
1680 Fix typo in using H_ERRNO_SET macro.
1682 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1684 * Makerules (elfobjdir): Definition removed.
1685 * Makeconfig (elfobjdir): Define it here instead, so that
1686 expanding $(rpath-link) gets the right value.
1689 * misc/a.out.h: Moved to...
1690 * sysdeps/generic/a.out.h: ...here.
1691 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
1694 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
1696 * grp/initgroups.c: Update and reformat copyright.
1697 Use __getgrent_r instead of getgrent.
1699 * inet/rcmd.c: Update and reformat copyright.
1700 Use __gethostbyname_r instead of gethostbyname.
1701 * inet/rexec.c: Likewise.
1703 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
1704 * locale/findlocale.c: Likewise.
1705 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
1706 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
1707 * locale/setlocale.c (setlocale): Correctly split value of
1709 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
1710 find output directory.
1712 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
1713 h_errno_tmp variable.
1714 Save error value from being changed during `free' call.
1715 * nss/getXXent.c: Likewise.
1717 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
1718 before returning ERANGE error.
1720 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
1723 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
1725 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
1726 * sunrpc/clnt_simp.c: Likewise.
1727 * sunrpc/getrpcport.c: Likewise.
1728 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1730 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
1731 since the value might be outside the range of the `long int'.
1732 Print string `undefined' when a value is undefined.
1734 * stdlib/l64a.c: Return correct pointer.
1735 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1737 * string/Makefile (routines): Add argz-addsep.
1738 * string/argz-addsep.c: New file.
1739 * string/argz.h: Add prototypes for argz_add_sep.
1741 * string/argz-ctsep.c: Prevent memory leak.
1743 * string/strcoll.c: Correct typo in comment.
1745 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
1747 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
1748 not general enough to be part of the libc.
1749 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
1750 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
1752 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1754 * login/Makefile: Fix typo.
1756 * nss/Makefile (generated): Filter out db-alias.c.
1758 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1760 * time/Makefile (echo-zonenames): Don't depend on non-existing
1763 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1766 * nss/nsswitch.c: Use it.
1768 * printf.h: Fix file name.
1769 * stdlib/strfmon.c: Use it.
1771 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
1773 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
1774 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
1775 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1776 Add netinet/in_systm.h.
1777 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1779 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
1781 * libio/fileops.c: Update from latest libg++.
1783 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
1785 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
1786 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
1787 instead of __libc_lock_init for streams.
1788 Reported by a sun <asun@zoology.washington.edu>.
1790 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
1792 * sysdeps/generic/errno-loc.c: New file. Generic definition of
1793 __errno_location function.
1794 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
1796 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1797 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
1800 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
1801 and crypt add-on and warn if not available.
1803 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
1805 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
1807 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
1808 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
1810 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
1811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
1812 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
1813 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
1814 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
1815 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
1817 Patch by Richard Henderson <rth@tamu.edu>.
1819 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
1820 pciconfig_read and pciconfig_write.
1821 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
1822 pciconfig_read and pciconfig_write.
1824 * login/getutent_r.c: Fix several bugs in last change.
1826 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
1828 * Makefile: Fix typo.
1830 * configure: Require autoconf-2.11.
1832 * elf/dl-deps.c: Terminate duplicate list.
1834 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
1835 * libio/strfile.h: Update from current libg++.
1836 * libio/strops.c: Likewise.
1838 * login/Makefile (routines): Update after correction of reentrant
1840 * login/endutent.c: Removed.
1841 * login/endutent_r.c: Likewise.
1842 * login/pututline.c: Likewise.
1843 * login/pututline_r.c: Likewise.
1844 * login/setutent.c: Likewise.
1845 * login/setutent_r.c: Likewise.
1846 * login/getutent.c: Update for new interface.
1847 * login/getutent_r.c: Likewise.
1848 * login/getutid.c: Likewise.
1849 * login/getutid_r.c: Likewise.
1850 * login/getutline.c: Likewise.
1851 * login/getutline_r.c: Likewise.
1852 * login/login.c: Likewise.
1853 * login/logout.c: Likewise.
1854 * login/logwtmp.c: Likewise.
1855 * login/utmp.h: Likewise.
1856 * sysdeps/unix/getlogin.c: Likewise.
1857 * sysdeps/unix/getlogin_r.c: Likewise.
1858 * login/utmp-private.h: New private header.
1859 * login/utmp_db.c: Stub DB backend for utmp handler.
1860 * login/utmp_file.c: File backend for utmp handler.
1861 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
1862 (enum utlogin): List of record types.
1863 (struct exit_status): Record to align with other implementations.
1865 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
1866 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1868 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
1870 * sysdeps/stub/getlogin.c: Update copyright.
1871 * sysdeps/stub/getlogin_r.c: Likewise.
1873 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
1874 * nss/getXXent_r.c: Likewise.
1875 * nss/nsswitch.c: Likewise.
1877 * posix/Makefile (headers): Add wait.h.
1878 * posix/wait.h: New file.
1880 * posix/sys/types.h: Always define intN_t types.
1882 * stdio-common/Makefile: Update copyright.
1883 Use -Wno-format flag for scanf4.c and scanf7.c.
1885 * stdlib/stdlib.h: Reformat.
1887 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1889 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
1890 move the current contents to the end and relocate file name
1891 pointer to upper half of the buffer.
1893 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
1895 * time/africa: Update from ADO tzdata1996m.
1896 * time/antarctica: Likewise.
1897 * time/asia: Likewise.
1898 * time/australia: Likewise.
1899 * time/etcetera: Likewise.
1900 * time/europe: Likewise.
1901 * time/nothamerica: Likewise.
1902 * time/southameria: Likewise.
1903 * time/zone.tab: Likewise.
1905 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
1906 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1908 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
1910 * posix/wait.h: New file.
1911 * posix/Makefile (headers): Add wait.h.
1913 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
1915 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
1916 expression instead of shell pattern matching.
1917 * shlib-versions: Change to regular expressions.
1919 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
1921 * io/stat.c: Add section from libgcc to copyright comment
1922 to allow this file to be statically linked in applications.
1923 * io/fstat.c: Likewise.
1924 * io/lstat.c: Likewise.
1925 * io/mknod.c: Likewise.
1927 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
1929 * csu/initfini.c: Add section from libgcc to copyright comment
1930 to allow this file to be statically linked in applications.
1932 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
1933 not already defined.
1934 (obstack_grow, obstack_grow0): Correct placement of braces.
1936 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
1937 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
1939 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1941 * Makerules (make-link): Simplify by changing directory only if
1942 not using rellns-sh; check whether we really have symbolic links.
1944 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
1945 $(dirname $1); use status of ln for exit code; make more robust
1946 against multiple slashes in a row.
1948 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1950 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
1952 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
1953 the three-part name, to distinguish correctly from *-*-linux-gnu*.
1955 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
1958 * sysdeps/mach/hurd/Makefile (install-others): Add
1960 ($(libdir)/libc_p.a): New rule.
1961 * sysdeps/mach/hurd/libc_p-ldscript: New file.
1962 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
1964 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
1966 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
1967 * time/Makefile: Likewise.
1969 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
1970 * sysdeps/alpha/elf/Dist: New file.
1971 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
1972 The bits currently distributed with GCC fail in two ways -- they don't
1973 understand multiple .got subsections and the extents of the lists are
1974 dynamicly bound meaning that the application's lists get executed
1975 multiple times and the library's lists never get executed.
1977 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1979 * stdlib/strtod.c: Fix previous change.
1981 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1983 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
1986 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
1988 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
1989 Likesie for scanf4.c
1991 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
1993 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
1994 alias of __sigsuspend.
1996 * grp/grp.h: Correct comment about POSIX compliance.
1997 * pwd/pwd.h: Likewise.
1999 * login/utmp.h: Update copyright and pretty-print prototypes.
2000 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
2001 _PATH_WTMP from utmpbits.h.
2002 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2003 * sysdeps/generic/utmpbits.h: Remove here.
2004 * sysdeps/gnu/utmpbits.h: Likewise.
2006 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
2007 Pretty-print prototypes.
2009 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
2012 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
2014 * inet/ether_hton.c: Include <string.h>.
2015 * inet/ether_ntoh.c: Likewise.
2016 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
2017 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
2019 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
2020 to define. Jim Nance reports problems building XEmacs otherwise.
2022 * resolv/gethnamaddr.c: Protect h_errno redefinition.
2023 * resolv/getnetnamadr.c: Likewise.
2024 * resolv/herror.c: Likewise.
2026 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
2027 with -traditional. Reported by Eric Youngdale. While we're at this,
2028 don't do error checking in the __ functions. This is consistent
2029 with the sysv4 definitions and seems Right.
2030 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
2031 prototype for __sigsuspend.
2032 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
2033 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
2034 * sysdeps/posix/sigpause.c: Likewise.
2035 * sysdeps/posix/sigsetmask.c: Likewise.
2036 * sysdeps/posix/sigvec.c: Likewise.
2037 * sysdeps/posix/sigintr.c: Reformat copyright.
2038 * sysdeps/posix/signal.c: Check signal number out of range since
2039 __sigismember doesn't anymore. Reformat copyright.
2040 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
2041 sigdelset, sigaction, and sigsuspend.
2043 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
2044 to the wider type before shifting.
2046 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
2047 without .set noat" in profiling hook.
2048 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2049 * sysdeps/alpha/htonl.S: Likewise.
2050 * sysdeps/alpha/htons.S: Likewise.
2051 * sysdeps/alpha/s_copysign.S: Likewise.
2052 * sysdeps/alpha/setjmp.S: Likewise.
2053 * sysdeps/alpha/stpcpy.S: Likewise.
2054 * sysdeps/alpha/strcat.S: Likewise.
2055 * sysdeps/alpha/strcpy.S: Likewise.
2056 * sysdeps/alpha/strncat.S: Likewise.
2057 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
2058 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2059 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2060 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2061 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2062 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
2063 function to __sigsuspend and add weak alias.
2064 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
2066 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
2068 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
2069 SYSCALL__ actually generated.
2071 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
2072 #define __set_errno, as several imported subsystems (eg. BIND) check
2073 that the symbol is defined.
2075 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
2077 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
2078 that manifests in GCC.
2080 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2082 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
2083 * sysdeps/posix/readv.c (readv): Likewise.
2085 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
2087 * nss/nss_dns/dns-network.c: Change return type of all functions
2089 Reported by NIIBE Yutaka.
2090 * nss/nss_dns/dns-host.c: Update copyright.
2092 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2094 * config.make.in: Remove definition of top_absdir.
2095 * configure.in: Likewise. Use $(..) instead.
2096 * Makerules (make-link): Use $(..) to find rellns-sh script.
2098 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2100 * manual/nss.texi (Name Service Switch): Fix reference to
2103 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2108 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
2110 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
2111 variable from __stat to __status to prevent shadowing.
2112 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
2113 for parameter __wait.
2114 Reported by NIIBE Yutaka.
2116 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
2118 * misc/regexp.c: New file. Implementation of obsolete interface
2119 to regular expression matcher (required in XPG4.2).
2120 * misc/regexp.h: New file. Header for above.
2121 * misc/Makefile (headers): Add regexp.h.
2122 (routines): Add regexp.c.
2125 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2127 * stdlib/tst-strtod.c (main): Add arguments for main.
2128 * stdlib/tst-strtol.c (main): Likewise.
2130 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
2132 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
2134 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
2135 and sysconfdir to /etc if $prefix is /usr.
2136 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
2138 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
2139 $(have-bash2) is yes.
2140 * elf/ldd.bash.in: Add copyright and various cleanups.
2141 * elf/ldd.sh.in: Likewise.
2143 Implement RTLD_NEXT.
2144 * elf/dlfcn.h: Define RTLD_NEXT.
2145 * elf/dl-deps.c: Build second searchlist which contains duplicates.
2146 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
2147 for RTLD_NEXT lookup.
2148 Rewrite _dl_lookup_symbol to put common parts for both lookup
2149 functions in a separate function.
2150 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
2151 * elf/link.h (struct link_map): Add l_dupsearchlist and
2153 Add prototype for _dl_lookup_symbol_skip.
2155 * sunrpc/Makefile (rpcsvc): Add rusers.
2156 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
2157 * sunrpc/rpcsvc/rusers.x: New file.
2159 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
2161 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
2162 __libc_lock_init for local lock.
2163 Reported by a sun <asun@zoology.washington.edu>.
2164 [!USE_IN_LIBIO] (PAD): Optimize a bit.
2166 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
2168 * db/makedb.c: Update and reformat copyright.
2169 * elf/Makefile: Likewise.
2170 * elf/dl-close.c: Likewise.
2171 * elf/dl-debug.c: Likewise.
2172 * elf/dl-deps.c: Likewise.
2173 * elf/dl-error.c: Likewise.
2174 * elf/dl-fini.c: Likewise.
2175 * elf/dl-init.c: Likewise.
2176 * elf/dl-load.c: Likewise.
2177 * elf/dl-lookup.c: Likewise.
2178 * elf/dl-minimal.c: Likewise.
2179 * elf/dl-object.c: Likewise.
2180 * elf/dl-open.c: Likewise.
2181 * elf/dl-reloc.c: Likewise.
2182 * elf/dl-runtime.c: Likewise.
2183 * elf/dl-support.c: Likewise.
2184 * elf/dl-symbol.c: Likewise.
2185 * elf/dladdr.c: Likewise.
2186 * elf/dlclose.c: Likewise.
2187 * elf/dlerror.c: Likewise.
2188 * elf/dlopen.c: Likewise.
2189 * elf/dlsym.c: Likewise.
2190 * elf/do-rel.h: Likewise.
2191 * elf/dynamic-link.h: Likewise.
2192 * elf/eval.c: Likewise.
2193 * elf/rtld.c: Likewise.
2194 * inet/ether_hton.c: Likewise.
2195 * inet/ether_ntoh.c: Likewise.
2196 * inet/ether_line.c: Likewise.
2197 * inet/getnetgrent_r.c: Likewise.
2199 * inet/Makefile (+gccwarn): Remove definition.
2200 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
2202 * inet/aliases.h: Add C++ protection.
2203 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
2204 (ether_hostton): Remove unused variable result.
2205 * inet/ether_ntoh.c: Likewise.
2206 * inet/ether_line.c: Include <ctype.h> and <string.h>.
2207 * inet/getnetgrent_r.c: Include <stdlib.h>.
2208 Use casts to prevent warnings.
2209 (innetgr): Initialize `known' and `needed'.
2210 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
2211 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
2212 return NULL. Instead set *RESULT to NULL and return -1.
2213 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
2214 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
2216 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
2219 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
2221 * sysdeps/posix/readv.c: Don't use PTR anymore.
2222 * sysdeps/posix/writev.c: Likewise.
2224 * version.h (VERSION): Bump to 1.98.
2226 * nss/db-Makefile: Generate lines for getXXXent iteration.
2228 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
2229 divqu.S, remlu.S, and remqu.S.
2231 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2233 * posix/unistd.h: Correct typo in documentation.
2235 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
2237 * inet/netinet/tcp.h: Use __ protected versions instead of
2238 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
2240 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
2242 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
2243 references in libc.so are not anymore undefined.
2245 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2247 * io/utime.h: Rename second parameter for utime to prevent warning
2249 * dirent/dirent.h: Same here for scandir prototype.
2250 * math/mathcalls.h: Likewise for frexp and ldexp.
2251 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
2253 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
2255 * stdlib/tst-strtod.c: Add test for error case below.
2257 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
2259 * stdlib/strtod.c: Recognize numbers like 0e-19.
2261 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2263 * time/Makefile ($(installed-localtime-file)): Fix path to
2266 * Makefile: Don't generate and install gnu/lib-names.h if
2267 $(build-shared) is not `yes'.
2269 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
2271 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
2272 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
2274 * Makerules (REAL_MAKE_VERSION): New, use it instead of
2277 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2279 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
2280 * nss/getXXent_r.c: Fix typo. Set correct return value when
2281 no further service is available.
2283 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
2285 * db/recno/rec_put.c: Add cast to avoid warning.
2286 * db/recno/rec_close.c: Likewise.
2287 * db/mpool/mpool.c: Likewise.
2288 * db/hash/hash_bigkey.h: Likewise.
2289 * db/hash/hash.c: Likewise.
2290 * db/btree/bt_split.c: Likewise.
2291 * db/btree/bt_put.c: Likewise.
2293 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
2295 * dirent/dirent.h: Update copyright.
2296 * elf/elf.h: Likewise.
2297 * elf/link.h: Likewise.
2298 * gmon/sys/gmon_out.h: Likewise.
2299 * gnu-versions.h: Likewise.
2300 * intl/libintl.h: Likewise.
2301 * io/fcntl.h: Likewise.
2302 * io/ftw.h: Likewise.
2303 * io/sys/statfs.h: Likewise.
2304 * io/utime.h: Likewise.
2305 * locale/langinfo.h: Likewise.
2306 * malloc/malloc.h: Likewise.
2307 * malloc/obstack.h: Likewise.
2308 * misc/ar.h: Likewise.
2309 * misc/error.h: Likewise.
2310 * misc/mntent.h: Likewise.
2311 * misc/sgtty.h: Likewise.
2312 * misc/sys/cdefs.h: Likewise.
2313 * misc/sys/dir.h: Likewise.
2314 * misc/sys/file.h: Likewise.
2315 * misc/sys/ioctl.h: Likewise.
2316 * misc/sys/ustat.h: Likewise.
2317 * posix/fnmatch.h: Likewise.
2318 * posix/getopt.h: Likewise.
2319 * posix/glob.h: Likewise.
2320 * posix/posix2_lim.h: Likewise.
2321 * posix/regex.h: Likewise.
2322 * posix/sys/times.h: Likewise.
2323 * posix/sys/types.h: Likewise.
2324 * posix/sys/utsname.h: Likewise.
2325 * posix/tar.h: Likewise.
2326 * posix/wordexp.h: Likewise.
2327 * resource/sys/resource.h: Likewise.
2328 * resource/sys/vlimit.h: Likewise.
2329 * resource/sys/vtimes.h: Likewise.
2330 * socket/sys/socket.h: Likewise.
2331 * socket/sys/un.h: Likewise.
2332 * stdio-common/printf.h: Likewise.
2333 * stdlib/alloca.h: Likewise.
2334 * string/argz.h: Likewise.
2335 * string/endian.h: Likewise.
2336 * string/envz.h: Likewise.
2337 * string/memory.h: Likewise.
2338 * string/strings.h: Likewise.
2339 * sysdeps/generic/crypt.h: Likewise.
2340 * sysdeps/generic/direntry.h: Likewise.
2341 * sysdeps/generic/gnu/types.h: Likewise.
2342 * sysdeps/generic/ioctl-types.h: Likewise.
2343 * sysdeps/generic/netinet/in.h: Likewise.
2344 * sysdeps/generic/resourcebits.h: Likewise.
2345 * sysdeps/generic/sigset.h: Likewise.
2346 * sysdeps/generic/sockaddrcom.h: Likewise.
2347 * sysdeps/generic/sys/mman.h: Likewise.
2348 * sysdeps/generic/sys/ptrace.h: Likewise.
2349 * sysdeps/generic/termbits.h: Likewise.
2350 * sysdeps/generic/waitstatus.h: Likewise.
2351 * sysdeps/ieee754/huge_val.h: Likewise.
2352 * sysdeps/ieee754/nan.h: Likewise.
2353 * sysdeps/mach/hurd/local_lim.h: Likewise.
2354 * sysdeps/mach/hurd/statbuf.h: Likewise.
2355 * sysdeps/stub/huge_val.h: Likewise.
2356 * sysdeps/stub/libc-lock.h: Likewise.
2357 * sysdeps/stub/signum.h: Likewise.
2358 * sysdeps/stub/statbuf.h: Likewise.
2359 * sysdeps/stub/waitflags.h: Likewise.
2360 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
2361 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
2362 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2363 * sysdeps/unix/bsd/signum.h: Likewise.
2364 * sysdeps/unix/bsd/statbuf.h: Likewise.
2365 * sysdeps/unix/bsd/sun/signum.h: Likewise.
2366 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
2367 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2368 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
2369 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2370 * sysdeps/unix/bsd/waitflags.h: Likewise.
2371 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
2372 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
2373 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2374 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2375 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
2376 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
2377 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
2378 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
2379 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
2380 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2381 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
2382 * sysdeps/unix/sysv/linux/signum.h: Likewise.
2383 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
2384 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2385 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2386 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2387 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2388 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
2389 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
2390 * sysdeps/unix/sysv/local_lim.h: Likewise.
2391 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
2392 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
2393 * sysdeps/unix/sysv/signum.h: Likewise.
2394 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
2395 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
2396 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
2397 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
2398 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
2399 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
2400 * sysdeps/vax/huge_val.h: Likewise.
2401 * values.h: Likewise.
2403 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
2405 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
2406 `memcpy' using bcopy if memcpy is not available.
2408 * manual/stdio.texi: Correct description of printf customization.
2409 The argument info function is not optional anymore and the
2410 interface for `printf_function' also changed.
2411 * manual/examples/rprintf.c: Define and use argument info function.
2413 * stdio-common/printf.h (struct printf_info): Change type for field
2415 Correct comment for `register_printf_function'.
2417 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
2418 to reentrant function. Instead use temporary variable and set
2419 h_errno if an error occured.
2420 Reported by NIIBE Yutaka.
2422 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2424 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
2425 S_ITRANS): New macros.
2426 (S_ISPARE): Update to include new macros and S_IUSEUNK.
2428 * sysdeps/mach/hurd/select.c (__select): Construct arg to
2429 mach_msg_destroy more nicely.
2431 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
2433 * stdio/fopen.c (__getmode): Declare with prototype.
2434 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
2435 * stdio/internals.c (__stdio_check_funcs, init_stream,
2436 seek_to_target, flushbuf, fillbuf): Likewise.
2438 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
2439 funlockfile, not _IO_funlockfile.
2441 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
2443 * sysdeps/posix/writev.c (writev): Likewise.
2445 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
2447 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2449 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
2450 prototyped definition.
2452 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
2453 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
2455 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
2457 * inet/Makefile (headers): Add aliases.h.
2458 (routines): Add getaliasent_r, getaliasent, getaliasname, and
2460 * aliases.h: New file.
2461 * inet/aliases.h: New file.
2462 * inet/getaliasent.c: New file.
2463 * inet/getaliasent_r.c: New file.
2464 * inet/getaliasname.c: New file.
2465 * inet/getaliasname_r.c: New file.
2466 * nss/Makefile (databases): Add alias.
2467 * nss/alias-lookup.c: New file.
2468 * nss/databases.def: Add aliases and publickey.
2469 * nss/nss_db/db-alias.c: New file.
2470 * nss/nss_files/files-alias.c: New file.
2472 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
2473 argument to lookup function is of type size_t.
2474 (innetgr): Likewise.
2475 * nss/getXXbyYY_r.c: Likewise.
2476 * nss/getXXent_r.c: Likewise.
2477 * nss/nss_db/db-XXX.c: Likewise.
2479 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
2480 failed because buffer was too small.
2481 * nss/getXXent.c: Likewise.
2483 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
2484 getXXent_r function now uses f[gs]etpos to get to the correct
2487 * nss/nss_files/files-parse.c: Indent lines for better readability.
2489 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
2490 and new function print_and_abort. Remove all references to
2492 Add new function _obstack_memory_used.
2493 * malloc/obstack.h (struct obstack): Remove field alloc_field.
2494 Remove all references to alloc_failed field.
2495 Add prototype for _obstack_memory_used.
2497 * posix/unistd.h: Correct typo.
2499 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
2501 * configure.in: Require at least autoconf-2.10.2.
2503 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2505 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
2508 * mach/msg-destroy.c (mach_msg_destroy_port,
2509 mach_msg_destroy_memory): Use prototype syntax.
2510 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
2511 malloc_fork_parent, malloc_fork_child): Likewise.
2513 * stdio/stdio.h: Repair broken cpp syntax.
2515 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
2516 we pass O_NOLINK on the open.
2518 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
2519 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
2520 an XOPEN error code, move to before the "Linux only" section, and
2521 give it a new number for the Hurd.
2523 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
2525 * malloc/obstack.h: Add new macro `obstack_make_room'.
2526 * malloc/obstack.c: Add function implementation for
2527 `obstack_make_room'.
2529 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2531 Update to BIND-4.9.5-REL.
2532 * resolv/Banner: Set to 4.9.5-REL.
2533 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
2534 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
2537 * config.make.in: Add definition for top_absdir.
2538 * Makerules (make-link): Fix path to rellns-sh script.
2540 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2542 * posix/unistd.h: Fix comment.
2544 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
2545 when talking about numbers.
2546 * manual/users.texi: Likewise.
2547 * manual/creature.texi: Likewise. Use @defvarx for a secondary
2550 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2552 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
2553 the real posix1_lim.h file so that it works in all subdirs, not
2556 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2558 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
2560 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2562 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
2563 on $(before-compile) which hasn't been properly setup yet at this
2566 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2568 * sysdeps/generic/sigset.h: Don't use implicit int which will
2569 probably require a diagnostic in the next revision of the C
2571 * sysdeps/stub/lockfile.c: Likewise.
2573 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2575 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
2576 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2578 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
2580 * time/strftime.c: Update copyright. Small cosmetic changes.
2582 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
2584 * inet/getprtname_r.c: Reformat copyright.
2586 * nss/Makefile (databases): Add key.
2587 (libnss_files-routines): Exclude key database.
2588 (libnss_db-routines): Likewise.
2589 * nss/key-lookup.c: New file.
2591 * nss/getXXent_r.c (last_nip): Remember last service used since
2593 (SETFUNC): Don't force to work through whole list of services in
2595 Update last_nip if necessary.
2596 (ENDFUNC): Only process endXXent function up to currently used
2598 (GETFUNC): Update last_nip if necessary.
2600 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
2603 * rpc/auth_des.h: New file.
2604 * sunrpc/Makefile (headers): Add auth_des.h.
2605 (routines): Add publickey.
2606 * sunrpc/publickey.c: New file. Interface to public key handling.
2607 * sunrpc/rpc/auth_des.h: New file.
2608 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
2610 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
2612 * inet/gethstent_r.c: Update copyright.
2613 * nss/getXXbyYY_r.c: Likewise.
2614 * nss/nsswitch.c: Likewise.
2615 * nss/getXXent_r.c: Likewise.
2616 * nss/nss_files/files-XXX.c: Likewise.
2617 * nss/nss_files/files-netgroup.c: Likewise.
2618 * nss/nss_files/files-parse.c: Likewise.
2620 * nss/getXXent_r.c: Change implementation. It's not necessary to
2621 call all setXXent functions. Just find first available and
2622 when necessary let getXXent_r call the others.
2624 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
2625 of getXXent and getXXbyYY can be mixed. The cursor for traversing
2626 the database with getXXent will be remembered.
2628 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
2630 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
2632 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
2633 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
2635 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
2637 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
2639 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
2640 set. Instead for none beside the first seven bits to be set.
2641 X/Open allows the argument to be an `int' value.
2642 Reported by Alain Williams <addw@phcomp.co.uk>.
2643 (toascii, isascii): Define macro also when __USE_XOPEN.
2645 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
2648 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
2650 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
2651 NULL so that GETFUNC will see first entry.
2652 (ENDFUNC_NAME): Likewise.
2654 Rewrite Netgroups implementation to avoid global data.
2655 * inet/netgroup.h: Add definition of name_list and struct
2657 Add prototypes for internal netgroup functions.
2658 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
2659 extra argument and use the included data instead of global vars.
2660 (_nss_files_endnetgrent): Likewise.
2661 (_nss_netgroup_parseline): Change to be static and use data
2662 included in the RESULT structure.
2663 * inet/getnetgrent_r.c (startp): Move into setup function.
2664 (known_groups, needed_groups): new part of the __netgrent sruct.
2665 (freememory): Take extra argument and use included data.
2666 (__internal_endnetgrent): Likewise.
2667 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
2668 and take extra argument.
2669 (__internal_setnetgrent): New function. Call
2670 __internal_setnetgrent_reuse after calling free_memory.
2671 (setnetgrent): Only call __internal_setnetgrent.
2672 (__getnetgrent_r): Split into two functions. __getnetgrent_r
2673 calls __internal_getnetgrent after locking.
2674 (innetgr): Use dynamic data only. I.e., innetgr now is fully
2677 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
2679 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
2680 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
2682 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
2684 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
2685 default when no *_SOURCE macro is given.
2686 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
2687 * NOTES: remade from manual/creature.texi.
2688 * manual/libc.texinfo: Add back line about GPL translation which
2691 * Make-dist (dist.tar): Depend on README being updated.
2693 * rellns-sh: Correct thinko in removing leading /.
2694 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2696 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
2697 with `+' or `-' in parser.
2698 * grp/fgetgrent_r.c: Likewise.
2699 * shadow/sgetspent_r.c: Likewise.
2700 * nss/nss_files/files-spwd.c: Don't accept entries starting with
2703 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
2705 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
2706 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
2708 * string/argz.h: Don't protect by __USE_GNU.
2710 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
2712 * Lots of files: Update and reformat copyright.
2714 * Makefile (headers): Add xopen_lim.h.
2716 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
2718 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
2719 if __USE_XOPEN_EXTENDED is defined.
2720 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
2721 if __USE_XOPEN_EXTENDED is defined.
2723 * io/Makefile (routines): Add lchown.
2724 * sysdeps/stub/lchown.c: New file.
2726 * io/sys/poll.h: Add definition of POLLWRNORM.
2728 * io/sys/stat.h: Declare lstat, fchmod, mknod when
2729 __USE_XOPEN_EXTENDED is defined.
2731 * libio/Makefile (routines): Add obprintf.
2732 * libio/obprintf.c: New file.
2733 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
2735 * libio/libio.h: Fix typo.
2736 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
2737 Add prototypes for obstack_vprintf and obstack_printf.
2739 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
2740 * manual/intro.texi: Add reference to NSS chapter.
2741 * manual/libc.texinfo: Update UPDATED.
2742 Comment out `@printindex cp'. It works again.
2743 * manual/memory.texi: Add description for obstack_ptr_grow,
2744 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
2745 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
2746 index entries to @vindex.
2747 * manual/users.texi: Correct @cindex entry for Netgroup.
2749 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
2750 make declarations visible for X/Open sources.
2752 * misc/search.h: Declare insque/remque only is __USE_SVID or
2753 __USE_XOPEN_EXTENDED is defined.
2755 * misc/sys/uio.h (readv, writev): Change return value from int to
2758 * posix/Makefile (headers): Add re_comp.h.
2759 * posix/re_comp.h: New file. XPG interface to regex functions.
2761 * posix/getconf.c: Add all names from XPG4.2.
2762 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
2763 and _POSIX_OPEN_MAX to minimums from XPG4.2.
2764 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
2765 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
2766 * sysdeps/stub/sysconf.c: Likewise.
2768 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
2769 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
2770 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
2771 ftruncate, getdtablesize, brk, sbrk, lockf when
2772 __USE_XOPEN_EXTENDED is defined.
2774 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
2776 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
2777 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
2778 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2780 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
2781 __USE_XOPEN_EXTENDED is defined.
2783 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
2785 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
2787 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
2790 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
2791 and rindex available when __USE_XOPEN_EXTENDED is defined.
2793 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
2794 * sysdeps/posix/getpagesize.c: Likewise.
2795 * sysdeps/stub/getpagesize.c: Likewise.
2796 * sysdeps/unix/getpagesize.c: Likewise.
2798 * time/africa: Update from tzdata1996l.
2799 * time/asia: Likewise.
2800 * time/australia: Likewise.
2801 * time/europe: Likewise.
2802 * time/northamerica: Likewise.
2803 * time/pacificnew: Likewise.
2804 * time/southamerica: Likewise.
2805 * time/tzfile.h: Update from tzcode1996m.
2807 * time/time.h: Declare strptime if __USE_XOPEN.
2808 Declare daylight and timezone also if __USE_XOPEN.
2810 * time/sys/time.h: Remove declaration of ualarm.
2812 * wctype/wctype.h: Just reference ISO C standard.
2814 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
2816 * crypt/Makefile: Add crypt routines to libc as well iff
2817 $(crypt-in-libc) is set. Do this for temporary binary compatibility
2818 on existing Linux/Alpha installations.
2820 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
2821 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
2822 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
2823 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
2825 * sysdeps/alpha/div.S: New file.
2826 * sysdeps/alpha/ldiv.S: New file.
2827 * sysdeps/alpha/lldiv.S: New file.
2828 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
2829 Take pointers from Linus and tighten the inner loops a bit.
2830 * sysdeps/alpha/divl.S: Change defines for merged routines.
2831 * sysdeps/alpha/divq.S: Likewise.
2832 * sysdeps/alpha/reml.S: Likewise.
2833 * sysdeps/alpha/remq.S: Likewise.
2834 * sysdeps/alpha/divlu.S: Remove file.
2835 * sysdeps/alpha/divqu.S: Likewise.
2836 * sysdeps/alpha/remlu.S: Likewise.
2837 * sysdeps/alpha/remqu.S: Likewise.
2839 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
2840 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2841 * sysdeps/alpha/bzero.S: Likewise.
2842 * sysdeps/alpha/ffs.S: Likewise.
2843 * sysdeps/alpha/htonl.S: Likewise.
2844 * sysdeps/alpha/htons.S: Likewise.
2845 * sysdeps/alpha/memchr.S: Likewise.
2846 * sysdeps/alpha/memset.S: Likewise.
2847 * sysdeps/alpha/s_copysign.S: Likewise.
2848 * sysdeps/alpha/s_fabs.S: Likewise.
2849 * sysdeps/alpha/setjmp.S: Likewise.
2850 * sysdeps/alpha/stpcpy.S: Likewise.
2851 * sysdeps/alpha/stpncpy.S: Likewise.
2852 * sysdeps/alpha/strcat.S: Likewise.
2853 * sysdeps/alpha/strchr.S: Likewise.
2854 * sysdeps/alpha/strcpy.S: Likewise.
2855 * sysdeps/alpha/strlen.S: Likewise.
2856 * sysdeps/alpha/strncat.S: Likewise.
2857 * sysdeps/alpha/strncpy.S: Likewise.
2858 * sysdeps/alpha/strrchr.S: Likewise.
2859 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
2860 Convert two small jumps to use conditional moves.
2861 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
2862 (PSEUDO): If PROF, call _mcount.
2863 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
2864 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2865 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2866 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2867 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2868 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2869 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2871 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
2872 eventually contain memmove as well.
2873 * sysdeps/alpha/strcmp.S: New file.
2874 * sysdeps/alpha/strncmp.S: New file.
2875 * sysdeps/alpha/w_sqrt.S: New file.
2877 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
2879 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
2881 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
2883 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
2884 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
2885 Reported by Thomas Bushnell, n/BSG.
2887 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
2889 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
2891 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
2893 * malloc/calloc.c: Check for overflow before trying to allocate
2894 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
2896 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2898 * manual/llio.texi (Operating Modes): Add missing arguments to
2899 @deftypevr in O_NONBLOCK description.
2901 * manual/time.texi (Time Zone Functions): Enclose type name in
2902 braces in description of tzname. FIXME: this does not yet work
2905 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
2907 * features.h: Add X/Open macros.
2908 * posix/unistd.h: Define X/Open macros.
2909 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
2910 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
2911 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
2912 * sysdeps/posix/sysconf.c: Handle new constants.
2913 * sysdeps/stub/sysconf.c: Likewise.
2914 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
2916 * catgets/catgets.c (catopen): Set errno to ENOMEM when
2917 we run out of memory.
2918 (catgets): Set errno to EBADF when catalog handle is invalid.
2919 Set errno to ENOMSG when translation is not available.
2920 (catclose): Set errno to EBADF when catalog handle is invalid.
2922 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
2923 Likewise for _toupper and _tolower.
2925 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
2926 strtof, and strtold.
2927 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
2928 * manual/stdio.h: Document ' flag for numeric formats of scanf.
2929 * manual/users.texi: Document that cuserid shouldn't be used.
2931 * misc/Makefile (routines): Add dirname.
2932 (headers): Add libgen.h.
2933 (tests): Add tst-dirname.
2934 * misc/dirname.c: New file.
2935 * misc/libgen.h: New file.
2936 * misc/tst-dirname.c: New file.
2938 * misc/search.h: Parameter of hcreate must be of type size_t.
2939 * misc/hsearch.c: Likewise.
2940 * misc/hsearch_r.c: Likewise for hcreate_r.
2941 * misc/search.h: Parameters of insque and remque must be `void *'.
2942 * misc/insremque.c: Likewise.
2944 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
2945 * stdlib/stdlib.h: ...here.
2946 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
2949 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
2951 (parse_one_spec): Remove Linux compatibility code.
2952 Recognize %C and %S formats.
2953 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
2954 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
2955 * stdio-common/vfscanf.c: Likewise for scanf.
2957 * stdlib/l64a.c: Return value for 0 must be the empty string.
2958 * stdlib/stdlib.h: Declare reentrant function from rand49 family
2959 only if __USE_REENTRANT.
2960 Declare rand48 functions also if __USE_XOPEN.
2962 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
2964 Return 0 and set errno to EINVAL when strou* sees negativ number.
2965 * stdlib/tst-strtol.c: De-ANSI-fy.
2966 Change expected results for test of unsigned function and negative
2969 * string/stratcliff.c: Prevent warnings.
2970 * string.h: Move declaration of swab to <unistd.h>.
2971 * string/swab.c: De-ANSI-fy.
2973 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
2974 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
2975 * sysdeps/posix/mktemp.c: Likewise.
2976 * sysdeps/stub/mkstemp.c: Likewise.
2977 * sysdeps/stub/mktemp.c: Likewise.
2979 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
2981 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
2984 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
2986 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
2989 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
2991 * sysdeps/posix/cuserid.c: Use reentrant functions.
2992 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
2995 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
2997 Linus said he will make sure no system call will return a value
2998 in -1 ... -4095 as a valid result.
2999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
3000 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3001 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3002 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3004 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3006 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
3007 __funlockfile, not a circular alias.
3008 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
3011 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
3013 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
3015 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3017 * stdio-common/vfprintf.c: Include <libc-lock.h>.
3019 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3021 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
3024 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
3025 __internal_funlockfile (in terms of itself) should actually be a
3026 definition of __funlockfile.
3028 * pwd/pwd.h: Get `size_t' from <stddef.h>.
3029 * grp/grp.h: Likewise.
3030 * shadow/shadow.h: Likewise.
3032 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
3033 calls to __libc_lock_lock and __libc_lock_unlock.
3034 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
3037 * hurd/hurdsig.c (write_corefile): Fix typo.
3039 * sysdeps/mach/hurd/sigwait.c: New file.
3041 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
3043 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
3044 and __errno_location to correct position.
3046 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
3048 * Makefile (distribute): Add rellns-sh.
3049 * rellns-sh: New file.
3050 * Makerules (make-link): Use rellns-sh.
3051 * time/Makefile ($(installed-localtime-file)): Likewise.
3053 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
3055 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
3056 (distribute): Add ldd.bash.in.
3057 * elf/ldd.sh.in: Process --help and --version parameter.
3059 * elf/ldd.bash.in: New file.
3061 * stdlib/stdlib.h: Add prototype for clearenv.
3062 * sysdeps/generic/setenv.c: Add implementation of clearenv.
3063 (setenv): Handle __environ == NULL correctly.
3064 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
3067 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
3068 * sysdeps/generic/setenv.c: Likewise.
3069 * stdlib/strtol.h: Likewise.
3071 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
3072 Remove definition of struct timeval.
3073 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
3074 using `time_t' for members.
3075 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
3076 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
3077 as old Linux specific version.
3079 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
3081 * signal/Makefile (routines): Add sigwait.
3082 * signal/signal.h: Add prototype for sigwait.
3083 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
3084 function from POSIX.1c.
3085 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
3087 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
3089 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
3090 but don't bother going farther than sizeof(float)==sizeof(int).
3091 (xdr_double): Handle little-endian machines! Handle sizeof(double)
3092 != 2*sizeof(long), though again don't bother with more than int.
3094 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
3096 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
3099 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
3101 * Makerules: Create symbolic links for linking in $(libdir).
3102 (make-link): Use absolute path for destination if this is not in
3105 * elf/rtld.c (dl_main): When verifying don't check the name of
3108 * shlib-versions: Change entries for Hurd specific libs from
3109 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
3112 * assert/assert.h: Reformat copyright.
3113 Change reference to ANSI into reference to ISO C.
3114 * ctype/ctype.h: Likewise.
3115 * errno.h: Likewise.
3116 * limits.h: Likewise.
3117 * math/math.h: Likewise.
3118 * setjmp/setjmp.h: Likewise.
3119 * stdio/stdio.h: Likewise.
3120 * libio/stdio.h: Likewise.
3121 * stdlib/stdlib.h: Likewise.
3122 * string/string.h: Likewise.
3123 * time/time.h: Likewise.
3125 * string/argz.h: Use __const in definitions.
3127 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
3128 * misc/err.h: Likewise.
3130 * wctype/wctype.h (wctrans_t): Use __const instead of const.
3132 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
3133 sonames for versioned libraries.
3134 * Makefile: Remove code to generate libc-version.h.
3135 Generate gnu/lib-names.h with info from soversions.mk.
3136 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
3138 * dirent/tst-seekdir.c: Initialize save3.
3139 * grp/testgrp.c: Initialize my_group.
3141 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
3142 * grp/grp.h: Likewise.
3143 * nss/getXXbyYY.c: Likewise.
3144 * nss/getXXbyYY_r.c: Likewise.
3145 * nss/getXXent.c: Likewise.
3146 * nss/getXXent_r.c: Likewise.
3147 * pwd/fgetpwent_r.c: Likewise.
3148 * pwd/pwd.h: Likewise.
3149 * shadow/fgetspent_r.c: Likewise.
3150 * shadow/sgetspent.c: Likewise.
3151 * shadow/sgetspent_r.c: Likewise.
3152 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
3153 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
3154 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
3155 * resolv/netdb.h: Adapt prototypes for reentrant functions to
3157 * sunrpc/rpc/netdb.h: Likewise,
3158 * shadow/shadow.h: Likewise.
3160 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
3162 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
3164 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
3165 ELF aliasing creates strange situations.
3166 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
3168 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
3169 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3171 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
3174 * locale/programs/charmap.c: Add casts to prevent warnings.
3175 * locale/programs/linereader.h: Likewise.
3176 * locale/programs/ld-collate.c: Likewise.
3177 * locale/programs/stringtrans.c: Likewise.
3178 Change types for various variables to prevent warnings.
3179 * locale/programs/ld-ctype.c: Likewise.
3180 * locale/programs/linereader.h (lr_ungetc): Likewise.
3181 * locale/programs/charset.h (struct charset): Use `unsigned int'
3182 as type for width_default.
3183 * posix/regex.c: Change type of `this_reg' variables.
3184 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
3185 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
3187 * stdio-common/printf_fp.c: Initialize to_shift.
3188 * stdio-common/test_rdwr.c: Add cast.
3189 * stdio-common/vfprintf.c: Add casts and use correct types to
3191 * stdio-common/vfscanf.c: Initialize str and strptr.
3192 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
3193 * sysdeps/libm-ieee754/e_pow.c: Likewise.
3194 * sysdeps/libm-ieee754/e_powf.c: Likewise.
3195 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
3196 * time/test-tz.c: Likewise.
3198 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
3199 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
3200 libc.cp index. This must be fixed.
3201 * manual/nss.texi: Adapt for correct POSIX.1c interface of
3202 reentrant functions.
3203 * manual/users.texi: Document netgroup functions.
3205 * po/es.po: Updated.
3206 * po/fr.po: Updated.
3208 * posix/fnmatch.c: Change to match libit version.
3210 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
3211 * sysdep/posix/ttyname_r.c: Likewise.
3213 * stdlib/atexit.h (__new_exitfn): Add internal locking.
3214 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
3215 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
3216 * stdlib/random.c (__srandom): Add internal locking.
3217 (__initstate): Likewise.
3218 (__setstate): Likewise.
3219 (__random): Likewise.
3221 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3223 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
3225 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
3226 * sysdeps/generic/uname.c: Likewise.
3227 * sysdeps/posix/rename.c: Likewise.
3228 * sysdeps/stub/setrlimit.c: Likewise.
3230 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
3232 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3234 * locale/programs/ld-collate.c (collate_order_elem): Fix format
3236 (collate_element_to): Cast field width argument to `int' for
3238 (collate_symbol): Likewise.
3239 (collate_order_elem): Likewise.
3240 (collate_weight_bsymbol): Likewise.
3241 (collate_simple_weight): Likewise.
3243 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
3245 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
3246 argument for format string.
3247 (ctype_map_newP): Likewise.
3248 (set_class_defaults): Fix format string.
3250 * locale/programs/localedef.c (construct_output_path): Putting an
3251 explicit \0 into the format string does not work, use %c.
3253 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
3255 * Makerules: Install all shared libraries in $(slibdir).
3257 * login/Makefile: Build libutil.so in others pass after
3260 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
3262 * string/stratcliff.c: Allocate 3 pages instead of one, then use
3263 mprotect so that we know that the adjacent pages are inaccessible.
3265 * resource/sys/resource.h: Move all structures and enums to ...
3266 * sysdeps/generic/resourcebits.h: ... here ...
3267 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
3268 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
3269 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
3270 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
3271 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
3272 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
3273 header for RLIMIT_* definitions. The members of struct rlimit
3277 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3279 * MakeTAGS (sysdep-dirs): Fix typo.
3281 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3283 * hurd/hurdsig.c (write_corefile): If we can't create the core
3284 file, still call crash_dump_task with a null FILE arg. Maybe it
3285 won't actually need the file.
3287 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
3289 * Makefile (headers): Don't mention libc-version.h.
3290 (install-others): ...but here.
3292 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
3294 * version.h: Bump version number to 1.97.
3296 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
3297 Include libc-version.h.
3298 * features.h.in: Removed.
3299 * Makefile: Change rules to generate libc-version.h instead of
3302 * malloc/free.c: Add cast to prevent warning.
3303 * malloc/malloc-walk.c: Likewise.
3304 * malloc/ralloc.c: Likewise.
3305 * malloc/realloc.c: Likewise.
3307 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
3309 * pwd/fgetpwent_r.c: Likewise.
3310 * nss/nss_files/files-grp.c: Don't accept entries with names starting
3311 with + or - in lookup functions.
3312 * nss/nss_files/files-pwd.c: Likewise.
3314 * Makerules: Call autolock.sh using $(SHELL).
3316 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3318 * elf/dl-minimal.c: Don't define `dgettext' replacement but
3319 `dcgettext'. When optimizing the macros in <libintl.h> define
3320 `dgettext' as a macro and so this function will never be called.
3322 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
3324 * sysdeps/i386/sysdep.h: Define END to use .size when available.
3325 (PSEUDO_END): Use END.
3326 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
3327 define SYSCALL_ERROR_HANDLER before using END.
3328 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
3329 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
3330 and .size directive but PSEUDO_END.
3331 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
3332 * sysdeps/unix/sysv/linux/socket.S: Likewise.
3333 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
3334 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
3335 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
3336 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
3337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3338 * sysdeps/i386/bsd-setjmp.S: Likewise.
3339 * sysdeps/i386/memchr.S: Likewise.
3340 * sysdeps/i386/memcmp.S: Likewise.
3341 * sysdeps/i386/setjmp.S: Likewise.
3342 * sysdeps/i386/stpcpy.S: Likewise.
3343 * sysdeps/i386/stpncpy.S: Likewise.
3344 * sysdeps/i386/strchr.S: Likewise.
3345 * sysdeps/i386/strcspn.S: Likewise.
3346 * sysdeps/i386/strpbrk.S: Likewise.
3347 * sysdeps/i386/strrchr.S: Likewise.
3348 * sysdeps/i386/strspn.S: Likewise.
3349 * sysdeps/i386/strtok.S: Likewise.
3350 * sysdeps/i386/i486/strcat.S: Likewise.
3351 * sysdeps/i386/i486/strlen.S: Likewise.
3352 * sysdeps/i386/i586/memset.S: Likewise.
3353 * sysdeps/i386/i586/strchr.S: Likewise.
3354 * sysdeps/i386/i586/strlen.S: Likewise.
3356 * sysdeps/i386/strlen.c: De-ANSI-fy.
3358 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
3359 Define dgettext if not defined to use dcgettext.
3360 * sysdeps/mach/_strerror.c: Likewise.
3362 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
3363 __syscall_error defined.
3365 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3367 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
3368 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
3369 now provided by PSEUDO_END.
3370 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3371 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3372 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3373 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3374 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
3376 * sysdeps/generic/sysdep.h (END): Provide default empty
3378 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
3380 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
3381 (PSEUDO_END): Include it here instead.
3382 (SYSCALL_ERROR_HANDLER): Remove type directive.
3383 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
3384 * sysdeps/m68k/bsd-setjmp.S: Likewise.
3385 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3386 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3387 (__syscall_error): Can't use ENTRY macro.
3389 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3391 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
3392 Set caller to EXTRA.
3394 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
3396 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
3397 to beginning of function. So libc functions can use this flag.
3398 * sysdeps/generic/_strerror.c: Don't use dgettext for message
3399 translation while `_dl_starting_up' is nonzero.
3401 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
3403 Pass parameter value to _dl_map_object.
3404 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
3405 If TRACE_MODE is nonzero don#t signal error when shared lib
3406 is not found. Instead create fake entry for link map.
3407 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
3408 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
3409 argument to _dl_map_object_deps.
3410 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
3411 _dl_map_object and _dl_map_object_deps.
3412 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
3413 and _dl_map_object_deps.
3414 When mode == trace test for l_opencount == 0 before printing
3415 link information since this means the lib is not found.
3417 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
3419 * rpm/template: Add INSTALL to %doc line to follow copyright
3420 restrictions which demand the distribution of the copyright
3421 messages in INSTALL even for binary distributions.
3423 * features.h: Rename to...
3424 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
3425 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
3426 and __GNU_LIBRARY_INTERFACE__.
3427 * Makefile ($(objpfx)features.h): New rule to generate features.h
3428 from template features.h.in.
3430 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
3432 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
3434 * locale/programs/linereader.c (lr_open): Cast away const before free.
3435 (lr_close): Likewise.
3437 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
3438 * misc/paths.h: Move to ...
3439 * sysdeps/generic/paths.h: ... here.
3441 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
3442 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
3444 * nss/nss_db/db-netgrp.h: Include <string.h>.
3446 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
3447 _sys_siglist, which result in the "Unknown signal" message.
3448 * string/strsignal.c: Likewise.
3449 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
3450 don't auto-generate siglist.c.
3451 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
3452 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
3453 autogenerate makes bootstrapping and cross-compiling much easier.
3454 * sysdeps/unix/sysv/linux/siglist.h: New file.
3456 * stdlib/longlong.h: Prototype __udiv_qrnnd.
3458 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
3459 sys/io.h. It is already added in .../linux/Makefile.
3461 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
3462 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
3463 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
3465 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
3467 Add implementation of POSIX.1g function getaddrinfo.
3468 * posix/Makefile (routines): Add getaddrinfo.
3469 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
3471 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
3472 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
3473 related constants and structures.
3475 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
3477 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
3478 Make all old names weak alises so that they can be replaced
3481 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
3483 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
3484 __flockfile and __funlockfile.
3485 Reported by NIIBE Yutaka.
3487 * crypt/md5.c: Change form of copyright message according to GNITS
3489 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
3490 and `md5_read_ctx' function.
3491 * crypt/md5.h: Likewise.
3493 * grp/testgrp.c: Don't use perror for error cases since getgr* and
3494 getpw* functions do not return usable error codes.
3496 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
3498 * crypt/md5.c (md5_process_bytes): Used casting for pointer
3501 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
3503 * sunrpc/Makefile (others): Remove portmap here, too.
3505 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
3507 * intl/locale.alias: Language for entry `czech' is `cs'.
3509 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3511 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
3513 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
3515 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
3516 buggy and more competent people work on a usable version which is
3517 distributed separately.
3518 * sunrpc/portmap.c: Removed.
3519 Suggested by Thorsten Kukuk.
3521 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
3523 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
3526 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
3528 * string/Makefile (tests): Add stratcliff.
3529 * string/stratcliff.c: New file. Test for string function at
3530 the edge of the usable memory.
3532 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
3534 * Makerules ($(libdir)/libc.so): Fix typo.
3536 * elf/ldd.sh.in: Test whether given file really exist and give
3537 better message if it is not available.
3539 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
3541 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
3544 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
3546 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
3547 output to $@T and move to $@ later since the new rpcgen will not
3548 overwrite existing files.
3550 * po/Makefile (libc.pot): Fix typo.
3552 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3554 Update rpcgen program to TI-rpc code.
3555 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
3556 (distribute): Add proto.h.
3557 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
3558 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
3559 * sunrpc/rpc_cout.c: Likewise.
3560 * sunrpc/rpc_hout.c: Likewise.
3561 * sunrpc/rpc_main.c: Likewise.
3562 * sunrpc/rpc_parse.c: Likewise.
3563 * sunrpc/rpc_parse.h: Likewise.
3564 * sunrpc/rpc_scan.c: Likewise.
3565 * sunrpc/rpc_scan.h: Likewise.
3566 * sunrpc/rpc_svcout.c: Likewise.
3567 * sunrpc/rpc_util.c: Likewise.
3568 * sunrpc/rpc_util.h: Likewise.
3570 * sunrpc/rpc_tblout.c: New file.
3571 * sunrpc/rpc_sample.c: Likewise.
3573 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3575 * sysdeps/unix/opendir.c: Add semicolon for consistency.
3577 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
3579 * locale/programs/localedef.c (main): Test with -1 to find out
3580 whether read failed.
3582 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
3584 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
3587 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3589 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
3591 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3593 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
3594 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3595 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3596 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3597 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
3599 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3600 Correct generation of system call.
3602 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3604 * Makerules (sysd-Makefile): Fix command so that it works in the
3606 (BUILD_CFLAGS): Change back using $(..) instead of
3607 $(common-objpfx), the latter fails in the toplevel directory when
3608 $(objdir) is relative.
3609 (common-objdir-compile): Run compiler in $(objdir).
3610 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
3612 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
3614 * string/string.h [__USE_SVID]: Add prototype for swab.
3615 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
3616 Reported by Andreas Jaeger.
3618 The available nlist implementation is not generally usable.
3619 Especially on the currently supported ELF systems the nlist
3620 function comes with the libelf.
3621 * misc/Makefile (headers): Remove nlist.h.
3622 (routines): Remove nlist.
3624 * Makefile ($(objpfx)version-info.h): Include information about
3625 system the libc is built on in version-info.h file.
3627 * po/Makefile (distribute): Add header.pot.
3629 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3631 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
3632 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
3633 * misc/error.c: Likewise.
3635 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
3637 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
3639 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3641 * crypt/Makefile (rpath-link): Extend search path to current directory.
3643 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
3645 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
3648 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
3650 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
3652 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
3654 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3656 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
3659 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3661 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
3664 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3666 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
3668 (PSEUDO_END): Provide definition to use .size directive.
3669 (PSEUDO): Don't interpret negative return values less than -128 as
3671 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
3673 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
3675 * sysdeps/m68k/bsd-setjmp.S: Likewise.
3676 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3677 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3678 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3679 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3680 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3681 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
3682 explicit .size directive.
3684 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
3686 * shlib-versions: Add version number/name for ld.so.
3687 * Makeconfig: Move definition of rtld-installed-name after
3688 inclusion of soversions.mk.
3689 Don't add . before version number from shlib-versions file when
3690 when name does not start with digit. This is needed for ld.so.
3692 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
3694 * libio/iogets.c: Warn when gets is used.
3695 * stdio/gets.c: Strengthen the warning.
3697 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
3699 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
3700 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
3701 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
3702 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
3703 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
3705 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
3706 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
3707 appropriate values according to __USE_REENTRANT.
3708 * libio/stdio.h: Add prototype for ftrylockfile.
3709 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
3710 getc, getchar, putc, and putchar using _IO_* names.
3711 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
3712 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
3713 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
3714 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
3715 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
3716 * libio/peekc.c: New file.
3718 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
3721 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
3723 * crypt/Makefile (tests): Add md5test and md5c-test.
3724 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
3725 is called, the buffer limit is honoured and a loop in a inner
3727 * crypt/md5.h (struct md5_ctx): Add new fields.
3728 Add prototypes for new functions.
3729 * crypt/md5.c (md5_init_ctx): Initialize new fields.
3730 (md5_finish_ctx): New function. Like md5_read_ctx but before
3731 perform correct finalization.
3732 (md5_process_bytes): New function. Similar to md5_proces_block,
3733 but does not require input size to be multiple of 64.
3734 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
3735 (md5_buffer): Likewise.
3736 (md5_process_block): Count number of bytes.
3737 * crypt/md5test.c: New file. Test program for MD5 functions.
3738 * crypt/md5c-test.c: New file: Test program for MD5 crypt
3743 * time/strptime.c: Recognize %s, %u, %g, and %G format.
3745 * posix/getopt.c: Add some more casts and initializations to
3748 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
3750 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
3751 an extra function to provide this functionality.
3752 (cfgetospeed): Simply return masked value.
3753 (cfsetospeed): Don't use speeds array and so we can simply test
3754 the value of SPEED for illegal values.
3755 * termios/cfsetspeed.c: Rewrite. We convert here between the
3756 real values and the B* constants.
3757 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
3759 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3761 * locale/programs/xstrdup.c: Define prototypes.
3762 * locale/programs/xmalloc.c: Likewise.
3764 * stdio-common/xbug.c (main): Change definition to avoid warning.
3766 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
3768 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
3770 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
3772 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
3773 "$(i18ndir)/charmaps".
3775 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3777 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
3778 to get definition of FPU description struct.
3780 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
3781 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
3782 net/if_arp.h, and net/route.h.
3783 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
3784 * sysdeps/unix/sysv/linux/net/route.h: New file.
3786 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
3788 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
3789 * sysdeps/stub/e_acosl.c: Likewise.
3790 * sysdeps/stub/e_asinl.c: Likewise.
3791 * sysdeps/stub/e_atan2l.c: Likewise.
3792 * sysdeps/stub/e_expl.c: Likewise.
3793 * sysdeps/stub/e_fmodl.c: Likewise.
3794 * sysdeps/stub/e_log10l.c: Likewise.
3795 * sysdeps/stub/e_logl.c: Likewise.
3796 * sysdeps/stub/e_sqrtl.c: Likewise.
3797 * sysdeps/stub/s_atanl.c: Likewise.
3798 * sysdeps/stub/s_log1pl.c: Likewise.
3800 * Makefile (distribute): Add nsswitch.h and netgroup.h.
3802 * nss/Makefile (generated): db-netgrp.c is not generated.
3804 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
3806 * Make-dist (+out): Add $(dont_distribute).
3808 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3810 * stdio-common/Makefile (routines): Add tmpnam_r.
3812 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
3814 * version.h: Bump version to 1.96.
3816 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3818 * stdio-common/tst-printf.c: Some more cleanups.
3820 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
3822 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
3823 * resolv/resolv.h: Likewise.
3824 * resolv/gethnamaddr.c: Likewise.
3825 * resolv/res_comp.c: Likewise.
3826 * resolv/res_debug.c: Likewise.
3827 * resolv/res_init.c: Likewise.
3828 * resolv/res_send.c: Likewise.
3829 * resolv/Banner: Update version number.
3831 * nss/nss_dns/dns-host.c: Update according to change in
3832 resolv/gethnamaddr.c.
3834 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
3836 * crypt/md5.c (md5_stream): When reading the block in several
3837 pieces append to instead of replace previously read data.
3839 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
3841 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
3842 last-byte-written bit for source word misalignment.
3843 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
3846 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
3848 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
3849 comes with glibc-nis.
3850 * sunrpc/rpcsvc/yp.x: Removed.
3852 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
3853 for *CURSOR to be NULL and dump a core if yes.
3855 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
3857 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
3858 including <errnos.h> to get error numbers.
3860 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
3862 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
3863 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
3864 Alpha people find a correct file.
3865 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
3866 an alias of __cabs since the structures have different names.
3867 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
3868 Reported by Matthew Jacob <mjacob@feral.com>.
3870 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3872 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
3873 so that it still works right if we happen to get called in a
3874 subdir it still works.
3876 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
3877 as file name translation flags.
3878 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
3879 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
3882 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
3883 name (changed according to libc-name) to avoid getting the
3884 Hurd-ish linker script for libc.a when we only want the archive
3887 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
3889 * time/strftime.c: Allow old K&R compilers compile this file.
3891 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
3893 * posix/execlp.c: Add first argument parameter to be compliant
3894 with POSIX. Rearrange body to start vararg counter after
3897 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
3899 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
3900 simply a wrapper around the <linux/elfcore.h> file since the
3901 kernel header is not clean enough. We provide the definitions
3902 in this file instead.
3904 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
3906 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
3907 get?id calls by using __libc_enable_secure.
3909 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
3911 * inet/getnetgrent_r.c: Correct netgroup implementation. A
3912 specification of a netgroup can also name another netgroup.
3913 * nss/nss_files/files-netgrp.c: Likewise.
3914 * inet/netgroup.h: Add fields to hold additional information.
3916 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
3918 * posix/getopt.c: Implement POSIX -W option handling. When the
3919 option string contains "W;" -W foo is handled like --foo.
3921 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
3923 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
3924 inclusing <errnos.h> so we really get error symbols defined.
3925 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3926 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3928 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
3929 size array for getgroups call. Instead get maximal number via
3930 sysconf. But discard list to NGRPS elements before calling XDR
3931 function since Sun's code cannot handle longer lists.
3932 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3934 * sysdeps/stub/e_j0l.c: Define y0l as well.
3935 * sysdeps/stub/e_j1l.c: Define y1l as well.
3936 * sysdeps/stub/e_jnl.c: Define ynl as well.
3938 * posix/unistd.h: Correct prototype for execlp.
3940 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
3942 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3944 * Makeconfig (sysdep-library-path): New variable.
3945 (built-program-cmd): Use it here to properly build a colon
3946 separated library path.
3948 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3950 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
3951 within comparison. Fix comments.
3952 (md5_crypt): Fix comment.
3954 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
3956 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
3957 when _ERRNO_H is defined.
3958 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
3959 Should there ever be a Linux port where the numeric values are
3960 not 33 and 34 this file must change.
3962 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3964 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
3967 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3969 * string/tst-strlen.c (main): Provide prototype.
3970 * malloc/mallocbug.c: Likewise.
3971 * io/test-utime.c: Likewise.
3973 * sysdeps/generic/crypt-entry.c: Correct typo.
3975 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
3977 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
3978 test for libc.a. Checking _DYNAMIC is of no worth here.
3979 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3981 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
3982 EXTERN_PARSER is defined.
3984 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3986 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
3988 * crypt/md5-crypt.c: Fix typos in comments.
3990 * gmon/gmon.c: Provide prototypes.
3991 * db/makedb.c: Likewise.
3992 * locale/programs/xmalloc.c: Likewise.
3993 * stdio-common/bug11.c (main): Likewise.
3994 * stdio-common/bug7.c (main): Likewise.
3995 * stdio-common/bug8.c (main): Likewise.
3996 * stdio-common/bug9.c (main): Likewise.
3997 * stdio-common/scanf1.c (main): Likewise.
3998 * stdio-common/scanf2.c (main): Likewise.
3999 * stdio-common/scanf5.c (main): Likewise.
4000 * stdio-common/scanf6.c (main): Likewise.
4001 * stdio-common/scanf7.c (main): Likewise.
4002 * stdio-common/scanf8.c (main): Likewise.
4003 * stdio-common/temptest.c (main): Likewise.
4004 * stdio-common/test-fwrite.c (main): Likewise.
4005 * stdio-common/tst-printf.c: Likewise.
4006 * stdio-common/tstdiomisc.c: Likewise.
4007 * stdio-common/tstgetln.c (main): Likewise.
4008 * stdlib/testmb.c (main): Likewise.
4010 * stdio-common/scanf4.c (main): Correct prototype, remove unused
4013 * stdio-common/scanf3.c (main): Correct prototype, change
4014 declaration of s to reduce warnings.
4015 * stdio-common/bug10.c (main): Likewise.
4017 * stdio-common/tfformat.c: Provide prototype, remove unused
4018 reference to dump_stats, add braces in sprint_doubles.
4019 * stdio-common/tiformat.c: Likewise.
4021 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
4024 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4026 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
4028 * shadow/putspent.c: Don't write colon after flag field.
4030 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
4032 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
4033 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
4034 * sysdeps/unix/sysv/linux/Dist: Mention new files.
4036 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
4038 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
4039 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
4041 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
4042 by using __libc_enable_secure variable.
4044 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4046 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
4047 null, don't attempt mach_port_mod_refs.
4049 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4051 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
4052 sysdeps/unix/pipestream.c.
4054 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
4055 from sysdeps/mach/hurd/readdir.c.
4057 * stdio/freopen.c: Complete de-ansideclification.
4058 * stdio/fgets.c (fgets): Likewise.
4059 * stdio/getdelim.c (__getdelim): Likewise.
4060 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
4063 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4064 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4066 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
4067 STAT_LOC without error.
4069 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
4071 * posix/getopt.c: Add casts to prevent warnings.
4072 * posix/regex.c: Likewise.
4074 * math/Makefile (long-m-routines, long-m-yes): Define to correct
4075 values to make `long double' functions available.
4076 (distribute): Add $(long-m-yes:=.c).
4078 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
4079 Use long double instruction.
4081 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
4082 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
4083 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
4085 * sysdeps/libm-ieee754/e_coshl.c: New file.
4087 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
4088 for `long double' version as alias.
4089 * sysdeps/libm-ieee754/s_atan.c: Likewise.
4090 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
4091 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
4092 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
4093 * sysdeps/libm-ieee754/s_cos.c: Likewise.
4094 * sysdeps/libm-ieee754/s_erf.c: Likewise.
4095 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4096 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
4097 * sysdeps/libm-ieee754/s_finite.c: Likewise.
4098 * sysdeps/libm-ieee754/s_floor.c: Likewise.
4099 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
4100 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
4101 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4102 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4103 * sysdeps/libm-ieee754/s_logb.c: Likewise.
4104 * sysdeps/libm-ieee754/s_modf.c: Likewise.
4105 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
4106 * sysdeps/libm-ieee754/s_rint.c: Likewise.
4107 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
4108 * sysdeps/libm-ieee754/s_significand.c: Likewise.
4109 * sysdeps/libm-ieee754/s_sin.c: Likewise.
4110 * sysdeps/libm-ieee754/s_tan.c: Likewise.
4111 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
4112 * sysdeps/libm-ieee754/w_acos.c: Likewise.
4113 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
4114 * sysdeps/libm-ieee754/w_sin.c: Likewise.
4115 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
4116 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
4117 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
4118 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
4119 * sysdeps/libm-ieee754/w_drem.c: Likewise.
4120 * sysdeps/libm-ieee754/w_exp.c: Likewise.
4121 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
4122 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4123 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
4124 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
4125 * sysdeps/libm-ieee754/w_j0.c: Likewise.
4126 * sysdeps/libm-ieee754/w_j1.c: Likewise.
4127 * sysdeps/libm-ieee754/w_jn.c: Likewise.
4128 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4129 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
4130 * sysdeps/libm-ieee754/w_log.c: Likewise.
4131 * sysdeps/libm-ieee754/w_log10.c: Likewise.
4132 * sysdeps/libm-ieee754/w_pow.c: Likewise.
4133 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
4134 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4135 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
4136 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
4138 Stub files for missing long double math functions.
4139 * sysdeps/stub/e_acoshl.c: New file.
4140 * sysdeps/stub/e_hypotl.c: New file.
4141 * sysdeps/stub/e_j0l.c: New file.
4142 * sysdeps/stub/e_j1l.c: New file.
4143 * sysdeps/stub/e_jnl.c: New file.
4144 * sysdeps/stub/e_lgammal_r.c: New file.
4145 * sysdeps/stub/e_powl.c: New file.
4146 * sysdeps/stub/e_rem_pio2l.c: New file.
4147 * sysdeps/stub/e_sinhl.c: New file.
4148 * sysdeps/stub/k_cosl.c: New file.
4149 * sysdeps/stub/k_rem_pio2l.c: New file.
4150 * sysdeps/stub/k_sinl.c: New file.
4151 * sysdeps/stub/k_tanl.c: New file.
4152 * sysdeps/stub/s_erfl.c: New file.
4153 * sysdeps/stub/s_expm1l.c: New file.
4155 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
4157 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4158 * sysdeps/i386/bsd-setjmp.S: Likewise.
4159 * sysdeps/i386/memchr.S: Likewise.
4160 * sysdeps/i386/memcmp.S: Likewise.
4161 * sysdeps/i386/setjmp.S: Likewise.
4162 * sysdeps/i386/stpcpy.S: Likewise.
4163 * sysdeps/i386/stpncpy.S: Likewise.
4164 * sysdeps/i386/strchr.S: Likewise.
4165 * sysdeps/i386/strcspn.S: Likewise.
4166 * sysdeps/i386/strpbrk.S: Likewise.
4167 * sysdeps/i386/strrchr.S: Likewise.
4168 * sysdeps/i386/strspn.S: Likewise.
4169 * sysdeps/i386/strtok.S: Likewise.
4170 * sysdeps/i386/i486/strcat.S: Likewise.
4171 * sysdeps/i386/i486/strlen.S: Likewise.
4172 * sysdeps/i386/i586/memset.S: Likewise.
4173 * sysdeps/i386/i586/strchr.S: Likewise.
4174 * sysdeps/i386/i586/strlen.S: Likewise.
4175 * sysdeps/libm-i387/e_acos.S: Likewise.
4176 * sysdeps/libm-i387/e_acosl.S: Likewise.
4177 * sysdeps/libm-i387/e_asin.S: Likewise.
4178 * sysdeps/libm-i387/e_asinl.S: Likewise.
4179 * sysdeps/libm-i387/e_atan2.S: Likewise.
4180 * sysdeps/libm-i387/e_atan2l.S: Likewise.
4181 * sysdeps/libm-i387/e_exp.S: Likewise.
4182 * sysdeps/libm-i387/e_expl.S: Likewise.
4183 * sysdeps/libm-i387/e_fmod.S: Likewise.
4184 * sysdeps/libm-i387/e_fmodl.S: Likewise.
4185 * sysdeps/libm-i387/e_log.S: Likewise.
4186 * sysdeps/libm-i387/e_log10.S: Likewise.
4187 * sysdeps/libm-i387/e_log10l.S: Likewise.
4188 * sysdeps/libm-i387/e_logl.S: Likewise.
4189 * sysdeps/libm-i387/e_remainder.S: Likewise.
4190 * sysdeps/libm-i387/e_remainderf.S: Likewise.
4191 * sysdeps/libm-i387/e_remainderl.S: Likewise.
4192 * sysdeps/libm-i387/e_scalb.S: Likewise.
4193 * sysdeps/libm-i387/e_scalbl.S: Likewise.
4194 * sysdeps/libm-i387/e_sqrt.S: Likewise.
4195 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
4196 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
4197 * sysdeps/libm-i387/s_atan.S: Likewise.
4198 * sysdeps/libm-i387/s_atanf.S: Likewise.
4199 * sysdeps/libm-i387/s_atanl.S: Likewise.
4200 * sysdeps/libm-i387/s_ceil.S: Likewise.
4201 * sysdeps/libm-i387/s_ceilf.S: Likewise.
4202 * sysdeps/libm-i387/s_ceill.S: Likewise.
4203 * sysdeps/libm-i387/s_copysign.S: Likewise.
4204 * sysdeps/libm-i387/s_copysignf.S: Likewise.
4205 * sysdeps/libm-i387/s_copysignl.S: Likewise.
4206 * sysdeps/libm-i387/s_cos.S: Likewise.
4207 * sysdeps/libm-i387/s_cosf.S: Likewise.
4208 * sysdeps/libm-i387/s_cosl.S: Likewise.
4209 * sysdeps/libm-i387/s_finite.S: Likewise.
4210 * sysdeps/libm-i387/s_finitef.S: Likewise.
4211 * sysdeps/libm-i387/s_finitel.S: Likewise.
4212 * sysdeps/libm-i387/s_floor.S: Likewise.
4213 * sysdeps/libm-i387/s_floorf.S: Likewise.
4214 * sysdeps/libm-i387/s_floorl.S: Likewise.
4215 * sysdeps/libm-i387/s_ilogb.S: Likewise.
4216 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
4217 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
4218 * sysdeps/libm-i387/s_log1p.S: Likewise.
4219 * sysdeps/libm-i387/s_log1pf.S: Likewise.
4220 * sysdeps/libm-i387/s_log1pl.S: Likewise.
4221 * sysdeps/libm-i387/s_logb.S: Likewise.
4222 * sysdeps/libm-i387/s_logbf.S: Likewise.
4223 * sysdeps/libm-i387/s_logbl.S: Likewise.
4224 * sysdeps/libm-i387/s_rint.S: Likewise.
4225 * sysdeps/libm-i387/s_rintf.S: Likewise.
4226 * sysdeps/libm-i387/s_rintl.S: Likewise.
4227 * sysdeps/libm-i387/s_scalbn.S: Likewise.
4228 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
4229 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
4230 * sysdeps/libm-i387/s_significand.S: Likewise.
4231 * sysdeps/libm-i387/s_significandf.S: Likewise.
4232 * sysdeps/libm-i387/s_significandl.S: Likewise.
4233 * sysdeps/libm-i387/s_sin.S: Likewise.
4234 * sysdeps/libm-i387/s_sinf.S: Likewise.
4235 * sysdeps/libm-i387/s_sinl.S: Likewise.
4236 * sysdeps/libm-i387/s_tan.S: Likewise.
4237 * sysdeps/libm-i387/s_tanf.S: Likewise.
4238 * sysdeps/libm-i387/s_tanl.S: Likewise.
4240 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
4241 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
4242 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
4243 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
4245 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
4246 to provide .size directive on ELF systems.
4248 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
4249 <sigcontext.h> and rename parameter type to sigcontext.
4250 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
4252 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
4253 negative values might occur as positive results. Test against
4254 -125 to decide for error or not.
4255 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
4257 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4259 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
4260 whether this is a statically linked program. The latter is now
4263 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4265 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
4266 controlling terminals are allowed to send.
4268 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
4269 table is larger than the allowable address size, then return
4272 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
4276 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
4278 * po/fr.po: New file.
4280 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
4282 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
4284 Add support for MD5 crypt replacement.
4285 * Makefile (subdirs): Add crypt.
4286 * shlib-versions: Add entry for libcrypt.
4287 * crypt/md5-crypt.c: New file.
4288 * crypt/md5.c: New file.
4289 * crypt/md5.h: New file.
4290 * sysdeps/generic/crypt-entry.c: New file.
4291 * sysdeps/generic/crypt.h: New file.
4293 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4295 * dirent/tst-seekdir.c: Provide correct prototypes.
4296 * io/test-utime.c: Likewise.
4297 * malloc/mallocbug.c: Likewise.
4298 * posix/testfnm.c: Likewise.
4299 * stdio-common/xbug.c: Likewise.
4300 * sysdeps/posix/cuserid.c: Likewise.
4302 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
4304 Provide optimized string functions for Alpha processors.
4305 * sysdeps/alpha/bzero.S: New file.
4306 * sysdeps/alpha/memset.S: New file.
4307 * sysdeps/alpha/stpcpy.S: New file.
4308 * sysdeps/alpha/stpncpy.S: New file.
4309 * sysdeps/alpha/strcat.S: New file.
4310 * sysdeps/alpha/strchr.S: New file.
4311 * sysdeps/alpha/strcpy.S: New file.
4312 * sysdeps/alpha/strncat.S: New file.
4313 * sysdeps/alpha/strncpy.S: New file.
4314 * sysdeps/alpha/strrchr.S: New file.
4315 * sysdeps/alpha/stxcpy.S: New file.
4316 * sysdeps/alpha/stxncpy.S: New file.
4318 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
4319 stxncpy to sysdep_routines.
4322 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4324 * sysdeps/generic/gnu/types.h: Added __loff_t.
4325 Don't declare key_t here.
4327 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
4328 set errno (to ENOMEM).
4330 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
4332 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
4333 nothing is found. This guarantees all subsequent calls behave
4335 * sysdeps/generic/strtok_r.c: Likewise.
4337 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4339 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
4342 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
4344 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
4345 NULL immediately; we're going to get called one more time.
4346 * sysdeps/generic/strtok_r.c: Likewise.
4348 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
4350 * locale/programs/ld-time.c: Always write some bytes at the end of
4351 the file even if no `era's are specified.
4353 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
4356 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
4358 * libio/iofclose.c: Move unlocking to right position.
4360 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
4362 * misc/Makefile: Kill force-wrapper.
4363 * misc/force-wrapper.c: Delete.
4365 * elf/eval.c: Add <string.h>.
4367 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
4368 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
4369 and binary compatibility not at all. Better to do `char *foo'
4370 followed by `foo = ptr' as it is much cleaner.
4371 (struct gmon_hdr): Fix version.
4372 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
4373 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
4374 * gmon/gmon.c: De-ansidecl-ify.
4375 (write_hist): De-bcopy-fy.
4376 (write_call_graph): Likewise.
4378 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
4379 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
4380 * sysdeps/generic/machine-gmon.h: Likewise.
4382 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
4383 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
4384 * nss/nss_dns/dns-network.c: Likewise.
4385 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
4386 * resolv/getnetnamadr.c: Likewise.
4387 * resolv/res_debug.c: Likewise.
4388 * resolv/res_mkquery.c: Likewise.
4389 * resolv/res_query.c: Likewise.
4391 * libio/clearerr_u.c: It's not necessary to define __ protected
4392 function so don't do it.
4393 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
4394 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
4396 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
4397 the cleanup registrar.
4398 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
4399 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
4400 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
4401 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
4402 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
4403 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
4404 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
4407 * locale/programs/ld-ctype.c: Include <alloca.h>.
4409 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
4411 * posix/sys/types.h: Change #defines to typedefs. This is looking
4412 forward to more comprehensive namespace cleanups for C++.
4413 * posix/unistd.h: Likewise for ssize_t.
4415 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
4418 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
4419 `statement with no effect' warnings.
4420 * resolv/inet_neta.c: Include <string.h> for strlen.
4422 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
4423 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
4424 * stdio-common/vfprintf.c: Same for va_list.
4425 * stdio-common/vfscanf.c: Same.
4426 * stdio-common/reg-printf.c: Prototype the __ function.
4427 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
4428 _IO_vscanf declaration.
4430 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
4431 but to unsigned long for the health of 64-bit systems.
4433 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
4434 Many system's <sys/param.h> pulls this in.
4436 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
4439 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
4440 instead of defining it locally.
4442 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
4443 * sysdeps/stub/chflags.c: Prototype chflags.
4444 * sysdeps/stub/fchflags.c: Prototype fchflags.
4445 * sysdeps/stub/sstk.c: Prototype sstk.
4447 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
4448 variable to __errno. Update __syscall_error to store to both
4449 the global and per-thread variables.
4451 * sysdeps/unix/sysv/linux/init-first.c: Change include of
4452 init-first.h from "" to <> as "" does not search the include path.
4453 Prototype _dl_start.
4455 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4457 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
4458 pattern rule to get the right stem.
4460 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4462 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
4464 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4466 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
4468 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4470 * malloc/free.c (_free_internal): Don't call free recursively, use
4471 the internal functions instead.
4473 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4475 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
4476 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
4478 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4480 * catgets/gencat.c (main): Print version information on stdout,
4482 * db/makedb.c: Likewise.
4483 * locale/programs/locale.c: Likewise.
4484 * locale/programs/localedef.c: Likewise.
4486 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
4488 Add implementation of netgroup.
4489 * inet/Makefile (distributes): Add netgroup.h.
4490 (routines): Add getnetgrent.c and getnetgrent_r.c.
4491 * inet/getnetgrent.c: New file.
4492 * inet/getnetgrent_r.c: New file.
4493 * inet/netgroup.h: New file.
4494 * netgroup.h: New file.
4495 * nsswitch.h: New file.
4496 * nss/Makefile (databases): Add getgrp.
4497 * nss/databases.def: Add netgroup.
4498 * nss/db-Makefile: Add rules for netgroup.
4499 * nss/netgrp-lookup.c: New file.
4500 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
4501 always return without a check of the transition table.
4502 * nss/nsswitch.h (struct service_user): Extend actions array to
4504 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
4506 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
4507 to NSS_ACTION_RETURN.
4508 * nss/nss_db/db-netgrp.c: New file.
4509 * nss/nss_files/files-netgrp.c: New file.
4510 * nss/nsswitch.conf: Add entry for netgroup.
4511 * resolv/netdb.h: Add prototypes for netgroup functions.
4513 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
4516 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
4518 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
4519 _llseek to _llseek (not llseek).
4520 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
4522 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
4524 * inet/rcmd.c: Remove definition of MIN.
4526 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
4528 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
4529 * sysdeps/unix/readdir_r.c: New file.
4530 * sysdeps/unix/readdir.c: Remove check for correct parameter
4531 values. Let them simply die.
4532 * manual/filesys.texi: Document readdir_r.
4534 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
4535 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
4537 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
4539 * dirent/Makefile (routines): Add readdir_r.
4540 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
4541 * dirent/dirent.h: Add prototype for readdir_r.
4543 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
4544 to prevent warnings.
4546 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4547 Initialize `result'.
4549 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
4551 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
4553 * string/string.h: Add prototype for __strsep.
4554 * misc/mntent_r.c: Use __strsep instead of strsep to keep
4557 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
4558 __nanosleep and nanosleep weak aliases.
4559 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
4561 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
4562 nanosleep to keep namespace clean.
4564 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
4565 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
4566 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4568 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
4571 * login/Makefile (headers): Add pty.h.
4572 * login/pty.h: New file.
4573 * sysdeps/generic/pty.h: Include <pty.h>.
4574 * login/pututline_r.c: Add cast to prevent warning.
4576 * gmon/gmon.c: Add prototype for __profile_frequency.
4577 (monstartup): Add cast to prevent warning.
4578 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
4580 * locale/programs/ld-time.c (time_output): Write `era' information
4583 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
4585 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
4587 Set caller for mlock, mlockall, mremap, munlock, and munlockall
4589 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
4591 1996-09-27 Paul Eggert <eggert@twinsun.com>
4593 * strftime.c (strftime): Output incomplete formats like %E
4596 1996-09-27 Paul Eggert <eggert@twinsun.com>
4598 * strftime.c (strftime): Add support for %EC and %Ey.
4599 Fix support for %EY. This uses the new _nl_get_era_entry function.
4601 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
4603 Security related patch by Elliot Lee <sopwith@redhat.com> and
4604 David Holland <dholland@eecs.harvard.edu>.
4606 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
4607 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
4609 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
4610 NULL when programs runs with SUID or SGID enabled.
4611 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
4612 * stdlib/stdlib.h: Add prototype for __secure_getenv.
4614 * locale/setlocale.c: Use __secure_getenv.
4615 * resolv/res_init.c: Likewise.
4616 * resolv/res_query.c: Likewise.
4617 * inet/ruserpass.c: Likewise.
4618 * sysdeps/posix/tempname.c: Likewise.
4619 * malloc/mtrace.c: Likewise.
4620 * catgets/catgets.c: Likewise.
4622 Make temporary file handling functions reentrant.
4624 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
4625 result to. The called __stdio_gen_tempname function must be
4627 * stdio-common/tmpnam_r.c: New file.
4628 * stdio/stdio.h: Add prototype for `tmpnam_r'.
4629 Change prototype for __stdio_gen_tempname.
4630 * stdio/libio.h: Likewise.
4631 * sysdeps/posix/tempname.c: Add new parameters and use them instead
4633 Don't reset `indeces' when PID changed between calls.
4634 Don't fail for long running programs when index counter once
4636 * sysdeps/stub/tempname.c: Likewise.
4637 * stdio-common/tempnam.c: Provide local buffer as extra argument
4638 to __stdio_gen_tempname. This makes this function reentrant.
4639 * stdio-common/tmpfile.c: Likewise.
4640 * stdio-common/temptest.c: Provide extra argument to
4641 __stdio_gen_tempname.
4642 * manual/filesys.texi: Describe tmpnam_r and add comments about
4643 reentrancy of the functions.
4645 * inet/rcmd.c: Fixed address length handling.
4647 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
4649 * time/strftime.c: Remove unused variables alt_digits and
4652 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
4653 for get_nprocs and get_nprocs_conf.
4654 * sysdeps/generic/sys/sysinfo.h: Likewise.
4656 * stdlib/test-canon.c: Finally do the right fix.
4658 * misc/Makefile: Only compile force-wrapper when compiling
4661 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
4663 Add support for cancelable system calls.
4665 * csu/initfini.c: Make in crti.o reference to symbol
4666 __libc_force_cancel_wrapper when compiling reentrant version.
4667 * misc/Makefile (routines): Add force-wrapper.
4668 * misc/force-wrapper.c: New file.
4670 * posix/system.c: Rename function to __libc_system and make system
4672 * sysdeps/stub/system.c: Likewise.
4673 * posix/wait.c: Rename function to __libc_wait and make __wait a
4674 weak alias. De-ANSI-fy.
4675 * sysdeps/standalone/read.c: Rename function to __libc_read and
4676 make __read a weak alias.
4677 * sysdeps/stub/read.c: Likewise.
4678 * sysdeps/standalone/write.c: Rename function to __libc_write and
4679 make __write a weak alias.
4680 * sysdeps/stub/write.c: Likewise.
4681 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
4682 make tcdrain a weak alias.
4683 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4684 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
4685 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4686 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
4687 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
4688 and make __wait a weak alias.
4689 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
4690 make __waitpid a weak alias.
4691 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
4692 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
4693 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
4694 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
4695 and make pause a weak alias. De-ANSI-fy.
4697 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
4698 lseek, open, read, and write to have __libc_ prefix and make old
4700 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
4701 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
4703 * io/creat.c: De-ANSI-fy.
4705 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
4707 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
4709 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
4710 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
4712 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
4714 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
4716 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4718 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
4720 * locale/programs/locfile.c (write_locale_data): Allocate room
4721 even for file name for LC_MESSAGES locale.
4722 (locafile_read): `tok_era' must be handled as a string list.
4723 * locale/programs/ld-time.c: Finish correction of handling `era'.
4724 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
4725 * locale/categories.def: Add postload function for LC_TIME.
4726 * locale/setlocale.c: Make lock global and rename to
4727 __libc_setlocale_lock.
4728 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
4729 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
4730 * locale/lc-time.c (_nl_postload_time): New function. Initialize
4732 (_nl_get_era_entry): New function. Return era entry which corresponds
4734 (_nl_get_alt_digit): New function. Return string with alternate
4735 digit representation for given number.
4737 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
4738 string representing alternate digit notation.
4740 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
4742 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
4743 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
4745 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
4746 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
4748 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
4750 * catgets/gencat.c (main): Change --version again because RMS wants
4751 the package name in parentheses.
4752 * db/makedb.c: Likewise.
4753 * locale/programs/locale.c: Likewise.
4754 * locale/programs/localedef.c: Likewise.
4756 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4758 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
4760 ($(objpfx)version-info.h): Depend on Banner files, command
4763 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
4765 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
4767 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
4769 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
4770 on the same device as the password file.
4771 * shadow/shadow.h (struct spwd): Change type of numeric fields
4772 to `long int' since there value are days, not seconds.
4773 * shadow/putspent.c: Change casts from time_t to `long int'.
4774 * shadow/sgetspent_r.c (LINE_READER): Likewise.
4776 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
4778 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
4779 sure the thread specific variable is set as well as the global
4781 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
4783 * sysdeps/stub/errnos.h: Likewise.
4784 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
4786 * shadow/putspent.c: Don't include <errno.h>.
4788 * dirent/scandir.c (scandir): Use __set_errno to set errno
4790 * elf/dl-load.c (open_path): Likewise.
4791 * inet/rcmd.c (rcmd): Likewise.
4792 (rresvport): Likewise.
4793 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
4794 (DCGETTEXT): Use __set_errno to set errno variable.
4795 * io/fts.c (fts_open): Likewise.
4796 (fts_close): Likewise.
4797 (fts_read): Likewise.
4798 (fts_set): Likewise.
4799 (fts_children): Likewise.
4800 (fts_build): Likewise.
4801 (fts_stat): Likewise.
4802 * io/ftw.c (ftw_dir): Likewise.
4804 * io/getwd.c (getwd): Likewise.
4805 * io/lockf.c (lockf): Likewise.
4806 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
4807 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
4808 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4809 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
4811 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
4812 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
4813 * libio/ioftell.c (_IO_ftell): Likewise.
4814 * locale/loadlocale.c (_nl_load_locale): Likewise.
4815 * locale/nl_langinfo.c (nl_langinfo): Likewise.
4816 * locale/setlocale.c (ERROR_RETURN): Likewise.
4817 * login/getutid_r (__getutid_r): Likewise.
4818 * login/getutline_r (__getutline_r): Likewise.
4819 * login/login.c (tty_name): Likewise.
4820 * login/oututline_r.c (__pututline_r): Likewise.
4821 * malloc/malloc.c (morecore): Likewise.
4822 * misc/efgcvt_r.c (fcvt_r): Likewise.
4823 * misc/hsearch_r.c (hcreate_r): Likewise.
4824 (hdestroy_r): Likewise.
4825 (hsearch_r): Likewise.
4826 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
4827 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
4828 (_nss_dns_gethostbyaddr_r): Likewise.
4829 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4830 * nss/nss_files/files-parse.c (parse_list): Likewise.
4831 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
4832 * posix/execvp.c (execvp): Likewise.
4833 * posix/glob.c: Define __set_errno.
4834 (glob): Use __set_errno to set errno variable.
4835 (glob_in_dir): Likewise.
4836 * pwd/getpw.c: Likewise. De-ANSI-fy.
4837 * pwd/putpwent.c: Likewise.
4838 * resolv/inet_net_ntop.c: Likewise.
4839 * resolv/inet_net_pton.c: Likewise.
4840 * resolv/inet_neta.c: Likewise.
4841 * resolv/inet_ntop.c: Likewise.
4842 * resolv/inet_pton.c: Likewise.
4843 * resolv/res_query.c (res_search): Likewise.
4844 * resolv/res_send.c (Aerror): Likewise.
4846 (res_send): Likewise.
4847 * signal/sigaddset.c: Likewise. De-ANSI-fy.
4848 * signal/sigdelset.c: Likewise.
4849 * signal/sigempty.c: Likewise.
4850 * signal/sigfillset.c: Likewise.
4851 * signal/sigismem.c: Likewise.
4852 * stdio/fclose.c: Likewise.
4853 * stdio/feof.c: Likewise.
4854 * stdio/ferror.c: Likewise.
4855 * stdio/fflush.c: Likewise.
4856 * stdio/fgetc.c: Likewise.
4857 * stdio/fgetpos.c: Likewise.
4858 * stdio/fgets.c: Likewise.
4859 * stdio/fileno.c: Likewise.
4860 * stdio/fmemopen.c: Likewise.
4861 * stdio/fopen.c: Likewise.
4862 * stdio/fputc.c: Likewise.
4863 * stdio/fread.c: Likewise.
4864 * stdio/freopen.c: Likewise.
4865 * stdio/fseek.c: Likewise.
4866 * stdio/fsetpos.c: Likewise.
4867 * stdio/ftell.c: Likewise.
4868 * stdio/fwrite.c: Likewise.
4869 * stdio/getdelim.c: Likewise.
4870 * stdio/gets.c: Likewise.
4871 * stdio/glue.c: Likewise.
4872 * stdio/internals.c: Likewise.
4873 * stdio/memstream.c: Likewise.
4874 * stdio/setvbuf.c: Likewise.
4875 * stdio/ungetc.c: Likewise.
4876 * stdio/vsscanf.c: Likewise.
4877 * stdio-common/reg-printf.c: Likewise.
4878 * stdio-common/vfprintf.c: Likewise.
4879 * stdio-common/vfscanf.c: Likewise.
4880 * stdlib/canonicalize.c: Likewise.
4881 * stdlib/msort.c: Likewise.
4882 * stdlib/random_r.c: Likewise.
4883 * stdlib/strfmon.c: Likewise.
4884 * stdlib/strtod.c: Likewise.
4885 * stdlib/strtol.c: Likewise.
4886 * sunrpc/bindrsvprt.c: Likewise.
4887 * time/asctime.c: Likewise.
4888 * time/localtime.c: Likewise.
4889 * wcsmbs/mbrtowc.c: Likewise.
4890 * wcsmbs/mbsnrtowcs.c: Likewise.
4891 * wcsmbs/mbsrtowcs.c: Likewise.
4892 * wcsmbs/wcrtomb.c: Likewise.
4893 * wcsmbs/wcsnrtombs.c: Likewise.
4894 * wcsmbs/wcsrtombs.c: Likewise.
4895 * wcsmbs/wcstok.c: Likewise.
4896 * sysdeps/generic/ftime.c: Likewise.
4897 * sysdeps/generic/pty.c: Likewise.
4898 * sysdeps/generic/setenv.c: Likewise.
4899 * sysdeps/generic/speed.c: Likewise.
4900 * sysdeps/generic/sysd-stdio.c: Likewise.
4901 * sysdeps/generic/uname.c: Likewise.
4902 * sysdeps/generic/vlimit.c: Likewise.
4903 * sysdeps/libm-ieee754/k_standard.c: Likewise.
4904 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4905 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
4906 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
4907 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4908 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
4909 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
4910 * sysdeps/posix/dup2.c: Likewise.
4911 * sysdeps/posix/euidaccess.c: Likewise.
4912 * sysdeps/posix/fdopen.c: Likewise.
4913 * sysdeps/posix/flock.c: Likewise.
4914 * sysdeps/posix/fpathconf.c: Likewise.
4915 * sysdeps/posix/getcwd.c: Likewise.
4916 * sysdeps/posix/gettimeofday.c: Likewise.
4917 * sysdeps/posix/isatty.c: Likewise.
4918 * sysdeps/posix/isfdtype.c: Likewise.
4919 * sysdeps/posix/killpg.c: Likewise.
4920 * sysdeps/posix/mkstemp.c: Likewise.
4921 * sysdeps/posix/mktemp.c: Likewise.
4922 * sysdeps/posix/pathconf.c: Likewise.
4923 * sysdeps/posix/pipestream.c: Likewise.
4924 * sysdeps/posix/remove.c: Likewise.
4925 * sysdeps/posix/rename.c: Likewise.
4926 * sysdeps/posix/sigintr.c: Likewise.
4927 * sysdeps/posix/signal.c: Likewise.
4928 * sysdeps/posix/sigsuspend.c: Likewise.
4929 * sysdeps/posix/sigvec.c: Likewise.
4930 * sysdeps/posix/sleep.c: Likewise.
4931 * sysdeps/posix/sysconf.c: Likewise.
4932 * sysdeps/posix/system.c: Likewise.
4933 * sysdeps/posix/tempname.c: Likewise.
4934 * sysdeps/posix/truncate.c: Likewise.
4935 * sysdeps/posix/ttyname.c: Likewise.
4936 * sysdeps/posix/ttyname_r.c: Likewise.
4937 * sysdeps/posix/wait3.c: Likewise.
4938 * sysdeps/standalone/close.c: Likewise.
4939 * sysdeps/standalone/open.c: Likewise.
4940 * sysdeps/standalone/read.c: Likewise.
4941 * sysdeps/standalone/write.c: Likewise.
4942 * sysdeps/stub/__longjmp.c: Likewise.
4943 * sysdeps/stub/accept.c: Likewise.
4944 * sysdeps/stub/access.c: Likewise.
4945 * sysdeps/stub/acct.c: Likewise.
4946 * sysdeps/stub/adjtime.c: Likewise.
4947 * sysdeps/stub/alarm.c: Likewise.
4948 * sysdeps/stub/bind.c: Likewise.
4949 * sysdeps/stub/brk.c: Likewise.
4950 * sysdeps/stub/chdir.c: Likewise.
4951 * sysdeps/stub/chflags.c: Likewise.
4952 * sysdeps/stub/chmod.c: Likewise.
4953 * sysdeps/stub/chown.c: Likewise.
4954 * sysdeps/stub/chroot.c: Likewise.
4955 * sysdeps/stub/clock.c: Likewise.
4956 * sysdeps/stub/close.c: Likewise.
4957 * sysdeps/stub/closedir.c: Likewise.
4958 * sysdeps/stub/connect.c: Likewise.
4959 * sysdeps/stub/ctermid.c: Likewise.
4960 * sysdeps/stub/cuserid.c: Likewise.
4961 * sysdeps/stub/dirfd.c: Likewise.
4962 * sysdeps/stub/dup.c: Likewise.
4963 * sysdeps/stub/dup2.c: Likewise.
4964 * sysdeps/stub/euidaccess.c: Likewise.
4965 * sysdeps/stub/execve.c: Likewise.
4966 * sysdeps/stub/fchdir.c: Likewise.
4967 * sysdeps/stub/fchflags.c: Likewise.
4968 * sysdeps/stub/fchmod.c: Likewise.
4969 * sysdeps/stub/fchown.c: Likewise.
4970 * sysdeps/stub/fcntl.c: Likewise.
4971 * sysdeps/stub/fdopen.c: Likewise.
4972 * sysdeps/stub/fexecve.c: Likewise.
4973 * sysdeps/stub/flock.c: Likewise.
4974 * sysdeps/stub/fork.c: Likewise.
4975 * sysdeps/stub/fpathconf.c: Likewise.
4976 * sysdeps/stub/fstatfs.c: Likewise.
4977 * sysdeps/stub/fsync.c: Likewise.
4978 * sysdeps/stub/ftruncate.c: Likewise.
4979 * sysdeps/stub/fxstat.c: Likewise.
4980 * sysdeps/stub/getcwd.c: Likewise.
4981 * sysdeps/stub/getdents.c: Likewise.
4982 * sysdeps/stub/getdomain.c: Likewise.
4983 * sysdeps/stub/getdtsz.c: Likewise.
4984 * sysdeps/stub/getegid.c: Likewise.
4985 * sysdeps/stub/getenv.c: Likewise.
4986 * sysdeps/stub/geteuid.c: Likewise.
4987 * sysdeps/stub/getgid.c: Likewise.
4988 * sysdeps/stub/getgroups.c: Likewise.
4989 * sysdeps/stub/gethostid.c: Likewise.
4990 * sysdeps/stub/gethostname.c: Likewise.
4991 * sysdeps/stub/getitimer.c: Likewise.
4992 * sysdeps/stub/getlogin.c: Likewise.
4993 * sysdeps/stub/getlogin_r.c: Likewise.
4994 * sysdeps/stub/getpagesize.c: Likewise.
4995 * sysdeps/stub/getpeername.c: Likewise.
4996 * sysdeps/stub/getpid.c: Likewise.
4997 * sysdeps/stub/getppid.c: Likewise.
4998 * sysdeps/stub/getpriority.c: Likewise.
4999 * sysdeps/stub/getrlimit.c: Likewise.
5000 * sysdeps/stub/getrusage.c: Likewise.
5001 * sysdeps/stub/getsid.c: Likewise.
5002 * sysdeps/stub/getsockname.c: Likewise.
5003 * sysdeps/stub/getsockopt.c: Likewise.
5004 * sysdeps/stub/getsysstats.c: Likewise.
5005 * sysdeps/stub/gettimeofday.c: Likewise.
5006 * sysdeps/stub/getuid.c: Likewise.
5007 * sysdeps/stub/gtty.c: Likewise.
5008 * sysdeps/stub/ioctl.c: Likewise.
5009 * sysdeps/stub/isatty.c: Likewise.
5010 * sysdeps/stub/isfdtype.c: Likewise.
5011 * sysdeps/stub/kill.c: Likewise.
5012 * sysdeps/stub/killpg.c: Likewise.
5013 * sysdeps/stub/link.c: Likewise.
5014 * sysdeps/stub/listen.c: Likewise.
5015 * sysdeps/stub/lseek.c: Likewise.
5016 * sysdeps/stub/lxstat.c: Likewise.
5017 * sysdeps/stub/madvice.c: Likewise.
5018 * sysdeps/stub/mkdir.c: Likewise.
5019 * sysdeps/stub/mkfifo.c: Likewise.
5020 * sysdeps/stub/mkstemp.c: Likewise.
5021 * sysdeps/stub/mktemp.c: Likewise.
5022 * sysdeps/stub/mmap.c: Likewise.
5023 * sysdeps/stub/morecore.c: Likewise.
5024 * sysdeps/stub/mprotect.c: Likewise.
5025 * sysdeps/stub/msgctl.c: Likewise.
5026 * sysdeps/stub/msgget.c: Likewise.
5027 * sysdeps/stub/msgrcv.c: Likewise.
5028 * sysdeps/stub/msgsnd.c: Likewise.
5029 * sysdeps/stub/msync.c: Likewise.
5030 * sysdeps/stub/munmap.c: Likewise.
5031 * sysdeps/stub/nanosleep.c: Likewise.
5032 * sysdeps/stub/nice.c: Likewise.
5033 * sysdeps/stub/nlist.c: Likewise.
5034 * sysdeps/stub/open.c: Likewise.
5035 * sysdeps/stub/opendir.c: Likewise.
5036 * sysdeps/stub/pathconf.c: Likewise.
5037 * sysdeps/stub/pause.c: Likewise.
5038 * sysdeps/stub/pipe.c: Likewise.
5039 * sysdeps/stub/pipestream.c: Likewise.
5040 * sysdeps/stub/poll.c: Likewise.
5041 * sysdeps/stub/profil.c: Likewise.
5042 * sysdeps/stub/ptrace.c: Likewise.
5043 * sysdeps/stub/putenv.c: Likewise.
5044 * sysdeps/stub/raise.c: Likewise.
5045 * sysdeps/stub/read.c: Likewise.
5046 * sysdeps/stub/readdir.c: Likewise.
5047 * sysdeps/stub/readlink.c: Likewise.
5048 * sysdeps/stub/readv.c: Likewise.
5049 * sysdeps/stub/reboot.c: Likewise.
5050 * sysdeps/stub/recv.c: Likewise.
5051 * sysdeps/stub/recvfrom.c: Likewise.
5052 * sysdeps/stub/recvmsg.c: Likewise.
5053 * sysdeps/stub/remove.c: Likewise.
5054 * sysdeps/stub/rename.c: Likewise.
5055 * sysdeps/stub/revoke.c: Likewise.
5056 * sysdeps/stub/rewinddir.c: Likewise.
5057 * sysdeps/stub/rmdir.c: Likewise.
5058 * sysdeps/stub/sbrk.c: Likewise.
5059 * sysdeps/stub/sched_getp.c: Likewise.
5060 * sysdeps/stub/sched_gets.c: Likewise.
5061 * sysdeps/stub/sched_primax.c: Likewise.
5062 * sysdeps/stub/sched_primin.c: Likewise.
5063 * sysdeps/stub/sched_rr_gi.c: Likewise.
5064 * sysdeps/stub/sched_setp.c: Likewise.
5065 * sysdeps/stub/sched_sets.c: Likewise.
5066 * sysdeps/stub/sched_yield.c: Likewise.
5067 * sysdeps/stub/seekdir.c: Likewise.
5068 * sysdeps/stub/select.c: Likewise.
5069 * sysdeps/stub/semctl.c: Likewise.
5070 * sysdeps/stub/semget.c: Likewise.
5071 * sysdeps/stub/semop.c: Likewise.
5072 * sysdeps/stub/send.c: Likewise.
5073 * sysdeps/stub/sendmsg.c: Likewise.
5074 * sysdeps/stub/sendto.c: Likewise.
5075 * sysdeps/stub/setdomain.c: Likewise.
5076 * sysdeps/stub/setegid.c: Likewise.
5077 * sysdeps/stub/setenv.c: Likewise.
5078 * sysdeps/stub/seteuid.c: Likewise.
5079 * sysdeps/stub/setgid.c: Likewise.
5080 * sysdeps/stub/setgroups.c: Likewise.
5081 * sysdeps/stub/sethostid.c: Likewise.
5082 * sysdeps/stub/sethostname.c: Likewise.
5083 * sysdeps/stub/setitimer.c: Likewise.
5084 * sysdeps/stub/setjmp.c: Likewise.
5085 * sysdeps/stub/setlogin.c: Likewise.
5086 * sysdeps/stub/setpgid.c: Likewise.
5087 * sysdeps/stub/setpriority.c: Likewise.
5088 * sysdeps/stub/setregid.c: Likewise.
5089 * sysdeps/stub/setreuid.c: Likewise.
5090 * sysdeps/stub/setrlimit.c: Likewise.
5091 * sysdeps/stub/setsid.c: Likewise.
5092 * sysdeps/stub/setsockopt.c: Likewise.
5093 * sysdeps/stub/settimeofday.c: Likewise.
5094 * sysdeps/stub/setuid.c: Likewise.
5095 * sysdeps/stub/shmat.c: Likewise.
5096 * sysdeps/stub/shmctl.c: Likewise.
5097 * sysdeps/stub/shmdt.c: Likewise.
5098 * sysdeps/stub/shmget.c: Likewise.
5099 * sysdeps/stub/shutdown.c: Likewise.
5100 * sysdeps/stub/sigaction.c: Likewise.
5101 * sysdeps/stub/sigaltstack.c: Likewise.
5102 * sysdeps/stub/sigblock.c: Likewise.
5103 * sysdeps/stub/sigintr.c: Likewise.
5104 * sysdeps/stub/signal.c: Likewise.
5105 * sysdeps/stub/sigpause.c: Likewise.
5106 * sysdeps/stub/sigpending.c: Likewise.
5107 * sysdeps/stub/sigprocmask.c: Likewise.
5108 * sysdeps/stub/sigreturn.c: Likewise.
5109 * sysdeps/stub/sigsetmask.c: Likewise.
5110 * sysdeps/stub/sigstack.c: Likewise.
5111 * sysdeps/stub/sigsuspend.c: Likewise.
5112 * sysdeps/stub/sigvec.c: Likewise.
5113 * sysdeps/stub/sleep.c: Likewise.
5114 * sysdeps/stub/socket.c: Likewise.
5115 * sysdeps/stub/socketpair.c: Likewise.
5116 * sysdeps/stub/sstk.c: Likewise.
5117 * sysdeps/stub/statfs.c: Likewise.
5118 * sysdeps/stub/stime.c: Likewise.
5119 * sysdeps/stub/stty.c: Likewise.
5120 * sysdeps/stub/swapoff.c: Likewise.
5121 * sysdeps/stub/swapon.c: Likewise.
5122 * sysdeps/stub/symlink.c: Likewise.
5123 * sysdeps/stub/sync.c: Likewise.
5124 * sysdeps/stub/syscall.c: Likewise.
5125 * sysdeps/stub/sysconf.c: Likewise.
5126 * sysdeps/stub/sysd-stdio.c: Likewise.
5127 * sysdeps/stub/system.c: Likewise.
5128 * sysdeps/stub/tcdrain.c: Likewise.
5129 * sysdeps/stub/tcflow.c: Likewise.
5130 * sysdeps/stub/tcflush.c: Likewise.
5131 * sysdeps/stub/tcgetattr.c: Likewise.
5132 * sysdeps/stub/tcgetpgrp.c: Likewise.
5133 * sysdeps/stub/tcsendbrk.c: Likewise.
5134 * sysdeps/stub/tcsetattr.c: Likewise.
5135 * sysdeps/stub/tcsetpgrp.c: Likewise.
5136 * sysdeps/stub/telldir.c: Likewise.
5137 * sysdeps/stub/tempname.c: Likewise.
5138 * sysdeps/stub/time.c: Likewise.
5139 * sysdeps/stub/times.c: Likewise.
5140 * sysdeps/stub/truncate.c: Likewise.
5141 * sysdeps/stub/ttyname.c: Likewise.
5142 * sysdeps/stub/ttyname_r.c: Likewise.
5143 * sysdeps/stub/ualarm.c: Likewise.
5144 * sysdeps/stub/ulimit.c: Likewise.
5145 * sysdeps/stub/umask.c: Likewise.
5146 * sysdeps/stub/unlink.c: Likewise.
5147 * sysdeps/stub/usleep.c: Likewise.
5148 * sysdeps/stub/ustat.c: Likewise.
5149 * sysdeps/stub/utime.c: Likewise.
5150 * sysdeps/stub/utimes.c: Likewise.
5151 * sysdeps/stub/vhangup.c: Likewise.
5152 * sysdeps/stub/wait.c: Likewise.
5153 * sysdeps/stub/wait3.c: Likewise.
5154 * sysdeps/stub/wait4.c: Likewise.
5155 * sysdeps/stub/waitpid.c: Likewise.
5156 * sysdeps/stub/write.c: Likewise.
5157 * sysdeps/stub/writev.c: Likewise.
5158 * sysdeps/stub/xmknod.c: Likewise.
5159 * sysdeps/stub/xstat.c: Likewise.
5160 * sysdeps/unix/closedir.c: Likewise.
5161 * sysdeps/unix/fxstat.c: Likewise.
5162 * sysdeps/unix/getlogin.c: Likewise.
5163 * sysdeps/unix/getlogin_r.c: Likewise.
5164 * sysdeps/unix/mkdir.c: Likewise.
5165 * sysdeps/unix/nice.c: Likewise.
5166 * sysdeps/unix/nlist.c: Likewise.
5167 * sysdeps/unix/opendir.c: Likewise.
5168 * sysdeps/unix/readdir.c: Likewise.
5169 * sysdeps/unix/rmdir.c: Likewise.
5170 * sysdeps/unix/stime.c: Likewise.
5171 * sysdeps/unix/xmknod.c: Likewise.
5172 * sysdeps/unix/xstat.c: Likewise.
5173 * sysdeps/unix/bsd/isatty.c: Likewise.
5174 * sysdeps/unix/bsd/setegid.c: Likewise.
5175 * sysdeps/unix/bsd/seteuid.c: Likewise.
5176 * sysdeps/unix/bsd/setsid.c: Likewise.
5177 * sysdeps/unix/bsd/sigaction.c: Likewise.
5178 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5179 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5180 * sysdeps/unix/bsd/tcflow.c: Likewise.
5181 * sysdeps/unix/bsd/tcflush.c: Likewise.
5182 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5183 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5184 * sysdeps/unix/bsd/times.c: Likewise.
5185 * sysdeps/unix/bsd/ulimit.c: Likewise.
5186 * sysdeps/unix/common/lxstat.c: Likewise.
5187 * sysdeps/unix/common/tcsendbrk.c: Likewise.
5188 * sysdeps/unix/sysv/setrlimit.c: Likewise.
5189 * sysdeps/unix/sysv/settimeofday.c: Likewise.
5190 * sysdeps/unix/sysv/sigaction.c: Likewise.
5191 * sysdeps/unix/sysv/tcflow.c: Likewise.
5192 * sysdeps/unix/sysv/tcflush.c: Likewise.
5193 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5194 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5195 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5196 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
5197 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
5198 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
5199 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5200 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5201 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
5202 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5203 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5204 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5205 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5206 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
5207 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
5208 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
5209 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
5210 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
5211 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
5212 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
5213 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5214 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5215 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
5217 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
5218 * sunrpc/clnt_udp.c: Likewise.
5219 * sunrpc/bindrsvprt.c: Likewise.
5220 * sunrpc/pm_getmaps.c: Likewise.
5221 * sunrpc/pmap_rmt.c: Likewise.
5222 * sunrpc/svc.c: Likewise.
5223 * sunrpc/svc_run.c: Likewise.
5224 * sunrpc/svc_tcp.c: Likewise.
5225 * sunrpc/svc_udp.c: Likewise.
5227 * sysdeps/generic/strtok.c: Don't check argument, just crash.
5228 * sysdeps/generic/strtok_r.c: Likewise.
5230 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
5231 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
5232 * sysdeps/unix/sparc/start.c: Likewise.
5233 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
5234 * sysdeps/unix/sysv/irix4/start.c: Likewise.
5235 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
5236 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
5237 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
5239 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
5241 * catgets/gencat.c (main): Put package name in --version message
5242 in parantheses. Reported by Jim Meyering.
5243 * db/makedb.c: Likewise.
5244 * locale/programs/locale.c: Likewise.
5245 * locale/programs/localedef.c: Likewise.
5247 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
5248 two registers. Patch by John Bowman.
5250 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5252 * sysdeps/mach/libc-lock.h: Fix comment.
5253 * sysdeps/stubs/libc-lock.h: Likewise.
5255 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5257 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
5258 to lock when passing it to __libc_lock_init macro.
5259 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
5260 when passing it to __libc_lock_fini macro.
5262 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5264 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
5265 [_LIBC_REENTRANT]: Add missing semicolon.
5267 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
5268 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
5269 Use the ENTRY macro.
5271 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5273 * libio/Makefile: Make `all' the default target.
5274 * po/Makefile: Likewise.
5276 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
5278 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
5279 I applied it incorrectly.
5280 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5281 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
5282 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
5284 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
5286 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
5287 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
5289 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
5292 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
5293 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
5295 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
5296 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
5297 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
5298 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
5299 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
5301 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5303 * hurd/Makefile (installed-sunrpc-headers): New variable.
5304 (sunrpc-headers): New variable.
5305 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
5306 not just <rpc/netdb.h>.
5307 ($(installed-sunrpc-headers)): Provide rule for all of these.
5309 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5311 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
5312 variable `top_srcdir' in libc; use $(..) instead.
5314 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
5315 definition. It was a *Mistake*. (With a capital M.)
5317 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
5319 (__get_nprocs_conf): Renamed from __get_nproc_conf.
5321 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
5323 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
5324 `_dl_start' so that linking fails if this file should ever be used
5327 * catgets/gencat.c (main): Change --version message according to
5328 RMS' last standard revision.
5329 * db/makedb.c: Likewise.
5330 * locale/programs/locale.c: Likewise.
5331 * locale/programs/localedef.c: Likewise.
5333 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5335 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
5336 (__get_nproc_conf): New function.
5338 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
5340 * resolv/resolv.h: Update to bind-4.9.5-T4B.
5341 * resolv/base64.c: Likewise.
5342 * resolv/res_debug.c: Likewise.
5343 * resolv/res_query.c: Likewise.
5344 * resolv/gethnamaddr.c: Likewise.
5345 * nss/nss_dns/dns-host.c: Likewise.
5346 * resolv/res_comp.c: Likewise.
5347 * resolv/res_send.c: Likewise.
5348 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
5351 * resolv/Banner: New file.
5352 * resolv/Makefile (distribute): Add Banner.
5354 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
5356 * sysdeps/stub/getsysstats.c: New file.
5357 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
5359 * misc/Makefile (headers): Add sys/sysinfo.h.
5360 (routines): Add getsysstats.
5361 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
5362 (sysdep_headers): Remove sys/sysinfo.h.
5363 * sysdeps/generic/sys/sysinfo.h: New file.
5364 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
5365 get_phys_pages, and get_avphys_pages.
5367 * misc/Makefile (routines): Add mntent_r.
5368 * misc/mntent_r.c: New file.
5369 * misc/mntent.c: Remove all functions but getmntent and use
5371 * misc/mntent.h: Add prototype for __getmntent_r.
5372 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
5373 This will not clobber the state in getmntent.
5375 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
5376 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
5377 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
5378 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
5379 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
5380 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
5381 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
5382 * sysdeps/posix/sysconf.c: Likewise.
5383 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
5384 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
5386 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
5388 * version.h (VERSION): Bump to 1.95.
5390 * Make-dist (+tsrcs): Don't filter out files in subdirs which
5391 match files in the sysdeps hierachy (welcome back,
5394 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
5396 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
5398 * locale/loadlocale.c (_nl_free_locale): Remove function.
5399 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
5400 * locale/setlocale.c (setlocale): Don't free locale data of
5401 categories which succeeded to load after a wrong or missing data
5404 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
5405 that it works even when the locale data is not used.
5407 * stdlib/random_r.c: Fix typo in comment.
5408 * stdlib/drand48-iter.c: Likewise.
5409 * stdlib/drand48.c: Likewise.
5410 * stdlib/erand48.c: Likewise.
5411 * stdlib/jrand48.c: Likewise.
5412 * stdlib/lcong48.c: Likewise.
5413 * stdlib/lrand48.c: Likewise.
5414 * stdlib/mrand48.c: Likewise.
5415 * stdlib/nrand48.c: Likewise.
5416 * stdlib/random.c: Likewise.
5417 * stdlib/seed48.c: Likewise.
5418 * stdlib/srand48.c: Likewise.
5419 * misc/search.h: Likewise.
5420 * misc/hsearch.c: Likewise.
5421 * misc/hsearch_r.c: Likewise.
5423 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5425 * sysdeps/mach/getsysstats.c: New file.
5427 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
5428 binary distribution.
5430 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
5431 definition to override dangerous one in Makeconfig.
5433 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
5434 ($(includedir)/rpc/netdb.h): New rule.
5435 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
5438 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5440 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
5441 to guarantee link errors if this is included in ld.so.
5443 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5445 * hurd/hurdinit.c (__libc_argv): Provide common decl.
5446 (_hurd_setproc): Don't declare __libc_argv here.
5448 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5450 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
5451 for actual modifications to global state.
5453 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5455 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
5456 * sysdeps/mach/hurd/Makefile (includes): Add
5457 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
5459 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
5460 struct sched_params.
5461 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
5462 sched_params -> struct sched_param.
5463 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
5464 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
5466 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5468 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
5471 * stdio-common/Makefile: Put lockfile in routines
5474 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
5475 this always, not just if _LIBC_REENTRANT.
5476 (__funlockfile): Don't use weak_extern for this one;
5477 __libc_cleanup_region_end might be defined and the use of
5478 __funlockfile can't be protected the way the use of __flockfile
5481 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
5483 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
5484 instead of localtime.
5485 Reported by Matthias Urlichs.
5487 * shlib-versions: Remove version number for libcrypt.
5488 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
5489 * libc-symbols.h: Define _REENTRANT while compiling libc.
5491 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
5492 Define even if !_LIBC_REENTRANT.
5493 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
5496 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
5499 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
5500 * po/header.pot: Correct title line.
5503 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
5505 * Makeconfig (soversions.mk): Prefer shared lib version numbers
5506 is add ons over version in libc itself.
5508 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
5509 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
5512 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
5513 _IO_flockfile and _IO_funlockfile resp.
5515 * locale/categories.def: Partly support for correct `era' handling
5516 in LC_TIME category.
5517 * locale/langinfo.h: Likewise.
5518 * locale/programs/ld-time.c: Likewise.
5519 * locale/localeinfo.h: Change comment a bit.
5521 * malloc/memalign.c: Don't use goto, not necessary anymore.
5523 1996-09-18 Paul Eggert <eggert@twinsun.com>
5525 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
5526 is negative, or if time_t is unsigned.
5527 * time/strftime.c (tm_diff): Work correctly even if tm_year
5530 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5532 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
5533 all three versions of the math function.
5534 (__inline_mathopf, __inline_mathopl): Removed.
5535 (__inline_functions): New temporary definition containing all
5536 non-trivial inline functions.
5538 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
5540 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
5542 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
5544 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
5547 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
5549 * sysdeps/stub/fpu_control.h: Correct end of file comment.
5551 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
5553 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
5554 stdio-common/test-popen.c: Remove temporary files after test.
5555 * stdio-common/bug5.c: Use `system' instead of `execlp'.
5556 Patches by Andreas Jaeger.
5558 * stdio-common/bug5.c: Create string for `system' argument to
5559 make sure the input and output file names are really correct.
5561 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5563 * configure.in: If $os contains a hyphen add the part before the
5566 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5568 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
5569 __ieee754_powl): Rename local variable i to __i.
5570 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
5572 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
5573 sysdeps/m68k/fpu/e_atan2l.c: New files.
5575 1996-09-15 Paul Eggert <eggert@twinsun.com>
5577 * manual/time.texi: Change `range X to Y' to `range X through
5578 Y', to avoid ambiguity in English.
5580 (strftime): Numbers that do not have a range indicated are not padded.
5581 Describe E and O modifiers.
5582 %g, %G, %u: New formats.
5583 %C, %y, %Y: Describe behavior on negative years.
5584 %e: Fix typo (was labeled %d).
5585 %l, %V: Fix typo in range.
5586 %M, %S, %U, %w, %W: Give ranges.
5587 %p: Clarify how noon and midnight are handled for AM and PM.
5588 %s: Clarify leap second handling.
5589 %r: Now locale-defined.
5590 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
5591 %z: Say that it is a GNU extension.
5594 * time/strftime.c: (strftime):
5595 %V: Fix mishandling of week numbers near year boundaries.
5596 %g, %G: New formats (suggested by Arthur David Olson).
5597 %U, %W: Use inline expression instead of `week' function.
5598 %C, %y: Handle negative years portably.
5599 %C, %Y: Use width 1, since values can be arbitrarily wide.
5600 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
5601 %u: New Posix.2 format.
5602 %w: Width is 1, not 2.
5603 (iso_week_days): New function, for %V, %G, %g.
5604 (week): Remove; it didn't handle %V correctly.
5605 (__isleap): New macro.
5606 (mbsinit): Use arg, to pacify GCC -Wall.
5608 1996-09-13 Paul Eggert <eggert@twinsun.com>
5610 * time/strftime.c (strftime):
5611 If using the GNU C library, do not bother to check for
5612 multibyte encodings, since they're safe in formats. Otherwise:
5613 - Check for multibyte encodings when encountering any character that
5614 is not in the basic execution character set of the C Standard.
5615 - Use mbrlen (if available) instead of mblen, to avoid modifying
5616 mblen's internal state.
5617 - Do not assume that '%' cannot appear as the first character of a
5618 multibyte character sequence, since this is possible when not in the
5619 initial shift state.
5620 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
5621 (DO_MULTIBYTE): New macro.
5622 (<ctype.h>): Do not include.
5623 (<wchar.h>): Include if HAVE_MBRLEN.
5624 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
5625 (mbstate_zero): New constant.
5627 1996-09-12 Paul Eggert <eggert@twinsun.com>
5629 * time/strftime.c (strftime):
5630 Use an empty zone if it can't be determined; POSIX.2 requires this.
5631 Use plain `int' for pad and modifier (which now contain char value).
5632 Use plain `int' for number_value, to print negative values correctly.
5633 Use plain `int' for digits; there was no need to make it unsigned.
5634 Initialize subfmt consistently.
5635 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
5636 For %O, if there is no alternate digit, output Ascii instead of "".
5637 Output the `%' of an unknown format; this is most likely the right
5638 thing to do if a multibyte string has been misparsed.
5640 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5642 * stdio-common/scanf7.c (main): Remove extra conversion from
5643 printf format string.
5645 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5647 * stdlib/test-canon.c (tests): Rename structure member from errno
5648 to error, all uses changed.
5650 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5652 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
5654 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
5655 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
5657 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
5658 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
5659 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
5661 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
5662 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
5664 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
5665 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
5667 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5669 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
5670 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
5672 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5674 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
5675 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
5677 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5679 * inet/herrno.c (__h_errno_location): Fix return type.
5681 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5683 * hurd/hurdinit.c (__libc_argv): Provide common decl.
5684 (_hurd_setproc): Don't declare __libc_argv here.
5686 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
5688 * sched.h: New file. Helper to access posix/sched.h.
5689 * posix/sched.h: Change `sched_params' to `sched_param' to follow
5692 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
5694 * db/makedb.c (usage): Print bug report address separately to
5695 ease translators task.
5696 * catgets/gencat.c (usage): Likewise.
5697 * locale/locale.c (usage): Likewise.
5698 * locale/localedef.c (usage): Likewise.
5700 1996-09-12 Paul Eggert <eggert@twinsun.com>
5702 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
5703 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
5704 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
5706 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
5708 * crypt/Makefile: Include Makeconfig and add crypt object dir to
5709 rpath-link so that running the check finds the new library.
5710 * crypt/cert.c: provide correct prototypes to prevent warnings.
5711 Reported by Andreas Jaeger.
5713 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
5714 old and new value must be glued using `:'.
5715 Reported by Marcus Daniels.
5717 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5719 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
5720 accidentally added on.
5722 * sysdeps/stub/intr-msg.h: New file.
5724 * stdio-common/vfprintf.c: Include <libc-lock.h>.
5725 * stdio-common/vfscanf.c: Include <libc-lock.h>.
5727 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
5729 (__libc_cleanup_region_end): New macro.
5731 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5733 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
5734 accidentally added on.
5736 * sysdeps/stub/intr-msg.h: New file.
5738 * stdio-common/vfprintf.c: Include <libc-lock.h>.
5739 * stdio-common/vfscanf.c: Include <libc-lock.h>.
5741 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
5743 (__libc_cleanup_region_end): New macro.
5745 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
5747 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
5748 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
5749 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
5751 1996-09-11 Paul Eggert <eggert@twinsun.com>
5753 * strftime.c (strftime):
5754 Handle E and O modifiers, required for POSIX.2 and XPG4.
5755 Don't use sprintf to format numbers; this way, we can handle time_t
5756 correctly regardless of whether it's signed.
5757 Don't dump core if format ends in %.
5758 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
5760 Use tm_gmtoff if available.
5761 Output nothing if tm_isdst is negative.
5762 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
5763 Don't assume that UTC offset is less than 24 hours;
5764 Posix requires support for 24 hours, and there's no point
5766 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
5767 (CHAR_BIT): Define if <limits.h> doesn't.
5768 (tm_diff): New function.
5769 (fmt, <stdio.h>): Remove; no longer used.
5771 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
5773 * db/Makefile: Add extra-libs-others variable so that shared
5774 library is built in `others' pass.
5775 * elf/Makefile: Likewise.
5776 * math/Makefile: Likewise.
5777 * resolv/Makefile: Likewise.
5779 * Makefile (generated): Add version.info.h.
5781 * time/checktab.awk: New file. From ADO 96k.
5782 * time/iso3166.tab: Likewise.
5783 * time/tzselect.ksh: Likewise.
5784 * time/zone.tab: Likewise.
5786 * stdio-common/vfprintf.c: Correct cleanup registration. We
5789 1996-09-11 Paul Eggert <eggert@twinsun.com>
5791 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
5792 __USE_BSD; this is required for ANSI C compatibility.
5793 * manual/time.texi: Replace GMT by UTC, daylight savings by
5794 daylight saving, timezone by time zone.
5795 Rewrite description of %V to match ISO 8601.
5796 Fix TZ Posix string example for US Eastern time.
5797 Explain tzname[1] when DST isn't used.
5798 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
5799 Explain that timezone's sign is opposite from tm_gmtoff, and that
5800 timezone lacks DST adjustment whereas tm_gmtoff has it.
5801 Deprecate tzname and timezone.
5803 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5805 Implement Roland McGrath's idea of how to put an .interp into
5807 * interp.c: New file.
5808 * Makerules (interp-obj): New object, linked into every shared
5810 (common-generated): Add interp.so.
5811 (CFLAGS-interp.c): Pass name of interpreter.
5813 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5815 * db/Makefile: Fix typo.
5817 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5819 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
5820 occurences of the same uid, and only generate a mapping for the
5823 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5825 * sysdeps/unix/sysv/linux/system.c: New file, to override
5826 sysdeps/unix/system.c.
5828 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5830 * Makefile (before-compile): Add version-info.h, needed to build
5833 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5835 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
5836 EWOULDBLOCK, never true on Linux.
5837 (__errno_location): New function.
5838 [_LIBC_REENTRANT]: Set errno using __errno_location function.
5839 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
5840 syscall_error handler for reentrant libc.
5842 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5844 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
5846 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
5848 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
5850 * time/tzfile.c (compute_tzname_max): Likewise.
5852 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
5854 * configure.in: Quote $add_ons argument in loop to generated
5857 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
5859 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
5861 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5863 * elf/dl-cache.c: Rename to ...
5864 * sysdeps/generic/dl-cache.c: ... here.
5865 * sysdeps/mach/hurd/dl-cache.c: New file.
5867 * mach/Makefile (distribute): Add `errsystems.awk'.
5868 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
5869 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
5870 * hurd/intr-rpc.awk: Likewise.
5871 * hurd/invoke-trans.c: Likewise.
5872 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
5873 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
5874 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
5875 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
5876 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
5877 * sysdeps/stub/init-fault.c: Likewise.
5878 * sysdeps/stub/longjmp-ctx.c: Likewise.
5880 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
5882 * inet/herrno.c: Initialize `h_errno' so that we can provide
5885 * Makefile (version-info.h): Fix typo in shell script.
5887 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
5888 * sysdeps/i386/i586/strchr.S: Likewise.
5890 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
5892 * version.c (banner): Report to bug-glibc@prep not @gnu.
5893 Reported by Andreas Jaeger.
5895 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
5897 [__USE_REENTRANT]: Don't define
5899 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
5901 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
5902 when it is the third byte in the string. Reported by
5904 * string/tester.c: Add tests for above bug to strlen, strchr, and
5907 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5909 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
5910 "math_private.h" to get prototype.
5911 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5912 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5913 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5914 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5916 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
5918 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5920 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5922 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
5923 instead of __NO_MATH_INLINES.
5924 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
5925 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
5926 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5927 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5928 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5929 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5930 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5931 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5932 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5933 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5934 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
5935 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5936 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
5937 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5938 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5940 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
5942 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
5943 available character before converting number and return with
5944 error if none is available.
5946 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5948 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
5949 implementation for architectures where parameters are passed on
5951 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
5952 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
5954 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5956 * configure.in: Remove unneeded sysnames frobbing.
5958 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
5960 * time/zic.c: Update from ADO 96l.
5961 * time/africa: Update from ADO 96k.
5962 * time/antarctica: Likewise.
5963 * time/asia: Likewise.
5964 * time/australia: Likewise.
5965 * time/europe: Likewise.
5966 * time/northamerica: Likewise.
5967 * time/southamerica: Likewise.
5969 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5971 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
5972 gcc <= 2.7.2.1 which optimizes away address operations on weak
5975 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
5976 Like INT_FIELD but also accept non-existing field.
5977 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
5978 for last four fields.
5979 * shadow/putspent.c (putspent): Print `:' after numeric value.
5981 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
5983 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
5985 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
5987 * Make-dist: Filter out $(add-ons) from $(subdirs).
5988 Don't distribute TAGS files.
5989 ($(tardir).tar): Remove dist.tar when all is done.
5990 * manual/Makefile (distribute): Add libc.info*.
5991 * libio/Makefile (distribute): Add Banner.
5992 * inet/Makefile (headers): Add netinet/tcp.h.
5994 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
5996 * crypt-README: Removed.
5997 * gnu-stabs.h: Removed.
5999 * sysdeps/alpha/copysign.S: Renamed to...
6000 * sysdeps/alpha/s_copysign.S: ...this.
6001 * sysdeps/alpha/fabs.S: Renamed to...
6002 * sysdeps/alpha/s_fabs.S: ...this.
6004 * sysdeps/m68k/isinfl.c: Renamed to...
6005 * sysdeps/m68k/s_isinfl.c: ...this.
6006 * sysdeps/m68k/isnanl.c: Renamed to...
6007 * sysdeps/m68k/s_isnanl.c: ...this.
6009 * sysdeps/sparc/sqrt.c: Renamed to...
6010 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
6013 * sysdeps/generic/get_str.c: Removed.
6015 * sysdeps/ieee754/cbrt.c: Removed.
6016 * sysdeps/ieee754/drem.c: Removed.
6017 * sysdeps/ieee754/logb.c: Removed.
6018 * sysdeps/ieee754/sqrt.c: Removed.
6020 * sysdeps/stub/cbrt.c: Removed.
6021 * sysdeps/stub/cos.c: Removed.
6022 * sysdeps/stub/drem.c: Removed.
6023 * sysdeps/stub/isinf.c: Removed.
6024 * sysdeps/stub/isinfl.c: Removed.
6025 * sysdeps/stub/isnanl.c: Removed.
6026 * sysdeps/stub/logb.c: Removed.
6027 * sysdeps/stub/sin.c: Removed.
6028 * sysdeps/stub/sqrt.c: Removed.
6030 * sysdeps/tahoe/log10.c: Removed.
6032 * sysdeps/vax/index.s: Removed.
6033 * sysdeps/vax/rindex.s: Removed.
6034 * sysdeps/vax/bcmp.s: Removed.
6035 * sysdeps/vax/log10.c: Removed.
6036 * sysdeps/vax/infnan.c: Removed.
6037 * sysdeps/vax/Dist: Add fl.h.
6039 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
6041 * inet/rcmd.c (rcmd): Make messages more uniform.
6043 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
6048 * po/pl.po: New file.
6049 * po/nl.po: New file.
6051 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
6053 * Makeconfig (+link): Filter out start, pre & postinit from the
6054 generic depenancies as well.
6055 * Rules: Add start, pre & postinit to the dependancies of
6056 $(others) and $(tests).
6058 * configure.in: elf_dirs missing "sysdeps" component.
6060 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
6062 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
6063 This is consistent with all other GNU packages. We shouldn't
6064 take care for a possible clash. Nobody will name the domain
6065 of a package libc if it is not the libc itself.
6066 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
6067 * po/Makefile (domainname): Change to libc.
6068 (distribute): Now ship libc.pot.
6069 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
6070 version information banner.
6071 Change bug report address to bug-glibc@prep not @gnu.
6072 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
6073 (main): Use `PACKAGE' for package name in version information
6075 Change bug report address to bug-glibc@prep not @gnu.
6076 * locale/programs/locale.c (main): Use `PACKAGE' for package name
6077 in version information banner.
6078 Change bug report address to bug-glibc@prep not @gnu.
6079 * locale/programs/localedef.c (main): Likewise.
6081 * version.h (VERSION): Bump to 1.94.
6083 * locale/Makefile (distribute): Add locale.c and localedef.c.
6085 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
6087 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
6088 instead of sizeof(nl_catd) (which is just a pointer!).
6090 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
6092 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
6093 * version.c (banner): Add contents of version-info.h to string.
6095 * Makerules: If $($(subdir)-version) is available name versioned
6096 shared library according to this value instead of glibc's version.
6098 * libio/Banner: New file.
6100 * elf/eval.c (funcall): Write error message in case function is
6102 (eval): Recognize `_' in names.
6104 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
6106 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
6107 * libio/iofopen: Likewise.
6108 * libio/iofopncook.c: Likewise.
6109 * libio/iopopen.c: Likewise.
6110 * libio/iovsprintf.c: Likewise.
6111 * libio/iovsscanf.c: Likewise.
6112 * libio/memstream.c: Likewise.
6113 * libio/vasprintf.c: Likewise.
6114 * libio/vdprintf.c: Likewise.
6115 * libio/vsnprintf.c: Likewise.
6117 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
6119 * Makeconfig (soversions.mk): Also use shlib-versions files
6120 in add-on directories.
6121 * config.make.in (config-defines): Remove. Not used anymore.
6122 (defines): New variable. Initiliazed by @DEFINES@.
6123 * configure.in: Add AC_SUBST(DEFINES).
6125 * libio/Makefile (routines): When compiling reentrant libc add
6126 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
6127 iofflush_u, putc_u, putchar_u, ioflockfile.
6128 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
6130 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
6131 and __libc_cleanup_region_end.
6133 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6134 using __errno_location function.
6135 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6136 using __errno_location function.
6137 (__errno_location): New function.
6138 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
6139 syscall_error handler for reentrant libc.
6141 * sysdeps/unix/opendir.c: Remove unneeded `;'.
6143 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
6144 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
6146 * libioP.h: Include <libc-lock.h>.
6147 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
6150 * libio/clearerr.c: Use _IO_ protected versions of flockfile
6151 and funlockfile to be namespace clean.
6153 * libio/genops.c: Use __libc_lock_* macros for handling lock.
6155 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
6156 * libio/iofopen: Likewise.
6157 * libio/iofopncook.c: Likewise.
6158 * libio/iopopen.c: Likewise.
6159 * libio/iovsprintf.c: Likewise.
6160 * libio/iovsscanf.c: Likewise.
6161 * libio/memstream.c: Likewise.
6162 * libio/vasprintf.c: Likewise.
6163 * libio/vdprintf.c: Likewise.
6164 * libio/vsnprintf.c: Likewise.
6166 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
6168 * libio/fputc.c: Likewise.
6169 * libio/freopen.c: Likewise.
6170 * libio/fseek.c: Likewise.
6171 * libio/getc.c: Likewise.
6172 * libio/getchar.c: Likewise.
6173 * libio/iofclose.c: Likewise.
6174 * libio/iofflush.c: Likewise.
6175 * libio/iofgetpos.c: Likewise.
6176 * libio/iofgets.c: Likewise.
6177 * libio/iofputs.c: Likewise.
6178 * libio/iofread.c: Likewise.
6179 * libio/iofsetpos.c: Likewise.
6180 * libio/ioftell.c: Likewise.
6181 * libio/iofwrite.c: Likewise.
6182 * libio/iogetdelim.c: Likewise.
6183 * libio/iogets.c: Likewise.
6184 * libio/ioputs.c: Likewise.
6185 * libio/iosetbuffer.c: Likewise.
6186 * libio/iosetvbuf.c: Likewise.
6187 * libio/ioungetc.c: Likewise.
6188 * libio/putc.c: Likewise.
6189 * libio/putchar.c: Likewise.
6190 * libio/rewind.c: Likewise.
6191 * stdio-common/vfprintf.c: Likewise.
6192 * stdio-common/vfscanf.c: Likewise.
6194 * libio/clearerr_u.c: Correct alias name.
6195 * libio/ferror_u.c: Likewise.
6196 * libio/fileno.c: Likewise.
6197 * libio/fputc_u.c: Likewise.
6198 * libio/getc.c: Likewise.
6199 * libio/getc_u.c: Likewise.
6200 * libio/getchar.c: Likewise.
6201 * libio/getchar_u.c: Likewise.
6202 * libio/putc.c: Likewise.
6203 * libio/putchar.c: Likewise.
6205 * libio/feof_u.c: Undefine macro with name of function before
6206 definition of function itself.
6208 * libio/ioflockfile.c: New file. Implementation of flockfile and
6211 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
6213 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
6216 * malloc/free.c: Include <libc-lock.h>.
6217 * malloc/realloc.c: Likewise.
6218 * malloc/malloc-find.c: Likewise.
6219 * malloc/malloc-size.c: Likewise.
6220 * malloc/malloc-walk.c: Likewise.
6221 * malloc/memalign.c: Likewise.
6222 * malloc/malloc.c: Likewise.
6224 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
6226 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
6228 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
6229 and __libc_lock_critical_end as empty macros.
6231 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
6233 * malloc/free.c: Include <libc-lock.h>.
6234 * malloc/malloc-find.c: Likewise.
6235 * malloc/malloc-size.c: Likewise.
6236 * malloc/malloc-walk.c: Likewise.
6237 * malloc/malloc.c: Likewise.
6238 * malloc/memalign.c: Likewise.
6239 * malloc/realloc.c: Likewise.
6241 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
6244 * extra-lib.mk: Likewise.
6245 * manual/Makefile: Likewise.
6247 * db/Makefile (makedb): Choose dependecies based on build-shared.
6248 Patch by Andres Schwab.
6250 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
6251 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
6253 * sysdeps/unix/sysv/linux/errnos.h: New file.
6254 * sysdeps/unix/sysv/linux/schedbits.h: New file.
6255 * sysdeps/unix/sysv/linux/waitflags.h: New file.
6257 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
6259 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6261 * rpm/template: Fix typo in %build section.
6263 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
6265 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
6266 building libc without thread support.
6267 * resolv/netdb.h: Likewise for h_errno macro.
6269 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
6271 * libc-symbols.h: Add new macro weak_const_function. It's like
6272 weak_function, but the function is additionally marked as const.
6273 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
6275 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
6277 * inet/herrno.c (__h_errno_location): New function.
6278 (h_errno): Make strong_alias __h_errno so that we can access
6279 the variable even if `h_errno' is a macro.
6280 * resolv/netdb.h: Define macro h_errno to access thread specific
6281 version of h_errno variable. Declare alias __h_errno for h_errno.
6282 * resolv/res_query (h_errno): Remove definition.
6283 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
6284 Add macro `errno' to get thread specific variable.
6285 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
6286 __errno_location function.
6287 (__errno_location): New function.
6289 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
6291 * posix/gnu/types.h: Remove definition of key_t.
6292 * sysdeps/generic/gnu/types.h: Move it to here.
6293 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
6294 definition of key_t.
6296 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
6298 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
6299 clone prototypes and associated flags.
6301 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6303 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
6305 (init1): Initialize them.
6306 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
6307 available, pass __libc_argv in call to __proc_set_arg_locations.
6309 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
6311 (hertz): Delete function.
6312 * gmon/Makefile (routines): Add `prof-freq'.
6313 * sysdeps/generic/prof-freq.c: New file.
6314 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
6315 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
6316 (update_waiter): Store frequency in profile_tick.
6317 (__profile_frequency): New function.
6319 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
6322 * Rules (generated): Restore reference to $(generated).
6324 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
6327 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
6329 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
6330 * malloc/realloc.c: Likewise.
6331 * malloc/malloc-find.c: Likewise.
6332 * malloc/malloc-size.c: Likewise.
6333 * malloc/malloc-walk.c: Likewise.
6334 * malloc/memalign.c: Likewise.
6336 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
6338 * sysdeps/alpha/elf/start.S: Make _start global again.
6340 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
6342 Change configuration and Makefiles to allow add-ons to have a
6343 sysdeps/ directory hierachy.
6344 * configure.in: Test for sysdeps/ directory in add-ons. Before
6345 all test and searches in these hierachies, too.
6346 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
6347 Extend with $(..) if not absolute path.
6348 Use $(full-config-subdirs) where $(config-sysdirs) was used.
6349 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
6350 * MakeTAGS: Use $(full-config-subdirs).
6351 * Makerules: Change comment to libc.so link script.
6352 (sysdirs): Define based on $(full-config-subdirs).
6353 (sysd-Makefile): Define using config-sysdirs.
6354 (sysd-rules): Likewise.
6355 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
6356 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
6358 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6360 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
6361 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6362 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6364 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
6366 * malloc/free.c (free): Protect by using __libc_malloc_lock.
6367 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
6368 * malloc/malloc-size.c (malloc_usable_size): Likewise.
6369 * malloc/malloc-walk.c (malloc_walk): Likewise.
6370 * malloc/memalign.c (memalign): Likewise.
6371 * malloc/realloc.c (realloc): Likewise.
6372 * malloc/malloc.c: Define __libc_malloc_lock.
6373 (_malloc_internal): Don't use `malloc'. Instead look for
6374 `__malloc_hook' or call `_malloc_internal'.
6375 (malloc): Protect by using `__libc_malloc_lock'.
6376 * malloc/malloc.h: Declare `__libc_malloc_lock'.
6378 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
6380 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
6381 instead of the hard definition.
6383 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
6384 _start and _dl_start_user.
6386 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
6387 Make _dl_starting_up weak. Add type info for NAME.
6389 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
6391 * Makefile (all): Add extra_solibs pass.
6392 (+subdir_targets): Same.
6393 * Rules (extra_solibs): New phony empty target for subdirs without
6395 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
6396 * manual/Makefile: Add dummy extra_solibs target.
6398 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
6400 * Makeconfig (+link): Add $(link-extra-libs).
6401 (link-extra-libs): New variable which expands to the full paths of
6402 the other libraries needed by a program, as controled by LDLIBS-$(@F).
6403 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
6404 the later attempts to install the library before linking it.
6406 * sysdeps/unix/alpha/sysdep.S: Align errno.
6408 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
6410 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
6411 (_hae_shift): New function.
6412 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
6413 for the bus query functions.
6415 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
6417 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
6418 can be NULL when unloading a library.
6420 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
6421 to the library .init function.
6423 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
6424 part of the COPY reloc processing earlier, omit the rest now --
6425 we'll get into less trouble later when some fool does use a COPY.
6427 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
6428 parameters. Move all argc and __libc_multiple_libcs calculation out
6429 to init-first.h. Use __environ not __libc_envp.
6430 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
6431 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
6433 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6435 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
6436 signal settings when profiling was already turned on.
6438 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
6441 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
6443 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
6444 0 < return value < -4096 and not < 0 to decide about failure.
6445 Reported by Andreas Jaeger.
6447 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
6449 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
6452 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
6454 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
6457 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
6459 * version.c: Add missing newline character in banner.
6461 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
6462 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
6464 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
6466 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
6467 case, so don't prepend uppercase `ISO' for only numeric arg.
6469 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
6471 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
6472 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
6474 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
6476 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
6477 call to __libc_lock_lock.
6479 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
6480 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
6482 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
6484 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
6486 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
6488 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
6489 Reported by Erik Troan.
6491 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
6493 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
6494 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
6496 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
6498 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
6500 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6502 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
6505 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
6507 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
6510 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6512 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
6513 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
6515 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
6516 $(common-objpfx) is good enough.
6517 * Rules (common-generated): Provide default (empty) value.
6518 (dummy.o, dummy.c, empty.o, empty.c): Put these in
6519 $(common-generated), not $(generated), and without $(..).
6520 (subdir_echo-distinfo): Treat $(common-generated) just like
6522 (generated): Depend on the (suitably mutated) $(common-generated)
6524 * Makerules (common-clean): Remove common-generated files too.
6525 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
6527 (common-generated): Do put errnos.d and stamp-errnos here.
6528 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
6530 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
6531 auth to following rule to get it built.
6533 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
6535 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
6536 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
6537 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6539 * version.c: Add comment about where to report bugs to.
6540 * catgets/gencat.c (usage): Likewise.
6541 * db/makedb.c (usage): Likewise.
6542 * locale/programs/locale.c (usage): Likewise.
6543 * locale/programs/localedef.c (usage): Likewise.
6545 * manual/socket.texi: A little bit better wording.
6547 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
6549 * Makerules: Make sure directory exists before generating stamp file.
6550 (BUILD_CFLAGS): Always refer to using $(..).
6551 * manual/Makefile: Make sure directory exists before generating
6553 (make-target-directory): Add macro definition.
6554 * sysdeps/generic/Makefile: Make sure directory exists before
6555 generating stamp file.
6557 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
6559 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6561 When compiling in separate directory put objects into
6562 subdirectories matching the source layout.
6563 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
6564 When looking for configparms try in $(common-objpfx).
6565 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
6567 * Makerules: Add $(objpfx) to vpath list.
6568 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
6569 more than once. All uses in dependency lists changed.
6570 (+make-deps): Make target directory.
6571 (sed-remove-objpfx): Substitute $(common-objpfx).
6572 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
6573 $(objpfx) instead of $(objdir) for cd command.
6574 (O%-lib): Always find libc relative to $(..).
6575 (subdir-stamps): Collect stamp files from subdirs.
6576 (common-mostlyclean): Remove stub file in $(common-objpfx).
6577 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
6578 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
6580 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
6581 $(common-objpfx). All uses in dependency lists changed.
6582 (generated): Prepend $(..) to names.
6583 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
6585 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
6586 Use $(common-objpfx) instead of $(..) in dependencies.
6587 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
6588 $(common-objpfx) instead of $(..) and (objpfx).
6589 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
6590 (rpath-link): Likewise.
6591 (rpcuserlibs): Likewise.
6592 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
6593 errlist.c in $(objpfx), not $(common-objpfx).
6594 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
6596 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
6597 s-proto.d in $(common-objpfx), not $(objpfx).
6599 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
6601 * nss/nsswitch.c (nss_dlerror_run): Free returned error
6604 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
6606 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
6608 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
6609 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
6610 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
6611 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
6612 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
6613 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
6614 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
6615 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
6617 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6619 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
6620 spelling error of _hurd_itimerval.
6622 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
6623 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
6624 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
6626 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
6628 * stdio/fseek.c (fseek): Don't assume we know the file position;
6629 other handles may have changed it. So set STREAM.__offset to -1
6630 before calling __stdio_check_offset to make sure we have a correct
6633 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
6635 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
6636 `decimal' char is 0.
6638 * C-numeric.c (not_available): New constant.
6639 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
6641 * nss/nsswitch.conf: Example configuration file.
6642 * nss/db-Makefile: Example Makefile for generation of databases
6644 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
6646 1996-08-28 Paul Eggert <eggert@twinsun.com>
6648 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
6649 noexpr to "^[nN]"; this conforms to POSIX.2.
6651 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
6654 1996-08-28 Paul Eggert <eggert@twinsun.com>
6656 * C-monetary.c (not_available): New constant.
6657 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
6658 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
6659 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
6660 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
6662 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
6664 * nss/nss_db/db-XXX.c: Correct function names. They must be
6665 `_nss_db_*' instead of `_nss_files_*'.
6666 (lookup): `parse_line' returns 1 if succesful.
6667 * nss/nss_files/files-service.c (servbyname): Key for database
6668 must also contain protocol names.
6669 (servbypt): Likewise.
6670 Test must also check for protocol. Add `proto' argument.
6672 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6674 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
6677 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
6679 * Makerules: Add some test for correct version of GNU Make.
6681 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
6682 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
6684 * sysdeps/generic/dl-sysdep.c: Initialize break address to
6685 avoid overwriting last page (OK, Roland).
6687 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
6689 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
6690 * resolv/arpa/nameser.h: Likewise.
6691 * resolv/res_init.c: Likewise.
6692 * resolv/res_debug.c: Likewise.
6693 * resolv/res_mkquery.c: Likewise.
6695 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
6697 * elf/dl-error.c (catch): Define errstring element not as const.
6698 (_dl_catch_error): ERRSTRING argument is not const pointer.
6699 Initialize *ERRSTRING and *OBJNAME separately.
6700 * elf/link.h: Change prototype for `_dl_catch_error'.
6702 * elf/dl-load.c (_dl_map_object): Use separate variable for
6703 copied NAME to avoid `const' warning.
6705 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
6707 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
6708 provides preloading even for SUID binaries.
6709 Add some more casts to avoid signed<->unsigned warnings.
6711 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6713 * posix/sys/types.h: Define loff_t.
6714 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
6716 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
6718 * io/fcntl.h: Add definition for BSD F* macros.
6720 * misc/init-misc.c (__init_misc): Make static.
6721 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
6723 * configure.in: Add test for -fno-exception option of gcc.
6724 * config.make.in: Add definition of have-no-exceptions.
6725 * Makerules: Define no-exceptions based on have-no-exceptions.
6726 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
6727 This is necessary for gcc >= ss-960816.
6729 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
6731 * sysdeps/alpha/dl-machine.h: Clear startup flag.
6733 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6735 * Makerules (o-iterator-doit): Simplify reference to autolock
6738 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6740 * sysdeps/mach/hurd/getcwd.c
6741 (_hurd_canonicalize_directory_name_internal): After resizing the
6742 buffer move the current contents to the end. Correctly relocate
6743 file name pointer to upper half of the buffer.
6745 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
6747 * rtld.c (dl_main): Remove code to call ld.so initializer. This
6748 was introduced for compatibility with Linux ld.so and would not
6749 be used anymore. Now we don't have any good values to use as the
6750 parameters to the initializer so simply remove it.
6752 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6754 * gmon/gmon.c (ERR): Don't write the terminating NUL.
6756 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
6758 (profil_count): Use 64 bit arithmethic to avoid overflow.
6760 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
6762 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6764 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
6765 being null; in that case don't touch the timer at all (but do
6766 return something in OLD if necessary).
6768 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6770 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
6772 * sysdeps/i386/init-first.c: Likewise.
6773 * sysdeps/stub/init-first.c: Likewise.
6775 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
6777 * elf/dl-open.c (_dl_open): Call library initializer with
6778 correct command line arguments and environment information.
6779 * elf/rtld.c (dl_main): Provide arguments to initializer of
6782 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
6784 * shadow/Makefile (routines): Add lckpwdf.
6785 * shadow/lckpwdf.c: New file.
6787 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
6788 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
6790 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
6792 * configure.in: Add definition for `__eh_pc' and `__throw' in
6793 test for --no-whole-archive. The compiler generates dependencies
6794 for this but none of the standard librares and startup files
6795 are used. Necessary for gcc >= ss-960816.
6797 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
6799 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
6800 return string since string might be on stack.
6801 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
6802 Wed Aug 21 10:14:59 1996.
6803 * elf/dlerror.c (dlerror): Free error string after printing.
6804 (_dlerror_run): If error string was not printed since last error
6806 * rtld.c (dl_main): Free error string in case of error.
6808 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
6810 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
6811 this changes the global state for `localtime' and `gmtime'. Use
6812 `__localtime_r'/`__gmtime_r' instead.
6813 * resolv/res_debug.c (__p_secstodate): Likewise.
6814 * sysdeps/generic/ftime.c: Likewise.
6815 * sysdeps/posix/gettimeofday.c: Likewise.
6816 Reported by Paul Eggert.
6818 * time/gmtime.c: De-ANSI-fy.
6819 * time/strftime.c: Don't call non-reentrant functions which change
6822 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
6824 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
6825 than putting it on the stack.
6827 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
6829 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
6830 don't find .plt entries.
6832 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6834 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
6837 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
6839 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
6841 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
6843 * login/pututline_r.c (__pututline_r): Fix handling of case where
6844 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
6846 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
6848 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
6849 for "Jensen" so _bus_base() returns 0 on that platform. Use
6850 _bus_base_sparse() to determine base address of sparse memory.
6852 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
6853 and declarations in __BEGIN_DECLS/__END_DECLS.
6855 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
6857 * err.h: New file. Wrapper around misc/err.h.
6859 Correct solution of multiple initialization problem by
6861 * csu/initfini.c: Remove global variable __libc_is_static.
6862 * elf/rtld.c: Introduce new global variable _dl_starting_up.
6863 It's nonzero during the startup.
6864 * elf/dl-open.c (_dl_open): When _dl_start function is not
6865 available (i.e., if in static libc) set `__libc_multiple_libcs'
6867 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
6868 New global variable.
6869 (init): Undo change of Fri Aug 2 03:12:40 1996.
6870 Initialize `__libc_multiple_libcs' to nonzero only if this is
6871 a shared lib called from a statically linked program and don't
6872 call `personality' and `setfpucw' in this case either.
6873 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
6874 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
6875 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
6876 before jumping to user code.
6877 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6879 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
6881 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
6882 Thu Aug 8 12:40:20 1996.
6883 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
6884 -fkeep-inline-functions flag instead.
6886 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6888 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
6889 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
6890 like ECONNREFUSED already does.
6891 (_nss_dns_gethostbyaddr_r): Likewise.
6892 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6893 (_nss_dns_getnetbyaddr_r): Likewise.
6895 * sysdeps/mach/hurd/socket.c (socket): For message transmission
6896 and RPC errors that indicate that the socket server is not really
6897 present and able to do its job, turn the error into EPFNOSUPPORT.
6899 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
6901 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
6902 name dynamically. Reported by Alan Cox.
6903 Uncomment warnings and mark as translatable.
6905 * time/strftime (strftime): Add implementation for %s and %z
6906 format. Change behaviour for unknown format character: now
6907 simply print it. This matches the behaviour of printf.
6908 Reported by Jim Meyering.
6909 * manual/time.texi: Document all formats and flags of strftime.
6911 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
6913 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
6916 * misc/sys/select.h: Define fd_set using typedef, not #define.
6917 Proposed by David Mosberger-Tang.
6919 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
6921 * po/header.pot: Use real description line.
6923 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
6925 * elf/rtld.c (dl_main): When started with --verify prevent
6926 any warning. Just exit with an error.
6927 * elf/ldd.sh.in: Don't run given object directly. This fails for
6928 libraries. Instead use $RTLD again.
6930 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
6932 * manual/nss.texi: New file. Document NSS.
6933 * manual/nsswitch.texi: New file. Example configuration.
6935 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
6936 * manual/example/strdupa.c: New file. Example for strdupa.
6938 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
6940 * stdlib/strtod.c (STRTOD): Correct assertion about size of
6941 wint_t and wchar_t. Reported by David Mosberger-Tang.
6943 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6945 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
6946 RELOC_ADDR and make NOPLT a set of flags. All callers
6947 changed. Delete condition that checks for resolving to the
6948 location being filled in. Add condition to skip the
6949 executable's symbols if requested.
6950 * elf/link.h: Change declaration of _dl_lookup_symbol
6952 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
6953 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
6955 * elf/dl-runtime.c (RESOLVE): Likewise.
6956 * elf/rtld.c (RESOLVE): Likewise.
6957 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
6958 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
6959 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
6960 reloc, zero otherwise.
6961 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6963 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6965 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
6967 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
6968 * po/header.pot: Add empty line at end.
6970 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6972 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
6973 are now in $P/stdio-common.pot.
6974 (XGETTEXTFLAGS-errlist.pot): Variable removed.
6976 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6978 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
6979 script at run time, not configure time.
6980 * config.make.in, configure.in: Undo previous change.
6982 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
6984 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
6985 on stack as argument for `_exit'. Reported by Andreas Schwab.
6987 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6989 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
6991 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
6993 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
6994 (_dl_map_object_from_fd): Free name on error.
6996 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
6998 * string/strdup.c: Use result of memcpy to avoid reloading.
7000 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7002 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
7003 the other way round.
7005 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
7007 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
7010 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
7012 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
7014 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
7017 Update from bind-4.9.5-T1A.
7018 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
7019 inet_net_pton, inet_net.
7021 * resolv/gethnamaddr.c: Include <sys/types.h>.
7022 * resolv/getnetnamadr.c: Likewise.
7023 * resolv/herror.c: Likewise.
7024 * resolv/inet_addr.c: Likewise.
7025 * resolv/nsap_addr.c: Likewise.
7026 * resolv/res_comp.c: Likewise.
7027 * resolv/res_data.c: Likewise.
7028 * resolv/res_init.c: Likewise.
7029 * resolv/res_mkquery.c: Likewise.
7030 * resolv/res_query.c: Likewise.
7031 * resolv/res_send.c: Likewise.
7033 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
7035 * resolv/inet_ntop.c: Likewise.
7037 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
7038 Remove prototype of gethostbyname_ipv4.
7040 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
7041 functions instead of BSD `b*' functions.
7043 * resolv/nsap_addr.c: Add copyright message.
7045 * resolv/res_comp.c: Remove comment explaining label format.
7046 (res_mailok): Correct check.
7048 * resolv/res_debug: Include missing headers.
7049 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
7050 (__p_fqnname): New function to print FQDN from compressed name.
7051 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
7052 correctly. Add handling of T_KEY and T_SIG.
7053 Handle class and type names by using name arrays instead of
7054 explicit `switch'es.
7055 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
7056 (__dn_count_labels, __p_secstodate): New functions.
7058 * resolv/resolv.h (__RES): Update version number.
7059 (res_sym): New type.
7060 Add #defines for new functions.
7061 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
7062 __p_secstodate, dn_count_labels.
7064 * resolv/arpa/nameser.h (__BIND): Update version number.
7065 Add KEYFLAG_* and ALGORITHM_* symbols.
7066 (HEADER): Add `ad' and `cd' flags.
7068 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
7071 * manual/maint.texi: Document that we use bind-4.9.5.
7074 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
7076 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
7078 * mach/Makefile (mach/mach_host.uh): Depend on
7079 $(objpfx)/mach-syscalls.mk.
7080 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
7081 (This fixes a make loop; thanks to Marcus Daniels
7082 <marcus@sysc.pdx.edu> for the patch.)
7084 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
7086 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
7087 buffer is any longer than the amount necessary to hold the
7088 filename; the Hurd getcwd uses the *entire* contents of the
7089 buffer, however long it is specified to be.
7091 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
7093 * nss/nsswitch.c (__nss_database_lookup): Always release locks
7094 before returning. Reported by Miles Bader.
7096 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
7098 * nss/nsswitch.c (__nss_configure_lookup): New function.
7099 Allows to specify services.
7100 * nss/XXX-lookup.h: Rename database variable and make global.
7101 * nss/databases.def: New file. Real names of all databases.
7103 * nss/nss.h: New file. Contains declaration useful for users
7104 and service developers.
7105 * nss/nsswitch.h: Move some declarations to nss/nss.h.
7106 * nss.h: New file. Wrapper around nss/nss.h.
7108 * nss/Makefile (headers): Add nss.h.
7109 (distributes): Add databases.def.
7111 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
7113 Help the poor people with fast machines by making sure only
7114 one `ar' commands works on the library.
7115 * autolock.sh: New file. Written by Tom Tromey.
7116 * Makerules (do-ar): Call autolock.sh shell script instead of
7117 directly using `ar'.
7118 * config.make.in: Make configuration variable AUTOLOCK which
7119 gets initialized by configure.
7120 * configure.in: Define variable AUTOLOCK to point to autolock.sh
7121 script and mark it to substitute.
7123 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
7125 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
7126 always only if in static libc or if statically linked program
7129 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
7130 always only if in static libc or if statically linked program
7133 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
7135 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
7136 startup by moving Icache flush from here ...
7137 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
7138 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
7140 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
7141 calling conventions. The code is already correct.
7143 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
7145 * string/Makefile: Compile tester with -fno-builtin as we want to
7146 test our implementations, not gcc's.
7148 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
7150 * shadow.h: New file.
7152 * sysdeps/unix/sysv/linux/netinet/in.h: Move
7153 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
7156 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
7157 g++ 2.7.2 (and earlier) has no transparent unions support.
7159 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
7161 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
7162 function to determine the base address of sparse bus memory.
7163 (APECS_*): Rename to CIA_*.
7164 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
7165 (platform): Add sparse_bus_memory_base member and initialize.
7166 (sparse_bus_memory_base): New variable.
7168 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
7170 * sysdeps/posix/ttyname_r.c (ttyname_r),
7171 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
7172 !__isatty(fd) (POSIX.1 says so.)
7174 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
7175 This is not a gross hack, after all---for compatibility,
7176 getlogin() really should check fd 0 only and not try to base its
7177 operation on the controlling tty.
7179 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
7181 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
7182 change utmp_data from static to auto.
7184 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
7186 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
7187 Reported by David Mosberger-Tang.
7189 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
7191 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
7192 alias to `__isnanl'.
7194 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
7196 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
7197 get `struct timeval'.
7198 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
7199 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
7200 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
7201 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
7202 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
7203 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
7205 * io/fts.h: Include <sys/types.h> to get dev_t.
7206 Reported by Matthias Urlichs.
7208 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
7209 _IO_file_flags. It's the same as _flags.
7210 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
7212 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7214 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
7216 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
7218 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
7219 * pwd/getpwent_r.c: Likewise.
7220 * pwd/getpwnam.c: Likewise.
7221 * pwd/getpwnam_r.c: Likewise.
7222 * pwd/getpwuid.c: Likewise.
7223 * pwd/getpwuid_r.c: Likewise.
7225 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
7226 * grp/getgrent_r.c: Likewise.
7227 * grp/getgrgid.c: Likewise.
7228 * grp/getgrgid_r.c: Likewise.
7229 * grp/getgrnam.c: Likewise.
7231 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
7232 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
7233 * pwd/Makefile (routines): Add fgetpwent_r.
7234 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
7236 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
7237 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
7238 * grp/Makefile (routines): Add fgetgrent_r.
7239 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
7241 Implement shadow password lookup functions. This is no complete
7242 shadow password suite.
7243 * shadow/Makefile: New file.
7244 * shadow/fgetspent.c: New file.
7245 * shadow/fgetspent_r.c: New file.
7246 * shadow/getspent.c: New file.
7247 * shadow/getspent_r.c: New file.
7248 * shadow/getspnam.c: New file.
7249 * shadow/getspnam_r.c: New file.
7250 * shadow/putspent.c: New file.
7251 * shadow/sgetspent.c: New file.
7252 * shadow/sgetspent_r.c: New file.
7253 * shadow/shadow.h: New file.
7254 * shadow/spwd-lookup.c: New file.
7255 * shadow/nss_files/files-spwd.c: New file.
7257 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
7259 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
7260 call is only a stub.
7261 Reported by Matthias Urlichs.
7263 * Makeconfig [!default_cflags]: Change default value from `-g'
7266 * configure.in: Recognize i686.
7267 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
7269 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
7271 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
7272 value of CFLAGS-.o, not CFLAGS-o.
7274 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
7275 pointer to ourself. Otherwise `gcc -O3' optimized init away.
7277 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
7279 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
7280 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
7282 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
7284 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
7285 to 0x137f to allow long double operations.
7287 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
7291 * nss/nsswitch.c (_res): Remove redundant variable definition.
7292 The real one is in resolve/res_init.c, and having both prevents
7293 using -fno-common when building the shared library.
7294 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
7296 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
7297 a .bss object not a COMMON symbol.
7299 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
7300 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
7304 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
7305 main loop for better dual-issue on EV5. Rearrange binary search to
7306 pipeline better and trim one instruction.
7310 * time/localtime.c (localtime_r): Move lock declaration back next to
7311 the comment where it was before the 960724 change.
7313 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
7314 The second word is supposed to be the hardware manufacturer.
7316 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
7317 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
7319 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
7321 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
7322 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
7323 Same cleanups as with EV4 GMP stuff.
7325 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
7327 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
7328 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
7329 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
7331 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
7333 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
7336 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
7338 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
7340 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7343 * socket/sys/socket.h (send, __send, sendto): Declare buffer
7346 * string/tester.c (main): Test stpncpy.
7348 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
7349 segfault when called with an N that is not a multiple of four and
7352 * misc/syslog.c (LogType): New variable.
7353 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
7354 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
7356 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
7357 terminator as a record-delimiter. If __send(LogFile) fails,
7358 call closelog() so logfile gets re-opened next time.
7360 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
7362 * elf/dl-open (_dl_open): Add cast to avoid warning.
7364 * manual/memory.texi: Improve some examples to give readers better
7365 advice: Use `stpcpy' instead of `strcat' if possible.
7366 * manual/string.texi: Document `strtok_r' and `strtok'.
7368 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
7370 [$(cross-compiling)=no]: Change test before making librpcsvc
7371 to this from $(cross-compile).
7372 Reported by Andreas Schwab.
7374 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
7376 * elf/Makefile (routines): Move dl-sysdep to here...
7377 (rtld-routines): ...from here. This should make static linking
7380 * locale/setlocale.c: Add local variable `lock' and add code to
7381 `setlocale' to avoid simultaneous changing of global data.
7383 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
7384 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
7385 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
7386 of unprotected names.
7388 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
7390 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
7391 This requires to rename several functions to use __ protected
7393 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
7395 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
7396 and make old name a weak alias.
7397 * sysdeps/mach/hurd/getrlimit.c: Likewise.
7398 * sysdeps/mach/hurd/opendir.c: Likewise.
7399 * sysdeps/mach/hurd/readdir.c: Likewise.
7400 * sysdeps/stub/closedir.c: Likewise.
7401 * sysdeps/stub/opendir.c: Likewise.
7402 * sysdeps/stub/readdir.c: Likewise.
7403 * sysdeps/unix/closedir.c: Likewise.
7404 * sysdeps/unix/opendir.c: Likewise.
7405 * sysdeps/unix/readdir.c: Likewise.
7407 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
7409 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
7410 `__closedir' instead of unprotected names.
7412 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
7413 instead of `isatty' since later is not part of ISO C.
7414 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
7415 `open' since later is not part of ISO C.
7417 * login/endutent.c (endutent): Call `__endutent_r', not
7419 * login/endutent_r.c: Rename defined function to `__endutent_r',
7420 make `endutent_r' weak alias.
7421 * login/getutent.c (getutent): Call `__getutent_r', not
7423 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
7424 * login/getutid_r.c: Rename defined function to `__getutent_r',
7425 make `getutent_r' weak alias.
7426 * login/getutline.c (getutline): Call `__getutline_r', not
7428 * login/getutline_r.c: Rename defined function to `__getutline_r',
7429 make `getutline_r' weak alias.
7430 * login/pututline_r.c: Rename defined function to `__pututline_r',
7431 make `pututline_r' weak alias.
7432 * login/setutent.c (setutent): Call `__setutline_r', not
7434 * login/setutent_r.c: Rename defined function to `__setutline_r',
7435 make `setutline_r' weak alias.
7436 Rename `utmpname' to `__utmpname' and make former weak alias.
7437 (__utmpname): Call `__strdup', not `strdup'.
7438 * login/utmp.h: Add prototypes for name space clean reentrant
7440 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
7441 and `__endutent_r' instead of unprotected names.
7443 * math/math.h: Add prototype for `__matherr'.
7444 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
7447 * nss/getXXbyYY.c: Call __ protected reentrant function.
7448 * nss/getXXent.c: Likewise.
7449 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
7450 name. Make usual name a weak alias.
7451 * nss/getXXent_r.c: Likewise.
7453 * posix/unistd.h: Add prototype for `__ttyname_r'.
7454 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
7455 and make `ttyname_r' a weak alias.
7457 * resource/sys/resource.h: Add prototype for `__getrlimit'.
7458 * sysdeps/stub/getrlimit.c: Prepend function name with __
7459 and make old name a weak alias.
7460 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
7461 and make `getrlimit' weak alias.
7463 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
7464 * libc/stdio/vscanf.c: De-ANSI-fy.
7465 Rename function to `__vscanf' and make `vscanf' a weak alias.
7466 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
7469 * stdio-common/reg-printf.c: De-ANSI-fy.
7470 Rename function to `__register_printf_function' and make
7471 `register_printf_function' weak alias.
7473 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
7476 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
7477 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
7478 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
7479 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
7480 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
7482 * wcsmbs/mbsrtowcs.c: Likewise.
7483 * wcsmbs/wcrtomb.c: Likewise.
7484 * wcsmbs/wcsrtombs.c: Likewise.
7485 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
7487 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
7488 instead of `sigprocmask'.
7491 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
7492 version getgrent_r, getgrgid_r, and getgrnam_r.
7493 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
7494 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
7496 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
7499 * misc/error.c (private_strerror): Translate messages from table,
7502 * io/fcntl.h: Pretty printing.
7503 * misc/fstab.h: Likewise.
7504 * misc/ttyent.h: Likewise.
7505 * resource/sys/resource.h: Likewise.
7506 * string/argz.h: Likewise.
7507 * string/envz.h: Likewise.
7509 Add support for symbols from POSIX.1c (POSIX threads).
7510 * posix/getconf.c: Handle new sysconf symbols.
7511 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
7512 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
7513 * sysdeps/generic/confname.h: Define new symbols.
7514 * sysdeps/posix/sysconf.c: Handle new symbols.
7515 * sysdeps/stub/sysconf.c: Ditto.
7516 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
7519 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
7520 have real prototype.
7522 * sysdeps/generic/resourcebits.h: Add macro definition for
7523 RLIMIT_* values. Some sources test using #ifdef whether specific
7525 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
7526 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
7527 separate files for the architectures.
7528 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
7529 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
7530 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
7531 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
7533 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
7534 and only default on `OPEN_MAX'.
7535 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
7538 * time/Makefile (routines): Add ctime_r.
7539 * time/asctime.c: Add implementation of `asctime_r'. Make
7540 `asctime' implementation based on reentrant version.
7541 * time/ctime_r.c: New file.
7542 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
7545 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7547 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
7548 (_nl_C_LC_CTYPE): Fix ordering.
7549 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
7552 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
7554 * csu/initfini.c: Discover the maximum alignment generated by the
7555 compiler when emitting a function.
7556 (_init): Make sure the end of the crti fragment is aligned.
7559 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
7561 * initfini.c: (__libc_is_static): New variable. Will be
7562 initialized in init-first.c. Some actions in the libc work
7563 different when libc is static or dynamic.
7565 * sysdeps/unix/sysv/linux/init-first.c (init): Use
7566 `__libc_is_static' variable to determine whether call to
7567 `personality' and `setfpucw' is necessary. When done set variable
7568 to +-1 depending on library type.
7570 * locale/setlocale.c (setlocale): Use global variable
7571 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
7572 determine whether it's a SET[UG]ID program.
7574 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
7576 * Version 1.93 test release.
7578 * manual/Makefile: Use -include for chapters-incl too.
7580 * Makeconfig (+link): Add back start.o, mistakenly removed in last
7583 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7585 * nss/Makefile (generated): Add db-*.c.
7587 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
7588 using #include_next.
7590 * configure.in (--enable-add-ons): Quote m4 macro args.
7592 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
7594 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
7596 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
7598 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
7600 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
7603 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
7604 warning when inline function is elided.
7605 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
7606 (elf_machine_runtime_setup): Likewise.
7607 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
7608 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
7609 (elf_machine_load_address): Likewise.
7611 * catgets/gencat.c: Include <locale.h>.
7613 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
7615 * login/logwtmp.c (logwtmp): Call time, not __time.
7617 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
7618 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
7619 * login/logwtmp.c (logwtmp): Likewise.
7621 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
7622 comparing ioctl macro values.
7624 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
7626 * manual/Makefile: Use -include for chapters to suppress warning.
7628 * sysdeps/stub/socket.c: Fix type of TYPE arg.
7629 * sysdeps/stub/socketpair.c: Likewise.
7631 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
7633 * sysdeps/generic/sysdep.h: New file, broken out of ...
7634 * sysdeps/unix/sysdep.h: ... here.
7635 (C_LABEL): Moved out.
7637 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
7638 stick to sed. Do `exit 0' at end because while returns nonzero.
7640 * sysdeps/i386/sysdep.h: New file, broken out of ...
7641 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
7643 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
7644 They are defined unconditionally in libio/stdio.h.
7646 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
7647 * elf/dl-cache.c: Likewise.
7649 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
7651 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
7652 (sysdep_headers): Add sys/sysmacros.h.
7653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
7655 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
7657 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
7658 tcgetattr. We have weak aliases now.
7659 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
7660 "optimizations" for random functions.
7662 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7664 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
7665 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
7666 redefinition warning.
7668 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7670 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
7673 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7675 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
7678 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
7680 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
7682 Reported by Richard Henderson <rth@tamu.edu>.
7684 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7686 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
7689 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
7691 * locale/setlocale.c (setlocale): Don't try to free C locale
7693 Reported by Matthias Urlichs.
7695 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
7697 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
7698 (open_file): New function, contents mostly from __open.
7699 (_dl_sysdep_read_whole_file): New function.
7701 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
7703 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
7704 `..' dots in sed search string.
7706 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7708 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
7711 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7713 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
7714 in those directories.
7715 * config.make.in (add-ons): New varaible, set from @subdirs@.
7716 * Makefile (subdirs): Added $(add-ons) at the end.
7718 * time/strftime.c (strftime: do_number): Initialize PRINTED to
7719 MAXDIGITS in case P is null and so sprintf is never actually called.
7721 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
7723 Add support for the to-be-written internationalized regexp.
7724 This code must be able to use collation symbols and collation
7726 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
7727 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
7728 New global variables for collation classes.
7729 * locale/categories.def: Add new descriptions for collation symbols
7730 and collation classes.
7731 * locale/langinfo.h: Add constants for collation symbols and
7733 * locale/lc-collate.c: Add new global variables for collation symbols
7734 and collation classes.
7735 (_nl_postload_collate): Initialize new variables.
7736 * locale/programs/ld-collate.c: Add code to emit tables for
7737 collation symbols and collation classes.
7738 * locale/programs/locales.h: Change prototype for `collate_output'.
7739 * locale/programs/locfile.c (write_all_categories): Call
7740 `collate_output' with new argument.
7741 * locale/localeinfo.h: Add declaration for new global vars.
7742 (union locale_data_value): New member wstr for `wchar_t' strings.
7743 * locale/programs/locale-spec.c: Handle `collate-classes'
7744 keyword and print information about available collation classes.
7745 * locale/strlen-hash.h: New file. Simple hashing function which
7746 takes a string with known length.
7747 * locale/Makefile (distribute): Add strlen-hash.h.
7748 (locale-modules): New var. Additional files for `locale' program.
7750 * locale/C-ctype.c: Rewrite to avoid using string for giving values
7751 which are of type `u_int32_t'.
7752 Correct entry for EOF in toupper and tolower tables.
7754 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
7757 * locale/programs/ld-ctype.c (ctype_output): Add code to make
7758 sure that all tables in binary file are word-aligned.
7760 * locale/programs/locfile.c (write_locale_data): Correct handling
7761 of LC_MESSAGES locale. Create directory if necessary.
7763 * locale/setlocale.c (setlocale): Add cast to avoid warning.
7765 * string/string.h: Add prototype for `__strndup'.
7767 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7769 * wcsmbs/mbrtowc.c: Remove unused variable.
7771 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7773 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
7774 2.0.10; some problems were reported with an earlier version, and this
7775 one is known to work.
7777 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
7778 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7780 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
7782 * elf/rtld.c (dl_main): Ignore arguments when environment variable
7783 LD_TRACE_LOADED_OBJECTS is set.
7785 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7787 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
7788 __libc_enable_secure instead of _dl_secure.
7789 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
7790 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
7792 * elf/Makefile (routines): Add enbl-secure.
7793 (elide-routines.so): Here too.
7794 * sysdeps/generic/enbl-secure.c: New file.
7795 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
7796 * elf/dl-support.c (_dl_secure): Variable removed.
7797 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
7799 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
7801 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7802 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
7803 compiler doesn't elide it.
7804 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
7806 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7808 * elf/rtld.c (dl_main): Take new option --verify when run directly.
7809 In verify mode, exit with status zero iff the argument object's
7810 PT_INTERP matches argv[0].
7811 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
7812 exits with zero status. This makes `ldd' secure again.
7814 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
7816 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
7817 environment variable handling. This makes the dynamic linker
7818 only print loaded libraries and quit.
7820 * elf/ldd.sh.in: Don't use `rtld --list' but instead
7821 LD_TRACE_LOADED_OBJECTS environment variable to print needed
7824 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7826 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
7827 after printing version until after doing usage for --help.
7828 (long_options, main, usage): Rename -l/--lowercase option to
7829 -f/--fold-case (-f matches sort).
7831 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
7833 * db/makedb.c: New file. Implement program to create simple <db.h>
7834 database from textual input. This will be used for nss_db.
7836 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7838 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
7839 * sunrpc/rpc/pmap_clnt.h: Likewise.
7840 * sunrpc/rpc/auth.h: Likewise.
7841 * sunrpc/rpc/pmap_rmt.h: Likewise.
7842 * sunrpc/rpc/rpc_msg.h: Likewise.
7844 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
7846 * string/string.h (strndupa): Change to use return value of
7847 `memcpy' for more performance.
7848 * string/strndup.c: Likewise.
7850 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
7851 This might lead to problems.
7852 (strndupa): Likewise.
7854 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
7856 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
7857 and change K&R prototypes to ANSI prototypes.
7858 * sunrpc/rpc/auth_unix.h: Ditto.
7859 * sunrpc/rpc/clnt.h: Ditto.
7860 * sunrpc/rpc/pmap_clnt.h: Ditto.
7861 * sunrpc/rpc/pmap_prot.h: Ditto.
7862 * sunrpc/rpc/pmap_rmt.h: Ditto.
7863 * sunrpc/rpc/rpc_msg.h: Ditto.
7864 * sunrpc/rpc/svc.h: Ditto.
7865 * sunrpc/rpc/svc_auth.h: Ditto.
7866 * sunrpc/rpc/xdr.h: Ditto.
7868 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7870 * ctype/test_ctype.c: Test EOF too.
7872 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
7874 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
7875 * sunrpc/rpc/auth_unix.h: Likewise.
7876 * sunrpc/rpc/clnt.h: Likewise.
7877 * sunrpc/rpc/netdb.h: Likewise.
7878 * sunrpc/rpc/pmap_clnt.h: Likewise.
7879 * sunrpc/rpc/pmap_prot.h: Likewise.
7880 * sunrpc/rpc/rpc_msg.h: Likewise.
7881 * sunrpc/rpc/svc.h: Likewise.
7882 * sunrpc/rpc/svc_auth.h: Likewise.
7883 * sunrpc/rpc/xdr.h: Likewise.
7885 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
7887 * sunrpc/pmap_rmt.c: ...here.
7889 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
7891 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
7893 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
7896 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7898 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
7899 <kkojima@info.kanagawa-u.ac.jp>.
7901 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
7903 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
7904 defined, not __OPTIMIZED.
7905 (_nl_msg_cat_cntr): Move declaration outside macro definition
7906 to prevent "nested extern" warning.
7907 (dcgettext): Rename local variable `result' to `__result'.
7909 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7911 * locale/programs/localedef.c (__progname): Remove decl.
7912 (main): Use program_invocation_short_name instead of __progname.
7913 (usage): Use program_invocation_name instead of __progname.
7915 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
7917 * catgets/gencat.c: Use "libc" instead of PACKAGE.
7918 * locale/localedef.c: Ditto.
7919 * locale/locale.c: Ditto.
7921 * locale/findlocale.c (_nl_find_locale): Little optimization.
7922 Use new function `strndup'.
7924 * locale/loadlocale.c: Little optimization. Use constant value
7925 from `_nl_category_num_items' instead of byte-order dependend
7928 * locale/programs/ld-time.c (time_add): Correct string constant.
7930 * locale/programs/locale-spec.c: New file.
7931 * locale/programs/locale.c: Call `locale_special' function if
7932 no other field matches.
7934 * locale/programs/localedef.c: No need to define `program_name'.
7935 Use global variable `__progname'.
7937 * locale/programs/locfile.c (write_locale_data): Always write
7938 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
7939 necessary since message catalogs are also installed in the
7940 LC_MESSAGES/ directory.
7942 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
7943 function instead of writing single bytes.
7944 (encode_char): Also handle little endian.
7946 * locale/setlocale.c (new_composite_name): Little optimization.
7947 Use return value of `memcpy'.
7949 * misc/ttyent.h: Pretty print prototypes, add missing parameter
7950 names, prepend parameter names with __ and use `__const' instead
7952 * posix/unistd.h: Ditto.
7953 * stdlib/stdlib.h: Ditto.
7954 * string/string.h: Ditto.
7956 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
7957 Use `error' function instead of doing it by hand.
7958 * sysdeps/posix/sysconf.c: De-ANSI-fy.
7959 Handle _SC_COLL_WEIGHTS_MAX.
7960 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
7961 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
7962 since these do not depend on the platform.
7963 Add POSIX.4 symbols.
7965 * posix/posix2_lim.h: Add missing definition of
7966 _POSIX2_COLL_WEIGHTS_MAX.
7967 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
7968 to high values since we have no fixed limit.
7970 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
7971 _SC_PAGESIZE for buggy systems (= HP UX) out there.
7973 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
7974 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
7975 * wcsmbs/wcsnrtombs.c: Ditto.
7976 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
7979 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
7981 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
7983 * nss/getXXent_r.c: Likewise.
7984 * nss/nsswitch.c: Likewise.
7985 * nss/nss_files/files-XXX.c: Likewise.
7986 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
7987 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
7988 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
7990 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
7993 macro, now put the needed Linux version just once, here; update to
7994 needing linux-2.0.3 headers.
7995 (libc_cv_linuxVER): New macro derived from that.
7996 (kernel header check): Use those macros and some m4 magic to replace
7997 hard-coded `201' and `2.0.1' in several places.
7999 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
8001 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
8003 * time/localtime.c: Move lock variable declaration to end of
8004 variable declarations since if is a dummy macro the ; at the
8005 end terminates the variable section of the function.
8007 * time/tzset.c: Undefine `tzset' before function declaration.
8008 Use `weak_function' macro instead of `weak_symbol'.
8010 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
8012 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
8015 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
8017 * locale/C-ctype.c: Increment number of fields after change
8018 from Wed Jun 19 03:24:58 1996.
8020 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8022 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
8023 ($(common-objpfx)libc.so): Move deps into that, use it.
8024 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
8025 $(rpcuserlibs:.so=_pic.a).
8026 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
8029 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8031 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
8032 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
8034 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
8036 * locale/iso-4217.def: Add India to comment for symbol "INR ".
8037 Reported by Raja R Harinath <harinath@cs.umn.edu>.
8039 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8041 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
8044 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8046 * time/tzset.c: Include <libc-lock.h>.
8047 (__tzset_lock): New lock variable.
8048 (tzset): New function (weak defn), no longer weak alias for __tzset.
8049 Call __tzset while holding __tzset_lock.
8050 * time/localtime.c: Include <libc-lock.h>.
8051 (__localtime_r): Hold __tzset_lock while doing the work.
8053 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
8054 from [!HAVE_GNU_LD] to [!_LIBC].
8055 [_LIBC]: Include <libc-lock.h> and define a lock.
8056 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
8057 (setenv, unsetenv): Use them.
8059 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
8061 * locale/programs/locfile.c (write_locale_data): Deal with missing
8064 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
8065 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
8067 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8069 Win32 hacks from <Rob_Tulloh@tivoli.com>.
8070 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
8071 use void * for my_realloc; include <malloc.h> for alloca.
8072 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
8073 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
8074 * posix/glob.h: Likewise.
8076 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
8078 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
8079 call __io_select unless there's only a single descriptor, as each
8080 descriptor now has its own reply port.
8081 If there is only a single descriptor, just use its reply port for
8082 everything and don't bother creating the port set.
8084 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
8085 <unistd.h>: New include.
8087 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
8090 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8092 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
8093 from the USA any software that even makes it easy to drop in an
8094 encryption module of foreign origin.
8095 * Makerules (cryptobjdir): Variable removed.
8096 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
8097 * Makefile (subdirs): Remove crypt.
8099 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
8101 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
8102 operator to yesexpr and noexpr string.
8104 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
8106 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
8107 old code would have failed on a big-endian 64-bit architecture).
8108 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
8110 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
8111 (xdr_u_long): Use switch instead of chain of if-statements.
8112 Remove gratitous parentheses around return expressions.
8113 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
8115 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
8117 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
8120 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8122 * dlfcn.h, db.h: New wrapper headers.
8124 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
8125 for `struct stat;' forward decl.
8127 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
8129 * locale/iso-4217.def: Add some more standardized currency
8132 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8134 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
8136 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
8138 * Rules (dummy.o, empty.o): Targets removed.
8139 (dummy.c, empty.c): New targets replace them.
8141 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8143 * crypt/Makefile (lib-noranlib): Depend on
8144 $(objpfx)libcrypt.so$(libcrypt.so-version).
8147 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
8149 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
8150 check. mib's clueless hacking broke it.
8152 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8154 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
8156 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
8158 * misc/sys/ustat.h: New file.
8159 * misc/ustat.h: Ditto.
8160 * sysdeps/generic/ustatbits.h: Ditto.
8161 * sysdeps/stub/ustat.c: Ditto.
8162 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
8163 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
8165 (routines): Mention ustat.
8167 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
8168 * sysdeps/alpha/elf/start.S: here.
8170 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
8171 alphabetically correct place. Mention ustat.
8173 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
8174 common symbol (makes errno accessible from gdb).
8176 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
8179 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
8180 record always gets appended at end of file (wtmp is a log file,
8181 after all). Set ut_type to DEAD_PROCESS if name is empty.
8183 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
8184 separate loop from search for UT_ID. Fix code so it is in
8185 sync with Unix man page.
8187 * login/getutline_r.c (getutline_r): Stop searching only if
8188 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
8190 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
8192 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
8193 avoid duplicate declarations.
8195 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
8197 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
8198 and alpha-gnu-linuxecoff targets.
8200 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
8202 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
8204 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
8206 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
8209 * resolv/res_comp.c (res_hnok): Use empty statement in place
8210 of NULL (which generates a "useless expression" warning in
8213 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
8215 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
8216 with $(..) in output.
8218 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8220 * elf/Makefile (dl-routines): Add dl-cache.
8221 * elf/dl-cache.c: New file.
8222 * elf/dl-load.c (_dl_map_object): Check cache before default path.
8224 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
8226 * stdio-common/vfscanf.c: Major change. Now read character
8227 from stream only if needed. Before it was read after the
8228 previous character was used.
8229 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
8231 * stdio-common/tstscanf.c: Change test program so that return
8232 value is != 0 if one test failed.
8234 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8236 * sysdeps/m68k/Makefile (crypt): Variable removed.
8237 * sysdeps/sparc/Makefile: Likewise.
8239 * version.h (VERSION): Update to 1.93.
8241 * Makerules ($(libdir)/libc.so): Depend on
8242 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
8244 * crypt/nocrypt.c: New file.
8245 * Makefile (subdirs): Add crypt.
8246 * crypt/Makefile: New file.
8248 * Makerules (soversions.mk): Move this target, include of it, and
8249 include of version.mk to ...
8250 * Makeconfig: ... here.
8251 (soversions.mk): Depend on Makeconfig instead of Makerules.
8253 * shlib-versions (*-*-*): Set libcrypt=0.
8255 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
8257 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
8258 word extends right up to rmargin.
8260 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
8261 output the wrap margin, set point_col to wmargin.
8262 Use negative point_col to deal with a wmargin of 0.
8263 (line_wrap_point): Return 0 for a negative point_col.
8264 (line_wrap_stream): Make wmargin ssize_t.
8265 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
8267 (line_wrap_stream): Make wmargin ssize_t.
8268 (line_wrap_point): Return 0 for a negative point_col.
8270 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8272 * shlib-versions (*-*-gnu*): Set libc=0.0
8274 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8276 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
8277 sysdeps/i386/dl-machine.h.
8279 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
8281 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
8282 to fiddle __put_limit in conjunction with __linebuf_active.
8284 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8286 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
8287 to the strong name, not the file name.
8289 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8291 * csu/initfini.c: More magic. Detect if .end is produced and put it
8292 in the output iff the compiler does.
8294 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
8295 because that is broken on alpha.
8297 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
8300 * Makerules (make-link): Install the new link with atomic mv -f in
8301 case ln itself requires the library being installed.
8303 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
8305 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
8306 i386/dl-machine.h of 960713.
8308 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
8309 (_dl_sysdep_read_whole_file): Fix result variable declaration.
8311 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8313 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
8316 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
8318 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
8319 with pointer to local variable instead of NULL.
8321 1996-07-15 Paul Eggert <eggert@twinsun.com>
8323 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
8325 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
8328 that are already added by other means.
8330 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
8331 caller column to get those syscalls added automagically.
8333 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
8335 * login/logout.c (logout): Initialize DATA to a state that will
8336 make setutent_r happy.
8338 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8340 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
8341 instead of setting the DT_DEBUG pointer.
8343 * csu/initfini.c (_init, _fini): Generate .end directives after
8344 standalone prologues and filter them out from epilogues.
8346 * Makeconfig (rtld-installed-name): Set to ld.so.1.
8347 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
8350 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
8352 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
8354 * MakeTAGS (extract): Pass --add-comments=TRANS.
8355 * sysdeps/gnu/errlist.awk: Write comments into the output with the
8356 descriptive paragraphs from the manual preceded by TRANS.
8358 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
8359 (_dl_start): Move RESOLVE defn inside this function and #include
8360 "dynamic-link.h" a second time there.
8361 [RTLD_START]: Move use of this after _dl_start function.
8363 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
8365 * elf/rtld.c: Include <string.h>.
8367 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
8368 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
8369 Conditionalize defns on [RESOLVE].
8370 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8372 Instead use RESOLVE macro with same args.
8373 (elf_machine_rel): Conditionalize defn on [RESOLVE].
8374 * elf/dl-reloc.c (RESOLVE): New macro, define before including
8375 "dynamic-link.h". It replaces `resolve' local function.
8376 * elf/dl-runtime.c: Likewise.
8377 * elf/rtld.c: Likewise.
8379 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
8381 * elf/dl-open.c (_dl_open): Force an indirect call for
8382 _dl_relocate_object so there is no chance a PLT fixup will be done
8383 and clobber _dl_global_scope before our call happens.
8385 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
8386 to =t; must operate on top of fp reg stack, not second from top.
8387 Correct input constraint to 0 from t; must be explicit when input and
8388 output are the same register.
8389 (floor): Use __volatile instead of volatile.
8392 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
8395 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8397 * manual/Makefile (lib): New phony target. Depend on stamp files.
8398 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
8400 1996-07-13 Paul Eggert <eggert@twinsun.com>
8402 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
8403 to match Emacs format-time-string specification.
8404 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
8406 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8408 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
8409 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
8410 between MAP and its deps.
8411 * elf/link.h: Fix decl.
8412 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
8413 colon-separated list of names, map those and pass vector of ptrs as
8414 PRELOADS list to _dl_map_object_deps.
8415 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
8416 _dl_map_object_deps with empty preload list.
8417 * elf/dl-open.c (_dl_open): Likewise.
8419 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
8421 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
8422 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
8423 Conditionalize defn on [! MAP_ANON].
8424 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
8426 * elf/rtld.c (dl_main): Likewise.
8427 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
8428 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
8430 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
8432 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
8434 * stdlib/random.c (__random): Declare as int32_t to be in sync
8437 * socket/Makefile (headers): Add socketbits.h.
8439 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
8442 * grp/initgroups.c (initgroups): Add groups that user is a member
8443 of, not the ones he is _not_ a member of.
8445 * nss/nsswitch.c (known_compare): Make known_compare() a static
8446 instead of a local function. The latter are difficult to debug
8447 and slow to execute on certain platforms.
8449 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
8450 place of sizeof (dev). The size of a literal string includes the
8453 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
8455 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
8457 * misc/mntent.c (addmntent): Seek to end of file before writing
8458 entry. Return 1 on error, not -1.
8460 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
8462 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
8465 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
8467 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
8468 shift amount for Jensen must be 5 not 4.
8470 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8472 * socket/sys/socket.h (struct osockaddr): New type.
8474 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
8476 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
8477 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
8478 and `long double' versions can be generated.
8479 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
8480 so that included efgcvt{,_r}.c file generate `long double'
8482 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
8485 * manual/startup.texi: Document new getsubopt function.
8486 * manual/examples/subopt.c: New example program for documenting
8489 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
8491 * stdlib/Makefile (routines): Add getsubopt.
8492 * stdlib/stdlib.h: Add prototype for getsubopt.
8493 * stdlib/getsubopt.c: New file. Implement getsubopt function
8494 to handle suboption parsing.
8496 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8498 * inet/getnetent_r.c: Define NEED_H_ERRNO.
8499 * inet/getnetbynm_r.c: Likewise.
8500 * inet/getnetent.c: Likewise.
8501 * inet/getnetbyad_r.c: Likewise.
8502 * inet/getnetbyad.c: Likewise.
8503 * inet/getnetbynm.c: Likewise.
8505 * sysdeps/generic/pselect.c: Include <sys/time.h>.
8507 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
8510 * math/Makefile (calls): Add s_frexp, s_ldexp.
8511 (routines): Remove them and &f from here.
8513 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
8515 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
8518 * nss/nss_files/files-XXX.c: Comment fix.
8520 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
8522 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
8523 of reentrant function.
8524 (setup): Pass additional argument with function name we are
8526 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
8527 new argument {SET,END,GET}FUNC_NAME_STRING.
8529 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
8530 we return a pointer.
8532 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8534 * nss/nss_files/files-parse.c: Add comment about things to #define.
8536 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
8538 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
8539 terminator char as an error.
8541 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
8543 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
8545 * catgets/gencat.c (write_out): Move code to determine new
8546 best size out of inner loop.
8548 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
8550 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
8551 implementation of frexp() function.
8552 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
8553 implementation of ldexp() function.
8555 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
8558 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
8560 * misc/mntent.c: Include <sys/types.h>.
8561 (endmntent): Return 1 one success, 0 on failure.
8562 (getmntent): Chop newline and ignore empty lines.
8564 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8566 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
8567 differently based on [RTLD_BOOTSTRAP].
8568 (elf_machine_rela): Use it instead of the fn ptr arg directly.
8570 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8572 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
8573 __glob_closedir_hook): Remove decls.
8575 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
8577 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
8578 for send and connect syscalls.
8580 * socket/sys/socket.h: New file, taken from non-sysdep parts of
8581 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
8582 Declare __ names for send and connect.
8583 * sysdeps/generic/socketbits.h: New file.
8584 * sysdeps/unix/sysv/linux/socketbits.h: New file.
8585 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
8586 * sysdeps/generic/sys/socket.h: File removed.
8588 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
8589 * sysdeps/mach/hurd/send.c: Likewise.
8591 * sysdeps/mach/libc-lock.h: New file.
8592 * sysdeps/unix/readdir.c: Do locking.
8593 * sysdeps/unix/seekdir.c: Likewise.
8594 * sysdeps/unix/rewinddir.c: Likewise.
8595 * sysdeps/unix/closedir.c: Likewise.
8596 * sysdeps/unix/bsd/telldir.c: Likewise.
8597 * sysdeps/mach/hurd/seekdir.c: Likewise.
8598 * sysdeps/mach/hurd/readdir.c: Likewise.
8599 * sysdeps/mach/hurd/closedir.c: Likewise.
8600 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
8601 * sysdeps/unix/opendir.c: Likewise.
8602 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
8603 (struct __dirstream): Add lock member using __libc_lock_define.
8604 * sysdeps/unix/dirstream.h: Likewise.
8606 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
8608 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
8610 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
8612 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
8614 * locale/programs/stringtrans.c: Fix typo in copyright.
8616 * stdio-common/printf-prs.c: Add casts to prevent
8617 signed<->unsigned warnings.
8619 * stdio-common/printf-parse.h: Initialize state variable before
8621 * stdio-common/printf-prs.c: Don't initialize state variable here.
8622 * stdio-common/vfprintf.c: Don't initialize state variable.
8623 (vfprintf): While determining length of multibyte string don't
8624 try to be clever in determining characters to use for first
8627 Add real implementation of multibyte<->wide char conversion
8628 functions. The functions always convert between the fixed wide
8629 char format (ISO 10646 in UCS4) and the UTF8 representation of
8630 this character set. Conversion between the currently used
8631 8bit character set and ISO 10646 will not take place. This is
8632 what iconv() is for.
8633 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
8635 Add optimized version of `mbrlen' function.
8636 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
8638 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
8640 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
8641 This is needed in the wchar.h header.
8642 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
8643 encoded character to UCS4.
8644 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
8645 element of `mbstate_t' for initial state.
8646 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
8647 encoded string to UCS4 string.
8648 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
8649 character to UTF8 encoded form.
8650 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
8651 encoded string to UTF8 encoded form.
8653 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8655 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
8656 variable name, so new a libc with new requirements won't fail to
8657 notice an insufficient Linux version.
8659 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
8661 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
8662 instead of 2.0 headers.
8664 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
8666 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
8667 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
8669 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
8670 before using it in lhs of weak_alias.
8672 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
8673 Call __nss_lookup when not setting STARTP.
8674 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
8675 function-calling loop.
8677 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
8679 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
8680 PENDIN, NOFLSH): Undefine these at start if they are already
8681 defined to avoid collision with termbits.h.
8682 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
8683 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
8685 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8687 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
8688 already defined to float, long double. Use those macros for _Mdouble_
8689 defns when including mathcalls.h.
8690 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
8691 -D_Mlong_double_=double.
8693 Add more -lm functions to -lc because ldexp uses them.
8694 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
8695 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
8696 ldexp have both f and l code, and those have f though not l code.
8698 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
8700 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
8701 error is 0. The "placeholder" entries recently added to
8702 errno.texi convert to zero since `???/' is at the front of them.
8703 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
8705 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
8706 __const to conform with unistd.h.
8708 * stdlib/stdlib.h (random): Declare return type to be int32_t.
8710 * string/argz-delete.c (argz_delete): Use memmove instead of
8711 memcpy for possibly overlapping strings.
8713 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8715 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
8716 storage class. GCC gives an error for non-extern data defns with the
8719 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
8721 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
8722 memmove instead of memcpy for possible overlapping strings.
8724 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8726 * libc-symbols.h (weak_function): New macro.
8727 For GCC 2.7+ define as __attribute__ ((weak)).
8728 * elf/dl-minimal.c: Use weak_function as keyword in function defns
8729 instead of weak_symbol (NAME) after the defn.
8730 * stdlib/strtol.c: Likewise.
8731 * stdlib/strtod.c: Likewise.
8732 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8734 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
8735 If this is defined, don't declare _dl_rtld_map as weak, and
8736 don't check for MAP pointing to it. RESOLVE is always null in this
8737 case, so test with #ifdef instead of if.
8739 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
8741 * csu/initfini.c (_init): Likewise.
8742 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
8743 * misc/efgcvt_r.c: Likewise.
8744 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
8745 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8747 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
8748 It was not used in any assembler code.
8749 (weak_symbol_asm): Renamed to weak_extern_asm.
8750 (weak_extern): New macro replaces weak_symbol for weak extern refs;
8751 define to weak_extern_asm for [!ASSEMBLER].
8753 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8755 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
8756 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
8757 define those now as aliases.
8758 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
8759 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
8760 after GCC weak attribute decl.
8762 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
8763 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
8764 (element printer): Check for elt in ALIAS, instead of special case
8767 * io/Makefile (headers): Add sys/vfs.h.
8768 * io/sys/vfs.h: New file.
8770 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
8771 critical section lock before unlinking dying active resources.
8772 The unlock just before return is right (i.e. old code unlocked twice).
8774 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
8776 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
8777 Use memmove instead of memcpy where overlap is possible (not
8778 necessary using current implementation of memcpy, but...).
8779 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
8781 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
8783 * stdio/linewrap.c (lwupdate): New function, mostly was
8784 __line_wrap_update. Use POINT_COL field instead of POINT.
8785 (__line_wrap_output): Use lwupdate.
8786 (__line_wrap_update): New function.
8787 (ensure_unwrapped, ensure_wrapped): New functions.
8788 (line_wrap_set_lmargin, line_wrap_set_rmargin,
8789 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
8791 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
8792 POINT_COL. Add POINT_OFFS field.
8793 (__line_wrap_update): New decl.
8794 (line_wrap_set_lmargin, line_wrap_set_rmargin,
8795 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
8797 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
8799 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
8801 * login/pututline_r.c (pututline_r): Since we assign RESULT from
8802 lseek now, check that it's >= 0, not == 0.
8804 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
8806 * login/login.c (login): Make a copy of *UT, fill in various
8807 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
8810 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
8811 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
8813 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8815 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
8816 signal during critical section doing interruptible RPC, if
8817 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
8818 before thread_resume. If in critical section, pass 0 for SIGNO to
8819 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
8821 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
8823 * sysdeps/unix/sysv/linux/sys/user.h: New file.
8824 * sysdeps/unix/sysv/linux/Dist: Add it.
8825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
8827 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
8828 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
8829 itself, no need to skip past a NUL.
8831 * nss/nsswitch.h (known_function): Comment fix.
8832 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
8833 directly. Do the lookup and insertion with a single call, and fill in
8834 the tree node afterwards if new.
8835 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
8837 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
8838 (struct timeval): Add bodiless decl for scope.
8840 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
8841 Move struct timespec defn outside [_TIME_H] so it can be got with
8842 #define __need_timespec.
8844 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
8845 for `struct timespec' member names.
8846 (TIMESPEC_TO_TIMEVAL): Likewise.
8848 * nss/Makefile (extra-libs-others): New variable.
8850 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
8851 $(lib) in $(extra-libs-others).
8852 * sunrpc/Makefile (extra-libs-others): New variable.
8853 (librpcsvc-no-lib-dep): Variable removed.
8855 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
8856 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
8858 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
8859 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
8860 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
8861 _dl_rtld_map weak only here.
8863 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
8865 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
8867 * login/utmp.h: Fix typos.
8869 * misc/syslog.c (vsyslog): Use __send instead of send and
8870 __connect instead of connect to avoid name-space collisions (e.g.,
8873 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8875 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
8877 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
8879 * malloc/malloc-size.c (malloc_usable_size): Renamed from
8880 malloc_object_allocation_size.
8881 * malloc/malloc.h: Fix decl.
8883 * sys/select.h: New file, wrapper header.
8885 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
8886 fd_set, associated macros, and select decl.
8888 * sysdeps/posix/isfdtype.c: New file.
8890 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
8892 The latest Japanese proposal for POSIX locales renames the
8893 CHARMAP keyword in locale definition files to CHARCONV.
8894 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
8895 function ctype_is_charmap to ctype_is_charconv.
8896 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
8898 * locale/programs/locfile-token.h: Add definition of token
8900 * locale/programs/locfile.c: Recognize charconv keyword. Rename
8901 lables according to this.
8903 * locale/weight.h (get_weight): Cast constants to prevent
8906 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
8907 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
8910 New stuff described in P1003.1g.
8911 * misc/Makefile (headers): Add sys/select.h.
8912 (routines): Add pselect.
8913 * misc/sys/select.h: New file. Declare select functions and
8914 needed data types and macros.
8915 * sysdeps/generic/pselect.c: New file. Add generic implementation
8916 of pselect() function which uses select().
8918 * posix/getconf.c: Recognize new variables from P1003.1g.
8919 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
8920 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
8921 * posix/unistd.h: Add description of the P1003.1g variables.
8922 * sysdeps/generic/confname.h: Define _SC_* values for new
8924 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
8926 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
8927 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
8929 * sysdeps/stub/sysconf.c (sysconf): Ditto.
8930 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
8931 _POSIX_SELECT since Linux has this.
8933 * socket/Makefile (routines): Add isfdtype.
8934 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
8935 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
8938 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
8940 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8942 * elf/Makefile (LDFLAGS-dl.so): New variable.
8943 (libdl.so): Depend on eval.so.
8944 (distribute): Add eval.c.
8945 * elf/eval.c: New file.
8947 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
8948 in case it wrote fewer than MAXDIGITS chars.
8950 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
8951 newline from flushing full buffer in loop, fix test so no fflush is
8952 done when last byte written exactly fills the buffer.
8954 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
8956 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
8957 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
8959 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
8960 extracting _dl_rtld_map.l_addr.
8962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
8964 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
8966 * shlib-versions (*-*-*): Set libnss_db=1.
8968 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8970 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
8972 * rpm/template (%build): Use @prefix@ instead of always /usr.
8973 Set up configparms only if @prefix@ is in fact /usr.
8974 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
8976 * elf/Makefile: Add missing endif.
8978 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
8980 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
8981 (DATABASE): Define this instead of DATAFILE.
8982 * nss/nss_files/files-hosts.c: Likewise.
8983 (hostbyname): Use LOOKUP_NAME macro.
8985 * nss/nss_db/db-XXX.c: New file.
8986 * nss/Makefile (services): Add db.
8987 (libnss_db-inhibit-o): New variable.
8988 (libnss_db-routines): New variable.
8989 (distribute): Append db-XXX.c.
8990 (libnss_db.so): Depend on libdb.so and libnss_files.so.
8991 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
8993 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
8995 (DATAFILE): New macro.
8996 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
8998 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
8999 Pass db key args to DB_LOOKUP.
9000 (DATAFILE): Macro removed.
9001 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
9002 * nss/nss_files/files-service.c: Likewise.
9003 * nss/nss_files/files-pwd.c: Likewise.
9004 * nss/nss_files/files-proto.c: Likewise.
9005 * nss/nss_files/files-grp.c: Likewise.
9006 * nss/nss_files/files-ethers.c: Likewise.
9008 * elf/linux-compat.c: File removed.
9009 * elf/Makefile (distribute): Remove linux-compat.c.
9010 (ld-linux.so.1): Remove target and associated variables.
9012 * sunrpc/xdr.c: Remove malloc decl.
9013 * sunrpc/portmap.c: Likewise.
9015 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
9016 casting abort to fn returning bool_t.
9018 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
9019 the parser function.
9020 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
9021 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
9022 * nss/nss_files/files-grp.c: Likewise.
9024 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
9026 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
9028 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
9029 of ld.so so lookups for that soname find it.
9031 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
9032 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
9034 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
9035 define parse_line function.
9036 (parse_line): #define to _nss_files_parse_pwent and
9037 add extern decl for that.
9039 * nss/nss_files/files-XXX.c (internal_getent): Return
9040 NSS_STATUS_TRYAGAIN for ERANGE error.
9042 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
9043 of null, so next round returns null again instead of bombing. Fix
9046 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
9047 Remove ; after `ENTDATA_DECL (data)'.
9048 Truncate line at strpbrk (line, EOLSET "\n").
9049 (ENTDATA_DECL): Put ; at end.
9050 (MIDLINE_COMMENTS): Macro removed.
9051 * nss/nss_files/files-ethers.c: Pass new argument.
9052 * nss/nss_files/files-hosts.c: Likewise.
9053 * nss/nss_files/files-network.c: Likewise.
9054 * nss/nss_files/files-parse.c: Likewise.
9055 * nss/nss_files/files-proto.c: Likewise.
9056 * nss/nss_files/files-rpc.c: Likewise.
9057 * nss/nss_files/files-service.c: Likewise.
9058 * grp/fgetgrent.c: Likewise.
9059 * pwd/fgetpwent.c: Likewise.
9060 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
9061 fgetpwent.c already defines it.
9062 * nss/nss_files/files-grp.c: Likewise.
9064 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
9065 as well as any matching with l_libname. Fix DT_SONAME lookup to use
9066 string table properly.
9068 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
9069 invoked directly, and l_libname from that if PT_INTERP missing.
9070 Set l_name from l_libname only if not set from argv.
9072 * time/europe, time/northamerica: Updated from ADO 96i.
9074 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9076 * stdio-common/tst-ungetc.c: Include unistd.h.
9078 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
9080 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
9082 * hurd/report-wait.c (describe_number): Make I unsigned long.
9084 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
9085 actually found any entry.
9087 * login/pututline_r.c (pututline_r): If not located after any
9088 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
9089 Lock the file before stating.
9091 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9093 * nss/Makefile (databases): Change host to hosts.
9094 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
9096 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
9098 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
9100 * string/string.h (strndupa): Pass missing arg to strnlen.
9102 * inet/getnetbypt_r.c: Renamed to ...
9103 * inet/getnetbyad_r.c: this; fixed function name.
9104 * inet/getnetbypt.c: Renamed to ...
9105 * inet/getnetbyad.c: this; fixed function name.
9107 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9109 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
9112 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
9114 * login/login.c (login): Initialize DATA so that setutent_r will
9115 actually do something.
9117 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
9119 * resolv/res_hconf.c (strndup): Remove function.
9121 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
9122 using ElfW() instead of Elf32_*.
9124 * sysdeps/unix/sysv/linux/alpha/init-first.h,
9125 sysdeps/unix/sysv/linux/m68k/init-first.h,
9126 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
9127 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
9128 init-first.h to make abstract machine dependent parts of
9131 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
9132 error handling. It's safer that way.
9134 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
9135 Fix by Richard Henderson.
9137 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
9138 typo/extraneous whitespace.
9140 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
9141 determine what integer sizes we're dealing with.
9143 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
9145 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
9146 check for signal zero, repair logical sense of test by
9147 parenthesizing correctly.
9149 * hurd/hurdsig.c (_hurd_internal_post_signal): In
9150 check-for-pending signals code, release _hurd_siglock before
9151 jumping to deliver_pending.
9153 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
9155 * configure.in (config_machine): Make ELF the default even for
9156 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
9159 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9161 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
9162 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
9163 member only #ifdef ENTDATA.
9164 (ENTDATA_DECL): New macro.
9165 (LINE_PARSER): Use it for entdata decl.
9166 (parse_list): Find the space for LIST from DATA->linebuffer instead of
9167 from the input LINE, which might not be writable buffer space.
9168 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
9169 [ENTDATA] (parser_stclass): #define to `static inline'.
9170 [!ENDATA] (parser_stclass): #define to empty.
9171 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
9172 function is exported to -lnss_files users.
9174 * string/strndup.c: Add missing arg.
9176 * string/string.h (strndupa): Likewise.
9177 * string/strndup.c (strndup): Always terminate the string.
9179 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9181 * stdio/Makefile (routines): Add vscanf.
9182 * stdio-common/Makefile (routines): Remove vscanf.
9183 * stdio-common/vscanf.c: Move to ...
9184 * stdio/vscanf.c: here.
9186 * rpm/Makefile (headers, install-lib, install-lib.so,
9187 versioned, install-bin, install-sbin, install-data,
9188 install-others): Add $(-VARIABLE).
9190 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9192 * nss/Makefile (databases): New variable.
9193 (routines, libnss_files-routines): Use it.
9194 (subdir-dirs): Compute from $(services).
9196 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
9197 init_module, klogctl): Use EXTRA in the "caller" column so these get
9198 added to unix-extra-syscalls and thus compiled in misc.
9200 * string/Makefile (routines): Add strndup.
9201 * string/strndup.c: New file.
9202 * string/string.h: Declare strndup.
9203 (strndupa): New macro.
9205 * string/string.h: Declare __strdup.
9206 * string/strdup.c: Deansideclized. Define __ name and weak alias.
9208 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
9210 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
9212 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
9214 * grp/initgroups.c (initgroups): De-ansi-fy.
9215 Move declaration of NGROUPS and GROUPS outside #if so that
9216 the code compiles for NGROUPS_MAX != 0.
9218 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
9219 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
9220 ether_ntoa, ether_ntoa_r, and ether_ntoh.
9221 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
9222 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
9223 inet/ether_ntoh.c: New files. Implementation of functions to
9224 handle Ethernet address to host mapping.
9225 * inet/netinet/ether.h: New file. Declare ether_* functions.
9226 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
9228 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
9229 * nss/Makefile (routines): Add ethers-lookup.
9230 (libnss_files-routines): Add files-ethers.
9232 * nss/getXXent_r.c: Don't define set*ent and end*ent function
9235 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
9236 KEEP_STREAM every time called.
9237 (_nss_files_end): Reset KEEP_STREAM here instead.
9238 (internal_getent): If STREAM == NULL try to open instead of
9240 Use cast to prevent warning.
9241 Terminate read line in case the buffer is too small.
9243 * nss/nss_files/files-ethers.c: New file. Implementation of
9244 Ethernet adress<->hostname lookup through files interface.
9246 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
9247 * stdlib/mbtowc.c: Define based on mbrtowc().
9248 * stdlib/wcstombs.c: Define based on wcsrtombs().
9249 * stdlib/wctomb.c: Define based on wcrtomb().
9251 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
9252 unexpected_sizes_in_xdr_u_int.
9254 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
9255 of `struct ether_addr'.
9256 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
9257 declaration of `struct ether_addr'.
9259 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
9260 * wcsmbs/mbsrtowcs.c: Ditto.
9261 * wcsmbs/wcrtomb.c: Ditto.
9262 * wcsmbs/wcsrtombs.c: Ditto.
9264 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
9266 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
9268 * hurd/get-host.c <fcntl.h>: New include.
9269 * hurd/set-host.c <fcntl.h>: New include.
9270 (_hurd_set_host_config): Include NEW in args to dir_link.
9271 Return NWROTE, not NREAD.
9273 * sysdeps/mach/hurd/getcwd.c
9274 (_hurd_canonicalize_directory_name_internal): Don't deallocate
9275 DOTID & DOTDEVID until we're finished with them (we need to keep
9276 them at least until we've fetched the next level of id ports, so
9277 that mach will be able to use the same name if they're the same).
9278 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
9279 jumps to errlose, for those places where such cleanup is needed.
9281 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9283 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
9285 Move DB code into separate -ldb library.
9286 * db/Makefile (extra-libs): New variable, list libdb.
9287 (routines): Renamed to libdb-routines.
9288 * shlib-versions: Add libdb=2.
9290 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
9291 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
9293 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
9294 of strncasecmp. Extend syntax to grok [!foo=bar].
9296 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
9298 * string/string.h: Declare __strncasecmp.
9300 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
9301 (service_alias): Variable removed.
9302 (nss_parse_service_list): New function, broken out of nss_getline.
9303 Remove alias conversion; we will just use symlinks.
9304 (__nss_database_lookup): Take new string arg DEFCONFIG.
9305 If no entry exists, make one with service list parsed from that.
9306 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
9307 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
9308 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
9310 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
9313 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
9315 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
9317 * locale/programs/locale.c (long_options): Short form of
9318 --version option is `-V'.
9319 (main): Recognize `-V' as option, not `-v'.
9320 Call `usage' instead of printing error message for illegal
9322 (usage): Document `-V'.
9324 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
9326 * sysdeps/mach/hurd/getcwd.c
9327 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
9328 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
9330 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9332 * inet/getrpcent.c: Fix macros.
9333 * inet/getrpcent_r.c: Fix macros.
9335 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
9337 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
9339 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
9341 * catgets/gencat.c (write_out): Use %Zu to print variables of type
9343 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
9344 cast it to (unsigned long) to make it work both on 32 and 64
9347 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9349 * locale/Makefile (distribute): Add `programs/' prefix to all
9350 files in that directory.
9352 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
9355 * MakeTAGS (sources, headers): Make them simply expanded variables
9356 so that all-dist is expanded before it is changed.
9358 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9360 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
9361 * Makefile (subdirs): Remove crypt.
9362 * crypt: Directory removed. It will be made an independent library
9365 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
9367 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
9369 * inet/getrpcbynumber.c (BUFLEN): New macro.
9371 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
9373 * Makefile (headers): Add libc-lock.h.
9374 * sysdeps/stub/libc-lock.h: New file.
9376 * inet/getrpcbynumber.c: Remove _r typo.
9378 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
9380 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
9383 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
9384 or doesn't mention DATABASE, use an internal default equivalent to
9385 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
9386 (nss_lookup_function): Call nss_new_service as needed.
9387 (nss_parse_file): Don't bother calling nss_new_service here.
9389 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
9390 * pwd/fgetpwent.c: Likewise.
9392 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
9393 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
9394 * malloc/malloc-size.c: New file.
9395 * malloc/malloc-walk.c: New file.
9397 * malloc/malloc-find.c (malloc_find_object_address): Return null if
9398 PTR is outside the heap.
9400 * elf/dl-load.c (_dl_map_object): If the requested name matches the
9401 soname of a loaded object, use that object.
9403 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9405 * Makefile (subdirs): Add nss.
9407 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
9408 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
9409 * inet/getrpcbynumber_r.c: New file.
9410 * inet/getrpcbynumber.c: New file.
9411 * inet/getrpcbyname.c: New file.
9412 * inet/getrpcbyname_r.c: New file.
9413 * inet/getrpcent_r.c: New file.
9414 * inet/getrpcent.c: New file.
9415 * nss/rpc-lookup.c: New file.
9416 * nss/nss_files/files-rpc.c: New file.
9417 * nss/Makefile (routines): Add rpc-lookup.
9418 (libnss_files-routines): Add files-rpc.
9419 * sunrpc/Makefile (routines): Remove getrpcent.
9420 * sunrpc/getrpcent.c: File removed.
9422 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
9425 * Makeconfig (rpath-link): Add $(nssobjdir).
9426 (nssobjdir): New variable.
9428 * Makerules: Move shared library building before objects rules, so
9429 versions are known before extra-lib.mk gets included.
9430 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
9432 * pwd/getpwuid.c: Rewritten using nss.
9433 * pwd/getpwnam.c: Likewise.
9434 * pwd/getpwent.c: Likewise.
9435 * grp/getgrnam.c: Likewise.
9436 * grp/getgrgid.c: Likewise.
9437 * grp/getgrent.c: Likewise.
9438 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
9439 * pwd/getpwent_r.c: New file.
9440 * pwd/getpwnam_r.c: New file.
9441 * pwd/getpwuid_r.c: New file.
9442 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
9443 * grp/getgrnam_r.c: New file.
9444 * grp/getgrgid_r.c: New file.
9445 * grp/getgrent_r.c: New file.
9446 * grp/Makefile (routines): Remove grpopen, grpread.
9447 * pwd/Makefile (routines): Remove pwdopen, pwdread.
9448 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
9450 * pwd/fgetpwent.c: Rewritten using files-parse.c.
9451 * grp/fgetgrent.c: Likewise.
9453 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
9454 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
9455 * nss/nss_files/files-grp.c: New file.
9456 * nss/nss_files/files-pwd.c: New file.
9458 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
9460 * nss/nss_files/files-parse.c: New file.
9461 * nss/nss_files/files-XXX.c: New file.
9462 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
9463 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
9464 Rewritten using them.
9466 * nss/Makefile (libnss_files-routines): Remove files-host.
9467 Add files-hosts, files-grp, files-pwd.
9469 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
9471 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
9473 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9474 A .plt entry now loads the .rela.plt offset directly rather
9475 than making us calculate it.
9477 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9479 * time/Makefile ($(installed-localtime-file) rule): Do
9480 $(make-target-directory) first.
9482 * resolv.h: Fix wrapper for resolv/resolv.h.
9484 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
9485 Compile dummy file and pass -nostdlib -nostartfiles so as not to
9486 require installed libraries.
9488 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
9491 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
9493 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
9494 and mapv4v6hostent.h.
9495 (routines): Move res* and gethnamaddr into libresolv-routines.
9496 (libresolv-routines): New variable, put them there.
9497 (extra-libs): New variable, list libresolv.
9498 (CPPFLAGS): Add -D for get*by* to res_get*by*.
9500 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
9502 * inet/herrno.c: New file.
9504 * resolv/res_init.c: Remove res_hconf calls.
9506 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
9507 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
9508 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
9509 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
9510 nss/service-lookup.c: New files. Implementation of name
9511 service switch, following the approach in Solaris.
9512 Interface specification and general structure inspired by Peter
9513 Eriksson <pen@lysator.liu.se>.
9514 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
9515 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
9516 Implementation of libnss_files.so module for file based databases
9518 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
9519 if libnss_dns.so module for DNS name lookup in NSS service.
9521 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
9522 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
9523 Changed to serve as interface to NSS.
9524 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
9525 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
9526 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
9527 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
9528 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
9529 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
9530 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
9531 interfaces to NSS, including reentrant functions.
9533 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
9534 resolv/sethostent.c: Removed: Obsoleted by NSS.
9536 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
9537 gethnamaddr.c. These private functions are now used in more
9540 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
9542 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9544 * rpm/Makefile ($(config)): Make sure the word list in the for
9545 loop is syntactically non-empty.
9547 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9549 * Version 1.92 test release.
9551 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
9553 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
9554 to klogctl to match prototype in sys/klog.h.
9556 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
9557 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
9559 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
9560 Remove. Code is now part of __getcwd again. The old function
9561 never really worked for anything but THISDIR==".".
9563 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
9564 only when building ELF version of library.
9566 * libio/libioP.h (_IO_vscanf): Add prototype.
9568 * posix/unistd.h (syscall): Change sysno arg and return value
9571 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9573 * version.h (VERSION): Updated to 1.92.
9575 * misc/Makefile (headers): Add ar.h.
9576 * misc/ar.h: New file.
9578 * config.make.in (BUILD_CC): New variable.
9579 * configure.in: Check for BUILD_CC if $host != $build.
9581 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
9583 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
9584 (stamp$o files): New targets, create them empty, no deps.
9586 * rpm/template (Source): New field.
9587 (%prep, %build, %install): New sections.
9588 (%files): Add %doc FAQ NEWS NOTES README.
9589 * rpm/rpmrc (builddir): Removed.
9591 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9593 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
9594 guessing to not assume p_vaddr of first load cmd is zero.
9596 * sysdeps/sparc/elf/start.S: New file.
9597 * sysdeps/sparc/dl-machine.h: New file.
9599 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
9600 only for ?s, not for *s. Fix from Chet Ramey.
9602 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
9603 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
9604 Use __{BEGIN,END}_DECLS.
9605 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
9606 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
9607 New macros, moved here from sysdeps/gnu/utmpbits.h.
9608 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
9609 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
9610 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
9611 Use sizeof instead of UT_*SIZE.
9612 * login/logwtmp.c: Likewise.
9614 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
9616 * version.c (banner): Add trailing newline.
9618 * login/utmp.h: Declare login_tty.
9620 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
9622 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
9623 Changed to a 12-byte PLT entry to remove dependency on $gp.
9624 Take a new got_addr parameter.
9625 (elf_machine_rela): Pass the new parameter.
9626 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
9627 (RTLD_START): Do normal linkage with program entry.
9629 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
9631 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
9633 * hurd/getuids.c (getuids): New weak link to __getuids.
9635 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
9637 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
9638 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
9640 Rename nested function lookup to lookup_op.
9641 (__file_name_lookup, __file_name_lookup_under):
9642 Pass 0 for lookup arg to __hurd_file_name_lookup.
9643 (__file_name_split): Likewise for __hurd_file_name_split.
9644 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
9645 Rename nested function lookup to scan_lookup.
9646 (file_name_path_lookup): Pass 0 for lookup arg to
9647 hurd_file_name_path_lookup.
9648 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
9649 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
9650 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
9651 Add LOOKUP argument.
9652 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
9653 __hurd_file_name_lookup.
9655 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9657 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
9658 up a huge list just to discard most of it.
9660 * configure.in (sysnames): Avoid fgrep by using the case shell
9663 * Makeconfig (config.status): Fix dependency on Implies files.
9665 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9667 * math/Makefile (distribute): Add ieee-math.c.
9669 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
9671 * locale/codeset_name.c: New file. Provide function for information
9672 about currently used character set.
9673 * locale/Makefile (routines): Add codeset_name.
9674 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
9675 * locale/localeinfo.h: Change magic number because of incompatible
9677 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
9678 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
9680 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
9681 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
9683 * locale/setlocale.c (setlocale): Initialize local variables to
9686 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
9688 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
9690 * locale/programs/locale.c: Include string.h.
9692 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
9693 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
9694 appropriate sign-extension is performed on machines with
9697 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
9698 sizeof(int)<sizeof(long), we need to go through a temporary
9701 * locale/programs/ld-numeric.c: Include <alloca.h>
9703 * libio/stdio.h (__libc_fatal): Add prototype.
9705 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
9708 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
9709 volatile to avoid "might get clobbered by longjmp" warning.
9711 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
9712 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
9713 probability is a sure loser).
9714 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
9716 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
9717 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
9719 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
9720 to be Linux FSSTND compliant.
9722 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
9724 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
9726 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
9727 sysdeps/unix/sysv/linux/alpha/brk.S,
9728 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
9729 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
9730 sysdeps/unix/sysv/linux/alpha/llseek.S,
9731 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
9732 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
9733 __syscall_error to avoid intruding application name space.
9735 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
9736 to SYS_get?id so that syscall stubs in sysdeps/unix define
9737 these syscalls in terms of getxpid/getxuid/getxgid.
9739 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
9740 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
9741 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
9742 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
9744 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
9745 (PSEUDO_END): Rename END() to PSEUDO_END().
9747 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
9748 to PSEUDO_END to improve branch-prediction. Include .frame
9749 directive to make syscalls debugabble.
9750 (PSEUDO_END): New macro.
9752 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
9753 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
9754 latter is illegal under DEC Unix.
9756 * sysdeps/unix/alpha/sysdep.S: Renamed from
9757 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
9759 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
9760 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
9761 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
9763 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
9764 address register in the .frame directive.
9766 * sysdeps/alpha/copysign.c: Remove.
9768 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
9769 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
9771 * errno.h: Move __END_DECLS to correct place to make file
9772 compilable under c++.
9774 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
9775 d_ino only if <direntry.h> hasn't defined d_fileno.
9777 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
9778 arguments to weakext to make .weakext detection work on ECOFF systems.
9780 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
9781 that _validuser() has been replaced by __ivaliduser().
9783 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
9785 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
9786 as unsigned long, not as int (to avoid incorrect int->long
9791 See ChangeLog.5 for earlier changes.