1 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
3 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
4 * pwd/getpwent_r.c: Likewise.
5 * pwd/getpwnam.c: Likewise.
6 * pwd/getpwnam_r.c: Likewise.
7 * pwd/getpwuid.c: Likewise.
8 * pwd/getpwuid_r.c: Likewise.
10 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
11 * grp/getgrent_r.c: Likewise.
12 * grp/getgrgid.c: Likewise.
13 * grp/getgrgid_r.c: Likewise.
14 * grp/getgrnam.c: Likewise.
16 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
17 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
18 * pwd/Makefile (routines): Add fgetpwent_r.
19 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
21 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
22 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
23 * grp/Makefile (routines): Add fgetgrent_r.
24 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
26 Implement shadow password lookup functions. This is no complete
27 shadow password suite.
28 * shadow/Makefile: New file.
29 * shadow/fgetspent.c: New file.
30 * shadow/fgetspent_r.c: New file.
31 * shadow/getspent.c: New file.
32 * shadow/getspent_r.c: New file.
33 * shadow/getspnam.c: New file.
34 * shadow/getspnam_r.c: New file.
35 * shadow/putspent.c: New file.
36 * shadow/sgetspent.c: New file.
37 * shadow/sgetspent_r.c: New file.
38 * shadow/shadow.h: New file.
39 * shadow/spwd-lookup.c: New file.
40 * shadow/nss_files/files-spwd.c: New file.
42 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
44 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
46 Reported by Matthias Urlichs.
48 * Makeconfig [!default_cflags]: Change default value from `-g'
51 * configure.in: Recognize i686.
52 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
54 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
56 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
57 value of CFLAGS-.o, not CFLAGS-o.
59 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
60 pointer to ourself. Otherwise `gcc -O3' optimized init away.
62 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
64 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
65 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
67 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
69 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
70 to 0x137f to allow long double operations.
72 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
76 * nss/nsswitch.c (_res): Remove redundant variable definition.
77 The real one is in resolve/res_init.c, and having both prevents
78 using -fno-common when building the shared library.
79 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
81 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
82 a .bss object not a COMMON symbol.
84 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
85 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
89 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
90 main loop for better dual-issue on EV5. Rearrange binary search to
91 pipeline better and trim one instruction.
95 * time/localtime.c (localtime_r): Move lock declaration back next to
96 the comment where it was before the 960724 change.
98 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
99 The second word is supposed to be the hardware manufacturer.
101 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
102 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
104 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
106 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
107 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
108 Same cleanups as with EV4 GMP stuff.
110 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
112 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
113 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
114 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
116 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
118 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
121 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
123 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
125 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
128 * socket/sys/socket.h (send, __send, sendto): Declare buffer
131 * string/tester.c (main): Test stpncpy.
133 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
134 segfault when called with an N that is not a multiple of four and
137 * misc/syslog.c (LogType): New variable.
138 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
139 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
141 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
142 terminator as a record-delimiter. If __send(LogFile) fails,
143 call closelog() so logfile gets re-opened next time.
145 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
147 * elf/dl-open (_dl_open): Add cast to avoid warning.
149 * manual/memory.texi: Improve some examples to give readers better
150 advice: Use `stpcpy' instead of `strcat' if possible.
151 * manual/string.texi: Document `strtok_r' and `strtok'.
153 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
155 [$(cross-compiling)=no]: Change test before making librpcsvc
156 to this from $(cross-compile).
157 Reported by Andreas Schwab.
159 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
161 * elf/Makefile (routines): Move dl-sysdep to here...
162 (rtld-routines): ...from here. This should make static linking
165 * locale/setlocale.c: Add local variable `lock' and add code to
166 `setlocale' to avoid simultaneous changing of global data.
168 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
169 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
170 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
171 of unprotected names.
173 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
175 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
176 This requires to rename several functions to use __ protected
178 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
180 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
181 and make old name a weak alias.
182 * sysdeps/mach/hurd/getrlimit.c: Likewise.
183 * sysdeps/mach/hurd/opendir.c: Likewise.
184 * sysdeps/mach/hurd/readdir.c: Likewise.
185 * sysdeps/stub/closedir.c: Likewise.
186 * sysdeps/stub/opendir.c: Likewise.
187 * sysdeps/stub/readdir.c: Likewise.
188 * sysdeps/unix/closedir.c: Likewise.
189 * sysdeps/unix/opendir.c: Likewise.
190 * sysdeps/unix/readdir.c: Likewise.
192 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
194 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
195 `__closedir' instead of unprotected names.
197 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
198 instead of `isatty' since later is not part of ISO C.
199 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
200 `open' since later is not part of ISO C.
202 * login/endutent.c (endutent): Call `__endutent_r', not
204 * login/endutent_r.c: Rename defined function to `__endutent_r',
205 make `endutent_r' weak alias.
206 * login/getutent.c (getutent): Call `__getutent_r', not
208 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
209 * login/getutid_r.c: Rename defined function to `__getutent_r',
210 make `getutent_r' weak alias.
211 * login/getutline.c (getutline): Call `__getutline_r', not
213 * login/getutline_r.c: Rename defined function to `__getutline_r',
214 make `getutline_r' weak alias.
215 * login/pututline_r.c: Rename defined function to `__pututline_r',
216 make `pututline_r' weak alias.
217 * login/setutent.c (setutent): Call `__setutline_r', not
219 * login/setutent_r.c: Rename defined function to `__setutline_r',
220 make `setutline_r' weak alias.
221 Rename `utmpname' to `__utmpname' and make former weak alias.
222 (__utmpname): Call `__strdup', not `strdup'.
223 * login/utmp.h: Add prototypes for name space clean reentrant
225 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
226 and `__endutent_r' instead of unprotected names.
228 * math/math.h: Add prototype for `__matherr'.
229 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
232 * nss/getXXbyYY.c: Call __ protected reentrant function.
233 * nss/getXXent.c: Likewise.
234 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
235 name. Make usual name a weak alias.
236 * nss/getXXent_r.c: Likewise.
238 * posix/unistd.h: Add prototype for `__ttyname_r'.
239 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
240 and make `ttyname_r' a weak alias.
242 * resource/sys/resource.h: Add prototype for `__getrlimit'.
243 * sysdeps/stub/getrlimit.c: Prepend function name with __
244 and make old name a weak alias.
245 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
246 and make `getrlimit' weak alias.
248 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
249 * libc/stdio/vscanf.c: De-ANSI-fy.
250 Rename function to `__vscanf' and make `vscanf' a weak alias.
251 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
254 * stdio-common/reg-printf.c: De-ANSI-fy.
255 Rename function to `__register_printf_function' and make
256 `register_printf_function' weak alias.
258 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
261 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
262 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
263 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
264 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
265 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
267 * wcsmbs/mbsrtowcs.c: Likewise.
268 * wcsmbs/wcrtomb.c: Likewise.
269 * wcsmbs/wcsrtombs.c: Likewise.
270 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
272 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
273 instead of `sigprocmask'.
276 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
277 version getgrent_r, getgrgid_r, and getgrnam_r.
278 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
279 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
281 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
284 * misc/error.c (private_strerror): Translate messages from table,
287 * io/fcntl.h: Pretty printing.
288 * misc/fstab.h: Likewise.
289 * misc/ttyent.h: Likewise.
290 * resource/sys/resource.h: Likewise.
291 * string/argz.h: Likewise.
292 * string/envz.h: Likewise.
294 Add support for symbols from POSIX.1c (POSIX threads).
295 * posix/getconf.c: Handle new sysconf symbols.
296 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
297 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
298 * sysdeps/generic/confname.h: Define new symbols.
299 * sysdeps/posix/sysconf.c: Handle new symbols.
300 * sysdeps/stub/sysconf.c: Ditto.
301 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
304 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
307 * sysdeps/generic/resourcebits.h: Add macro definition for
308 RLIMIT_* values. Some sources test using #ifdef whether specific
310 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
311 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
312 separate files for the architectures.
313 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
314 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
315 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
316 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
318 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
319 and only default on `OPEN_MAX'.
320 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
323 * time/Makefile (routines): Add ctime_r.
324 * time/asctime.c: Add implementation of `asctime_r'. Make
325 `asctime' implementation based on reentrant version.
326 * time/ctime_r.c: New file.
327 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
330 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
332 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
333 (_nl_C_LC_CTYPE): Fix ordering.
334 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
337 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
339 * csu/initfini.c: Discover the maximum alignment generated by the
340 compiler when emitting a function.
341 (_init): Make sure the end of the crti fragment is aligned.
344 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
346 * initfini.c: (__libc_is_static): New variable. Will be
347 initialized in init-first.c. Some actions in the libc work
348 different when libc is static or dynamic.
350 * sysdeps/unix/sysv/linux/init-first.c (init): Use
351 `__libc_is_static' variable to determine whether call to
352 `personality' and `setfpucw' is necessary. When done set variable
353 to +-1 depending on library type.
355 * locale/setlocale.c (setlocale): Use global variable
356 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
357 determine whether it's a SET[UG]ID program.
359 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
361 * Version 1.93 test release.
363 * manual/Makefile: Use -include for chapters-incl too.
365 * Makeconfig (+link): Add back start.o, mistakenly removed in last
368 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
370 * nss/Makefile (generated): Add db-*.c.
372 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
375 * configure.in (--enable-add-ons): Quote m4 macro args.
377 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
379 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
381 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
383 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
385 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
388 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
389 warning when inline function is elided.
390 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
391 (elf_machine_runtime_setup): Likewise.
392 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
393 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
394 (elf_machine_load_address): Likewise.
396 * catgets/gencat.c: Include <locale.h>.
398 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
400 * login/logwtmp.c (logwtmp): Call time, not __time.
402 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
403 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
404 * login/logwtmp.c (logwtmp): Likewise.
406 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
407 comparing ioctl macro values.
409 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
411 * manual/Makefile: Use -include for chapters to suppress warning.
413 * sysdeps/stub/socket.c: Fix type of TYPE arg.
414 * sysdeps/stub/socketpair.c: Likewise.
416 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
418 * sysdeps/generic/sysdep.h: New file, broken out of ...
419 * sysdeps/unix/sysdep.h: ... here.
420 (C_LABEL): Moved out.
422 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
423 stick to sed. Do `exit 0' at end because while returns nonzero.
425 * sysdeps/i386/sysdep.h: New file, broken out of ...
426 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
428 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
429 They are defined unconditionally in libio/stdio.h.
431 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
432 * elf/dl-cache.c: Likewise.
434 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
436 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
437 (sysdep_headers): Add sys/sysmacros.h.
438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
440 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
442 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
443 tcgetattr. We have weak aliases now.
444 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
445 "optimizations" for random functions.
447 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
449 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
450 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
451 redefinition warning.
453 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
455 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
458 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
460 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
463 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
465 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
467 Reported by Richard Henderson <rth@tamu.edu>.
469 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
471 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
474 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
476 * locale/setlocale.c (setlocale): Don't try to free C locale
478 Reported by Matthias Urlichs.
480 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
482 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
483 (open_file): New function, contents mostly from __open.
484 (_dl_sysdep_read_whole_file): New function.
486 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
488 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
489 `..' dots in sed search string.
491 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
493 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
496 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
498 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
499 in those directories.
500 * config.make.in (add-ons): New varaible, set from @subdirs@.
501 * Makefile (subdirs): Added $(add-ons) at the end.
503 * time/strftime.c (strftime: do_number): Initialize PRINTED to
504 MAXDIGITS in case P is null and so sprintf is never actually called.
506 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
508 Add support for the to-be-written internationalized regexp.
509 This code must be able to use collation symbols and collation
511 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
512 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
513 New global variables for collation classes.
514 * locale/categories.def: Add new descriptions for collation symbols
515 and collation classes.
516 * locale/langinfo.h: Add constants for collation symbols and
518 * locale/lc-collate.c: Add new global variables for collation symbols
519 and collation classes.
520 (_nl_postload_collate): Initialize new variables.
521 * locale/programs/ld-collate.c: Add code to emit tables for
522 collation symbols and collation classes.
523 * locale/programs/locales.h: Change prototype for `collate_output'.
524 * locale/programs/locfile.c (write_all_categories): Call
525 `collate_output' with new argument.
526 * locale/localeinfo.h: Add declaration for new global vars.
527 (union locale_data_value): New member wstr for `wchar_t' strings.
528 * locale/programs/locale-spec.c: Handle `collate-classes'
529 keyword and print information about available collation classes.
530 * locale/strlen-hash.h: New file. Simple hashing function which
531 takes a string with known length.
532 * locale/Makefile (distribute): Add strlen-hash.h.
533 (locale-modules): New var. Additional files for `locale' program.
535 * locale/C-ctype.c: Rewrite to avoid using string for giving values
536 which are of type `u_int32_t'.
537 Correct entry for EOF in toupper and tolower tables.
539 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
542 * locale/programs/ld-ctype.c (ctype_output): Add code to make
543 sure that all tables in binary file are word-aligned.
545 * locale/programs/locfile.c (write_locale_data): Correct handling
546 of LC_MESSAGES locale. Create directory if necessary.
548 * locale/setlocale.c (setlocale): Add cast to avoid warning.
550 * string/string.h: Add prototype for `__strndup'.
552 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
554 * wcsmbs/mbrtowc.c: Remove unused variable.
556 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
558 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
559 2.0.10; some problems were reported with an earlier version, and this
560 one is known to work.
562 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
563 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
565 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
567 * elf/rtld.c (dl_main): Ignore arguments when environment variable
568 LD_TRACE_LOADED_OBJECTS is set.
570 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
572 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
573 __libc_enable_secure instead of _dl_secure.
574 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
575 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
577 * elf/Makefile (routines): Add enbl-secure.
578 (elide-routines.so): Here too.
579 * sysdeps/generic/enbl-secure.c: New file.
580 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
581 * elf/dl-support.c (_dl_secure): Variable removed.
582 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
584 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
586 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
587 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
588 compiler doesn't elide it.
589 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
591 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
593 * elf/rtld.c (dl_main): Take new option --verify when run directly.
594 In verify mode, exit with status zero iff the argument object's
595 PT_INTERP matches argv[0].
596 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
597 exits with zero status. This makes `ldd' secure again.
599 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
601 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
602 environment variable handling. This makes the dynamic linker
603 only print loaded libraries and quit.
605 * elf/ldd.sh.in: Don't use `rtld --list' but instead
606 LD_TRACE_LOADED_OBJECTS environment variable to print needed
609 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
611 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
612 after printing version until after doing usage for --help.
613 (long_options, main, usage): Rename -l/--lowercase option to
614 -f/--fold-case (-f matches sort).
616 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
618 * db/makedb.c: New file. Implement program to create simple <db.h>
619 database from textual input. This will be used for nss_db.
621 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
623 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
624 * sunrpc/rpc/pmap_clnt.h: Likewise.
625 * sunrpc/rpc/auth.h: Likewise.
626 * sunrpc/rpc/pmap_rmt.h: Likewise.
627 * sunrpc/rpc/rpc_msg.h: Likewise.
629 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
631 * string/string.h (strndupa): Change to use return value of
632 `memcpy' for more performance.
633 * string/strndup.c: Likewise.
635 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
636 This might lead to problems.
637 (strndupa): Likewise.
639 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
641 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
642 and change K&R prototypes to ANSI prototypes.
643 * sunrpc/rpc/auth_unix.h: Ditto.
644 * sunrpc/rpc/clnt.h: Ditto.
645 * sunrpc/rpc/pmap_clnt.h: Ditto.
646 * sunrpc/rpc/pmap_prot.h: Ditto.
647 * sunrpc/rpc/pmap_rmt.h: Ditto.
648 * sunrpc/rpc/rpc_msg.h: Ditto.
649 * sunrpc/rpc/svc.h: Ditto.
650 * sunrpc/rpc/svc_auth.h: Ditto.
651 * sunrpc/rpc/xdr.h: Ditto.
653 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
655 * ctype/test_ctype.c: Test EOF too.
657 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
659 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
660 * sunrpc/rpc/auth_unix.h: Likewise.
661 * sunrpc/rpc/clnt.h: Likewise.
662 * sunrpc/rpc/netdb.h: Likewise.
663 * sunrpc/rpc/pmap_clnt.h: Likewise.
664 * sunrpc/rpc/pmap_prot.h: Likewise.
665 * sunrpc/rpc/rpc_msg.h: Likewise.
666 * sunrpc/rpc/svc.h: Likewise.
667 * sunrpc/rpc/svc_auth.h: Likewise.
668 * sunrpc/rpc/xdr.h: Likewise.
670 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
672 * sunrpc/pmap_rmt.c: ...here.
674 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
676 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
678 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
681 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
683 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
684 <kkojima@info.kanagawa-u.ac.jp>.
686 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
688 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
689 defined, not __OPTIMIZED.
690 (_nl_msg_cat_cntr): Move declaration outside macro definition
691 to prevent "nested extern" warning.
692 (dcgettext): Rename local variable `result' to `__result'.
694 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
696 * locale/programs/localedef.c (__progname): Remove decl.
697 (main): Use program_invocation_short_name instead of __progname.
698 (usage): Use program_invocation_name instead of __progname.
700 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
702 * catgets/gencat.c: Use "libc" instead of PACKAGE.
703 * locale/localedef.c: Ditto.
704 * locale/locale.c: Ditto.
706 * locale/findlocale.c (_nl_find_locale): Little optimization.
707 Use new function `strndup'.
709 * locale/loadlocale.c: Little optimization. Use constant value
710 from `_nl_category_num_items' instead of byte-order dependend
713 * locale/programs/ld-time.c (time_add): Correct string constant.
715 * locale/programs/locale-spec.c: New file.
716 * locale/programs/locale.c: Call `locale_special' function if
717 no other field matches.
719 * locale/programs/localedef.c: No need to define `program_name'.
720 Use global variable `__progname'.
722 * locale/programs/locfile.c (write_locale_data): Always write
723 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
724 necessary since message catalogs are also installed in the
725 LC_MESSAGES/ directory.
727 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
728 function instead of writing single bytes.
729 (encode_char): Also handle little endian.
731 * locale/setlocale.c (new_composite_name): Little optimization.
732 Use return value of `memcpy'.
734 * misc/ttyent.h: Pretty print prototypes, add missing parameter
735 names, prepend parameter names with __ and use `__const' instead
737 * posix/unistd.h: Ditto.
738 * stdlib/stdlib.h: Ditto.
739 * string/string.h: Ditto.
741 * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names.
742 Use `error' function instead of doing it by hand.
743 * sysdeps/posix/sysconf.c: De-ANSI-fy.
744 Handle _SC_COLL_WEIGHTS_MAX.
745 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
746 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
747 since these do depend on the platform.
750 * posix/posix2_lim.h: Add missing definition of
751 _POSIX2_COLL_WEIGHTS_MAX.
752 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
753 to high values since we have no fixed limit.
755 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
756 _SC_PAGESIZE for buggy systems (= HP UX) out there.
758 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
759 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
760 * wcsmbs/wcsnrtombs.c: Ditto.
761 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
764 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
766 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
768 * nss/getXXent_r.c: Likewise.
769 * nss/nsswitch.c: Likewise.
770 * nss/nss_files/files-XXX.c: Likewise.
771 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
772 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
773 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
775 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
777 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
778 macro, now put the needed Linux version just once, here; update to
779 needing linux-2.0.3 headers.
780 (libc_cv_linuxVER): New macro derived from that.
781 (kernel header check): Use those macros and some m4 magic to replace
782 hard-coded `201' and `2.0.1' in several places.
784 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
786 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
788 * time/localtime.c: Move lock variable declaration to end of
789 variable declarations since if is a dummy macro the ; at the
790 end terminates the variable section of the function.
792 * time/tzset.c: Undefine `tzset' before function declaration.
793 Use `weak_function' macro instead of `weak_symbol'.
795 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
797 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
800 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
802 * locale/C-ctype.c: Increment number of fields after change
803 from Wed Jun 19 03:24:58 1996.
805 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
807 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
808 ($(common-objpfx)libc.so): Move deps into that, use it.
809 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
810 $(rpcuserlibs:.so=_pic.a).
811 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
814 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
816 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
817 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
819 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
821 * locale/iso-4217.def: Add India to comment for symbol "INR ".
822 Reported by Raja R Harinath <harinath@cs.umn.edu>.
824 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
826 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
829 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831 * time/tzset.c: Include <libc-lock.h>.
832 (__tzset_lock): New lock variable.
833 (tzset): New function (weak defn), no longer weak alias for __tzset.
834 Call __tzset while holding __tzset_lock.
835 * time/localtime.c: Include <libc-lock.h>.
836 (__localtime_r): Hold __tzset_lock while doing the work.
838 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
839 from [!HAVE_GNU_LD] to [!_LIBC].
840 [_LIBC]: Include <libc-lock.h> and define a lock.
841 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
842 (setenv, unsetenv): Use them.
844 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
846 * locale/programs/locfile.c (write_locale_data): Deal with missing
849 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
850 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
852 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
854 Win32 hacks from <Rob_Tulloh@tivoli.com>.
855 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
856 use void * for my_realloc; include <malloc.h> for alloca.
857 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
858 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
859 * posix/glob.h: Likewise.
861 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
863 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
864 call __io_select unless there's only a single descriptor, as each
865 descriptor now has its own reply port.
866 If there is only a single descriptor, just use its reply port for
867 everything and don't bother creating the port set.
869 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
870 <unistd.h>: New include.
872 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
875 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
877 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
878 from the USA any software that even makes it easy to drop in an
879 encryption module of foreign origin.
880 * Makerules (cryptobjdir): Variable removed.
881 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
882 * Makefile (subdirs): Remove crypt.
884 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
886 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
887 operator to yesexpr and noexpr string.
889 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
891 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
892 old code would have failed on a big-endian 64-bit architecture).
893 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
895 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
896 (xdr_u_long): Use switch instead of chain of if-statements.
897 Remove gratitous parentheses around return expressions.
898 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
900 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
902 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
905 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
907 * dlfcn.h, db.h: New wrapper headers.
909 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
910 for `struct stat;' forward decl.
912 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
914 * locale/iso-4217.def: Add some more standardized currency
917 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
919 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
921 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
923 * Rules (dummy.o, empty.o): Targets removed.
924 (dummy.c, empty.c): New targets replace them.
926 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
928 * crypt/Makefile (lib-noranlib): Depend on
929 $(objpfx)libcrypt.so$(libcrypt.so-version).
932 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
934 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
935 check. mib's clueless hacking broke it.
937 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
939 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
941 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
943 * misc/sys/ustat.h: New file.
944 * misc/ustat.h: Ditto.
945 * sysdeps/generic/ustatbits.h: Ditto.
946 * sysdeps/stub/ustat.c: Ditto.
947 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
948 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
950 (routines): Mention ustat.
952 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
953 * sysdeps/alpha/elf/start.S: here.
955 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
956 alphabetically correct place. Mention ustat.
958 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
959 common symbol (makes errno accessible from gdb).
961 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
964 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
965 record always gets appended at end of file (wtmp is a log file,
966 after all). Set ut_type to DEAD_PROCESS if name is empty.
968 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
969 separate loop from search for UT_ID. Fix code so it is in
970 sync with Unix man page.
972 * login/getutline_r.c (getutline_r): Stop searching only if
973 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
975 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
977 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
978 avoid duplicate declarations.
980 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
982 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
983 and alpha-gnu-linuxecoff targets.
985 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
987 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
989 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
991 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
994 * resolv/res_comp.c (res_hnok): Use empty statement in place
995 of NULL (which generates a "useless expression" warning in
998 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
1000 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
1001 with $(..) in output.
1003 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1005 * elf/Makefile (dl-routines): Add dl-cache.
1006 * elf/dl-cache.c: New file.
1007 * elf/dl-load.c (_dl_map_object): Check cache before default path.
1009 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
1011 * stdio-common/vfscanf.c: Major change. Now read character
1012 from stream only if needed. Before it was read after the
1013 previous character was used.
1014 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
1016 * stdio-common/tstscanf.c: Change test program so that return
1017 value is != 0 if one test failed.
1019 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1021 * sysdeps/m68k/Makefile (crypt): Variable removed.
1022 * sysdeps/sparc/Makefile: Likewise.
1024 * version.h (VERSION): Update to 1.93.
1026 * Makerules ($(libdir)/libc.so): Depend on
1027 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
1029 * crypt/nocrypt.c: New file.
1030 * Makefile (subdirs): Add crypt.
1031 * crypt/Makefile: New file.
1033 * Makerules (soversions.mk): Move this target, include of it, and
1034 include of version.mk to ...
1035 * Makeconfig: ... here.
1036 (soversions.mk): Depend on Makeconfig instead of Makerules.
1038 * shlib-versions (*-*-*): Set libcrypt=0.
1040 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
1042 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
1043 word extends right up to rmargin.
1045 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
1046 output the wrap margin, set point_col to wmargin.
1047 Use negative point_col to deal with a wmargin of 0.
1048 (line_wrap_point): Return 0 for a negative point_col.
1049 (line_wrap_stream): Make wmargin ssize_t.
1050 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
1052 (line_wrap_stream): Make wmargin ssize_t.
1053 (line_wrap_point): Return 0 for a negative point_col.
1055 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1057 * shlib-versions (*-*-gnu*): Set libc=0.0
1059 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1061 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
1062 sysdeps/i386/dl-machine.h.
1064 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1066 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
1067 to fiddle __put_limit in conjunction with __linebuf_active.
1069 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1071 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
1072 to the strong name, not the file name.
1074 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1076 * csu/initfini.c: More magic. Detect if .end is produced and put it
1077 in the output iff the compiler does.
1079 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
1080 because that is broken on alpha.
1082 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
1085 * Makerules (make-link): Install the new link with atomic mv -f in
1086 case ln itself requires the library being installed.
1088 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
1090 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
1091 i386/dl-machine.h of 960713.
1093 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
1094 (_dl_sysdep_read_whole_file): Fix result variable declaration.
1096 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1098 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
1101 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
1103 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
1104 with pointer to local variable instead of NULL.
1106 1996-07-15 Paul Eggert <eggert@twinsun.com>
1108 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
1110 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1112 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
1113 that are already added by other means.
1115 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
1116 caller column to get those syscalls added automagically.
1118 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
1120 * login/logout.c (logout): Initialize DATA to a state that will
1121 make setutent_r happy.
1123 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1125 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
1126 instead of setting the DT_DEBUG pointer.
1128 * csu/initfini.c (_init, _fini): Generate .end directives after
1129 standalone prologues and filter them out from epilogues.
1131 * Makeconfig (rtld-installed-name): Set to ld.so.1.
1132 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
1135 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
1137 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
1139 * MakeTAGS (extract): Pass --add-comments=TRANS.
1140 * sysdeps/gnu/errlist.awk: Write comments into the output with the
1141 descriptive paragraphs from the manual preceded by TRANS.
1143 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
1144 (_dl_start): Move RESOLVE defn inside this function and #include
1145 "dynamic-link.h" a second time there.
1146 [RTLD_START]: Move use of this after _dl_start function.
1148 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
1150 * elf/rtld.c: Include <string.h>.
1152 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
1153 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
1154 Conditionalize defns on [RESOLVE].
1155 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1157 Instead use RESOLVE macro with same args.
1158 (elf_machine_rel): Conditionalize defn on [RESOLVE].
1159 * elf/dl-reloc.c (RESOLVE): New macro, define before including
1160 "dynamic-link.h". It replaces `resolve' local function.
1161 * elf/dl-runtime.c: Likewise.
1162 * elf/rtld.c: Likewise.
1164 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
1166 * elf/dl-open.c (_dl_open): Force an indirect call for
1167 _dl_relocate_object so there is no chance a PLT fixup will be done
1168 and clobber _dl_global_scope before our call happens.
1170 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
1171 to =t; must operate on top of fp reg stack, not second from top.
1172 Correct input constraint to 0 from t; must be explicit when input and
1173 output are the same register.
1174 (floor): Use __volatile instead of volatile.
1177 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
1180 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1182 * manual/Makefile (lib): New phony target. Depend on stamp files.
1183 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
1185 1996-07-13 Paul Eggert <eggert@twinsun.com>
1187 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
1188 to match Emacs format-time-string specification.
1189 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
1191 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1193 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
1194 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
1195 between MAP and its deps.
1196 * elf/link.h: Fix decl.
1197 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
1198 colon-separated list of names, map those and pass vector of ptrs as
1199 PRELOADS list to _dl_map_object_deps.
1200 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
1201 _dl_map_object_deps with empty preload list.
1202 * elf/dl-open.c (_dl_open): Likewise.
1204 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
1206 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
1207 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
1208 Conditionalize defn on [! MAP_ANON].
1209 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
1211 * elf/rtld.c (dl_main): Likewise.
1212 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
1213 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
1215 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
1217 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
1219 * stdlib/random.c (__random): Declare as int32_t to be in sync
1222 * socket/Makefile (headers): Add socketbits.h.
1224 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
1227 * grp/initgroups.c (initgroups): Add groups that user is a member
1228 of, not the ones he is _not_ a member of.
1230 * nss/nsswitch.c (known_compare): Make known_compare() a static
1231 instead of a local function. The latter are difficult to debug
1232 and slow to execute on certain platforms.
1234 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
1235 place of sizeof (dev). The size of a literal string includes the
1238 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
1240 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
1242 * misc/mntent.c (addmntent): Seek to end of file before writing
1243 entry. Return 1 on error, not -1.
1245 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
1247 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
1250 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
1252 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
1253 shift amount for Jensen must be 5 not 4.
1255 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1257 * socket/sys/socket.h (struct osockaddr): New type.
1259 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
1261 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
1262 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
1263 and `long double' versions can be generated.
1264 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
1265 so that included efgcvt{,_r}.c file generate `long double'
1267 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
1270 * manual/startup.texi: Document new getsubopt function.
1271 * manual/examples/subopt.c: New example program for documenting
1274 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
1276 * stdlib/Makefile (routines): Add getsubopt.
1277 * stdlib/stdlib.h: Add prototype for getsubopt.
1278 * stdlib/getsubopt.c: New file. Implement getsubopt function
1279 to handle suboption parsing.
1281 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1283 * inet/getnetent_r.c: Define NEED_H_ERRNO.
1284 * inet/getnetbynm_r.c: Likewise.
1285 * inet/getnetent.c: Likewise.
1286 * inet/getnetbyad_r.c: Likewise.
1287 * inet/getnetbyad.c: Likewise.
1288 * inet/getnetbynm.c: Likewise.
1290 * sysdeps/generic/pselect.c: Include <sys/time.h>.
1292 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
1295 * math/Makefile (calls): Add s_frexp, s_ldexp.
1296 (routines): Remove them and &f from here.
1298 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
1300 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
1303 * nss/nss_files/files-XXX.c: Comment fix.
1305 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
1307 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
1308 of reentrant function.
1309 (setup): Pass additional argument with function name we are
1311 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
1312 new argument {SET,END,GET}FUNC_NAME_STRING.
1314 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
1315 we return a pointer.
1317 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1319 * nss/nss_files/files-parse.c: Add comment about things to #define.
1321 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
1323 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
1324 terminator char as an error.
1326 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
1328 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
1330 * catgets/gencat.c (write_out): Move code to determine new
1331 best size out of inner loop.
1333 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
1335 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
1336 implementation of frexp() function.
1337 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
1338 implementation of ldexp() function.
1340 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
1343 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
1345 * misc/mntent.c: Include <sys/types.h>.
1346 (endmntent): Return 1 one success, 0 on failure.
1347 (getmntent): Chop newline and ignore empty lines.
1349 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1351 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
1352 differently based on [RTLD_BOOTSTRAP].
1353 (elf_machine_rela): Use it instead of the fn ptr arg directly.
1355 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1357 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
1358 __glob_closedir_hook): Remove decls.
1360 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
1362 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
1363 for send and connect syscalls.
1365 * socket/sys/socket.h: New file, taken from non-sysdep parts of
1366 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
1367 Declare __ names for send and connect.
1368 * sysdeps/generic/socketbits.h: New file.
1369 * sysdeps/unix/sysv/linux/socketbits.h: New file.
1370 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
1371 * sysdeps/generic/sys/socket.h: File removed.
1373 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
1374 * sysdeps/mach/hurd/send.c: Likewise.
1376 * sysdeps/mach/libc-lock.h: New file.
1377 * sysdeps/unix/readdir.c: Do locking.
1378 * sysdeps/unix/seekdir.c: Likewise.
1379 * sysdeps/unix/rewinddir.c: Likewise.
1380 * sysdeps/unix/closedir.c: Likewise.
1381 * sysdeps/unix/bsd/telldir.c: Likewise.
1382 * sysdeps/mach/hurd/seekdir.c: Likewise.
1383 * sysdeps/mach/hurd/readdir.c: Likewise.
1384 * sysdeps/mach/hurd/closedir.c: Likewise.
1385 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
1386 * sysdeps/unix/opendir.c: Likewise.
1387 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
1388 (struct __dirstream): Add lock member using __libc_lock_define.
1389 * sysdeps/unix/dirstream.h: Likewise.
1391 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
1393 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
1395 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
1397 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
1399 * locale/programs/stringtrans.c: Fix typo in copyright.
1401 * stdio-common/printf-prs.c: Add casts to prevent
1402 signed<->unsigned warnings.
1404 * stdio-common/printf-parse.h: Initialize state variable before
1406 * stdio-common/printf-prs.c: Don't initialize state variable here.
1407 * stdio-common/vfprintf.c: Don't initialize state variable.
1408 (vfprintf): While determining length of multibyte string don't
1409 try to be clever in determining characters to use for first
1412 Add real implementation of multibyte<->wide char conversion
1413 functions. The functions always convert between the fixed wide
1414 char format (ISO 10646 in UCS4) and the UTF8 representation of
1415 this character set. Conversion between the currently used
1416 8bit character set and ISO 10646 will not take place. This is
1417 what iconv() is for.
1418 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
1420 Add optimized version of `mbrlen' function.
1421 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
1423 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
1425 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
1426 This is needed in the wchar.h header.
1427 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
1428 encoded character to UCS4.
1429 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
1430 element of `mbstate_t' for initial state.
1431 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
1432 encoded string to UCS4 string.
1433 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
1434 character to UTF8 encoded form.
1435 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
1436 encoded string to UTF8 encoded form.
1438 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1440 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
1441 variable name, so new a libc with new requirements won't fail to
1442 notice an insufficient Linux version.
1444 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
1446 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
1447 instead of 2.0 headers.
1449 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
1451 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
1452 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
1454 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
1455 before using it in lhs of weak_alias.
1457 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
1458 Call __nss_lookup when not setting STARTP.
1459 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
1460 function-calling loop.
1462 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
1464 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
1465 PENDIN, NOFLSH): Undefine these at start if they are already
1466 defined to avoid collision with termbits.h.
1467 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
1468 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
1470 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1472 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
1473 already defined to float, long double. Use those macros for _Mdouble_
1474 defns when including mathcalls.h.
1475 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
1476 -D_Mlong_double_=double.
1478 Add more -lm functions to -lc because ldexp uses them.
1479 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
1480 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
1481 ldexp have both f and l code, and those have f though not l code.
1483 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
1485 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
1486 error is 0. The "placeholder" entries recently added to
1487 errno.texi convert to zero since `???/' is at the front of them.
1488 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
1490 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
1491 __const to conform with unistd.h.
1493 * stdlib/stdlib.h (random): Declare return type to be int32_t.
1495 * string/argz-delete.c (argz_delete): Use memmove instead of
1496 memcpy for possibly overlapping strings.
1498 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1500 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
1501 storage class. GCC gives an error for non-extern data defns with the
1504 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1506 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
1507 memmove instead of memcpy for possible overlapping strings.
1509 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1511 * libc-symbols.h (weak_function): New macro.
1512 For GCC 2.7+ define as __attribute__ ((weak)).
1513 * elf/dl-minimal.c: Use weak_function as keyword in function defns
1514 instead of weak_symbol (NAME) after the defn.
1515 * stdlib/strtol.c: Likewise.
1516 * stdlib/strtod.c: Likewise.
1517 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1519 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
1520 If this is defined, don't declare _dl_rtld_map as weak, and
1521 don't check for MAP pointing to it. RESOLVE is always null in this
1522 case, so test with #ifdef instead of if.
1524 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
1526 * csu/initfini.c (_init): Likewise.
1527 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
1528 * misc/efgcvt_r.c: Likewise.
1529 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1532 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
1533 It was not used in any assembler code.
1534 (weak_symbol_asm): Renamed to weak_extern_asm.
1535 (weak_extern): New macro replaces weak_symbol for weak extern refs;
1536 define to weak_extern_asm for [!ASSEMBLER].
1538 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1540 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
1541 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
1542 define those now as aliases.
1543 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
1544 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
1545 after GCC weak attribute decl.
1547 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
1548 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
1549 (element printer): Check for elt in ALIAS, instead of special case
1552 * io/Makefile (headers): Add sys/vfs.h.
1553 * io/sys/vfs.h: New file.
1555 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
1556 critical section lock before unlinking dying active resources.
1557 The unlock just before return is right (i.e. old code unlocked twice).
1559 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
1561 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
1562 Use memmove instead of memcpy where overlap is possible (not
1563 necessary using current implementation of memcpy, but...).
1564 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
1566 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
1568 * stdio/linewrap.c (lwupdate): New function, mostly was
1569 __line_wrap_update. Use POINT_COL field instead of POINT.
1570 (__line_wrap_output): Use lwupdate.
1571 (__line_wrap_update): New function.
1572 (ensure_unwrapped, ensure_wrapped): New functions.
1573 (line_wrap_set_lmargin, line_wrap_set_rmargin,
1574 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1576 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
1577 POINT_COL. Add POINT_OFFS field.
1578 (__line_wrap_update): New decl.
1579 (line_wrap_set_lmargin, line_wrap_set_rmargin,
1580 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1582 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
1584 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
1586 * login/pututline_r.c (pututline_r): Since we assign RESULT from
1587 lseek now, check that it's >= 0, not == 0.
1589 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
1591 * login/login.c (login): Make a copy of *UT, fill in various
1592 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
1595 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
1596 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
1598 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1600 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
1601 signal during critical section doing interruptible RPC, if
1602 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
1603 before thread_resume. If in critical section, pass 0 for SIGNO to
1604 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
1606 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
1608 * sysdeps/unix/sysv/linux/sys/user.h: New file.
1609 * sysdeps/unix/sysv/linux/Dist: Add it.
1610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
1612 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
1613 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
1614 itself, no need to skip past a NUL.
1616 * nss/nsswitch.h (known_function): Comment fix.
1617 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
1618 directly. Do the lookup and insertion with a single call, and fill in
1619 the tree node afterwards if new.
1620 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
1622 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
1623 (struct timeval): Add bodiless decl for scope.
1625 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
1626 Move struct timespec defn outside [_TIME_H] so it can be got with
1627 #define __need_timespec.
1629 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
1630 for `struct timespec' member names.
1631 (TIMESPEC_TO_TIMEVAL): Likewise.
1633 * nss/Makefile (extra-libs-others): New variable.
1635 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
1636 $(lib) in $(extra-libs-others).
1637 * sunrpc/Makefile (extra-libs-others): New variable.
1638 (librpcsvc-no-lib-dep): Variable removed.
1640 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
1641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
1643 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
1644 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
1645 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
1646 _dl_rtld_map weak only here.
1648 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
1650 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
1652 * login/utmp.h: Fix typos.
1654 * misc/syslog.c (vsyslog): Use __send instead of send and
1655 __connect instead of connect to avoid name-space collisions (e.g.,
1658 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1660 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
1662 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
1664 * malloc/malloc-size.c (malloc_usable_size): Renamed from
1665 malloc_object_allocation_size.
1666 * malloc/malloc.h: Fix decl.
1668 * sys/select.h: New file, wrapper header.
1670 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
1671 fd_set, associated macros, and select decl.
1673 * sysdeps/posix/isfdtype.c: New file.
1675 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
1677 The latest Japanese proposal for POSIX locales renames the
1678 CHARMAP keyword in locale definition files to CHARCONV.
1679 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
1680 function ctype_is_charmap to ctype_is_charconv.
1681 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
1683 * locale/programs/locfile-token.h: Add definition of token
1685 * locale/programs/locfile.c: Recognize charconv keyword. Rename
1686 lables according to this.
1688 * locale/weight.h (get_weight): Cast constants to prevent
1691 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
1692 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
1695 New stuff described in P1003.1g.
1696 * misc/Makefile (headers): Add sys/select.h.
1697 (routines): Add pselect.
1698 * misc/sys/select.h: New file. Declare select functions and
1699 needed data types and macros.
1700 * sysdeps/generic/pselect.c: New file. Add generic implementation
1701 of pselect() function which uses select().
1703 * posix/getconf.c: Recognize new variables from P1003.1g.
1704 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
1705 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
1706 * posix/unistd.h: Add description of the P1003.1g variables.
1707 * sysdeps/generic/confname.h: Define _SC_* values for new
1709 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
1711 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
1712 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
1714 * sysdeps/stub/sysconf.c (sysconf): Ditto.
1715 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
1716 _POSIX_SELECT since Linux has this.
1718 * socket/Makefile (routines): Add isfdtype.
1719 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
1720 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
1723 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
1725 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1727 * elf/Makefile (LDFLAGS-dl.so): New variable.
1728 (libdl.so): Depend on eval.so.
1729 (distribute): Add eval.c.
1730 * elf/eval.c: New file.
1732 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
1733 in case it wrote fewer than MAXDIGITS chars.
1735 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
1736 newline from flushing full buffer in loop, fix test so no fflush is
1737 done when last byte written exactly fills the buffer.
1739 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
1741 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
1742 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
1744 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
1745 extracting _dl_rtld_map.l_addr.
1747 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
1749 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1751 * shlib-versions (*-*-*): Set libnss_db=1.
1753 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1755 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
1757 * rpm/template (%build): Use @prefix@ instead of always /usr.
1758 Set up configparms only if @prefix@ is in fact /usr.
1759 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
1761 * elf/Makefile: Add missing endif.
1763 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
1765 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
1766 (DATABASE): Define this instead of DATAFILE.
1767 * nss/nss_files/files-hosts.c: Likewise.
1768 (hostbyname): Use LOOKUP_NAME macro.
1770 * nss/nss_db/db-XXX.c: New file.
1771 * nss/Makefile (services): Add db.
1772 (libnss_db-inhibit-o): New variable.
1773 (libnss_db-routines): New variable.
1774 (distribute): Append db-XXX.c.
1775 (libnss_db.so): Depend on libdb.so and libnss_files.so.
1776 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
1778 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
1780 (DATAFILE): New macro.
1781 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
1783 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
1784 Pass db key args to DB_LOOKUP.
1785 (DATAFILE): Macro removed.
1786 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
1787 * nss/nss_files/files-service.c: Likewise.
1788 * nss/nss_files/files-pwd.c: Likewise.
1789 * nss/nss_files/files-proto.c: Likewise.
1790 * nss/nss_files/files-grp.c: Likewise.
1791 * nss/nss_files/files-ethers.c: Likewise.
1793 * elf/linux-compat.c: File removed.
1794 * elf/Makefile (distribute): Remove linux-compat.c.
1795 (ld-linux.so.1): Remove target and associated variables.
1797 * sunrpc/xdr.c: Remove malloc decl.
1798 * sunrpc/portmap.c: Likewise.
1800 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
1801 casting abort to fn returning bool_t.
1803 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
1804 the parser function.
1805 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
1806 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
1807 * nss/nss_files/files-grp.c: Likewise.
1809 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
1811 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
1813 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
1814 of ld.so so lookups for that soname find it.
1816 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
1817 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
1819 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
1820 define parse_line function.
1821 (parse_line): #define to _nss_files_parse_pwent and
1822 add extern decl for that.
1824 * nss/nss_files/files-XXX.c (internal_getent): Return
1825 NSS_STATUS_TRYAGAIN for ERANGE error.
1827 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
1828 of null, so next round returns null again instead of bombing. Fix
1831 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
1832 Remove ; after `ENTDATA_DECL (data)'.
1833 Truncate line at strpbrk (line, EOLSET "\n").
1834 (ENTDATA_DECL): Put ; at end.
1835 (MIDLINE_COMMENTS): Macro removed.
1836 * nss/nss_files/files-ethers.c: Pass new argument.
1837 * nss/nss_files/files-hosts.c: Likewise.
1838 * nss/nss_files/files-network.c: Likewise.
1839 * nss/nss_files/files-parse.c: Likewise.
1840 * nss/nss_files/files-proto.c: Likewise.
1841 * nss/nss_files/files-rpc.c: Likewise.
1842 * nss/nss_files/files-service.c: Likewise.
1843 * grp/fgetgrent.c: Likewise.
1844 * pwd/fgetpwent.c: Likewise.
1845 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
1846 fgetpwent.c already defines it.
1847 * nss/nss_files/files-grp.c: Likewise.
1849 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
1850 as well as any matching with l_libname. Fix DT_SONAME lookup to use
1851 string table properly.
1853 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
1854 invoked directly, and l_libname from that if PT_INTERP missing.
1855 Set l_name from l_libname only if not set from argv.
1857 * time/europe, time/northamerica: Updated from ADO 96i.
1859 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1861 * stdio-common/tst-ungetc.c: Include unistd.h.
1863 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
1865 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
1867 * hurd/report-wait.c (describe_number): Make I unsigned long.
1869 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
1870 actually found any entry.
1872 * login/pututline_r.c (pututline_r): If not located after any
1873 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
1874 Lock the file before stating.
1876 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1878 * nss/Makefile (databases): Change host to hosts.
1879 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
1881 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
1883 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
1885 * string/string.h (strndupa): Pass missing arg to strnlen.
1887 * inet/getnetbypt_r.c: Renamed to ...
1888 * inet/getnetbyad_r.c: this; fixed function name.
1889 * inet/getnetbypt.c: Renamed to ...
1890 * inet/getnetbyad.c: this; fixed function name.
1892 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1894 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
1897 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1899 * login/login.c (login): Initialize DATA so that setutent_r will
1900 actually do something.
1902 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
1904 * resolv/res_hconf.c (strndup): Remove function.
1906 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
1907 using ElfW() instead of Elf32_*.
1909 * sysdeps/unix/sysv/linux/alpha/init-first.h,
1910 sysdeps/unix/sysv/linux/m68k/init-first.h,
1911 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
1912 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
1913 init-first.h to make abstract machine dependent parts of
1916 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
1917 error handling. It's safer that way.
1919 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
1920 Fix by Richard Henderson.
1922 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
1923 typo/extraneous whitespace.
1925 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
1926 determine what integer sizes we're dealing with.
1928 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1930 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
1931 check for signal zero, repair logical sense of test by
1932 parenthesizing correctly.
1934 * hurd/hurdsig.c (_hurd_internal_post_signal): In
1935 check-for-pending signals code, release _hurd_siglock before
1936 jumping to deliver_pending.
1938 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
1940 * configure.in (config_machine): Make ELF the default even for
1941 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
1944 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1946 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
1947 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
1948 member only #ifdef ENTDATA.
1949 (ENTDATA_DECL): New macro.
1950 (LINE_PARSER): Use it for entdata decl.
1951 (parse_list): Find the space for LIST from DATA->linebuffer instead of
1952 from the input LINE, which might not be writable buffer space.
1953 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
1954 [ENTDATA] (parser_stclass): #define to `static inline'.
1955 [!ENDATA] (parser_stclass): #define to empty.
1956 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
1957 function is exported to -lnss_files users.
1959 * string/strndup.c: Add missing arg.
1961 * string/string.h (strndupa): Likewise.
1962 * string/strndup.c (strndup): Always terminate the string.
1964 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1966 * stdio/Makefile (routines): Add vscanf.
1967 * stdio-common/Makefile (routines): Remove vscanf.
1968 * stdio-common/vscanf.c: Move to ...
1969 * stdio/vscanf.c: here.
1971 * rpm/Makefile (headers, install-lib, install-lib.so,
1972 versioned, install-bin, install-sbin, install-data,
1973 install-others): Add $(-VARIABLE).
1975 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1977 * nss/Makefile (databases): New variable.
1978 (routines, libnss_files-routines): Use it.
1979 (subdir-dirs): Compute from $(services).
1981 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
1982 init_module, klogctl): Use EXTRA in the "caller" column so these get
1983 added to unix-extra-syscalls and thus compiled in misc.
1985 * string/Makefile (routines): Add strndup.
1986 * string/strndup.c: New file.
1987 * string/string.h: Declare strndup.
1988 (strndupa): New macro.
1990 * string/string.h: Declare __strdup.
1991 * string/strdup.c: Deansideclized. Define __ name and weak alias.
1993 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
1995 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
1997 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
1999 * grp/initgroups.c (initgroups): De-ansi-fy.
2000 Move declaration of NGROUPS and GROUPS outside #if so that
2001 the code compiles for NGROUPS_MAX != 0.
2003 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
2004 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
2005 ether_ntoa, ether_ntoa_r, and ether_ntoh.
2006 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
2007 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
2008 inet/ether_ntoh.c: New files. Implementation of functions to
2009 handle Ethernet address to host mapping.
2010 * inet/netinet/ether.h: New file. Declare ether_* functions.
2011 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
2013 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
2014 * nss/Makefile (routines): Add ethers-lookup.
2015 (libnss_files-routines): Add files-ethers.
2017 * nss/getXXent_r.c: Don't define set*ent and end*ent function
2020 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
2021 KEEP_STREAM every time called.
2022 (_nss_files_end): Reset KEEP_STREAM here instead.
2023 (internal_getent): If STREAM == NULL try to open instead of
2025 Use cast to prevent warning.
2026 Terminate read line in case the buffer is too small.
2028 * nss/nss_files/files-ethers.c: New file. Implementation of
2029 Ethernet adress<->hostname lookup through files interface.
2031 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
2032 * stdlib/mbtowc.c: Define based on mbrtowc().
2033 * stdlib/wcstombs.c: Define based on wcsrtombs().
2034 * stdlib/wctomb.c: Define based on wcrtomb().
2036 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
2037 unexpected_sizes_in_xdr_u_int.
2039 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
2040 of `struct ether_addr'.
2041 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
2042 declaration of `struct ether_addr'.
2044 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
2045 * wcsmbs/mbsrtowcs.c: Ditto.
2046 * wcsmbs/wcrtomb.c: Ditto.
2047 * wcsmbs/wcsrtombs.c: Ditto.
2049 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
2051 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2053 * hurd/get-host.c <fcntl.h>: New include.
2054 * hurd/set-host.c <fcntl.h>: New include.
2055 (_hurd_set_host_config): Include NEW in args to dir_link.
2056 Return NWROTE, not NREAD.
2058 * sysdeps/mach/hurd/getcwd.c
2059 (_hurd_canonicalize_directory_name_internal): Don't deallocate
2060 DOTID & DOTDEVID until we're finished with them (we need to keep
2061 them at least until we've fetched the next level of id ports, so
2062 that mach will be able to use the same name if they're the same).
2063 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
2064 jumps to errlose, for those places where such cleanup is needed.
2066 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2068 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
2070 Move DB code into separate -ldb library.
2071 * db/Makefile (extra-libs): New variable, list libdb.
2072 (routines): Renamed to libdb-routines.
2073 * shlib-versions: Add libdb=2.
2075 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
2076 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
2078 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
2079 of strncasecmp. Extend syntax to grok [!foo=bar].
2081 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
2083 * string/string.h: Declare __strncasecmp.
2085 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
2086 (service_alias): Variable removed.
2087 (nss_parse_service_list): New function, broken out of nss_getline.
2088 Remove alias conversion; we will just use symlinks.
2089 (__nss_database_lookup): Take new string arg DEFCONFIG.
2090 If no entry exists, make one with service list parsed from that.
2091 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
2092 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
2093 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
2095 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
2098 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
2100 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
2102 * locale/programs/locale.c (long_options): Short form of
2103 --version option is `-V'.
2104 (main): Recognize `-V' as option, not `-v'.
2105 Call `usage' instead of printing error message for illegal
2107 (usage): Document `-V'.
2109 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
2111 * sysdeps/mach/hurd/getcwd.c
2112 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
2113 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
2115 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2117 * inet/getrpcent.c: Fix macros.
2118 * inet/getrpcent_r.c: Fix macros.
2120 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
2122 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
2124 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2126 * catgets/gencat.c (write_out): Use %Zu to print variables of type
2128 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
2129 cast it to (unsigned long) to make it work both on 32 and 64
2132 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2134 * locale/Makefile (distribute): Add `programs/' prefix to all
2135 files in that directory.
2137 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
2140 * MakeTAGS (sources, headers): Make them simply expanded variables
2141 so that all-dist is expanded before it is changed.
2143 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2145 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
2146 * Makefile (subdirs): Remove crypt.
2147 * crypt: Directory removed. It will be made an independent library
2150 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
2152 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
2154 * inet/getrpcbynumber.c (BUFLEN): New macro.
2156 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
2158 * Makefile (headers): Add libc-lock.h.
2159 * sysdeps/stub/libc-lock.h: New file.
2161 * inet/getrpcbynumber.c: Remove _r typo.
2163 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
2165 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
2168 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
2169 or doesn't mention DATABASE, use an internal default equivalent to
2170 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
2171 (nss_lookup_function): Call nss_new_service as needed.
2172 (nss_parse_file): Don't bother calling nss_new_service here.
2174 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
2175 * pwd/fgetpwent.c: Likewise.
2177 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
2178 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
2179 * malloc/malloc-size.c: New file.
2180 * malloc/malloc-walk.c: New file.
2182 * malloc/malloc-find.c (malloc_find_object_address): Return null if
2183 PTR is outside the heap.
2185 * elf/dl-load.c (_dl_map_object): If the requested name matches the
2186 soname of a loaded object, use that object.
2188 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2190 * Makefile (subdirs): Add nss.
2192 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
2193 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
2194 * inet/getrpcbynumber_r.c: New file.
2195 * inet/getrpcbynumber.c: New file.
2196 * inet/getrpcbyname.c: New file.
2197 * inet/getrpcbyname_r.c: New file.
2198 * inet/getrpcent_r.c: New file.
2199 * inet/getrpcent.c: New file.
2200 * nss/rpc-lookup.c: New file.
2201 * nss/nss_files/files-rpc.c: New file.
2202 * nss/Makefile (routines): Add rpc-lookup.
2203 (libnss_files-routines): Add files-rpc.
2204 * sunrpc/Makefile (routines): Remove getrpcent.
2205 * sunrpc/getrpcent.c: File removed.
2207 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
2210 * Makeconfig (rpath-link): Add $(nssobjdir).
2211 (nssobjdir): New variable.
2213 * Makerules: Move shared library building before objects rules, so
2214 versions are known before extra-lib.mk gets included.
2215 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
2217 * pwd/getpwuid.c: Rewritten using nss.
2218 * pwd/getpwnam.c: Likewise.
2219 * pwd/getpwent.c: Likewise.
2220 * grp/getgrnam.c: Likewise.
2221 * grp/getgrgid.c: Likewise.
2222 * grp/getgrent.c: Likewise.
2223 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
2224 * pwd/getpwent_r.c: New file.
2225 * pwd/getpwnam_r.c: New file.
2226 * pwd/getpwuid_r.c: New file.
2227 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
2228 * grp/getgrnam_r.c: New file.
2229 * grp/getgrgid_r.c: New file.
2230 * grp/getgrent_r.c: New file.
2231 * grp/Makefile (routines): Remove grpopen, grpread.
2232 * pwd/Makefile (routines): Remove pwdopen, pwdread.
2233 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
2235 * pwd/fgetpwent.c: Rewritten using files-parse.c.
2236 * grp/fgetgrent.c: Likewise.
2238 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
2239 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
2240 * nss/nss_files/files-grp.c: New file.
2241 * nss/nss_files/files-pwd.c: New file.
2243 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
2245 * nss/nss_files/files-parse.c: New file.
2246 * nss/nss_files/files-XXX.c: New file.
2247 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
2248 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
2249 Rewritten using them.
2251 * nss/Makefile (libnss_files-routines): Remove files-host.
2252 Add files-hosts, files-grp, files-pwd.
2254 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
2256 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
2258 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2259 A .plt entry now loads the .rela.plt offset directly rather
2260 than making us calculate it.
2262 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2264 * time/Makefile ($(installed-localtime-file) rule): Do
2265 $(make-target-directory) first.
2267 * resolv.h: Fix wrapper for resolv/resolv.h.
2269 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
2270 Compile dummy file and pass -nostdlib -nostartfiles so as not to
2271 require installed libraries.
2273 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
2276 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
2278 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
2279 and mapv4v6hostent.h.
2280 (routines): Move res* and gethnamaddr into libresolv-routines.
2281 (libresolv-routines): New variable, put them there.
2282 (extra-libs): New variable, list libresolv.
2283 (CPPFLAGS): Add -D for get*by* to res_get*by*.
2285 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
2287 * inet/herrno.c: New file.
2289 * resolv/res_init.c: Remove res_hconf calls.
2291 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
2292 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
2293 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
2294 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
2295 nss/service-lookup.c: New files. Implementation of name
2296 service switch, following the approach in Solaris.
2297 Interface specification and general structure inspired by Peter
2298 Eriksson <pen@lysator.liu.se>.
2299 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
2300 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
2301 Implementation of libnss_files.so module for file based databases
2303 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
2304 if libnss_dns.so module for DNS name lookup in NSS service.
2306 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
2307 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
2308 Changed to serve as interface to NSS.
2309 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
2310 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
2311 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
2312 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
2313 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
2314 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
2315 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
2316 interfaces to NSS, including reentrant functions.
2318 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
2319 resolv/sethostent.c: Removed: Obsoleted by NSS.
2321 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
2322 gethnamaddr.c. These private functions are now used in more
2325 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
2327 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2329 * rpm/Makefile ($(config)): Make sure the word list in the for
2330 loop is syntactically non-empty.
2332 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2334 * Version 1.92 test release.
2336 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
2338 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
2339 to klogctl to match prototype in sys/klog.h.
2341 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
2342 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
2344 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
2345 Remove. Code is now part of __getcwd again. The old function
2346 never really worked for anything but THISDIR==".".
2348 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
2349 only when building ELF version of library.
2351 * libio/libioP.h (_IO_vscanf): Add prototype.
2353 * posix/unistd.h (syscall): Change sysno arg and return value
2356 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2358 * version.h (VERSION): Updated to 1.92.
2360 * misc/Makefile (headers): Add ar.h.
2361 * misc/ar.h: New file.
2363 * config.make.in (BUILD_CC): New variable.
2364 * configure.in: Check for BUILD_CC if $host != $build.
2366 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
2368 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
2369 (stamp$o files): New targets, create them empty, no deps.
2371 * rpm/template (Source): New field.
2372 (%prep, %build, %install): New sections.
2373 (%files): Add %doc FAQ NEWS NOTES README.
2374 * rpm/rpmrc (builddir): Removed.
2376 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2378 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
2379 guessing to not assume p_vaddr of first load cmd is zero.
2381 * sysdeps/sparc/elf/start.S: New file.
2382 * sysdeps/sparc/dl-machine.h: New file.
2384 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
2385 only for ?s, not for *s. Fix from Chet Ramey.
2387 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
2388 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
2389 Use __{BEGIN,END}_DECLS.
2390 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
2391 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
2392 New macros, moved here from sysdeps/gnu/utmpbits.h.
2393 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
2394 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
2395 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
2396 Use sizeof instead of UT_*SIZE.
2397 * login/logwtmp.c: Likewise.
2399 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
2401 * version.c (banner): Add trailing newline.
2403 * login/utmp.h: Declare login_tty.
2405 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
2407 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
2408 Changed to a 12-byte PLT entry to remove dependency on $gp.
2409 Take a new got_addr parameter.
2410 (elf_machine_rela): Pass the new parameter.
2411 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
2412 (RTLD_START): Do normal linkage with program entry.
2414 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
2416 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
2418 * hurd/getuids.c (getuids): New weak link to __getuids.
2420 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
2422 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
2423 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
2425 Rename nested function lookup to lookup_op.
2426 (__file_name_lookup, __file_name_lookup_under):
2427 Pass 0 for lookup arg to __hurd_file_name_lookup.
2428 (__file_name_split): Likewise for __hurd_file_name_split.
2429 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
2430 Rename nested function lookup to scan_lookup.
2431 (file_name_path_lookup): Pass 0 for lookup arg to
2432 hurd_file_name_path_lookup.
2433 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
2434 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
2435 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
2436 Add LOOKUP argument.
2437 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
2438 __hurd_file_name_lookup.
2440 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2442 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
2443 up a huge list just to discard most of it.
2445 * configure.in (sysnames): Avoid fgrep by using the case shell
2448 * Makeconfig (config.status): Fix dependency on Implies files.
2450 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2452 * math/Makefile (distribute): Add ieee-math.c.
2454 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
2456 * locale/codeset_name.c: New file. Provide function for information
2457 about currently used character set.
2458 * locale/Makefile (routines): Add codeset_name.
2459 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
2460 * locale/localeinfo.h: Change magic number because of incompatible
2462 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
2463 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
2465 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
2466 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
2468 * locale/setlocale.c (setlocale): Initialize local variables to
2471 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
2473 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
2475 * locale/programs/locale.c: Include string.h.
2477 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
2478 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
2479 appropriate sign-extension is performed on machines with
2482 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
2483 sizeof(int)<sizeof(long), we need to go through a temporary
2486 * locale/programs/ld-numeric.c: Include <alloca.h>
2488 * libio/stdio.h (__libc_fatal): Add prototype.
2490 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
2493 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
2494 volatile to avoid "might get clobbered by longjmp" warning.
2496 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
2497 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
2498 probability is a sure loser).
2499 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
2501 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
2502 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
2504 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
2505 to be Linux FSSTND compliant.
2507 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
2509 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
2511 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
2512 sysdeps/unix/sysv/linux/alpha/brk.S,
2513 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2514 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2515 sysdeps/unix/sysv/linux/alpha/llseek.S,
2516 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2517 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
2518 __syscall_error to avoid intruding application name space.
2520 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
2521 to SYS_get?id so that syscall stubs in sysdeps/unix define
2522 these syscalls in terms of getxpid/getxuid/getxgid.
2524 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
2525 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
2526 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
2527 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
2529 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
2530 (PSEUDO_END): Rename END() to PSEUDO_END().
2532 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
2533 to PSEUDO_END to improve branch-prediction. Include .frame
2534 directive to make syscalls debugabble.
2535 (PSEUDO_END): New macro.
2537 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
2538 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
2539 latter is illegal under DEC Unix.
2541 * sysdeps/unix/alpha/sysdep.S: Renamed from
2542 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
2544 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
2545 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
2546 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
2548 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
2549 address register in the .frame directive.
2551 * sysdeps/alpha/copysign.c: Remove.
2553 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
2554 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
2556 * errno.h: Move __END_DECLS to correct place to make file
2557 compilable under c++.
2559 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
2560 d_ino only if <direntry.h> hasn't defined d_fileno.
2562 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
2563 arguments to weakext to make .weakext detection work on ECOFF systems.
2565 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
2566 that _validuser() has been replaced by __ivaliduser().
2568 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
2570 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
2571 as unsigned long, not as int (to avoid incorrect int->long
2576 See ChangeLog.5 for earlier changes.