1 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
3 * nss/nsswitch.c (__nss_configure_lookup): New function.
4 Allows to specify services.
5 * nss/XXX-lookup.h: Rename database variable and make global.
6 * nss/databases.def: New file. Real names of all databases.
8 * nss/nss.h: New file. Contains declaration useful for users
9 and service developers.
10 * nss/nsswitch.h: Move some declarations to nss/nss.h.
11 * nss.h: New file. Wrapper around nss/nss.h.
13 * nss/Makefile (headers): Add nss.h.
14 (distributes): Add databases.h.
16 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
18 Help the poor people with fast machines by making sure only
19 one `ar' commands works on the library.
20 * autolock.sh: New file. Written by Tom Tromey.
21 * Makerules (do-ar): Call autolock.sh shell script instead of
23 * config.make.in: Make configuration variable AUTOLOCK which
24 gets initialized by configure.
25 * configure.in: Define variable AUTOLOCK to point to autolock.sh
26 script and mark it to substitute.
28 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
30 * elf/dl-lookup.c (_dl_lookup_symbol): Allow self-referencing.
31 Patch by David Mosberger-Tang.
33 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
35 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
36 startup by moving Icache flush from here ...
37 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
38 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
40 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
41 calling conventions. The code is already correct.
43 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
45 * string/Makefile: Compile tester with -fno-builtin as we want to
46 test our implementations, not gcc's.
48 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
52 * sysdeps/unix/sysv/linux/netinet/in.h: Move
53 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
56 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
57 g++ 2.7.2 (and earlier) has no transparent unions support.
59 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
61 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
62 function to determine the base address of sparse bus memory.
63 (APECS_*): Rename to CIA_*.
64 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
65 (platform): Add sparse_bus_memory_base member and initialize.
66 (sparse_bus_memory_base): New variable.
68 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
70 * sysdeps/posix/ttyname_r.c (ttyname_r),
71 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
72 !__isatty(fd) (POSIX.1 says so.)
74 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
75 This is not a gross hack, after all---for compatibility,
76 getlogin() really should check fd 0 only and not try to base its
77 operation on the controlling tty.
79 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
81 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
82 change utmp_data from static to auto.
84 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
86 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
87 Reported by David Mosberger-Tang.
89 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
91 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
94 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
96 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
98 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
99 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
100 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
101 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
102 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
103 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
105 * io/fts.h: Include <sys/types.h> to get dev_t.
106 Reported by Matthias Urlichs.
108 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
109 _IO_file_flags. It's the same as _flags.
110 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
112 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
114 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
116 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
118 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
119 * pwd/getpwent_r.c: Likewise.
120 * pwd/getpwnam.c: Likewise.
121 * pwd/getpwnam_r.c: Likewise.
122 * pwd/getpwuid.c: Likewise.
123 * pwd/getpwuid_r.c: Likewise.
125 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
126 * grp/getgrent_r.c: Likewise.
127 * grp/getgrgid.c: Likewise.
128 * grp/getgrgid_r.c: Likewise.
129 * grp/getgrnam.c: Likewise.
131 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
132 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
133 * pwd/Makefile (routines): Add fgetpwent_r.
134 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
136 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
137 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
138 * grp/Makefile (routines): Add fgetgrent_r.
139 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
141 Implement shadow password lookup functions. This is no complete
142 shadow password suite.
143 * shadow/Makefile: New file.
144 * shadow/fgetspent.c: New file.
145 * shadow/fgetspent_r.c: New file.
146 * shadow/getspent.c: New file.
147 * shadow/getspent_r.c: New file.
148 * shadow/getspnam.c: New file.
149 * shadow/getspnam_r.c: New file.
150 * shadow/putspent.c: New file.
151 * shadow/sgetspent.c: New file.
152 * shadow/sgetspent_r.c: New file.
153 * shadow/shadow.h: New file.
154 * shadow/spwd-lookup.c: New file.
155 * shadow/nss_files/files-spwd.c: New file.
157 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
159 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
161 Reported by Matthias Urlichs.
163 * Makeconfig [!default_cflags]: Change default value from `-g'
166 * configure.in: Recognize i686.
167 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
169 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
171 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
172 value of CFLAGS-.o, not CFLAGS-o.
174 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
175 pointer to ourself. Otherwise `gcc -O3' optimized init away.
177 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
179 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
180 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
182 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
184 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
185 to 0x137f to allow long double operations.
187 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
191 * nss/nsswitch.c (_res): Remove redundant variable definition.
192 The real one is in resolve/res_init.c, and having both prevents
193 using -fno-common when building the shared library.
194 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
196 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
197 a .bss object not a COMMON symbol.
199 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
200 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
204 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
205 main loop for better dual-issue on EV5. Rearrange binary search to
206 pipeline better and trim one instruction.
210 * time/localtime.c (localtime_r): Move lock declaration back next to
211 the comment where it was before the 960724 change.
213 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
214 The second word is supposed to be the hardware manufacturer.
216 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
217 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
219 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
221 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
222 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
223 Same cleanups as with EV4 GMP stuff.
225 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
227 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
228 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
229 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
231 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
233 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
236 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
238 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
240 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
243 * socket/sys/socket.h (send, __send, sendto): Declare buffer
246 * string/tester.c (main): Test stpncpy.
248 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
249 segfault when called with an N that is not a multiple of four and
252 * misc/syslog.c (LogType): New variable.
253 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
254 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
256 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
257 terminator as a record-delimiter. If __send(LogFile) fails,
258 call closelog() so logfile gets re-opened next time.
260 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
262 * elf/dl-open (_dl_open): Add cast to avoid warning.
264 * manual/memory.texi: Improve some examples to give readers better
265 advice: Use `stpcpy' instead of `strcat' if possible.
266 * manual/string.texi: Document `strtok_r' and `strtok'.
268 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
270 [$(cross-compiling)=no]: Change test before making librpcsvc
271 to this from $(cross-compile).
272 Reported by Andreas Schwab.
274 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
276 * elf/Makefile (routines): Move dl-sysdep to here...
277 (rtld-routines): ...from here. This should make static linking
280 * locale/setlocale.c: Add local variable `lock' and add code to
281 `setlocale' to avoid simultaneous changing of global data.
283 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
284 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
285 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
286 of unprotected names.
288 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
290 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
291 This requires to rename several functions to use __ protected
293 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
295 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
296 and make old name a weak alias.
297 * sysdeps/mach/hurd/getrlimit.c: Likewise.
298 * sysdeps/mach/hurd/opendir.c: Likewise.
299 * sysdeps/mach/hurd/readdir.c: Likewise.
300 * sysdeps/stub/closedir.c: Likewise.
301 * sysdeps/stub/opendir.c: Likewise.
302 * sysdeps/stub/readdir.c: Likewise.
303 * sysdeps/unix/closedir.c: Likewise.
304 * sysdeps/unix/opendir.c: Likewise.
305 * sysdeps/unix/readdir.c: Likewise.
307 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
309 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
310 `__closedir' instead of unprotected names.
312 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
313 instead of `isatty' since later is not part of ISO C.
314 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
315 `open' since later is not part of ISO C.
317 * login/endutent.c (endutent): Call `__endutent_r', not
319 * login/endutent_r.c: Rename defined function to `__endutent_r',
320 make `endutent_r' weak alias.
321 * login/getutent.c (getutent): Call `__getutent_r', not
323 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
324 * login/getutid_r.c: Rename defined function to `__getutent_r',
325 make `getutent_r' weak alias.
326 * login/getutline.c (getutline): Call `__getutline_r', not
328 * login/getutline_r.c: Rename defined function to `__getutline_r',
329 make `getutline_r' weak alias.
330 * login/pututline_r.c: Rename defined function to `__pututline_r',
331 make `pututline_r' weak alias.
332 * login/setutent.c (setutent): Call `__setutline_r', not
334 * login/setutent_r.c: Rename defined function to `__setutline_r',
335 make `setutline_r' weak alias.
336 Rename `utmpname' to `__utmpname' and make former weak alias.
337 (__utmpname): Call `__strdup', not `strdup'.
338 * login/utmp.h: Add prototypes for name space clean reentrant
340 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
341 and `__endutent_r' instead of unprotected names.
343 * math/math.h: Add prototype for `__matherr'.
344 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
347 * nss/getXXbyYY.c: Call __ protected reentrant function.
348 * nss/getXXent.c: Likewise.
349 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
350 name. Make usual name a weak alias.
351 * nss/getXXent_r.c: Likewise.
353 * posix/unistd.h: Add prototype for `__ttyname_r'.
354 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
355 and make `ttyname_r' a weak alias.
357 * resource/sys/resource.h: Add prototype for `__getrlimit'.
358 * sysdeps/stub/getrlimit.c: Prepend function name with __
359 and make old name a weak alias.
360 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
361 and make `getrlimit' weak alias.
363 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
364 * libc/stdio/vscanf.c: De-ANSI-fy.
365 Rename function to `__vscanf' and make `vscanf' a weak alias.
366 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
369 * stdio-common/reg-printf.c: De-ANSI-fy.
370 Rename function to `__register_printf_function' and make
371 `register_printf_function' weak alias.
373 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
376 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
377 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
378 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
379 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
380 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
382 * wcsmbs/mbsrtowcs.c: Likewise.
383 * wcsmbs/wcrtomb.c: Likewise.
384 * wcsmbs/wcsrtombs.c: Likewise.
385 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
387 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
388 instead of `sigprocmask'.
391 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
392 version getgrent_r, getgrgid_r, and getgrnam_r.
393 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
394 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
396 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
399 * misc/error.c (private_strerror): Translate messages from table,
402 * io/fcntl.h: Pretty printing.
403 * misc/fstab.h: Likewise.
404 * misc/ttyent.h: Likewise.
405 * resource/sys/resource.h: Likewise.
406 * string/argz.h: Likewise.
407 * string/envz.h: Likewise.
409 Add support for symbols from POSIX.1c (POSIX threads).
410 * posix/getconf.c: Handle new sysconf symbols.
411 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
412 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
413 * sysdeps/generic/confname.h: Define new symbols.
414 * sysdeps/posix/sysconf.c: Handle new symbols.
415 * sysdeps/stub/sysconf.c: Ditto.
416 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
419 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
422 * sysdeps/generic/resourcebits.h: Add macro definition for
423 RLIMIT_* values. Some sources test using #ifdef whether specific
425 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
426 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
427 separate files for the architectures.
428 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
429 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
430 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
431 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
433 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
434 and only default on `OPEN_MAX'.
435 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
438 * time/Makefile (routines): Add ctime_r.
439 * time/asctime.c: Add implementation of `asctime_r'. Make
440 `asctime' implementation based on reentrant version.
441 * time/ctime_r.c: New file.
442 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
445 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
447 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
448 (_nl_C_LC_CTYPE): Fix ordering.
449 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
452 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
454 * csu/initfini.c: Discover the maximum alignment generated by the
455 compiler when emitting a function.
456 (_init): Make sure the end of the crti fragment is aligned.
459 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
461 * initfini.c: (__libc_is_static): New variable. Will be
462 initialized in init-first.c. Some actions in the libc work
463 different when libc is static or dynamic.
465 * sysdeps/unix/sysv/linux/init-first.c (init): Use
466 `__libc_is_static' variable to determine whether call to
467 `personality' and `setfpucw' is necessary. When done set variable
468 to +-1 depending on library type.
470 * locale/setlocale.c (setlocale): Use global variable
471 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
472 determine whether it's a SET[UG]ID program.
474 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
476 * Version 1.93 test release.
478 * manual/Makefile: Use -include for chapters-incl too.
480 * Makeconfig (+link): Add back start.o, mistakenly removed in last
483 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
485 * nss/Makefile (generated): Add db-*.c.
487 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
490 * configure.in (--enable-add-ons): Quote m4 macro args.
492 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
494 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
496 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
498 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
500 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
503 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
504 warning when inline function is elided.
505 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
506 (elf_machine_runtime_setup): Likewise.
507 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
508 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
509 (elf_machine_load_address): Likewise.
511 * catgets/gencat.c: Include <locale.h>.
513 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
515 * login/logwtmp.c (logwtmp): Call time, not __time.
517 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
518 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
519 * login/logwtmp.c (logwtmp): Likewise.
521 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
522 comparing ioctl macro values.
524 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
526 * manual/Makefile: Use -include for chapters to suppress warning.
528 * sysdeps/stub/socket.c: Fix type of TYPE arg.
529 * sysdeps/stub/socketpair.c: Likewise.
531 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
533 * sysdeps/generic/sysdep.h: New file, broken out of ...
534 * sysdeps/unix/sysdep.h: ... here.
535 (C_LABEL): Moved out.
537 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
538 stick to sed. Do `exit 0' at end because while returns nonzero.
540 * sysdeps/i386/sysdep.h: New file, broken out of ...
541 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
543 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
544 They are defined unconditionally in libio/stdio.h.
546 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
547 * elf/dl-cache.c: Likewise.
549 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
551 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
552 (sysdep_headers): Add sys/sysmacros.h.
553 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
555 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
557 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
558 tcgetattr. We have weak aliases now.
559 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
560 "optimizations" for random functions.
562 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
564 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
565 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
566 redefinition warning.
568 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
570 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
573 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
575 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
578 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
580 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
582 Reported by Richard Henderson <rth@tamu.edu>.
584 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
586 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
589 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
591 * locale/setlocale.c (setlocale): Don't try to free C locale
593 Reported by Matthias Urlichs.
595 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
597 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
598 (open_file): New function, contents mostly from __open.
599 (_dl_sysdep_read_whole_file): New function.
601 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
603 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
604 `..' dots in sed search string.
606 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
608 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
611 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
613 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
614 in those directories.
615 * config.make.in (add-ons): New varaible, set from @subdirs@.
616 * Makefile (subdirs): Added $(add-ons) at the end.
618 * time/strftime.c (strftime: do_number): Initialize PRINTED to
619 MAXDIGITS in case P is null and so sprintf is never actually called.
621 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
623 Add support for the to-be-written internationalized regexp.
624 This code must be able to use collation symbols and collation
626 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
627 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
628 New global variables for collation classes.
629 * locale/categories.def: Add new descriptions for collation symbols
630 and collation classes.
631 * locale/langinfo.h: Add constants for collation symbols and
633 * locale/lc-collate.c: Add new global variables for collation symbols
634 and collation classes.
635 (_nl_postload_collate): Initialize new variables.
636 * locale/programs/ld-collate.c: Add code to emit tables for
637 collation symbols and collation classes.
638 * locale/programs/locales.h: Change prototype for `collate_output'.
639 * locale/programs/locfile.c (write_all_categories): Call
640 `collate_output' with new argument.
641 * locale/localeinfo.h: Add declaration for new global vars.
642 (union locale_data_value): New member wstr for `wchar_t' strings.
643 * locale/programs/locale-spec.c: Handle `collate-classes'
644 keyword and print information about available collation classes.
645 * locale/strlen-hash.h: New file. Simple hashing function which
646 takes a string with known length.
647 * locale/Makefile (distribute): Add strlen-hash.h.
648 (locale-modules): New var. Additional files for `locale' program.
650 * locale/C-ctype.c: Rewrite to avoid using string for giving values
651 which are of type `u_int32_t'.
652 Correct entry for EOF in toupper and tolower tables.
654 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
657 * locale/programs/ld-ctype.c (ctype_output): Add code to make
658 sure that all tables in binary file are word-aligned.
660 * locale/programs/locfile.c (write_locale_data): Correct handling
661 of LC_MESSAGES locale. Create directory if necessary.
663 * locale/setlocale.c (setlocale): Add cast to avoid warning.
665 * string/string.h: Add prototype for `__strndup'.
667 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
669 * wcsmbs/mbrtowc.c: Remove unused variable.
671 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
673 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
674 2.0.10; some problems were reported with an earlier version, and this
675 one is known to work.
677 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
678 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
680 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
682 * elf/rtld.c (dl_main): Ignore arguments when environment variable
683 LD_TRACE_LOADED_OBJECTS is set.
685 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
687 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
688 __libc_enable_secure instead of _dl_secure.
689 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
690 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
692 * elf/Makefile (routines): Add enbl-secure.
693 (elide-routines.so): Here too.
694 * sysdeps/generic/enbl-secure.c: New file.
695 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
696 * elf/dl-support.c (_dl_secure): Variable removed.
697 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
699 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
701 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
702 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
703 compiler doesn't elide it.
704 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
706 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
708 * elf/rtld.c (dl_main): Take new option --verify when run directly.
709 In verify mode, exit with status zero iff the argument object's
710 PT_INTERP matches argv[0].
711 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
712 exits with zero status. This makes `ldd' secure again.
714 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
716 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
717 environment variable handling. This makes the dynamic linker
718 only print loaded libraries and quit.
720 * elf/ldd.sh.in: Don't use `rtld --list' but instead
721 LD_TRACE_LOADED_OBJECTS environment variable to print needed
724 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
726 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
727 after printing version until after doing usage for --help.
728 (long_options, main, usage): Rename -l/--lowercase option to
729 -f/--fold-case (-f matches sort).
731 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
733 * db/makedb.c: New file. Implement program to create simple <db.h>
734 database from textual input. This will be used for nss_db.
736 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
738 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
739 * sunrpc/rpc/pmap_clnt.h: Likewise.
740 * sunrpc/rpc/auth.h: Likewise.
741 * sunrpc/rpc/pmap_rmt.h: Likewise.
742 * sunrpc/rpc/rpc_msg.h: Likewise.
744 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
746 * string/string.h (strndupa): Change to use return value of
747 `memcpy' for more performance.
748 * string/strndup.c: Likewise.
750 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
751 This might lead to problems.
752 (strndupa): Likewise.
754 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
756 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
757 and change K&R prototypes to ANSI prototypes.
758 * sunrpc/rpc/auth_unix.h: Ditto.
759 * sunrpc/rpc/clnt.h: Ditto.
760 * sunrpc/rpc/pmap_clnt.h: Ditto.
761 * sunrpc/rpc/pmap_prot.h: Ditto.
762 * sunrpc/rpc/pmap_rmt.h: Ditto.
763 * sunrpc/rpc/rpc_msg.h: Ditto.
764 * sunrpc/rpc/svc.h: Ditto.
765 * sunrpc/rpc/svc_auth.h: Ditto.
766 * sunrpc/rpc/xdr.h: Ditto.
768 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
770 * ctype/test_ctype.c: Test EOF too.
772 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
774 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
775 * sunrpc/rpc/auth_unix.h: Likewise.
776 * sunrpc/rpc/clnt.h: Likewise.
777 * sunrpc/rpc/netdb.h: Likewise.
778 * sunrpc/rpc/pmap_clnt.h: Likewise.
779 * sunrpc/rpc/pmap_prot.h: Likewise.
780 * sunrpc/rpc/rpc_msg.h: Likewise.
781 * sunrpc/rpc/svc.h: Likewise.
782 * sunrpc/rpc/svc_auth.h: Likewise.
783 * sunrpc/rpc/xdr.h: Likewise.
785 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
787 * sunrpc/pmap_rmt.c: ...here.
789 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
791 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
793 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
796 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
798 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
799 <kkojima@info.kanagawa-u.ac.jp>.
801 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
803 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
804 defined, not __OPTIMIZED.
805 (_nl_msg_cat_cntr): Move declaration outside macro definition
806 to prevent "nested extern" warning.
807 (dcgettext): Rename local variable `result' to `__result'.
809 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
811 * locale/programs/localedef.c (__progname): Remove decl.
812 (main): Use program_invocation_short_name instead of __progname.
813 (usage): Use program_invocation_name instead of __progname.
815 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
817 * catgets/gencat.c: Use "libc" instead of PACKAGE.
818 * locale/localedef.c: Ditto.
819 * locale/locale.c: Ditto.
821 * locale/findlocale.c (_nl_find_locale): Little optimization.
822 Use new function `strndup'.
824 * locale/loadlocale.c: Little optimization. Use constant value
825 from `_nl_category_num_items' instead of byte-order dependend
828 * locale/programs/ld-time.c (time_add): Correct string constant.
830 * locale/programs/locale-spec.c: New file.
831 * locale/programs/locale.c: Call `locale_special' function if
832 no other field matches.
834 * locale/programs/localedef.c: No need to define `program_name'.
835 Use global variable `__progname'.
837 * locale/programs/locfile.c (write_locale_data): Always write
838 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
839 necessary since message catalogs are also installed in the
840 LC_MESSAGES/ directory.
842 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
843 function instead of writing single bytes.
844 (encode_char): Also handle little endian.
846 * locale/setlocale.c (new_composite_name): Little optimization.
847 Use return value of `memcpy'.
849 * misc/ttyent.h: Pretty print prototypes, add missing parameter
850 names, prepend parameter names with __ and use `__const' instead
852 * posix/unistd.h: Ditto.
853 * stdlib/stdlib.h: Ditto.
854 * string/string.h: Ditto.
856 * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names.
857 Use `error' function instead of doing it by hand.
858 * sysdeps/posix/sysconf.c: De-ANSI-fy.
859 Handle _SC_COLL_WEIGHTS_MAX.
860 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
861 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
862 since these do depend on the platform.
865 * posix/posix2_lim.h: Add missing definition of
866 _POSIX2_COLL_WEIGHTS_MAX.
867 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
868 to high values since we have no fixed limit.
870 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
871 _SC_PAGESIZE for buggy systems (= HP UX) out there.
873 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
874 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
875 * wcsmbs/wcsnrtombs.c: Ditto.
876 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
879 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
881 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
883 * nss/getXXent_r.c: Likewise.
884 * nss/nsswitch.c: Likewise.
885 * nss/nss_files/files-XXX.c: Likewise.
886 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
887 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
888 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
890 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
892 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
893 macro, now put the needed Linux version just once, here; update to
894 needing linux-2.0.3 headers.
895 (libc_cv_linuxVER): New macro derived from that.
896 (kernel header check): Use those macros and some m4 magic to replace
897 hard-coded `201' and `2.0.1' in several places.
899 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
901 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
903 * time/localtime.c: Move lock variable declaration to end of
904 variable declarations since if is a dummy macro the ; at the
905 end terminates the variable section of the function.
907 * time/tzset.c: Undefine `tzset' before function declaration.
908 Use `weak_function' macro instead of `weak_symbol'.
910 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
912 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
915 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
917 * locale/C-ctype.c: Increment number of fields after change
918 from Wed Jun 19 03:24:58 1996.
920 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
922 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
923 ($(common-objpfx)libc.so): Move deps into that, use it.
924 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
925 $(rpcuserlibs:.so=_pic.a).
926 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
929 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
931 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
932 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
934 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
936 * locale/iso-4217.def: Add India to comment for symbol "INR ".
937 Reported by Raja R Harinath <harinath@cs.umn.edu>.
939 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
941 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
944 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
946 * time/tzset.c: Include <libc-lock.h>.
947 (__tzset_lock): New lock variable.
948 (tzset): New function (weak defn), no longer weak alias for __tzset.
949 Call __tzset while holding __tzset_lock.
950 * time/localtime.c: Include <libc-lock.h>.
951 (__localtime_r): Hold __tzset_lock while doing the work.
953 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
954 from [!HAVE_GNU_LD] to [!_LIBC].
955 [_LIBC]: Include <libc-lock.h> and define a lock.
956 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
957 (setenv, unsetenv): Use them.
959 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
961 * locale/programs/locfile.c (write_locale_data): Deal with missing
964 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
965 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
967 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
969 Win32 hacks from <Rob_Tulloh@tivoli.com>.
970 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
971 use void * for my_realloc; include <malloc.h> for alloca.
972 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
973 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
974 * posix/glob.h: Likewise.
976 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
978 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
979 call __io_select unless there's only a single descriptor, as each
980 descriptor now has its own reply port.
981 If there is only a single descriptor, just use its reply port for
982 everything and don't bother creating the port set.
984 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
985 <unistd.h>: New include.
987 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
990 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
992 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
993 from the USA any software that even makes it easy to drop in an
994 encryption module of foreign origin.
995 * Makerules (cryptobjdir): Variable removed.
996 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
997 * Makefile (subdirs): Remove crypt.
999 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
1001 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
1002 operator to yesexpr and noexpr string.
1004 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
1006 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
1007 old code would have failed on a big-endian 64-bit architecture).
1008 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
1010 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
1011 (xdr_u_long): Use switch instead of chain of if-statements.
1012 Remove gratitous parentheses around return expressions.
1013 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
1015 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
1017 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
1020 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1022 * dlfcn.h, db.h: New wrapper headers.
1024 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
1025 for `struct stat;' forward decl.
1027 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
1029 * locale/iso-4217.def: Add some more standardized currency
1032 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1034 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
1036 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
1038 * Rules (dummy.o, empty.o): Targets removed.
1039 (dummy.c, empty.c): New targets replace them.
1041 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1043 * crypt/Makefile (lib-noranlib): Depend on
1044 $(objpfx)libcrypt.so$(libcrypt.so-version).
1047 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
1049 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
1050 check. mib's clueless hacking broke it.
1052 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1054 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
1056 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
1058 * misc/sys/ustat.h: New file.
1059 * misc/ustat.h: Ditto.
1060 * sysdeps/generic/ustatbits.h: Ditto.
1061 * sysdeps/stub/ustat.c: Ditto.
1062 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
1063 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
1065 (routines): Mention ustat.
1067 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
1068 * sysdeps/alpha/elf/start.S: here.
1070 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
1071 alphabetically correct place. Mention ustat.
1073 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
1074 common symbol (makes errno accessible from gdb).
1076 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
1079 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
1080 record always gets appended at end of file (wtmp is a log file,
1081 after all). Set ut_type to DEAD_PROCESS if name is empty.
1083 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
1084 separate loop from search for UT_ID. Fix code so it is in
1085 sync with Unix man page.
1087 * login/getutline_r.c (getutline_r): Stop searching only if
1088 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
1090 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
1092 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
1093 avoid duplicate declarations.
1095 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
1097 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
1098 and alpha-gnu-linuxecoff targets.
1100 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
1102 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
1104 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
1106 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
1109 * resolv/res_comp.c (res_hnok): Use empty statement in place
1110 of NULL (which generates a "useless expression" warning in
1113 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
1115 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
1116 with $(..) in output.
1118 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1120 * elf/Makefile (dl-routines): Add dl-cache.
1121 * elf/dl-cache.c: New file.
1122 * elf/dl-load.c (_dl_map_object): Check cache before default path.
1124 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
1126 * stdio-common/vfscanf.c: Major change. Now read character
1127 from stream only if needed. Before it was read after the
1128 previous character was used.
1129 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
1131 * stdio-common/tstscanf.c: Change test program so that return
1132 value is != 0 if one test failed.
1134 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1136 * sysdeps/m68k/Makefile (crypt): Variable removed.
1137 * sysdeps/sparc/Makefile: Likewise.
1139 * version.h (VERSION): Update to 1.93.
1141 * Makerules ($(libdir)/libc.so): Depend on
1142 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
1144 * crypt/nocrypt.c: New file.
1145 * Makefile (subdirs): Add crypt.
1146 * crypt/Makefile: New file.
1148 * Makerules (soversions.mk): Move this target, include of it, and
1149 include of version.mk to ...
1150 * Makeconfig: ... here.
1151 (soversions.mk): Depend on Makeconfig instead of Makerules.
1153 * shlib-versions (*-*-*): Set libcrypt=0.
1155 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
1157 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
1158 word extends right up to rmargin.
1160 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
1161 output the wrap margin, set point_col to wmargin.
1162 Use negative point_col to deal with a wmargin of 0.
1163 (line_wrap_point): Return 0 for a negative point_col.
1164 (line_wrap_stream): Make wmargin ssize_t.
1165 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
1167 (line_wrap_stream): Make wmargin ssize_t.
1168 (line_wrap_point): Return 0 for a negative point_col.
1170 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1172 * shlib-versions (*-*-gnu*): Set libc=0.0
1174 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1176 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
1177 sysdeps/i386/dl-machine.h.
1179 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1181 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
1182 to fiddle __put_limit in conjunction with __linebuf_active.
1184 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1186 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
1187 to the strong name, not the file name.
1189 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1191 * csu/initfini.c: More magic. Detect if .end is produced and put it
1192 in the output iff the compiler does.
1194 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
1195 because that is broken on alpha.
1197 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
1200 * Makerules (make-link): Install the new link with atomic mv -f in
1201 case ln itself requires the library being installed.
1203 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
1205 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
1206 i386/dl-machine.h of 960713.
1208 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
1209 (_dl_sysdep_read_whole_file): Fix result variable declaration.
1211 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1213 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
1216 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
1218 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
1219 with pointer to local variable instead of NULL.
1221 1996-07-15 Paul Eggert <eggert@twinsun.com>
1223 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
1225 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1227 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
1228 that are already added by other means.
1230 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
1231 caller column to get those syscalls added automagically.
1233 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
1235 * login/logout.c (logout): Initialize DATA to a state that will
1236 make setutent_r happy.
1238 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1240 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
1241 instead of setting the DT_DEBUG pointer.
1243 * csu/initfini.c (_init, _fini): Generate .end directives after
1244 standalone prologues and filter them out from epilogues.
1246 * Makeconfig (rtld-installed-name): Set to ld.so.1.
1247 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
1250 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
1252 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
1254 * MakeTAGS (extract): Pass --add-comments=TRANS.
1255 * sysdeps/gnu/errlist.awk: Write comments into the output with the
1256 descriptive paragraphs from the manual preceded by TRANS.
1258 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
1259 (_dl_start): Move RESOLVE defn inside this function and #include
1260 "dynamic-link.h" a second time there.
1261 [RTLD_START]: Move use of this after _dl_start function.
1263 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
1265 * elf/rtld.c: Include <string.h>.
1267 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
1268 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
1269 Conditionalize defns on [RESOLVE].
1270 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1272 Instead use RESOLVE macro with same args.
1273 (elf_machine_rel): Conditionalize defn on [RESOLVE].
1274 * elf/dl-reloc.c (RESOLVE): New macro, define before including
1275 "dynamic-link.h". It replaces `resolve' local function.
1276 * elf/dl-runtime.c: Likewise.
1277 * elf/rtld.c: Likewise.
1279 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
1281 * elf/dl-open.c (_dl_open): Force an indirect call for
1282 _dl_relocate_object so there is no chance a PLT fixup will be done
1283 and clobber _dl_global_scope before our call happens.
1285 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
1286 to =t; must operate on top of fp reg stack, not second from top.
1287 Correct input constraint to 0 from t; must be explicit when input and
1288 output are the same register.
1289 (floor): Use __volatile instead of volatile.
1292 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
1295 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1297 * manual/Makefile (lib): New phony target. Depend on stamp files.
1298 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
1300 1996-07-13 Paul Eggert <eggert@twinsun.com>
1302 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
1303 to match Emacs format-time-string specification.
1304 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
1306 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1308 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
1309 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
1310 between MAP and its deps.
1311 * elf/link.h: Fix decl.
1312 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
1313 colon-separated list of names, map those and pass vector of ptrs as
1314 PRELOADS list to _dl_map_object_deps.
1315 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
1316 _dl_map_object_deps with empty preload list.
1317 * elf/dl-open.c (_dl_open): Likewise.
1319 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
1321 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
1322 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
1323 Conditionalize defn on [! MAP_ANON].
1324 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
1326 * elf/rtld.c (dl_main): Likewise.
1327 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
1328 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
1330 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
1332 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
1334 * stdlib/random.c (__random): Declare as int32_t to be in sync
1337 * socket/Makefile (headers): Add socketbits.h.
1339 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
1342 * grp/initgroups.c (initgroups): Add groups that user is a member
1343 of, not the ones he is _not_ a member of.
1345 * nss/nsswitch.c (known_compare): Make known_compare() a static
1346 instead of a local function. The latter are difficult to debug
1347 and slow to execute on certain platforms.
1349 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
1350 place of sizeof (dev). The size of a literal string includes the
1353 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
1355 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
1357 * misc/mntent.c (addmntent): Seek to end of file before writing
1358 entry. Return 1 on error, not -1.
1360 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
1362 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
1365 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
1367 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
1368 shift amount for Jensen must be 5 not 4.
1370 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1372 * socket/sys/socket.h (struct osockaddr): New type.
1374 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
1376 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
1377 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
1378 and `long double' versions can be generated.
1379 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
1380 so that included efgcvt{,_r}.c file generate `long double'
1382 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
1385 * manual/startup.texi: Document new getsubopt function.
1386 * manual/examples/subopt.c: New example program for documenting
1389 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
1391 * stdlib/Makefile (routines): Add getsubopt.
1392 * stdlib/stdlib.h: Add prototype for getsubopt.
1393 * stdlib/getsubopt.c: New file. Implement getsubopt function
1394 to handle suboption parsing.
1396 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1398 * inet/getnetent_r.c: Define NEED_H_ERRNO.
1399 * inet/getnetbynm_r.c: Likewise.
1400 * inet/getnetent.c: Likewise.
1401 * inet/getnetbyad_r.c: Likewise.
1402 * inet/getnetbyad.c: Likewise.
1403 * inet/getnetbynm.c: Likewise.
1405 * sysdeps/generic/pselect.c: Include <sys/time.h>.
1407 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
1410 * math/Makefile (calls): Add s_frexp, s_ldexp.
1411 (routines): Remove them and &f from here.
1413 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
1415 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
1418 * nss/nss_files/files-XXX.c: Comment fix.
1420 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
1422 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
1423 of reentrant function.
1424 (setup): Pass additional argument with function name we are
1426 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
1427 new argument {SET,END,GET}FUNC_NAME_STRING.
1429 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
1430 we return a pointer.
1432 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1434 * nss/nss_files/files-parse.c: Add comment about things to #define.
1436 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
1438 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
1439 terminator char as an error.
1441 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
1443 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
1445 * catgets/gencat.c (write_out): Move code to determine new
1446 best size out of inner loop.
1448 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
1450 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
1451 implementation of frexp() function.
1452 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
1453 implementation of ldexp() function.
1455 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
1458 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
1460 * misc/mntent.c: Include <sys/types.h>.
1461 (endmntent): Return 1 one success, 0 on failure.
1462 (getmntent): Chop newline and ignore empty lines.
1464 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1466 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
1467 differently based on [RTLD_BOOTSTRAP].
1468 (elf_machine_rela): Use it instead of the fn ptr arg directly.
1470 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1472 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
1473 __glob_closedir_hook): Remove decls.
1475 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
1477 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
1478 for send and connect syscalls.
1480 * socket/sys/socket.h: New file, taken from non-sysdep parts of
1481 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
1482 Declare __ names for send and connect.
1483 * sysdeps/generic/socketbits.h: New file.
1484 * sysdeps/unix/sysv/linux/socketbits.h: New file.
1485 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
1486 * sysdeps/generic/sys/socket.h: File removed.
1488 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
1489 * sysdeps/mach/hurd/send.c: Likewise.
1491 * sysdeps/mach/libc-lock.h: New file.
1492 * sysdeps/unix/readdir.c: Do locking.
1493 * sysdeps/unix/seekdir.c: Likewise.
1494 * sysdeps/unix/rewinddir.c: Likewise.
1495 * sysdeps/unix/closedir.c: Likewise.
1496 * sysdeps/unix/bsd/telldir.c: Likewise.
1497 * sysdeps/mach/hurd/seekdir.c: Likewise.
1498 * sysdeps/mach/hurd/readdir.c: Likewise.
1499 * sysdeps/mach/hurd/closedir.c: Likewise.
1500 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
1501 * sysdeps/unix/opendir.c: Likewise.
1502 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
1503 (struct __dirstream): Add lock member using __libc_lock_define.
1504 * sysdeps/unix/dirstream.h: Likewise.
1506 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
1508 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
1510 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
1512 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
1514 * locale/programs/stringtrans.c: Fix typo in copyright.
1516 * stdio-common/printf-prs.c: Add casts to prevent
1517 signed<->unsigned warnings.
1519 * stdio-common/printf-parse.h: Initialize state variable before
1521 * stdio-common/printf-prs.c: Don't initialize state variable here.
1522 * stdio-common/vfprintf.c: Don't initialize state variable.
1523 (vfprintf): While determining length of multibyte string don't
1524 try to be clever in determining characters to use for first
1527 Add real implementation of multibyte<->wide char conversion
1528 functions. The functions always convert between the fixed wide
1529 char format (ISO 10646 in UCS4) and the UTF8 representation of
1530 this character set. Conversion between the currently used
1531 8bit character set and ISO 10646 will not take place. This is
1532 what iconv() is for.
1533 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
1535 Add optimized version of `mbrlen' function.
1536 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
1538 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
1540 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
1541 This is needed in the wchar.h header.
1542 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
1543 encoded character to UCS4.
1544 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
1545 element of `mbstate_t' for initial state.
1546 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
1547 encoded string to UCS4 string.
1548 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
1549 character to UTF8 encoded form.
1550 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
1551 encoded string to UTF8 encoded form.
1553 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1555 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
1556 variable name, so new a libc with new requirements won't fail to
1557 notice an insufficient Linux version.
1559 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
1561 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
1562 instead of 2.0 headers.
1564 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
1566 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
1567 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
1569 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
1570 before using it in lhs of weak_alias.
1572 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
1573 Call __nss_lookup when not setting STARTP.
1574 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
1575 function-calling loop.
1577 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
1579 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
1580 PENDIN, NOFLSH): Undefine these at start if they are already
1581 defined to avoid collision with termbits.h.
1582 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
1583 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
1585 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1587 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
1588 already defined to float, long double. Use those macros for _Mdouble_
1589 defns when including mathcalls.h.
1590 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
1591 -D_Mlong_double_=double.
1593 Add more -lm functions to -lc because ldexp uses them.
1594 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
1595 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
1596 ldexp have both f and l code, and those have f though not l code.
1598 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
1600 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
1601 error is 0. The "placeholder" entries recently added to
1602 errno.texi convert to zero since `???/' is at the front of them.
1603 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
1605 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
1606 __const to conform with unistd.h.
1608 * stdlib/stdlib.h (random): Declare return type to be int32_t.
1610 * string/argz-delete.c (argz_delete): Use memmove instead of
1611 memcpy for possibly overlapping strings.
1613 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1615 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
1616 storage class. GCC gives an error for non-extern data defns with the
1619 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1621 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
1622 memmove instead of memcpy for possible overlapping strings.
1624 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1626 * libc-symbols.h (weak_function): New macro.
1627 For GCC 2.7+ define as __attribute__ ((weak)).
1628 * elf/dl-minimal.c: Use weak_function as keyword in function defns
1629 instead of weak_symbol (NAME) after the defn.
1630 * stdlib/strtol.c: Likewise.
1631 * stdlib/strtod.c: Likewise.
1632 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1634 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
1635 If this is defined, don't declare _dl_rtld_map as weak, and
1636 don't check for MAP pointing to it. RESOLVE is always null in this
1637 case, so test with #ifdef instead of if.
1639 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
1641 * csu/initfini.c (_init): Likewise.
1642 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
1643 * misc/efgcvt_r.c: Likewise.
1644 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1647 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
1648 It was not used in any assembler code.
1649 (weak_symbol_asm): Renamed to weak_extern_asm.
1650 (weak_extern): New macro replaces weak_symbol for weak extern refs;
1651 define to weak_extern_asm for [!ASSEMBLER].
1653 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1655 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
1656 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
1657 define those now as aliases.
1658 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
1659 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
1660 after GCC weak attribute decl.
1662 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
1663 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
1664 (element printer): Check for elt in ALIAS, instead of special case
1667 * io/Makefile (headers): Add sys/vfs.h.
1668 * io/sys/vfs.h: New file.
1670 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
1671 critical section lock before unlinking dying active resources.
1672 The unlock just before return is right (i.e. old code unlocked twice).
1674 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
1676 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
1677 Use memmove instead of memcpy where overlap is possible (not
1678 necessary using current implementation of memcpy, but...).
1679 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
1681 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
1683 * stdio/linewrap.c (lwupdate): New function, mostly was
1684 __line_wrap_update. Use POINT_COL field instead of POINT.
1685 (__line_wrap_output): Use lwupdate.
1686 (__line_wrap_update): New function.
1687 (ensure_unwrapped, ensure_wrapped): New functions.
1688 (line_wrap_set_lmargin, line_wrap_set_rmargin,
1689 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1691 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
1692 POINT_COL. Add POINT_OFFS field.
1693 (__line_wrap_update): New decl.
1694 (line_wrap_set_lmargin, line_wrap_set_rmargin,
1695 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1697 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
1699 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
1701 * login/pututline_r.c (pututline_r): Since we assign RESULT from
1702 lseek now, check that it's >= 0, not == 0.
1704 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
1706 * login/login.c (login): Make a copy of *UT, fill in various
1707 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
1710 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
1711 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
1713 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1715 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
1716 signal during critical section doing interruptible RPC, if
1717 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
1718 before thread_resume. If in critical section, pass 0 for SIGNO to
1719 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
1721 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
1723 * sysdeps/unix/sysv/linux/sys/user.h: New file.
1724 * sysdeps/unix/sysv/linux/Dist: Add it.
1725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
1727 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
1728 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
1729 itself, no need to skip past a NUL.
1731 * nss/nsswitch.h (known_function): Comment fix.
1732 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
1733 directly. Do the lookup and insertion with a single call, and fill in
1734 the tree node afterwards if new.
1735 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
1737 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
1738 (struct timeval): Add bodiless decl for scope.
1740 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
1741 Move struct timespec defn outside [_TIME_H] so it can be got with
1742 #define __need_timespec.
1744 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
1745 for `struct timespec' member names.
1746 (TIMESPEC_TO_TIMEVAL): Likewise.
1748 * nss/Makefile (extra-libs-others): New variable.
1750 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
1751 $(lib) in $(extra-libs-others).
1752 * sunrpc/Makefile (extra-libs-others): New variable.
1753 (librpcsvc-no-lib-dep): Variable removed.
1755 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
1756 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
1758 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
1759 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
1760 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
1761 _dl_rtld_map weak only here.
1763 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
1765 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
1767 * login/utmp.h: Fix typos.
1769 * misc/syslog.c (vsyslog): Use __send instead of send and
1770 __connect instead of connect to avoid name-space collisions (e.g.,
1773 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1775 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
1777 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
1779 * malloc/malloc-size.c (malloc_usable_size): Renamed from
1780 malloc_object_allocation_size.
1781 * malloc/malloc.h: Fix decl.
1783 * sys/select.h: New file, wrapper header.
1785 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
1786 fd_set, associated macros, and select decl.
1788 * sysdeps/posix/isfdtype.c: New file.
1790 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
1792 The latest Japanese proposal for POSIX locales renames the
1793 CHARMAP keyword in locale definition files to CHARCONV.
1794 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
1795 function ctype_is_charmap to ctype_is_charconv.
1796 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
1798 * locale/programs/locfile-token.h: Add definition of token
1800 * locale/programs/locfile.c: Recognize charconv keyword. Rename
1801 lables according to this.
1803 * locale/weight.h (get_weight): Cast constants to prevent
1806 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
1807 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
1810 New stuff described in P1003.1g.
1811 * misc/Makefile (headers): Add sys/select.h.
1812 (routines): Add pselect.
1813 * misc/sys/select.h: New file. Declare select functions and
1814 needed data types and macros.
1815 * sysdeps/generic/pselect.c: New file. Add generic implementation
1816 of pselect() function which uses select().
1818 * posix/getconf.c: Recognize new variables from P1003.1g.
1819 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
1820 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
1821 * posix/unistd.h: Add description of the P1003.1g variables.
1822 * sysdeps/generic/confname.h: Define _SC_* values for new
1824 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
1826 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
1827 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
1829 * sysdeps/stub/sysconf.c (sysconf): Ditto.
1830 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
1831 _POSIX_SELECT since Linux has this.
1833 * socket/Makefile (routines): Add isfdtype.
1834 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
1835 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
1838 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
1840 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1842 * elf/Makefile (LDFLAGS-dl.so): New variable.
1843 (libdl.so): Depend on eval.so.
1844 (distribute): Add eval.c.
1845 * elf/eval.c: New file.
1847 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
1848 in case it wrote fewer than MAXDIGITS chars.
1850 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
1851 newline from flushing full buffer in loop, fix test so no fflush is
1852 done when last byte written exactly fills the buffer.
1854 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
1856 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
1857 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
1859 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
1860 extracting _dl_rtld_map.l_addr.
1862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
1864 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1866 * shlib-versions (*-*-*): Set libnss_db=1.
1868 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1870 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
1872 * rpm/template (%build): Use @prefix@ instead of always /usr.
1873 Set up configparms only if @prefix@ is in fact /usr.
1874 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
1876 * elf/Makefile: Add missing endif.
1878 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
1880 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
1881 (DATABASE): Define this instead of DATAFILE.
1882 * nss/nss_files/files-hosts.c: Likewise.
1883 (hostbyname): Use LOOKUP_NAME macro.
1885 * nss/nss_db/db-XXX.c: New file.
1886 * nss/Makefile (services): Add db.
1887 (libnss_db-inhibit-o): New variable.
1888 (libnss_db-routines): New variable.
1889 (distribute): Append db-XXX.c.
1890 (libnss_db.so): Depend on libdb.so and libnss_files.so.
1891 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
1893 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
1895 (DATAFILE): New macro.
1896 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
1898 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
1899 Pass db key args to DB_LOOKUP.
1900 (DATAFILE): Macro removed.
1901 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
1902 * nss/nss_files/files-service.c: Likewise.
1903 * nss/nss_files/files-pwd.c: Likewise.
1904 * nss/nss_files/files-proto.c: Likewise.
1905 * nss/nss_files/files-grp.c: Likewise.
1906 * nss/nss_files/files-ethers.c: Likewise.
1908 * elf/linux-compat.c: File removed.
1909 * elf/Makefile (distribute): Remove linux-compat.c.
1910 (ld-linux.so.1): Remove target and associated variables.
1912 * sunrpc/xdr.c: Remove malloc decl.
1913 * sunrpc/portmap.c: Likewise.
1915 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
1916 casting abort to fn returning bool_t.
1918 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
1919 the parser function.
1920 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
1921 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
1922 * nss/nss_files/files-grp.c: Likewise.
1924 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
1926 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
1928 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
1929 of ld.so so lookups for that soname find it.
1931 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
1932 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
1934 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
1935 define parse_line function.
1936 (parse_line): #define to _nss_files_parse_pwent and
1937 add extern decl for that.
1939 * nss/nss_files/files-XXX.c (internal_getent): Return
1940 NSS_STATUS_TRYAGAIN for ERANGE error.
1942 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
1943 of null, so next round returns null again instead of bombing. Fix
1946 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
1947 Remove ; after `ENTDATA_DECL (data)'.
1948 Truncate line at strpbrk (line, EOLSET "\n").
1949 (ENTDATA_DECL): Put ; at end.
1950 (MIDLINE_COMMENTS): Macro removed.
1951 * nss/nss_files/files-ethers.c: Pass new argument.
1952 * nss/nss_files/files-hosts.c: Likewise.
1953 * nss/nss_files/files-network.c: Likewise.
1954 * nss/nss_files/files-parse.c: Likewise.
1955 * nss/nss_files/files-proto.c: Likewise.
1956 * nss/nss_files/files-rpc.c: Likewise.
1957 * nss/nss_files/files-service.c: Likewise.
1958 * grp/fgetgrent.c: Likewise.
1959 * pwd/fgetpwent.c: Likewise.
1960 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
1961 fgetpwent.c already defines it.
1962 * nss/nss_files/files-grp.c: Likewise.
1964 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
1965 as well as any matching with l_libname. Fix DT_SONAME lookup to use
1966 string table properly.
1968 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
1969 invoked directly, and l_libname from that if PT_INTERP missing.
1970 Set l_name from l_libname only if not set from argv.
1972 * time/europe, time/northamerica: Updated from ADO 96i.
1974 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1976 * stdio-common/tst-ungetc.c: Include unistd.h.
1978 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
1980 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
1982 * hurd/report-wait.c (describe_number): Make I unsigned long.
1984 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
1985 actually found any entry.
1987 * login/pututline_r.c (pututline_r): If not located after any
1988 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
1989 Lock the file before stating.
1991 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1993 * nss/Makefile (databases): Change host to hosts.
1994 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
1996 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
1998 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
2000 * string/string.h (strndupa): Pass missing arg to strnlen.
2002 * inet/getnetbypt_r.c: Renamed to ...
2003 * inet/getnetbyad_r.c: this; fixed function name.
2004 * inet/getnetbypt.c: Renamed to ...
2005 * inet/getnetbyad.c: this; fixed function name.
2007 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2009 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
2012 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2014 * login/login.c (login): Initialize DATA so that setutent_r will
2015 actually do something.
2017 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
2019 * resolv/res_hconf.c (strndup): Remove function.
2021 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
2022 using ElfW() instead of Elf32_*.
2024 * sysdeps/unix/sysv/linux/alpha/init-first.h,
2025 sysdeps/unix/sysv/linux/m68k/init-first.h,
2026 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
2027 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
2028 init-first.h to make abstract machine dependent parts of
2031 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
2032 error handling. It's safer that way.
2034 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
2035 Fix by Richard Henderson.
2037 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
2038 typo/extraneous whitespace.
2040 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
2041 determine what integer sizes we're dealing with.
2043 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2045 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
2046 check for signal zero, repair logical sense of test by
2047 parenthesizing correctly.
2049 * hurd/hurdsig.c (_hurd_internal_post_signal): In
2050 check-for-pending signals code, release _hurd_siglock before
2051 jumping to deliver_pending.
2053 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
2055 * configure.in (config_machine): Make ELF the default even for
2056 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
2059 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2061 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
2062 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
2063 member only #ifdef ENTDATA.
2064 (ENTDATA_DECL): New macro.
2065 (LINE_PARSER): Use it for entdata decl.
2066 (parse_list): Find the space for LIST from DATA->linebuffer instead of
2067 from the input LINE, which might not be writable buffer space.
2068 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
2069 [ENTDATA] (parser_stclass): #define to `static inline'.
2070 [!ENDATA] (parser_stclass): #define to empty.
2071 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
2072 function is exported to -lnss_files users.
2074 * string/strndup.c: Add missing arg.
2076 * string/string.h (strndupa): Likewise.
2077 * string/strndup.c (strndup): Always terminate the string.
2079 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2081 * stdio/Makefile (routines): Add vscanf.
2082 * stdio-common/Makefile (routines): Remove vscanf.
2083 * stdio-common/vscanf.c: Move to ...
2084 * stdio/vscanf.c: here.
2086 * rpm/Makefile (headers, install-lib, install-lib.so,
2087 versioned, install-bin, install-sbin, install-data,
2088 install-others): Add $(-VARIABLE).
2090 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2092 * nss/Makefile (databases): New variable.
2093 (routines, libnss_files-routines): Use it.
2094 (subdir-dirs): Compute from $(services).
2096 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
2097 init_module, klogctl): Use EXTRA in the "caller" column so these get
2098 added to unix-extra-syscalls and thus compiled in misc.
2100 * string/Makefile (routines): Add strndup.
2101 * string/strndup.c: New file.
2102 * string/string.h: Declare strndup.
2103 (strndupa): New macro.
2105 * string/string.h: Declare __strdup.
2106 * string/strdup.c: Deansideclized. Define __ name and weak alias.
2108 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
2110 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
2112 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
2114 * grp/initgroups.c (initgroups): De-ansi-fy.
2115 Move declaration of NGROUPS and GROUPS outside #if so that
2116 the code compiles for NGROUPS_MAX != 0.
2118 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
2119 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
2120 ether_ntoa, ether_ntoa_r, and ether_ntoh.
2121 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
2122 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
2123 inet/ether_ntoh.c: New files. Implementation of functions to
2124 handle Ethernet address to host mapping.
2125 * inet/netinet/ether.h: New file. Declare ether_* functions.
2126 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
2128 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
2129 * nss/Makefile (routines): Add ethers-lookup.
2130 (libnss_files-routines): Add files-ethers.
2132 * nss/getXXent_r.c: Don't define set*ent and end*ent function
2135 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
2136 KEEP_STREAM every time called.
2137 (_nss_files_end): Reset KEEP_STREAM here instead.
2138 (internal_getent): If STREAM == NULL try to open instead of
2140 Use cast to prevent warning.
2141 Terminate read line in case the buffer is too small.
2143 * nss/nss_files/files-ethers.c: New file. Implementation of
2144 Ethernet adress<->hostname lookup through files interface.
2146 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
2147 * stdlib/mbtowc.c: Define based on mbrtowc().
2148 * stdlib/wcstombs.c: Define based on wcsrtombs().
2149 * stdlib/wctomb.c: Define based on wcrtomb().
2151 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
2152 unexpected_sizes_in_xdr_u_int.
2154 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
2155 of `struct ether_addr'.
2156 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
2157 declaration of `struct ether_addr'.
2159 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
2160 * wcsmbs/mbsrtowcs.c: Ditto.
2161 * wcsmbs/wcrtomb.c: Ditto.
2162 * wcsmbs/wcsrtombs.c: Ditto.
2164 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
2166 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2168 * hurd/get-host.c <fcntl.h>: New include.
2169 * hurd/set-host.c <fcntl.h>: New include.
2170 (_hurd_set_host_config): Include NEW in args to dir_link.
2171 Return NWROTE, not NREAD.
2173 * sysdeps/mach/hurd/getcwd.c
2174 (_hurd_canonicalize_directory_name_internal): Don't deallocate
2175 DOTID & DOTDEVID until we're finished with them (we need to keep
2176 them at least until we've fetched the next level of id ports, so
2177 that mach will be able to use the same name if they're the same).
2178 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
2179 jumps to errlose, for those places where such cleanup is needed.
2181 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2183 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
2185 Move DB code into separate -ldb library.
2186 * db/Makefile (extra-libs): New variable, list libdb.
2187 (routines): Renamed to libdb-routines.
2188 * shlib-versions: Add libdb=2.
2190 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
2191 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
2193 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
2194 of strncasecmp. Extend syntax to grok [!foo=bar].
2196 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
2198 * string/string.h: Declare __strncasecmp.
2200 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
2201 (service_alias): Variable removed.
2202 (nss_parse_service_list): New function, broken out of nss_getline.
2203 Remove alias conversion; we will just use symlinks.
2204 (__nss_database_lookup): Take new string arg DEFCONFIG.
2205 If no entry exists, make one with service list parsed from that.
2206 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
2207 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
2208 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
2210 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
2213 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
2215 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
2217 * locale/programs/locale.c (long_options): Short form of
2218 --version option is `-V'.
2219 (main): Recognize `-V' as option, not `-v'.
2220 Call `usage' instead of printing error message for illegal
2222 (usage): Document `-V'.
2224 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
2226 * sysdeps/mach/hurd/getcwd.c
2227 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
2228 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
2230 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2232 * inet/getrpcent.c: Fix macros.
2233 * inet/getrpcent_r.c: Fix macros.
2235 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
2237 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
2239 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2241 * catgets/gencat.c (write_out): Use %Zu to print variables of type
2243 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
2244 cast it to (unsigned long) to make it work both on 32 and 64
2247 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2249 * locale/Makefile (distribute): Add `programs/' prefix to all
2250 files in that directory.
2252 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
2255 * MakeTAGS (sources, headers): Make them simply expanded variables
2256 so that all-dist is expanded before it is changed.
2258 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2260 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
2261 * Makefile (subdirs): Remove crypt.
2262 * crypt: Directory removed. It will be made an independent library
2265 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
2267 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
2269 * inet/getrpcbynumber.c (BUFLEN): New macro.
2271 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
2273 * Makefile (headers): Add libc-lock.h.
2274 * sysdeps/stub/libc-lock.h: New file.
2276 * inet/getrpcbynumber.c: Remove _r typo.
2278 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
2280 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
2283 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
2284 or doesn't mention DATABASE, use an internal default equivalent to
2285 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
2286 (nss_lookup_function): Call nss_new_service as needed.
2287 (nss_parse_file): Don't bother calling nss_new_service here.
2289 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
2290 * pwd/fgetpwent.c: Likewise.
2292 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
2293 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
2294 * malloc/malloc-size.c: New file.
2295 * malloc/malloc-walk.c: New file.
2297 * malloc/malloc-find.c (malloc_find_object_address): Return null if
2298 PTR is outside the heap.
2300 * elf/dl-load.c (_dl_map_object): If the requested name matches the
2301 soname of a loaded object, use that object.
2303 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2305 * Makefile (subdirs): Add nss.
2307 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
2308 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
2309 * inet/getrpcbynumber_r.c: New file.
2310 * inet/getrpcbynumber.c: New file.
2311 * inet/getrpcbyname.c: New file.
2312 * inet/getrpcbyname_r.c: New file.
2313 * inet/getrpcent_r.c: New file.
2314 * inet/getrpcent.c: New file.
2315 * nss/rpc-lookup.c: New file.
2316 * nss/nss_files/files-rpc.c: New file.
2317 * nss/Makefile (routines): Add rpc-lookup.
2318 (libnss_files-routines): Add files-rpc.
2319 * sunrpc/Makefile (routines): Remove getrpcent.
2320 * sunrpc/getrpcent.c: File removed.
2322 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
2325 * Makeconfig (rpath-link): Add $(nssobjdir).
2326 (nssobjdir): New variable.
2328 * Makerules: Move shared library building before objects rules, so
2329 versions are known before extra-lib.mk gets included.
2330 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
2332 * pwd/getpwuid.c: Rewritten using nss.
2333 * pwd/getpwnam.c: Likewise.
2334 * pwd/getpwent.c: Likewise.
2335 * grp/getgrnam.c: Likewise.
2336 * grp/getgrgid.c: Likewise.
2337 * grp/getgrent.c: Likewise.
2338 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
2339 * pwd/getpwent_r.c: New file.
2340 * pwd/getpwnam_r.c: New file.
2341 * pwd/getpwuid_r.c: New file.
2342 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
2343 * grp/getgrnam_r.c: New file.
2344 * grp/getgrgid_r.c: New file.
2345 * grp/getgrent_r.c: New file.
2346 * grp/Makefile (routines): Remove grpopen, grpread.
2347 * pwd/Makefile (routines): Remove pwdopen, pwdread.
2348 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
2350 * pwd/fgetpwent.c: Rewritten using files-parse.c.
2351 * grp/fgetgrent.c: Likewise.
2353 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
2354 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
2355 * nss/nss_files/files-grp.c: New file.
2356 * nss/nss_files/files-pwd.c: New file.
2358 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
2360 * nss/nss_files/files-parse.c: New file.
2361 * nss/nss_files/files-XXX.c: New file.
2362 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
2363 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
2364 Rewritten using them.
2366 * nss/Makefile (libnss_files-routines): Remove files-host.
2367 Add files-hosts, files-grp, files-pwd.
2369 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
2371 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
2373 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2374 A .plt entry now loads the .rela.plt offset directly rather
2375 than making us calculate it.
2377 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2379 * time/Makefile ($(installed-localtime-file) rule): Do
2380 $(make-target-directory) first.
2382 * resolv.h: Fix wrapper for resolv/resolv.h.
2384 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
2385 Compile dummy file and pass -nostdlib -nostartfiles so as not to
2386 require installed libraries.
2388 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
2391 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
2393 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
2394 and mapv4v6hostent.h.
2395 (routines): Move res* and gethnamaddr into libresolv-routines.
2396 (libresolv-routines): New variable, put them there.
2397 (extra-libs): New variable, list libresolv.
2398 (CPPFLAGS): Add -D for get*by* to res_get*by*.
2400 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
2402 * inet/herrno.c: New file.
2404 * resolv/res_init.c: Remove res_hconf calls.
2406 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
2407 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
2408 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
2409 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
2410 nss/service-lookup.c: New files. Implementation of name
2411 service switch, following the approach in Solaris.
2412 Interface specification and general structure inspired by Peter
2413 Eriksson <pen@lysator.liu.se>.
2414 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
2415 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
2416 Implementation of libnss_files.so module for file based databases
2418 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
2419 if libnss_dns.so module for DNS name lookup in NSS service.
2421 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
2422 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
2423 Changed to serve as interface to NSS.
2424 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
2425 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
2426 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
2427 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
2428 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
2429 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
2430 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
2431 interfaces to NSS, including reentrant functions.
2433 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
2434 resolv/sethostent.c: Removed: Obsoleted by NSS.
2436 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
2437 gethnamaddr.c. These private functions are now used in more
2440 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
2442 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2444 * rpm/Makefile ($(config)): Make sure the word list in the for
2445 loop is syntactically non-empty.
2447 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2449 * Version 1.92 test release.
2451 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
2453 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
2454 to klogctl to match prototype in sys/klog.h.
2456 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
2457 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
2459 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
2460 Remove. Code is now part of __getcwd again. The old function
2461 never really worked for anything but THISDIR==".".
2463 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
2464 only when building ELF version of library.
2466 * libio/libioP.h (_IO_vscanf): Add prototype.
2468 * posix/unistd.h (syscall): Change sysno arg and return value
2471 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2473 * version.h (VERSION): Updated to 1.92.
2475 * misc/Makefile (headers): Add ar.h.
2476 * misc/ar.h: New file.
2478 * config.make.in (BUILD_CC): New variable.
2479 * configure.in: Check for BUILD_CC if $host != $build.
2481 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
2483 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
2484 (stamp$o files): New targets, create them empty, no deps.
2486 * rpm/template (Source): New field.
2487 (%prep, %build, %install): New sections.
2488 (%files): Add %doc FAQ NEWS NOTES README.
2489 * rpm/rpmrc (builddir): Removed.
2491 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2493 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
2494 guessing to not assume p_vaddr of first load cmd is zero.
2496 * sysdeps/sparc/elf/start.S: New file.
2497 * sysdeps/sparc/dl-machine.h: New file.
2499 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
2500 only for ?s, not for *s. Fix from Chet Ramey.
2502 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
2503 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
2504 Use __{BEGIN,END}_DECLS.
2505 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
2506 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
2507 New macros, moved here from sysdeps/gnu/utmpbits.h.
2508 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
2509 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
2510 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
2511 Use sizeof instead of UT_*SIZE.
2512 * login/logwtmp.c: Likewise.
2514 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
2516 * version.c (banner): Add trailing newline.
2518 * login/utmp.h: Declare login_tty.
2520 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
2522 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
2523 Changed to a 12-byte PLT entry to remove dependency on $gp.
2524 Take a new got_addr parameter.
2525 (elf_machine_rela): Pass the new parameter.
2526 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
2527 (RTLD_START): Do normal linkage with program entry.
2529 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
2531 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
2533 * hurd/getuids.c (getuids): New weak link to __getuids.
2535 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
2537 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
2538 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
2540 Rename nested function lookup to lookup_op.
2541 (__file_name_lookup, __file_name_lookup_under):
2542 Pass 0 for lookup arg to __hurd_file_name_lookup.
2543 (__file_name_split): Likewise for __hurd_file_name_split.
2544 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
2545 Rename nested function lookup to scan_lookup.
2546 (file_name_path_lookup): Pass 0 for lookup arg to
2547 hurd_file_name_path_lookup.
2548 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
2549 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
2550 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
2551 Add LOOKUP argument.
2552 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
2553 __hurd_file_name_lookup.
2555 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2557 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
2558 up a huge list just to discard most of it.
2560 * configure.in (sysnames): Avoid fgrep by using the case shell
2563 * Makeconfig (config.status): Fix dependency on Implies files.
2565 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2567 * math/Makefile (distribute): Add ieee-math.c.
2569 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
2571 * locale/codeset_name.c: New file. Provide function for information
2572 about currently used character set.
2573 * locale/Makefile (routines): Add codeset_name.
2574 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
2575 * locale/localeinfo.h: Change magic number because of incompatible
2577 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
2578 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
2580 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
2581 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
2583 * locale/setlocale.c (setlocale): Initialize local variables to
2586 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
2588 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
2590 * locale/programs/locale.c: Include string.h.
2592 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
2593 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
2594 appropriate sign-extension is performed on machines with
2597 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
2598 sizeof(int)<sizeof(long), we need to go through a temporary
2601 * locale/programs/ld-numeric.c: Include <alloca.h>
2603 * libio/stdio.h (__libc_fatal): Add prototype.
2605 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
2608 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
2609 volatile to avoid "might get clobbered by longjmp" warning.
2611 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
2612 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
2613 probability is a sure loser).
2614 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
2616 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
2617 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
2619 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
2620 to be Linux FSSTND compliant.
2622 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
2624 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
2626 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
2627 sysdeps/unix/sysv/linux/alpha/brk.S,
2628 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2629 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2630 sysdeps/unix/sysv/linux/alpha/llseek.S,
2631 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2632 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
2633 __syscall_error to avoid intruding application name space.
2635 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
2636 to SYS_get?id so that syscall stubs in sysdeps/unix define
2637 these syscalls in terms of getxpid/getxuid/getxgid.
2639 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
2640 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
2641 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
2642 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
2644 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
2645 (PSEUDO_END): Rename END() to PSEUDO_END().
2647 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
2648 to PSEUDO_END to improve branch-prediction. Include .frame
2649 directive to make syscalls debugabble.
2650 (PSEUDO_END): New macro.
2652 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
2653 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
2654 latter is illegal under DEC Unix.
2656 * sysdeps/unix/alpha/sysdep.S: Renamed from
2657 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
2659 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
2660 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
2661 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
2663 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
2664 address register in the .frame directive.
2666 * sysdeps/alpha/copysign.c: Remove.
2668 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
2669 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
2671 * errno.h: Move __END_DECLS to correct place to make file
2672 compilable under c++.
2674 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
2675 d_ino only if <direntry.h> hasn't defined d_fileno.
2677 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
2678 arguments to weakext to make .weakext detection work on ECOFF systems.
2680 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
2681 that _validuser() has been replaced by __ivaliduser().
2683 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
2685 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
2686 as unsigned long, not as int (to avoid incorrect int->long
2691 See ChangeLog.5 for earlier changes.