1 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
3 * version.h: Bump version number to 1.97.
5 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
6 Include libc-version.h.
7 * features.h.in: Removed.
8 * Makefile: Change rules to generate libc-version.h instead of
11 * malloc/free.c: Add cast to prevent warning.
12 * malloc/malloc-walk.c: Likewise.
13 * malloc/ralloc.c: Likewise.
14 * malloc/realloc.c: Likewise.
16 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
18 * pwd/fgetpwent_r.c: Likewise.
19 * nss/nss_files/files-grp.c: Don't accept entries with names starting
20 with + or - in lookup functions.
21 * nss/nss_files/files-pwd.c: Likewise.
23 * Makerules: Call autolock.sh using $(SHELL).
25 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
27 * elf/dl-minimal.c: Don't define `dgettext' replacement but
28 `dcgettext'. When optimizing the macros in <libintl.h> define
29 `dgettext' as a macro and so this function will never be called.
31 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
33 * sysdeps/i386/sysdep.h: Define END to use .size when available.
34 (PSEUDO_END): Use END.
35 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
36 define SYSCALL_ERROR_HANDLER before using END.
37 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
38 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
39 and .size directive but PSEUDO_END.
40 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
41 * sysdeps/unix/sysv/linux/socket.S: Likewise.
42 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
43 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
44 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
45 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
46 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47 * sysdeps/i386/bsd-setjmp.S: Likewise.
48 * sysdeps/i386/memchr.S: Likewise.
49 * sysdeps/i386/memcmp.S: Likewise.
50 * sysdeps/i386/setjmp.S: Likewise.
51 * sysdeps/i386/stpcpy.S: Likewise.
52 * sysdeps/i386/stpncpy.S: Likewise.
53 * sysdeps/i386/strchr.S: Likewise.
54 * sysdeps/i386/strcspn.S: Likewise.
55 * sysdeps/i386/strpbrk.S: Likewise.
56 * sysdeps/i386/strrchr.S: Likewise.
57 * sysdeps/i386/strspn.S: Likewise.
58 * sysdeps/i386/strtok.S: Likewise.
59 * sysdeps/i386/i486/strcat.S: Likewise.
60 * sysdeps/i386/i486/strlen.S: Likewise.
61 * sysdeps/i386/i586/memset.S: Likewise.
62 * sysdeps/i386/i586/strchr.S: Likewise.
63 * sysdeps/i386/i586/strlen.S: Likewise.
65 * sysdeps/i386/strlen.c: De-ANSI-fy.
67 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
68 Define dgettext if not defined to use dcgettext.
69 * sysdeps/mach/_strerror.c: Likewise.
71 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
72 __syscall_error defined..
74 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
76 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
77 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
78 now provided by PSEUDO_END.
79 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
80 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
81 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
82 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
83 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
85 * sysdeps/generic/sysdep.h (END): Provide default empty
87 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
89 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
90 (PSEUDO_END): Include it here instead.
91 (SYSCALL_ERROR_HANDLER): Remove type directive.
92 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
93 * sysdeps/m68k/bsd-setjmp.S: Likewise.
94 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
95 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
96 (__syscall_error): Can't use ENTRY macro.
98 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
100 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
103 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
105 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
106 to beginning of function. So libc functions can use this flag.
107 * sysdeps/generic/_strerror.c: Don't use dgettext for message
108 translation while `_dl_starting_up' is nonzero.
110 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
112 Pass parameter value to _dl_map_object.
113 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
114 If TRACE_MODE is nonzero don#t signal error when shared lib
115 is not found. Instead create fake entry for link map.
116 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
117 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
118 argument to _dl_map_object_deps.
119 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
120 _dl_map_object and _dl_map_object_deps.
121 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
122 and _dl_map_object_deps.
123 When mode == trace test for l_opencount == 0 before printing
124 link information since this means the lib is not found.
126 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
128 * rpm/template: Add INSTALL to %doc line to follow copyright
129 restrictions which demand the distribution of the copyright
130 messages in INSTALL even for binary distributions.
132 * features.h: Rename to...
133 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
134 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
135 and __GNU_LIBRARY_INTERFACE__.
136 * Makefile ($(objpfx)features.h): New rule to generate features.h
137 from template features.h.in.
139 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
141 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
143 * locale/programs/linereader.c (lr_open): Cast away const before free.
144 (lr_close): Likewise.
146 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
147 * misc/paths.h: Move to ...
148 * sysdeps/generic/paths.h: ... here.
150 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
151 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
153 * nss/nss_db/db-netgrp.h: Include <string.h>.
155 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
156 _sys_siglist, which result in the "Unknown signal" message.
157 * string/strsignal.c: Likewise.
158 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
159 don't auto-generate siglist.c.
160 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
161 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
162 autogenerate makes bootstrapping and cross-compiling much easier.
163 * sysdeps/unix/sysv/linux/siglist.h: New file.
165 * stdlib/longlong.h: Prototype __udiv_qrnnd.
167 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
168 sys/io.h. It is already added in .../linux/Makefile.
170 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
171 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
172 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
174 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
176 Add implementation of POSIX.1g function getaddrinfo.
177 * posix/Makefile (routines): Add getaddrinfo.
178 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
180 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
181 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
182 related constants and structures.
184 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
186 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
187 Make all old names weak alises so that they can be replaced
190 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
192 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
193 __flockfile and __funlockfile.
194 Reported by NIIBE Yutaka.
196 * crypt/md5.c: Change form of copyright message according to GNITS
198 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
199 and `md5_read_ctx' function.
200 * crypt/md5.h: Likewise.
202 * grp/testgrp.c: Don't use perror for error cases since getgr* and
203 getpw* functions do not return usable error codes.
205 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
207 * crypt/md5.c (md5_process_bytes): Used casting for pointer
210 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
212 * sunrpc/Makefile (others): Remove portmap here, too.
214 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
216 * intl/locale.alias: Language for entry `czech' is `cs'.
218 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
220 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
222 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
224 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
225 buggy and more competent people work on a usable version which is
226 distributed separately.
227 * sunrpc/portmap.c: Removed.
228 Suggested by Thorsten Kukuk.
230 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
232 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
235 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
237 * string/Makefile (tests): Add stratcliff.
238 * string/stratcliff.c: New file. Test for string function at
239 the edge of the usable memory.
241 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
243 * Makerules ($(libdir)/libc.so): Fix typo.
245 * elf/ldd.sh.in: Test whether given file really exist and give
246 better message if it is not available.
248 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
250 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
253 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
255 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
256 output to $@T and move to $@ later since the new rpcgen will not
257 overwrite existing files.
259 * po/Makefile (libc.pot): Fix typo.
261 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
263 Update rpcgen program to TI-rpc code.
264 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
265 (distribute): Add proto.h.
266 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
267 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
268 * sunrpc/rpc_cout.c: Likewise.
269 * sunrpc/rpc_hout.c: Likewise.
270 * sunrpc/rpc_main.c: Likewise.
271 * sunrpc/rpc_parse.c: Likewise.
272 * sunrpc/rpc_parse.h: Likewise.
273 * sunrpc/rpc_scan.c: Likewise.
274 * sunrpc/rpc_scan.h: Likewise.
275 * sunrpc/rpc_svcout.c: Likewise.
276 * sunrpc/rpc_util.c: Likewise.
277 * sunrpc/rpc_util.h: Likewise.
279 * sunrpc/rpc_tblout.c: New file.
280 * sunrpc/rpc_sample.c: Likewise.
282 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
284 * sysdeps/unix/opendir.c: Add semicolon for consistency.
286 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
288 * locale/programs/localedef.c (main): Test with -1 to find out
291 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
293 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
296 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
298 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
300 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
302 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
303 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
304 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
305 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
306 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
308 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
309 Correct generation of system call.
311 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
313 * Makerules (sysd-Makefile): Fix command so that it works in the
315 (BUILD_CFLAGS): Change back using $(..) instead of
316 $(common-objpfx), the latter fails in the toplevel directory when
317 $(objdir) is relative.
318 (common-objdir-compile): Run compiler in $(objdir).
319 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
321 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
323 * string/string.h [__USE_SVID]: Add prototype for swab.
324 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
325 Reported by Andreas Jaeger.
327 The available nlist implementation is not generally usable.
328 Especially on the currently supported ELF systems the nlist
329 function comes with the libelf.
330 * misc/Makefile (headers): Remove nlist.h.
331 (routines): Remove nlist.
333 * Makefile ($(objpfx)version-info.h): Include information about
334 system the libc is built on in version-info.h file.
336 * po/Makefile (distribute): Add header.pot.
338 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
340 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
341 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
342 * misc/error.c: Likewise.
344 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
346 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
348 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
350 * crypt/Makefiel (rpath-link): Extend search path to current directory.
352 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
354 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
357 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
359 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
361 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
363 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
365 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
368 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
370 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
373 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
375 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
377 (PSEUDO_END): Provide definition to use .size directive.
378 (PSEUDO): Don't interpret negative return values less than -128 as
380 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
382 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
384 * sysdeps/m68k/bsd-setjmp.S: Likewise.
385 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
386 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
387 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
388 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
389 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
390 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
391 explicit .size directive.
393 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
395 * shlib-versions: Add version number/name for ld.so.
396 * Makeconfig: Move definition of rtld-installed-name after
397 inclusion of soversions.mk.
398 Don't add . before version number from shlib-versions file when
399 when name does not start with digit. This is needed for ld.so.
401 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
403 * libio/iogets.c: Warn when gets is used.
404 * stdio/gets.c: Strengthen the warning.
406 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
408 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
409 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
410 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
411 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
412 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
414 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
415 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
416 appropriate values according to __USE_REENTRANT.
417 * libio/stdio.h: Add prototype for ftrylockfile.
418 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
419 getc, getchar, putc, and putchar using _IO_* names.
420 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
421 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
422 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
423 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
424 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
425 * libio/peekc.c: New file.
427 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
430 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
432 * crypt/Makefile (tests): Add md5test and md5c-test.
433 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
434 is called, the buffer limit is honoured and a loop in a inner
436 * crypt/md5.h (struct md5_ctx): Add new fields.
437 Add prototypes for new functions.
438 * crypt/md5.c (md5_init_ctx): Initialize new fields.
439 (md5_finish_ctx): New function. Like md5_read_ctx but before
440 perform correct finalization.
441 (md5_process_bytes): New function. Similar to md5_proces_block,
442 but does not require input size to be multiple of 64.
443 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
444 (md5_buffer): Likewise.
445 (md5_process_block): Count number of bytes.
446 * crypt/md5test.c: New file. Test program for MD5 functions.
447 * crypt/md5c-test.c: New file: Test program for MD5 crypt
452 cd * time/strptime.c: Recognize %s, %u, %g, and %G format.
454 * posix/getopt.c: Add some more casts and initializations to
457 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
459 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
460 an extra function to provide this functionality.
461 (cfgetospeed): Simply return masked value.
462 (cfsetospeed): Don't use speeds array and so we can simply test
463 the value of SPEED for illegal values.
464 * termios/cfsetspeed.c: Rewrite. We convert here between the
465 real values and the B* constants.
466 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
468 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
470 * locale/programs/xstrdup.c: Define prototypes.
471 * locale/programs/xmalloc.c: Likewise.
473 * stdio-common/xbug.c (main): Change definition to avoid warning.
475 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
477 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
479 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
481 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
482 "$(i18ndir)/charmaps".
484 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
486 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
487 to get definition of FPU description struct.
489 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
490 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
491 net/if_arp.h, and net/route.h.
492 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
493 * sysdeps/unix/sysv/linux/net/route.h: New file.
495 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
497 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
498 * sysdeps/stub/e_acosl.c: Likewise.
499 * sysdeps/stub/e_asinl.c: Likewise.
500 * sysdeps/stub/e_atan2l.c: Likewise.
501 * sysdeps/stub/e_expl.c: Likewise.
502 * sysdeps/stub/e_fmodl.c: Likewise.
503 * sysdeps/stub/e_log10l.c: Likewise.
504 * sysdeps/stub/e_logl.c: Likewise.
505 * sysdeps/stub/e_sqrtl.c: Likewise.
506 * sysdeps/stub/s_atanl.c: Likewise.
507 * sysdeps/stub/s_log1pl.c: Likewise.
509 * Makefile (distribute): Add nsswitch.h and netgroup.h.
511 * nss/Makefile (generated): db-netgrp.c is not generated.
513 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
515 * Make-dist (+out): Add $(dont_distribute).
517 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
519 * stdio-common/Makefile (routines): Add tmpnam_r.
521 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
523 * version.h: Bump version to 1.96.
525 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
527 * stdio-common/tst-printf.c: Some more cleanups.
529 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
531 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
532 * resolv/resolv.h: Likewise.
533 * resolv/gethnamaddr.c: Likewise.
534 * resolv/res_comp.c: Likewise.
535 * resolv/res_debug.c: Likewise.
536 * resolv/res_init.c: Likewise.
537 * resolv/res_send.c: Likewise.
538 * resolv/Banner: Update version number.
540 * nss/nss_dns/dns-host.c: Update according to change in
541 resolv/gethnamaddr.c.
543 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
545 * crypt/md5.c (md5_stream): When reading the block in several
546 pieces append to instead of replace previously read data.
548 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
550 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
551 last-byte-written bit for source word misalignment.
552 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
555 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
557 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
558 comes with glibc-nis.
559 * sunrpc/rpcsvc/yp.x: Removed.
561 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
562 for *CURSOR to be NULL and dump a core if yes.
564 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
566 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
567 including <errnos.h> to get error numbers.
569 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
571 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
572 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
573 Alpha people find a correct file.
574 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
575 an alias of __cabs since the structures have different names.
576 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
577 Reported by Matthew Jacob <mjacob@feral.com>.
579 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
581 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
582 so that it still works right if we happen to get called in a
583 subdir it still works.
585 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
586 as file name translation flags.
587 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
588 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
591 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
592 name (changed according to libc-name) to avoid getting the
593 Hurd-ish linker script for libc.a when we only want the archive
596 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
598 * time/strftime.c: Allow old K&R compilers compile this file.
600 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
602 * posix/execlp.c: Add first argument parameter to be compliant
603 with POSIX. Rearrange body to start vararg counter after
606 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
608 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
609 simply a wrapper around the <linux/elfcore.h> file since the
610 kernel header is not clean enough. We provide the definitions
611 in this file instead.
613 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
615 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
616 get?id calls by using __libc_enable_secure.
618 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
620 * inet/getnetgrent_r.c: Correct netgroup implementation. A
621 specification of a netgroup can also name another netgroup.
622 * nss/nss_files/files-netgrp.c: Likewise.
623 * inet/netgroup.h: Add fields to hold additional information.
625 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
627 * posix/getopt.c: Implement POSIX -W option handling. When the
628 option string contains "W;" -W foo is handled like --foo.
630 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
632 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
633 inclusing <errnos.h> so we really get error symbols defined.
634 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
635 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
637 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
638 size array for getgroups call. Instead get maximal number via
639 sysconf. But discard list to NGRPS elements before calling XDR
640 function since Sun's code cannot handle longer lists.
641 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
643 * sysdeps/stub/e_j0l.c: Define y0l as well.
644 * sysdeps/stub/e_j1l.c: Define y1l as well.
645 * sysdeps/stub/e_jnl.c: Define ynl as well.
647 * posix/unistd.h: Correct prototype for execlp.
649 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
651 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
653 * Makeconfig (sysdep-library-path): New variable.
654 (built-program-cmd): Use it here to properly build a colon
655 separated library path.
657 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
659 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
660 within comparison. Fix comments.
661 (md5_crypt): Fix comment.
663 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
665 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
666 when _ERRNO_H is defined.
667 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
668 Should there ever be a Linux port where the numeric values are
669 not 33 and 34 this file must change.
671 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
673 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
676 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
678 * string/tst-strlen.c (main): Provide prototype.
679 * malloc/mallocbug.c: Likewise.
680 * io/test-utime.c: Likewise.
682 * sysdeps/generic/crypt-entry.c: Correct typo.
684 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
686 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
687 test for libc.a. Checking _DYNAMIC is of no worth here.
688 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
690 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
691 EXTERN_PARSER is defined.
693 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
695 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
697 * crypt/md5-crypt.c: Fix typos in comments.
699 * gmon/gmon.c: Provide prototypes.
700 * db/makedb.c: Likewise.
701 * locale/programs/xmalloc.c: Likewise.
702 * stdio-common/bug11.c (main): Likewise.
703 * stdio-common/bug7.c (main): Likewise.
704 * stdio-common/bug8.c (main): Likewise.
705 * stdio-common/bug9.c (main): Likewise.
706 * stdio-common/scanf1.c (main): Likewise.
707 * stdio-common/scanf2.c (main): Likewise.
708 * stdio-common/scanf5.c (main): Likewise.
709 * stdio-common/scanf6.c (main): Likewise.
710 * stdio-common/scanf7.c (main): Likewise.
711 * stdio-common/scanf8.c (main): Likewise.
712 * stdio-common/temptest.c (main): Likewise.
713 * stdio-common/test-fwrite.c (main): Likewise.
714 * stdio-common/tst-printf.c: Likewise.
715 * stdio-common/tstdiomisc.c: Likewise.
716 * stdio-common/tstgetln.c (main): Likewise.
717 * stdlib/testmb.c (main): Likewise.
719 * stdio-common/scanf4.c (main): Correct prototype, remove unused
722 * stdio-common/scanf3.c (main): Correct prototype, change
723 declaration of s to reduce warnings.
724 * stdio-common/bug10.c (main): Likewise.
726 * stdio-common/tfformat.c: Provide prototype, remove unused
727 reference to dump_stats, add braces in sprint_doubles.
728 * stdio-common/tiformat.c: Likewise.
730 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
733 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
735 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
737 * shadow/putspent.c: Don't write colon after flag field.
739 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
741 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
742 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
743 * sysdeps/unix/sysv/linux/Dist: Mention new files.
745 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
747 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
748 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
750 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
751 by using __libc_enable_secure variable.
753 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
755 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
756 null, don't attempt mach_port_mod_refs.
758 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
760 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
761 sysdeps/unix/pipestream.c.
763 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
764 from sysdeps/mach/hurd/readdir.c.
766 * stdio/freopen.c: Complete de-ansideclification.
767 * stdio/fgets.c (fgets): Likewise.
768 * stdio/getdelim.c (__getdelim): Likewise.
769 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
772 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
773 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
775 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
776 STAT_LOC without error.
778 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
780 * posix/getopt.c: Add casts to prevent warnings.
781 * posix/regex.c: Likewise.
783 * math/Makefile (long-m-routines, long-m-yes): Define to correct
784 values to make `long double' functions available.
785 (distribute): Add $(long-m-yes:=.c).
787 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
788 Use long double instruction.
790 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
791 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
792 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
794 * sysdeps/libm-ieee754/e_coshl.c: New file.
796 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
797 for `long double' version as alias.
798 * sysdeps/libm-ieee754/s_atan.c: Likewise.
799 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
800 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
801 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
802 * sysdeps/libm-ieee754/s_cos.c: Likewise.
803 * sysdeps/libm-ieee754/s_erf.c: Likewise.
804 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
805 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
806 * sysdeps/libm-ieee754/s_finite.c: Likewise.
807 * sysdeps/libm-ieee754/s_floor.c: Likewise.
808 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
809 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
810 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
811 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
812 * sysdeps/libm-ieee754/s_logb.c: Likewise.
813 * sysdeps/libm-ieee754/s_modf.c: Likewise.
814 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
815 * sysdeps/libm-ieee754/s_rint.c: Likewise.
816 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
817 * sysdeps/libm-ieee754/s_significand.c: Likewise.
818 * sysdeps/libm-ieee754/s_sin.c: Likewise.
819 * sysdeps/libm-ieee754/s_tan.c: Likewise.
820 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
821 * sysdeps/libm-ieee754/w_acos.c: Likewise.
822 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
823 * sysdeps/libm-ieee754/w_sin.c: Likewise.
824 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
825 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
826 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
827 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
828 * sysdeps/libm-ieee754/w_drem.c: Likewise.
829 * sysdeps/libm-ieee754/w_exp.c: Likewise.
830 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
831 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
832 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
833 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
834 * sysdeps/libm-ieee754/w_j0.c: Likewise.
835 * sysdeps/libm-ieee754/w_j1.c: Likewise.
836 * sysdeps/libm-ieee754/w_jn.c: Likewise.
837 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
838 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
839 * sysdeps/libm-ieee754/w_log.c: Likewise.
840 * sysdeps/libm-ieee754/w_log10.c: Likewise.
841 * sysdeps/libm-ieee754/w_pow.c: Likewise.
842 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
843 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
844 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
845 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
847 Stub files for missing long double math functions.
848 * sysdeps/stub/e_acoshl.c: New file.
849 * sysdeps/stub/e_hypotl.c: New file.
850 * sysdeps/stub/e_j0l.c: New file.
851 * sysdeps/stub/e_j1l.c: New file.
852 * sysdeps/stub/e_jnl.c: New file.
853 * sysdeps/stub/e_lgammal_r.c: New file.
854 * sysdeps/stub/e_powl.c: New file.
855 * sysdeps/stub/e_rem_pio2l.c: New file.
856 * sysdeps/stub/e_sinhl.c: New file.
857 * sysdeps/stub/k_cosl.c: New file.
858 * sysdeps/stub/k_rem_pio2l.c: New file.
859 * sysdeps/stub/k_sinl.c: New file.
860 * sysdeps/stub/k_tanl.c: New file.
861 * sysdeps/stub/s_erfl.c: New file.
862 * sysdeps/stub/s_expm1l.c: New file.
864 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
866 * sysdeps/i386/bsd-_setjmp.S: Likewise.
867 * sysdeps/i386/bsd-setjmp.S: Likewise.
868 * sysdeps/i386/memchr.S: Likewise.
869 * sysdeps/i386/memcmp.S: Likewise.
870 * sysdeps/i386/setjmp.S: Likewise.
871 * sysdeps/i386/stpcpy.S: Likewise.
872 * sysdeps/i386/stpncpy.S: Likewise.
873 * sysdeps/i386/strchr.S: Likewise.
874 * sysdeps/i386/strcspn.S: Likewise.
875 * sysdeps/i386/strpbrk.S: Likewise.
876 * sysdeps/i386/strrchr.S: Likewise.
877 * sysdeps/i386/strspn.S: Likewise.
878 * sysdeps/i386/strtok.S: Likewise.
879 * sysdeps/i386/i486/strcat.S: Likewise.
880 * sysdeps/i386/i486/strlen.S: Likewise.
881 * sysdeps/i386/i586/memset.S: Likewise.
882 * sysdeps/i386/i586/strchr.S: Likewise.
883 * sysdeps/i386/i586/strlen.S: Likewise.
884 * sysdeps/libm-i387/e_acos.S: Likewise.
885 * sysdeps/libm-i387/e_acosl.S: Likewise.
886 * sysdeps/libm-i387/e_asin.S: Likewise.
887 * sysdeps/libm-i387/e_asinl.S: Likewise.
888 * sysdeps/libm-i387/e_atan2.S: Likewise.
889 * sysdeps/libm-i387/e_atan2l.S: Likewise.
890 * sysdeps/libm-i387/e_exp.S: Likewise.
891 * sysdeps/libm-i387/e_expl.S: Likewise.
892 * sysdeps/libm-i387/e_fmod.S: Likewise.
893 * sysdeps/libm-i387/e_fmodl.S: Likewise.
894 * sysdeps/libm-i387/e_log.S: Likewise.
895 * sysdeps/libm-i387/e_log10.S: Likewise.
896 * sysdeps/libm-i387/e_log10l.S: Likewise.
897 * sysdeps/libm-i387/e_logl.S: Likewise.
898 * sysdeps/libm-i387/e_remainder.S: Likewise.
899 * sysdeps/libm-i387/e_remainderf.S: Likewise.
900 * sysdeps/libm-i387/e_remainderl.S: Likewise.
901 * sysdeps/libm-i387/e_scalb.S: Likewise.
902 * sysdeps/libm-i387/e_scalbl.S: Likewise.
903 * sysdeps/libm-i387/e_sqrt.S: Likewise.
904 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
905 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
906 * sysdeps/libm-i387/s_atan.S: Likewise.
907 * sysdeps/libm-i387/s_atanf.S: Likewise.
908 * sysdeps/libm-i387/s_atanl.S: Likewise.
909 * sysdeps/libm-i387/s_ceil.S: Likewise.
910 * sysdeps/libm-i387/s_ceilf.S: Likewise.
911 * sysdeps/libm-i387/s_ceill.S: Likewise.
912 * sysdeps/libm-i387/s_copysign.S: Likewise.
913 * sysdeps/libm-i387/s_copysignf.S: Likewise.
914 * sysdeps/libm-i387/s_copysignl.S: Likewise.
915 * sysdeps/libm-i387/s_cos.S: Likewise.
916 * sysdeps/libm-i387/s_cosf.S: Likewise.
917 * sysdeps/libm-i387/s_cosl.S: Likewise.
918 * sysdeps/libm-i387/s_finite.S: Likewise.
919 * sysdeps/libm-i387/s_finitef.S: Likewise.
920 * sysdeps/libm-i387/s_finitel.S: Likewise.
921 * sysdeps/libm-i387/s_floor.S: Likewise.
922 * sysdeps/libm-i387/s_floorf.S: Likewise.
923 * sysdeps/libm-i387/s_floorl.S: Likewise.
924 * sysdeps/libm-i387/s_ilogb.S: Likewise.
925 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
926 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
927 * sysdeps/libm-i387/s_log1p.S: Likewise.
928 * sysdeps/libm-i387/s_log1pf.S: Likewise.
929 * sysdeps/libm-i387/s_log1pl.S: Likewise.
930 * sysdeps/libm-i387/s_logb.S: Likewise.
931 * sysdeps/libm-i387/s_logbf.S: Likewise.
932 * sysdeps/libm-i387/s_logbl.S: Likewise.
933 * sysdeps/libm-i387/s_rint.S: Likewise.
934 * sysdeps/libm-i387/s_rintf.S: Likewise.
935 * sysdeps/libm-i387/s_rintl.S: Likewise.
936 * sysdeps/libm-i387/s_scalbn.S: Likewise.
937 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
938 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
939 * sysdeps/libm-i387/s_significand.S: Likewise.
940 * sysdeps/libm-i387/s_significandf.S: Likewise.
941 * sysdeps/libm-i387/s_significandl.S: Likewise.
942 * sysdeps/libm-i387/s_sin.S: Likewise.
943 * sysdeps/libm-i387/s_sinf.S: Likewise.
944 * sysdeps/libm-i387/s_sinl.S: Likewise.
945 * sysdeps/libm-i387/s_tan.S: Likewise.
946 * sysdeps/libm-i387/s_tanf.S: Likewise.
947 * sysdeps/libm-i387/s_tanl.S: Likewise.
949 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
950 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
951 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
952 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
954 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
955 to provide .size directive on ELF systems.
957 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
958 <sigcontext.h> and rename parameter type to sigcontext.
959 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
961 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
962 negative values might occur as positive results. Test against
963 -125 to decide for error or not.
964 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
966 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
968 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
969 whether this is a statically linked program. The latter is now
972 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
974 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
975 controlling terminals are allowed to send.
977 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
978 table is larger than the allowable address size, then return
981 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
985 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
987 * po/fr.po: New file.
989 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
991 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
993 Add support for MD5 crypt replacement.
994 * Makefile (subdirs): Add crypt.
995 * shlib-versions: Add entry for libcrypt.
996 * crypt/md5-crypt.c: New file.
997 * crypt/md5.c: New file.
998 * crypt/md5.h: New file.
999 * sysdeps/generic/crypt-entry.c: New file.
1000 * sysdeps/generic/crypt.h: New file.
1002 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1004 * dirent/tst-seekdir.c: Provide correct prototypes.
1005 * io/test-utime.c: Likewise.
1006 * malloc/mallocbug.c: Likewise.
1007 * posix/testfnm.c: Likewise.
1008 * stdio-common/xbug.c: Likewise.
1009 * sysdeps/posix/cuserid.c: Likewise.
1011 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
1013 Provide optimized string functions for Alpha processors.
1014 * sysdeps/alpha/bzero.S: New file.
1015 * sysdeps/alpha/memset.S: New file.
1016 * sysdeps/alpha/stpcpy.S: New file.
1017 * sysdeps/alpha/stpncpy.S: New file.
1018 * sysdeps/alpha/strcat.S: New file.
1019 * sysdeps/alpha/strchr.S: New file.
1020 * sysdeps/alpha/strcpy.S: New file.
1021 * sysdeps/alpha/strncat.S: New file.
1022 * sysdeps/alpha/strncpy.S: New file.
1023 * sysdeps/alpha/strrchr.S: New file.
1024 * sysdeps/alpha/stxcpy.S: New file.
1025 * sysdeps/alpha/stxncpy.S: New file.
1027 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
1028 stxncpy to sysdep_routines.
1031 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1033 * sysdeps/generic/gnu/types.h: Added __loff_t.
1034 Don't declare key_t here.
1036 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
1037 set errno (to ENOMEM).
1039 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
1041 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
1042 notheing is found. This guarantees all subsequent calls behave
1044 * sysdeps/generic/strtok_r.c: Likewise.
1046 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1048 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
1051 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
1053 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
1054 NULL immediately; we're going to get called one more time.
1055 * sysdeps/generic/strtok_r.c: Likewise.
1057 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
1059 * locale/programs/ld-time.c: Always write some bytes at the end of
1060 the file even if no `era's are specified.
1062 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
1065 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
1067 * libio/iofclose.c: Move unlocking to right position.
1069 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
1071 * misc/Makefile: Kill force-wrapper.
1072 * misc/force-wrapper.c: Delete.
1074 * elf/eval.c: Add <string.h>.
1076 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
1077 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
1078 and binary compatibility not at all. Better to do `char *foo'
1079 followed by `foo = ptr' as it is much cleaner.
1080 (struct gmon_hdr): Fix version.
1081 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
1082 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
1083 * gmon/gmon.c: De-ansidecl-ify.
1084 (write_hist): De-bcopy-fy.
1085 (write_call_graph): Likewise.
1087 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
1088 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
1089 * sysdeps/generic/machine-gmon.h: Likewise.
1091 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
1092 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
1093 * nss/nss_dns/dns-network.c: Likewise.
1094 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
1095 * resolv/getnetnamadr.c: Likewise.
1096 * resolv/res_debug.c: Likewise.
1097 * resolv/res_mkquery.c: Likewise.
1098 * resolv/res_query.c: Likewise.
1100 * libio/clearerr_u.c: It's not necessary to define __ protected
1101 function so don't do it.
1102 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
1103 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
1105 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
1106 the cleanup registrar.
1107 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
1108 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
1109 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
1110 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
1111 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
1112 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
1113 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
1116 * locale/programs/ld-ctype.c: Include <alloca.h>.
1118 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
1120 * posix/sys/types.h: Change #defines to typedefs. This is looking
1121 forward to more comprehensive namespace cleanups for C++.
1122 * posix/unistd.h: Likewise for ssize_t.
1124 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
1127 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
1128 `statement with no effect' warnings.
1129 * resolv/inet_neta.c: Include <string.h> for strlen.
1131 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
1132 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
1133 * stdio-common/vfprintf.c: Same for va_list.
1134 * stdio-common/vfscanf.c: Same.
1135 * stdio-common/reg-printf.c: Prototype the __ function.
1136 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
1137 _IO_vscanf declaration.
1139 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
1140 but to unsigned long for the health of 64-bit systems.
1142 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
1143 Many system's <sys/param.h> pulls this in.
1145 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
1148 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
1149 instead of defining it locally.
1151 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
1152 * sysdeps/stub/chflags.c: Prototype chflags.
1153 * sysdeps/stub/fchflags.c: Prototype fchflags.
1154 * sysdeps/stub/sstk.c: Prototype sstk.
1156 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
1157 variable to __errno. Update __syscall_error to store to both
1158 the global and per-thread variables.
1160 * sysdeps/unix/sysv/linux/init-first.c: Change include of
1161 init-first.h from "" to <> as "" does not search the include path.
1162 Prototype _dl_start.
1164 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1166 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
1167 pattern rule to get the right stem.
1169 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1171 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
1173 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1175 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
1177 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1179 * malloc/free.c (_free_internal): Don't call free recursively, use
1180 the internal functions instead.
1182 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1184 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
1185 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
1187 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1189 * catgets/gencat.c (main): Print version information on stdout,
1191 * db/makedb.c: Likewise.
1192 * locale/programs/locale.c: Likewise.
1193 * locale/programs/localedef.c: Likewise.
1195 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
1197 Add implementation of netgroup.
1198 * inet/Makefile (distributes): Add netgroup.h.
1199 (routines): Add getnetgrent.c and getnetgrent_r.c.
1200 * inet/getnetgrent.c: New file.
1201 * inet/getnetgrent_r.c: New file.
1202 * inet/netgroup.h: New file.
1203 * netgroup.h: New file.
1204 * nsswitch.h: New file.
1205 * nss/Makefile (databases): Add getgrp.
1206 * nss/databases.def: Add netgroup.
1207 * nss/db-Makefile: Add rules for netgroup.
1208 * nss/netgrp-lookup.c: New file.
1209 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
1210 always return without a check of the transition table.
1211 * nss/nsswitch.h (struct service_user): Extend actions array to
1213 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
1215 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
1216 to NSS_ACTION_RETURN.
1217 * nss/nss_db/db-netgrp.c: New file.
1218 * nss/nss_files/files-netgrp.c: New file.
1219 * nss/nsswitch.conf: Add entry for netgroup.
1220 * resolv/netdb.h: Add prototypes for netgroup functions.
1222 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
1225 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
1227 * sysdeps/unix/sysv/linux/syscalls.list: Change funciton name for
1228 _llseek to _llseek (not llseek).
1229 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
1231 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
1233 * inet/rcmd.c: Remove definition of MIN.
1235 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
1237 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
1238 * sysdeps/unix/readdir_r.c: New file.
1239 * sysdeps/unix/readdir.c: Remove check for correct parameter
1240 values. Let them simply die.
1241 * manual/filesys.texi: Document readdir_r.
1243 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
1244 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
1246 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
1248 * dirent/Makefile (routines): Add readdir_r.
1249 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
1250 * dirent/dirent.h: Add prototype for readdir_r.
1252 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
1253 to prevent warnings.
1255 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1256 Initialize `result'.
1258 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
1260 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
1262 * string/string.h: Add prototype for __strsep.
1263 * misc/mntent_r.c: Use __strsep instead of strsep to keep
1266 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
1267 __nanosleep and nanosleep weak aliases.
1268 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
1270 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
1271 nanosleep to keep namespace clean.
1273 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
1274 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
1275 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1277 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
1280 * login/Makefile (headers): Add pty.h.
1281 * login/pty.h: New file.
1282 * sysdeps/generic/pty.h: Include <pty.h>.
1283 * login/pututline_r.c: Add cast to prevent warning.
1285 * gmon/gmon.c: Add prototype for __profile_frequency.
1286 (monstartup): Add cast to prevent warning.
1287 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
1289 * locale/programs/ld-time.c (time_output): Write `era' information
1292 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
1294 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
1296 Set caller for mlock, mlockall, mremap, munlock, and munlockall
1298 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
1300 1996-09-27 Paul Eggert <eggert@twinsun.com>
1302 * strftime.c (strftime): Output incomplete formats like %E
1305 1996-09-27 Paul Eggert <eggert@twinsun.com>
1307 * strftime.c (strftime): Add support for %EC and %Ey.
1308 Fix support for %EY. This uses the new _nl_get_era_entry function.
1310 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
1312 Security related patch by Elliot Lee <sopwith@redhat.com> and
1313 David Holland <dholland@eecs.harvard.edu>.
1315 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
1316 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
1318 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
1319 NULL when programs runs with SUID or SGID enabled.
1320 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
1321 * stdlib/stdlib.h: Add prototype for __secure_getenv.
1323 * locale/setlocale.c: Use __secure_getenv.
1324 * resolv/res_init.c: Likewise.
1325 * resolv/res_query.c: Likewise.
1326 * inet/ruserpass.c: Likewise.
1327 * sysdeps/posix/tempname.c: Likewise.
1328 * malloc/mtrace.c: Likewise.
1329 * catgets/catgets.c: Likewise.
1331 Make temporary file handling functions reentrant.
1333 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
1334 result to. The called __stdio_gen_tempname function must be
1336 * stdio-common/tmpnam_r.c: New file.
1337 * stdio/stdio.h: Add prototype for `tmpnam_r'.
1338 Change prototype for __stdio_gen_tempname.
1339 * stdio/libio.h: Likewise.
1340 * sysdeps/posix/tempname.c: Add new parameters and use them instead
1342 Don't reset `indeces' when PID changed between calls.
1343 Don't fail for long running programs when index counter once
1345 * sysdeps/stub/tempname.c: Likewise.
1346 * stdio-common/tempnam.c: Provide local buffer as extra argument
1347 to __stdio_gen_tempname. This makes this function reentrant.
1348 * stdio-common/tmpfile.c: Likewise.
1349 * stdio-common/temptest.c: Provide extra argument to
1350 __stdio_gen_tempname.
1351 * manual/filesys.texi: Describe tmpnam_r and add comments about
1352 reentrancy of the functions.
1354 * inet/rcmd.c: Fixed address length handling.
1356 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
1358 * time/strftime.c: Remove unused variables alt_digits and
1361 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
1362 for get_nprocs and get_nprocs_conf.
1363 * sysdeps/generic/sys/sysinfo.h: Likewise.
1365 * stdlib/test-canon.c: Finally do the right fix.
1367 * misc/Makefile: Only compile force-wrapper when compiling
1370 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
1372 Add support for cancelable system calls.
1374 * csu/initfini.c: Make in crti.o reference to symbol
1375 __libc_force_cancel_wrapper when compiling reentrant version.
1376 * misc/Makefile (routines): Add force-wrapper.
1377 * misc/force-wrapper.c: New file.
1379 * posix/system.c: Rename function to __libc_system and make system
1381 * sysdeps/stub/system.c: Likewise.
1382 * posix/wait.c: Rename function to __libc_wait and make __wait a
1383 weak alias. De-ANSI-fy.
1384 * sysdeps/standalone/read.c: Rename function to __libc_read and
1385 make __read a weak alias.
1386 * sysdeps/stub/read.c: Likewise.
1387 * sysdeps/standalone/write.c: Rename function to __libc_write and
1388 make __write a weak alias.
1389 * sysdeps/stub/write.c: Likewise.
1390 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
1391 make tcdrain a weak alias.
1392 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1393 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
1394 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1395 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
1396 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
1397 and make __wait a weak alias.
1398 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
1399 make __waitpid a weak alias.
1400 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
1401 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
1402 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
1403 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
1404 and make pause a weak alias. De-ANSI-fy.
1406 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
1407 lseek, open, read, and write to have __libc_ prefix and make old
1409 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
1410 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
1412 * io/creat.c: De-ANSI-fy.
1414 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
1416 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
1418 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
1419 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
1421 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
1423 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
1425 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
1427 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
1429 * locale/programs/locfile.c (write_locale_data): Allocate room
1430 even for file name for LC_MESSAGES locale.
1431 (locafile_read): `tok_era' must be handled as a string list.
1432 * locale/programs/ld-time.c: Finish correction of handling `era'.
1433 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
1434 * locale/categories.def: Add postload function for LC_TIME.
1435 * locale/setlocale.c: Make lock global and rename to
1436 __libc_setlocale_lock.
1437 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
1438 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
1439 * locale/lc-time.c (_nl_postload_time): New function. Initialize
1441 (_nl_get_era_entry): New function. Return era entry which corresponds
1443 (_nl_get_alt_digit): New function. Return string with alternate
1444 digit representation for given number.
1446 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
1447 string representing alternate digit notation.
1449 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
1451 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
1452 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
1454 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
1455 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
1457 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
1459 * catgets/gencat.c (main): Change --version again because RMS wants
1460 the package name in parentheses.
1461 * db/makedb.c: Likewise.
1462 * locale/programs/locale.c: Likewise.
1463 * locale/programs/localedef.c: Likewise.
1465 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1467 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
1469 ($(objpfx)version-info.h): Depend on Banner files, command
1472 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
1474 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
1476 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
1478 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
1479 on the same device as the password file.
1480 * shadow/shadow.h (struct spwd): Change type of numeric fields
1481 to `long int' since there value are days, not seconds.
1482 * shadow/putspent.c: Change casts from time_t to `long int'.
1483 * shadow/sgetspent_r.c (LINE_READER): Likewise.
1485 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
1487 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
1488 sure the thread specific variable is set as well as the global
1490 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
1492 * sysdeps/stub/errnos.h: Likewise.
1493 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
1495 * shadow/putspent.c: Don't include <errno.h>.
1497 * dirent/scandir.c (scandir): Use __set_errno to set errno
1499 * elf/dl-load.c (open_path): Likewise.
1500 * inet/rcmd.c (rcmd): Likewise.
1501 (rresvport): Likewise.
1502 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
1503 (DCGETTEXT): Use __set_errno to set errno variable.
1504 * io/fts.c (fts_open): Likewise.
1505 (fts_close): Likewise.
1506 (fts_read): Likewise.
1507 (fts_set): Likewise.
1508 (fts_children): Likewise.
1509 (fts_build): Likewise.
1510 (fts_stat): Likewise.
1511 * io/ftw.c (ftw_dir): Likewise.
1513 * io/getwd.c (getwd): Likewise.
1514 * io/lockf.c (lockf): Likewise.
1515 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
1516 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
1517 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1518 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
1520 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1521 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
1522 * libio/ioftell.c (_IO_ftell): Likewise.
1523 * locale/loadlocale.c (_nl_load_locale): Likewise.
1524 * locale/nl_langinfo.c (nl_langinfo): Likewise.
1525 * locale/setlocale.c (ERROR_RETURN): Likewise.
1526 * login/getutid_r (__getutid_r): Likewise.
1527 * login/getutline_r (__getutline_r): Likewise.
1528 * login/login.c (tty_name): Likewise.
1529 * login/oututline_r.c (__pututline_r): Likewise.
1530 * malloc/malloc.c (morecore): Likewise.
1531 * misc/efgcvt_r.c (fcvt_r): Likewise.
1532 * misc/hsearch_r.c (hcreate_r): Likewise.
1533 (hdestroy_r): Likewise.
1534 (hsearch_r): Likewise.
1535 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
1536 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
1537 (_nss_dns_gethostbyaddr_r): Likewise.
1538 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1539 * nss/nss_files/files-parse.c (parse_list): Likewise.
1540 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
1541 * posix/execvp.c (execvp): Likewise.
1542 * posix/glob.c: Define __set_errno.
1543 (glob): Use __set_errno to set errno variable.
1544 (glob_in_dir): Likewise.
1545 * pwd/getpw.c: Likewise. De-ANSI-fy.
1546 * pwd/putpwent.c: Likewise.
1547 * resolv/inet_net_ntop.c: Likewise.
1548 * resolv/inet_net_pton.c: Likewise.
1549 * resolv/inet_neta.c: Likewise.
1550 * resolv/inet_ntop.c: Likewise.
1551 * resolv/inet_pton.c: Likewise.
1552 * resolv/res_query.c (res_search): Likewise.
1553 * resolv/res_send.c (Aerror): Likewise.
1555 (res_send): Likewise.
1556 * signal/sigaddset.c: Likewise. De-ANSI-fy.
1557 * signal/sigdelset.c: Likewise.
1558 * signal/sigempty.c: Likewise.
1559 * signal/sigfillset.c: Likewise.
1560 * signal/sigismem.c: Likewise.
1561 * stdio/fclose.c: Likewise.
1562 * stdio/feof.c: Likewise.
1563 * stdio/ferror.c: Likewise.
1564 * stdio/fflush.c: Likewise.
1565 * stdio/fgetc.c: Likewise.
1566 * stdio/fgetpos.c: Likewise.
1567 * stdio/fgets.c: Likewise.
1568 * stdio/fileno.c: Likewise.
1569 * stdio/fmemopen.c: Likewise.
1570 * stdio/fopen.c: Likewise.
1571 * stdio/fputc.c: Likewise.
1572 * stdio/fread.c: Likewise.
1573 * stdio/freopen.c: Likewise.
1574 * stdio/fseek.c: Likewise.
1575 * stdio/fsetpos.c: Likewise.
1576 * stdio/ftell.c: Likewise.
1577 * stdio/fwrite.c: Likewise.
1578 * stdio/getdelim.c: Likewise.
1579 * stdio/gets.c: Likewise.
1580 * stdio/glue.c: Likewise.
1581 * stdio/internals.c: Likewise.
1582 * stdio/memstream.c: Likewise.
1583 * stdio/setvbuf.c: Likewise.
1584 * stdio/ungetc.c: Likewise.
1585 * stdio/vsscanf.c: Likewise.
1586 * stdio-common/reg-printf.c: Likewise.
1587 * stdio-common/vfprintf.c: Likewise.
1588 * stdio-common/vfscanf.c: Likewise.
1589 * stdlib/canonicalize.c: Likewise.
1590 * stdlib/msort.c: Likewise.
1591 * stdlib/random_r.c: Likewise.
1592 * stdlib/strfmon.c: Likewise.
1593 * stdlib/strtod.c: Likewise.
1594 * stdlib/strtol.c: Likewise.
1595 * sunrpc/bindrsvprt.c: Likewise.
1596 * time/asctime.c: Likewise.
1597 * time/localtime.c: Likewise.
1598 * wcsmbs/mbrtowc.c: Likewise.
1599 * wcsmbs/mbsnrtowcs.c: Likewise.
1600 * wcsmbs/mbsrtowcs.c: Likewise.
1601 * wcsmbs/wcrtomb.c: Likewise.
1602 * wcsmbs/wcsnrtombs.c: Likewise.
1603 * wcsmbs/wcsrtombs.c: Likewise.
1604 * wcsmbs/wcstok.c: Likewise.
1605 * sysdeps/generic/ftime.c: Likewise.
1606 * sysdeps/generic/pty.c: Likewise.
1607 * sysdeps/generic/setenv.c: Likewise.
1608 * sysdeps/generic/speed.c: Likewise.
1609 * sysdeps/generic/sysd-stdio.c: Likewise.
1610 * sysdeps/generic/uname.c: Likewise.
1611 * sysdeps/generic/vlimit.c: Likewise.
1612 * sysdeps/libm-ieee754/k_standard.c: Likewise.
1613 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
1614 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
1615 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
1616 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
1617 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
1618 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
1619 * sysdeps/posix/dup2.c: Likewise.
1620 * sysdeps/posix/euidaccess.c: Likewise.
1621 * sysdeps/posix/fdopen.c: Likewise.
1622 * sysdeps/posix/flock.c: Likewise.
1623 * sysdeps/posix/fpathconf.c: Likewise.
1624 * sysdeps/posix/getcwd.c: Likewise.
1625 * sysdeps/posix/gettimeofday.c: Likewise.
1626 * sysdeps/posix/isatty.c: Likewise.
1627 * sysdeps/posix/isfdtype.c: Likewise.
1628 * sysdeps/posix/killpg.c: Likewise.
1629 * sysdeps/posix/mkstemp.c: Likewise.
1630 * sysdeps/posix/mktemp.c: Likewise.
1631 * sysdeps/posix/pathconf.c: Likewise.
1632 * sysdeps/posix/pipestream.c: Likewise.
1633 * sysdeps/posix/remove.c: Likewise.
1634 * sysdeps/posix/rename.c: Likewise.
1635 * sysdeps/posix/sigintr.c: Likewise.
1636 * sysdeps/posix/signal.c: Likewise.
1637 * sysdeps/posix/sigsuspend.c: Likewise.
1638 * sysdeps/posix/sigvec.c: Likewise.
1639 * sysdeps/posix/sleep.c: Likewise.
1640 * sysdeps/posix/sysconf.c: Likewise.
1641 * sysdeps/posix/system.c: Likewise.
1642 * sysdeps/posix/tempname.c: Likewise.
1643 * sysdeps/posix/truncate.c: Likewise.
1644 * sysdeps/posix/ttyname.c: Likewise.
1645 * sysdeps/posix/ttyname_r.c: Likewise.
1646 * sysdeps/posix/wait3.c: Likewise.
1647 * sysdeps/standalone/close.c: Likewise.
1648 * sysdeps/standalone/open.c: Likewise.
1649 * sysdeps/standalone/read.c: Likewise.
1650 * sysdeps/standalone/write.c: Likewise.
1651 * sysdeps/stub/__longjmp.c: Likewise.
1652 * sysdeps/stub/accept.c: Likewise.
1653 * sysdeps/stub/access.c: Likewise.
1654 * sysdeps/stub/acct.c: Likewise.
1655 * sysdeps/stub/adjtime.c: Likewise.
1656 * sysdeps/stub/alarm.c: Likewise.
1657 * sysdeps/stub/bind.c: Likewise.
1658 * sysdeps/stub/brk.c: Likewise.
1659 * sysdeps/stub/chdir.c: Likewise.
1660 * sysdeps/stub/chflags.c: Likewise.
1661 * sysdeps/stub/chmod.c: Likewise.
1662 * sysdeps/stub/chown.c: Likewise.
1663 * sysdeps/stub/chroot.c: Likewise.
1664 * sysdeps/stub/clock.c: Likewise.
1665 * sysdeps/stub/close.c: Likewise.
1666 * sysdeps/stub/closedir.c: Likewise.
1667 * sysdeps/stub/connect.c: Likewise.
1668 * sysdeps/stub/ctermid.c: Likewise.
1669 * sysdeps/stub/cuserid.c: Likewise.
1670 * sysdeps/stub/dirfd.c: Likewise.
1671 * sysdeps/stub/dup.c: Likewise.
1672 * sysdeps/stub/dup2.c: Likewise.
1673 * sysdeps/stub/euidaccess.c: Likewise.
1674 * sysdeps/stub/execve.c: Likewise.
1675 * sysdeps/stub/fchdir.c: Likewise.
1676 * sysdeps/stub/fchflags.c: Likewise.
1677 * sysdeps/stub/fchmod.c: Likewise.
1678 * sysdeps/stub/fchown.c: Likewise.
1679 * sysdeps/stub/fcntl.c: Likewise.
1680 * sysdeps/stub/fdopen.c: Likewise.
1681 * sysdeps/stub/fexecve.c: Likewise.
1682 * sysdeps/stub/flock.c: Likewise.
1683 * sysdeps/stub/fork.c: Likewise.
1684 * sysdeps/stub/fpathconf.c: Likewise.
1685 * sysdeps/stub/fstatfs.c: Likewise.
1686 * sysdeps/stub/fsync.c: Likewise.
1687 * sysdeps/stub/ftruncate.c: Likewise.
1688 * sysdeps/stub/fxstat.c: Likewise.
1689 * sysdeps/stub/getcwd.c: Likewise.
1690 * sysdeps/stub/getdents.c: Likewise.
1691 * sysdeps/stub/getdomain.c: Likewise.
1692 * sysdeps/stub/getdtsz.c: Likewise.
1693 * sysdeps/stub/getegid.c: Likewise.
1694 * sysdeps/stub/getenv.c: Likewise.
1695 * sysdeps/stub/geteuid.c: Likewise.
1696 * sysdeps/stub/getgid.c: Likewise.
1697 * sysdeps/stub/getgroups.c: Likewise.
1698 * sysdeps/stub/gethostid.c: Likewise.
1699 * sysdeps/stub/gethostname.c: Likewise.
1700 * sysdeps/stub/getitimer.c: Likewise.
1701 * sysdeps/stub/getlogin.c: Likewise.
1702 * sysdeps/stub/getlogin_r.c: Likewise.
1703 * sysdeps/stub/getpagesize.c: Likewise.
1704 * sysdeps/stub/getpeername.c: Likewise.
1705 * sysdeps/stub/getpid.c: Likewise.
1706 * sysdeps/stub/getppid.c: Likewise.
1707 * sysdeps/stub/getpriority.c: Likewise.
1708 * sysdeps/stub/getrlimit.c: Likewise.
1709 * sysdeps/stub/getrusage.c: Likewise.
1710 * sysdeps/stub/getsid.c: Likewise.
1711 * sysdeps/stub/getsockname.c: Likewise.
1712 * sysdeps/stub/getsockopt.c: Likewise.
1713 * sysdeps/stub/getsysstats.c: Likewise.
1714 * sysdeps/stub/gettimeofday.c: Likewise.
1715 * sysdeps/stub/getuid.c: Likewise.
1716 * sysdeps/stub/gtty.c: Likewise.
1717 * sysdeps/stub/ioctl.c: Likewise.
1718 * sysdeps/stub/isatty.c: Likewise.
1719 * sysdeps/stub/isfdtype.c: Likewise.
1720 * sysdeps/stub/kill.c: Likewise.
1721 * sysdeps/stub/killpg.c: Likewise.
1722 * sysdeps/stub/link.c: Likewise.
1723 * sysdeps/stub/listen.c: Likewise.
1724 * sysdeps/stub/lseek.c: Likewise.
1725 * sysdeps/stub/lxstat.c: Likewise.
1726 * sysdeps/stub/madvice.c: Likewise.
1727 * sysdeps/stub/mkdir.c: Likewise.
1728 * sysdeps/stub/mkfifo.c: Likewise.
1729 * sysdeps/stub/mkstemp.c: Likewise.
1730 * sysdeps/stub/mktemp.c: Likewise.
1731 * sysdeps/stub/mmap.c: Likewise.
1732 * sysdeps/stub/morecore.c: Likewise.
1733 * sysdeps/stub/mprotect.c: Likewise.
1734 * sysdeps/stub/msgctl.c: Likewise.
1735 * sysdeps/stub/msgget.c: Likewise.
1736 * sysdeps/stub/msgrcv.c: Likewise.
1737 * sysdeps/stub/msgsnd.c: Likewise.
1738 * sysdeps/stub/msync.c: Likewise.
1739 * sysdeps/stub/munmap.c: Likewise.
1740 * sysdeps/stub/nanosleep.c: Likewise.
1741 * sysdeps/stub/nice.c: Likewise.
1742 * sysdeps/stub/nlist.c: Likewise.
1743 * sysdeps/stub/open.c: Likewise.
1744 * sysdeps/stub/opendir.c: Likewise.
1745 * sysdeps/stub/pathconf.c: Likewise.
1746 * sysdeps/stub/pause.c: Likewise.
1747 * sysdeps/stub/pipe.c: Likewise.
1748 * sysdeps/stub/pipestream.c: Likewise.
1749 * sysdeps/stub/poll.c: Likewise.
1750 * sysdeps/stub/profil.c: Likewise.
1751 * sysdeps/stub/ptrace.c: Likewise.
1752 * sysdeps/stub/putenv.c: Likewise.
1753 * sysdeps/stub/raise.c: Likewise.
1754 * sysdeps/stub/read.c: Likewise.
1755 * sysdeps/stub/readdir.c: Likewise.
1756 * sysdeps/stub/readlink.c: Likewise.
1757 * sysdeps/stub/readv.c: Likewise.
1758 * sysdeps/stub/reboot.c: Likewise.
1759 * sysdeps/stub/recv.c: Likewise.
1760 * sysdeps/stub/recvfrom.c: Likewise.
1761 * sysdeps/stub/recvmsg.c: Likewise.
1762 * sysdeps/stub/remove.c: Likewise.
1763 * sysdeps/stub/rename.c: Likewise.
1764 * sysdeps/stub/revoke.c: Likewise.
1765 * sysdeps/stub/rewinddir.c: Likewise.
1766 * sysdeps/stub/rmdir.c: Likewise.
1767 * sysdeps/stub/sbrk.c: Likewise.
1768 * sysdeps/stub/sched_getp.c: Likewise.
1769 * sysdeps/stub/sched_gets.c: Likewise.
1770 * sysdeps/stub/sched_primax.c: Likewise.
1771 * sysdeps/stub/sched_primin.c: Likewise.
1772 * sysdeps/stub/sched_rr_gi.c: Likewise.
1773 * sysdeps/stub/sched_setp.c: Likewise.
1774 * sysdeps/stub/sched_sets.c: Likewise.
1775 * sysdeps/stub/sched_yield.c: Likewise.
1776 * sysdeps/stub/seekdir.c: Likewise.
1777 * sysdeps/stub/select.c: Likewise.
1778 * sysdeps/stub/semctl.c: Likewise.
1779 * sysdeps/stub/semget.c: Likewise.
1780 * sysdeps/stub/semop.c: Likewise.
1781 * sysdeps/stub/send.c: Likewise.
1782 * sysdeps/stub/sendmsg.c: Likewise.
1783 * sysdeps/stub/sendto.c: Likewise.
1784 * sysdeps/stub/setdomain.c: Likewise.
1785 * sysdeps/stub/setegid.c: Likewise.
1786 * sysdeps/stub/setenv.c: Likewise.
1787 * sysdeps/stub/seteuid.c: Likewise.
1788 * sysdeps/stub/setgid.c: Likewise.
1789 * sysdeps/stub/setgroups.c: Likewise.
1790 * sysdeps/stub/sethostid.c: Likewise.
1791 * sysdeps/stub/sethostname.c: Likewise.
1792 * sysdeps/stub/setitimer.c: Likewise.
1793 * sysdeps/stub/setjmp.c: Likewise.
1794 * sysdeps/stub/setlogin.c: Likewise.
1795 * sysdeps/stub/setpgid.c: Likewise.
1796 * sysdeps/stub/setpriority.c: Likewise.
1797 * sysdeps/stub/setregid.c: Likewise.
1798 * sysdeps/stub/setreuid.c: Likewise.
1799 * sysdeps/stub/setrlimit.c: Likewise.
1800 * sysdeps/stub/setsid.c: Likewise.
1801 * sysdeps/stub/setsockopt.c: Likewise.
1802 * sysdeps/stub/settimeofday.c: Likewise.
1803 * sysdeps/stub/setuid.c: Likewise.
1804 * sysdeps/stub/shmat.c: Likewise.
1805 * sysdeps/stub/shmctl.c: Likewise.
1806 * sysdeps/stub/shmdt.c: Likewise.
1807 * sysdeps/stub/shmget.c: Likewise.
1808 * sysdeps/stub/shutdown.c: Likewise.
1809 * sysdeps/stub/sigaction.c: Likewise.
1810 * sysdeps/stub/sigaltstack.c: Likewise.
1811 * sysdeps/stub/sigblock.c: Likewise.
1812 * sysdeps/stub/sigintr.c: Likewise.
1813 * sysdeps/stub/signal.c: Likewise.
1814 * sysdeps/stub/sigpause.c: Likewise.
1815 * sysdeps/stub/sigpending.c: Likewise.
1816 * sysdeps/stub/sigprocmask.c: Likewise.
1817 * sysdeps/stub/sigreturn.c: Likewise.
1818 * sysdeps/stub/sigsetmask.c: Likewise.
1819 * sysdeps/stub/sigstack.c: Likewise.
1820 * sysdeps/stub/sigsuspend.c: Likewise.
1821 * sysdeps/stub/sigvec.c: Likewise.
1822 * sysdeps/stub/sleep.c: Likewise.
1823 * sysdeps/stub/socket.c: Likewise.
1824 * sysdeps/stub/socketpair.c: Likewise.
1825 * sysdeps/stub/sstk.c: Likewise.
1826 * sysdeps/stub/statfs.c: Likewise.
1827 * sysdeps/stub/stime.c: Likewise.
1828 * sysdeps/stub/stty.c: Likewise.
1829 * sysdeps/stub/swapoff.c: Likewise.
1830 * sysdeps/stub/swapon.c: Likewise.
1831 * sysdeps/stub/symlink.c: Likewise.
1832 * sysdeps/stub/sync.c: Likewise.
1833 * sysdeps/stub/syscall.c: Likewise.
1834 * sysdeps/stub/sysconf.c: Likewise.
1835 * sysdeps/stub/sysd-stdio.c: Likewise.
1836 * sysdeps/stub/system.c: Likewise.
1837 * sysdeps/stub/tcdrain.c: Likewise.
1838 * sysdeps/stub/tcflow.c: Likewise.
1839 * sysdeps/stub/tcflush.c: Likewise.
1840 * sysdeps/stub/tcgetattr.c: Likewise.
1841 * sysdeps/stub/tcgetpgrp.c: Likewise.
1842 * sysdeps/stub/tcsendbrk.c: Likewise.
1843 * sysdeps/stub/tcsetattr.c: Likewise.
1844 * sysdeps/stub/tcsetpgrp.c: Likewise.
1845 * sysdeps/stub/telldir.c: Likewise.
1846 * sysdeps/stub/tempname.c: Likewise.
1847 * sysdeps/stub/time.c: Likewise.
1848 * sysdeps/stub/times.c: Likewise.
1849 * sysdeps/stub/truncate.c: Likewise.
1850 * sysdeps/stub/ttyname.c: Likewise.
1851 * sysdeps/stub/ttyname_r.c: Likewise.
1852 * sysdeps/stub/ualarm.c: Likewise.
1853 * sysdeps/stub/ulimit.c: Likewise.
1854 * sysdeps/stub/umask.c: Likewise.
1855 * sysdeps/stub/unlink.c: Likewise.
1856 * sysdeps/stub/usleep.c: Likewise.
1857 * sysdeps/stub/ustat.c: Likewise.
1858 * sysdeps/stub/utime.c: Likewise.
1859 * sysdeps/stub/utimes.c: Likewise.
1860 * sysdeps/stub/vhangup.c: Likewise.
1861 * sysdeps/stub/wait.c: Likewise.
1862 * sysdeps/stub/wait3.c: Likewise.
1863 * sysdeps/stub/wait4.c: Likewise.
1864 * sysdeps/stub/waitpid.c: Likewise.
1865 * sysdeps/stub/write.c: Likewise.
1866 * sysdeps/stub/writev.c: Likewise.
1867 * sysdeps/stub/xmknod.c: Likewise.
1868 * sysdeps/stub/xstat.c: Likewise.
1869 * sysdeps/unix/closedir.c: Likewise.
1870 * sysdeps/unix/fxstat.c: Likewise.
1871 * sysdeps/unix/getlogin.c: Likewise.
1872 * sysdeps/unix/getlogin_r.c: Likewise.
1873 * sysdeps/unix/mkdir.c: Likewise.
1874 * sysdeps/unix/nice.c: Likewise.
1875 * sysdeps/unix/nlist.c: Likewise.
1876 * sysdeps/unix/opendir.c: Likewise.
1877 * sysdeps/unix/readdir.c: Likewise.
1878 * sysdeps/unix/rmdir.c: Likewise.
1879 * sysdeps/unix/stime.c: Likewise.
1880 * sysdeps/unix/xmknod.c: Likewise.
1881 * sysdeps/unix/xstat.c: Likewise.
1882 * sysdeps/unix/bsd/isatty.c: Likewise.
1883 * sysdeps/unix/bsd/setegid.c: Likewise.
1884 * sysdeps/unix/bsd/seteuid.c: Likewise.
1885 * sysdeps/unix/bsd/setsid.c: Likewise.
1886 * sysdeps/unix/bsd/sigaction.c: Likewise.
1887 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1888 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1889 * sysdeps/unix/bsd/tcflow.c: Likewise.
1890 * sysdeps/unix/bsd/tcflush.c: Likewise.
1891 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1892 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1893 * sysdeps/unix/bsd/times.c: Likewise.
1894 * sysdeps/unix/bsd/ulimit.c: Likewise.
1895 * sysdeps/unix/common/lxstat.c: Likewise.
1896 * sysdeps/unix/common/tcsendbrk.c: Likewise.
1897 * sysdeps/unix/sysv/setrlimit.c: Likewise.
1898 * sysdeps/unix/sysv/settimeofday.c: Likewise.
1899 * sysdeps/unix/sysv/sigaction.c: Likewise.
1900 * sysdeps/unix/sysv/tcflow.c: Likewise.
1901 * sysdeps/unix/sysv/tcflush.c: Likewise.
1902 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1903 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1904 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1905 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
1906 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
1907 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
1908 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1909 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1910 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
1911 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1912 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1913 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1914 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1915 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
1916 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
1917 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
1918 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
1919 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
1920 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
1921 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
1922 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1923 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1924 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
1926 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
1927 * sunrpc/clnt_udp.c: Likewise.
1928 * sunrpc/bindrsvprt.c: Likewise.
1929 * sunrpc/pm_getmaps.c: Likewise.
1930 * sunrpc/pmap_rmt.c: Likewise.
1931 * sunrpc/svc.c: Likewise.
1932 * sunrpc/svc_run.c: Likewise.
1933 * sunrpc/svc_tcp.c: Likewise.
1934 * sunrpc/svc_udp.c: Likewise.
1936 * sysdeps/generic/strtok.c: Don't check argument, just crash.
1937 * sysdeps/generic/strtok_r.c: Likewise.
1939 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
1940 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
1941 * sysdeps/unix/sparc/start.c: Likewise.
1942 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
1943 * sysdeps/unix/sysv/irix4/start.c: Likewise.
1944 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
1945 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1946 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1948 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
1950 * catgets/gencat.c (main): Put package name in --version message
1951 in parantheses. Reported by Jim Meyering.
1952 * db/makedb.c: Likewise.
1953 * locale/programs/locale.c: Likewise.
1954 * locale/programs/localedef.c: Likewise.
1956 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
1957 two registers. Patch by John Bowman.
1959 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1961 * sysdeps/mach/libc-lock.h: Fix comment.
1962 * sysdeps/stubs/libc-lock.h: Likewise.
1964 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1966 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
1967 to lock when passing it to __libc_lock_init macro.
1968 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
1969 when passing it to __libc_lock_fini macro.
1971 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1973 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
1974 [_LIBC_REENTRANT]: Add missing semicolon.
1976 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
1977 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
1978 Use the ENTRY macro.
1980 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1982 * libio/Makefile: Make `all' the default target.
1983 * po/Makefile: Likewise.
1985 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
1987 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
1988 I applied it incorrectly.
1989 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1990 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
1991 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
1993 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
1995 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
1996 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1998 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
2001 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
2002 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
2004 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
2005 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
2006 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
2007 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
2008 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2010 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2012 * hurd/Makefile (installed-sunrpc-headers): New variable.
2013 (sunrpc-headers): New variable.
2014 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
2015 not just <rpc/netdb.h>.
2016 ($(installed-sunrpc-headers)): Provide rule for all of these.
2018 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2020 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
2021 variable `top_srcdir' in libc; use $(..) instead.
2023 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
2024 definition. It was a *Mistake*. (With a capital M.)
2026 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
2028 (__get_nprocs_conf): Renamed from __get_nproc_conf.
2030 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
2032 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
2033 `_dl_start' so that linking fails if this file should ever be used
2036 * catgets/gencat.c (main): Change --version message according to
2037 RMS' last standard revision.
2038 * db/makedb.c: Likewise.
2039 * locale/programs/locale.c: Likewise.
2040 * locale/programs/localedef.c: Likewise.
2042 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2044 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
2045 (__get_nproc_conf): New function.
2047 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
2049 * resolv/resolv.h: Update to bind-4.9.5-T4B.
2050 * resolv/base64.c: Likewise.
2051 * resolv/res_debug.c: Likewise.
2052 * resolv/res_query.c: Likewise.
2053 * resolv/gethnamaddr.c: Likewise.
2054 * nss/nss_dns/dns-host.c: Likewise.
2055 * resolv/res_comp.c: Likewise.
2056 * resolv/res_send.c: Likewise.
2057 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
2060 * resolv/Banner: New file.
2061 * resolv/Makefile (distribute): Add Banner.
2063 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
2065 * sysdeps/stub/getsysstats.c: New file.
2066 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
2068 * misc/Makefile (headers): Add sys/sysinfo.h.
2069 (routines): Add getsysstats.
2070 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
2071 (sysdep_headers): Remove sys/sysinfo.h.
2072 * sysdeps/generic/sys/sysinfo.h: New file.
2073 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
2074 get_phys_pages, and get_avphys_pages.
2076 * misc/Makefile (routines): Add mntent_r.
2077 * misc/mntent_r.c: New file.
2078 * misc/mntent.c: Remove all functions but getmntent and use
2080 * misc/mntent.h: Add prototype for __getmntent_r.
2081 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
2082 This will not clobber the state in getmntent.
2084 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
2085 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
2086 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
2087 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
2088 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
2089 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
2090 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
2091 * sysdeps/posix/sysconf.c: Likewise.
2092 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
2093 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
2095 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
2097 * version.h (VERSION): Bump to 1.95.
2099 * Make-dist (+tsrcs): Don't filter out files in subdirs which
2100 match files in the sysdeps hierachy (welcome back,
2103 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
2105 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
2107 * locale/loadlocale.c (_nl_free_locale): Remove function.
2108 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
2109 * locale/setlocale.c (setlocale): Don't free locale data of
2110 categories which succeeded to load after a wrong or missing data
2113 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
2114 that it works even when the locale data is not used.
2116 * stdlib/random_r.c: Fix typo in comment.
2117 * stdlib/drand48-iter.c: Likewise.
2118 * stdlib/drand48.c: Likewise.
2119 * stdlib/erand48.c: Likewise.
2120 * stdlib/jrand48.c: Likewise.
2121 * stdlib/lcong48.c: Likewise.
2122 * stdlib/lrand48.c: Likewise.
2123 * stdlib/mrand48.c: Likewise.
2124 * stdlib/nrand48.c: Likewise.
2125 * stdlib/random.c: Likewise.
2126 * stdlib/seed48.c: Likewise.
2127 * stdlib/srand48.c: Likewise.
2128 * misc/search.h: Likewise.
2129 * misc/hsearch.c: Likewise.
2130 * misc/hsearch_r.c: Likewise.
2132 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2134 * sysdeps/mach/getsysstats.c: New file.
2136 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
2137 binary distribution.
2139 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
2140 definition to override dangerous one in Makeconfig.
2142 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
2143 ($(includedir)/rpc/netdb.h): New rule.
2144 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
2147 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2149 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
2150 to guarantee link errors if this is included in ld.so.
2152 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2154 * hurd/hurdinit.c (__libc_argv): Provide common decl.
2155 (_hurd_setproc): Don't declare __libc_argv here.
2157 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2159 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
2160 for actual modifications to global state.
2162 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2164 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
2165 * sysdeps/mach/hurd/Makefile (includes): Add
2166 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
2168 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
2169 struct sched_params.
2170 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
2171 sched_params -> struct sched_param.
2172 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
2173 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
2175 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2177 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
2180 * stdio-common/Makefile: Put lockfile in routines
2183 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
2184 this always, not just if _LIBC_REENTRANT.
2185 (__funlockfile): Don't use weak_extern for this one;
2186 __libc_cleanup_region_end might be defined and the use of
2187 __funlockfile can't be protected the way the use of __flockfile
2190 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
2192 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
2193 instead of localtime.
2194 Reported by Matthias Urlichs.
2196 * shlib-versions: Remove version number for libcrypt.
2197 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
2198 * libc-symbols.h: Define _REENTRANT while compiling libc.
2200 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
2201 Define even if !_LIBC_REENTRANT.
2202 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2205 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
2208 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
2209 * po/header.pot: Correct title line.
2212 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
2214 * Makeconfig (soversions.mk): Prefer shared lib version numbers
2215 is add ons over version in libc itself.
2217 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
2218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
2221 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
2222 _IO_flockfile and _IO_funlockfile resp.
2224 * locale/categories.def: Partly support for correct `era' handling
2225 in LC_TIME category.
2226 * locale/langinfo.h: Likewise.
2227 * locale/programs/ld-time.c: Likewise.
2228 * locale/localeinfo.h: Change comment a bit.
2230 * malloc/memalign.c: Don't use goto, not necessary anymore.
2232 1996-09-18 Paul Eggert <eggert@twinsun.com>
2234 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
2235 is negative, or if time_t is unsigned.
2236 * time/strftime.c (tm_diff): Work correctly even if tm_year
2239 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2241 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
2242 all three versions of the math function.
2243 (__inline_mathopf, __inline_mathopl): Removed.
2244 (__inline_functions): New temporary definition containing all
2245 non-trivial inline functions.
2247 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
2249 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
2251 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
2253 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
2256 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
2258 * sysdeps/stub/fpu_control.h: Correct end of file comment.
2260 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
2262 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
2263 stdio-common/test-popen.c: Remove temporary files after test.
2264 * stdio-common/bug5.c: Use `system' instead of `execlp'.
2265 Patches by Andreas Jaeger.
2267 * stdio-common/bug5.c: Create string for `system' argument to
2268 make sure the input and output file names are really correct.
2270 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2272 * configure.in: If $os contains a hyphen add the part before the
2275 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2277 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
2278 __ieee754_powl): Rename local variable i to __i.
2279 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
2281 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
2282 sysdeps/m68k/fpu/e_atan2l.c: New files.
2284 1996-09-15 Paul Eggert <eggert@twinsun.com>
2286 * manual/time.texi: Change `range X to Y' to `range X through
2287 Y', to avoid ambiguity in English.
2289 (strftime): Numbers that do not have a range indicated are not padded.
2290 Describe E and O modifiers.
2291 %g, %G, %u: New formats.
2292 %C, %y, %Y: Describe behavior on negative years.
2293 %e: Fix typo (was labeled %d).
2294 %l, %V: Fix typo in range.
2295 %M, %S, %U, %w, %W: Give ranges.
2296 %p: Clarify how noon and midnight are handled for AM and PM.
2297 %s: Clarify leap second handling.
2298 %r: Now locale-defined.
2299 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
2300 %z: Say that it is a GNU extension.
2303 * time/strftime.c: (strftime):
2304 %V: Fix mishandling of week numbers near year boundaries.
2305 %g, %G: New formats (suggested by Arthur David Olson).
2306 %U, %W: Use inline expression instead of `week' function.
2307 %C, %y: Handle negative years portably.
2308 %C, %Y: Use width 1, since values can be arbitrarily wide.
2309 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
2310 %u: New Posix.2 format.
2311 %w: Width is 1, not 2.
2312 (iso_week_days): New function, for %V, %G, %g.
2313 (week): Remove; it didn't handle %V correctly.
2314 (__isleap): New macro.
2315 (mbsinit): Use arg, to pacify GCC -Wall.
2317 1996-09-13 Paul Eggert <eggert@twinsun.com>
2319 * time/strftime.c (strftime):
2320 If using the GNU C library, do not bother to check for
2321 multibyte encodings, since they're safe in formats. Otherwise:
2322 - Check for multibyte encodings when encountering any character that
2323 is not in the basic execution character set of the C Standard.
2324 - Use mbrlen (if available) instead of mblen, to avoid modifying
2325 mblen's internal state.
2326 - Do not assume that '%' cannot appear as the first character of a
2327 multibyte character sequence, since this is possible when not in the
2328 initial shift state.
2329 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
2330 (DO_MULTIBYTE): New macro.
2331 (<ctype.h>): Do not include.
2332 (<wchar.h>): Include if HAVE_MBRLEN.
2333 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
2334 (mbstate_zero): New constant.
2336 1996-09-12 Paul Eggert <eggert@twinsun.com>
2338 * time/strftime.c (strftime):
2339 Use an empty zone if it can't be determined; POSIX.2 requires this.
2340 Use plain `int' for pad and modifier (which now contain char value).
2341 Use plain `int' for number_value, to print negative values correctly.
2342 Use plain `int' for digits; there was no need to make it unsigned.
2343 Initialize subfmt consistently.
2344 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
2345 For %O, if there is no alternate digit, output Ascii instead of "".
2346 Output the `%' of an unknown format; this is most likely the right
2347 thing to do if a multibyte string has been misparsed.
2349 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2351 * stdio-common/scanf7.c (main): Remove extra conversion from
2352 printf format string.
2354 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2356 * stdlib/test-canon.c (tests): Rename structure member from errno
2357 to error, all uses changed.
2359 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2361 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
2363 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2364 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
2366 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
2367 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
2368 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
2370 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
2371 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
2373 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
2374 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
2376 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2378 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
2379 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
2381 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2383 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
2384 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
2386 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2388 * inet/herrno.c (__h_errno_location): Fix return type.
2390 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2392 * hurd/hurdinit.c (__libc_argv): Provide common decl.
2393 (_hurd_setproc): Don't declare __libc_argv here.
2395 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
2397 * sched.h: New file. Helper to access posix/sched.h.
2398 * posix/sched.h: Change `sched_params' to `sched_param' to follow
2401 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
2403 * db/makedb.c (usage): Print bug report address separately to
2404 ease translators task.
2405 * catgets/gencat.c (usage): Likewise.
2406 * locale/locale.c (usage): Likewise.
2407 * locale/localedef.c (usage): Likewise.
2409 1996-09-12 Paul Eggert <eggert@twinsun.com>
2411 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
2412 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
2413 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
2415 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
2417 * crypt/Makefile: Include Makeconfig and add crypt object dir to
2418 rpath-link so that running the check finds the new library.
2419 * crypt/cert.c: provide correct prototypes to prevent warnings.
2420 Reported by Andreas Jaeger.
2422 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
2423 old and new value must be glued using `:'.
2424 Reported by Marcus Daniels.
2426 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2428 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
2429 accidentally added on.
2431 * sysdeps/stub/intr-msg.h: New file.
2433 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2434 * stdio-common/vfscanf.c: Include <libc-lock.h>.
2436 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
2438 (__libc_cleanup_region_end): New macro.
2440 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2442 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
2443 accidentally added on.
2445 * sysdeps/stub/intr-msg.h: New file.
2447 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2448 * stdio-common/vfscanf.c: Include <libc-lock.h>.
2450 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
2452 (__libc_cleanup_region_end): New macro.
2454 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
2456 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
2457 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2458 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
2460 1996-09-11 Paul Eggert <eggert@twinsun.com>
2462 * strftime.c (strftime):
2463 Handle E and O modifiers, required for POSIX.2 and XPG4.
2464 Don't use sprintf to format numbers; this way, we can handle time_t
2465 correctly regardless of whether it's signed.
2466 Don't dump core if format ends in %.
2467 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
2469 Use tm_gmtoff if available.
2470 Output nothing if tm_isdst is negative.
2471 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
2472 Don't assume that UTC offset is less than 24 hours;
2473 Posix requires support for 24 hours, and there's no point
2475 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
2476 (CHAR_BIT): Define if <limits.h> doesn't.
2477 (tm_diff): New function.
2478 (fmt, <stdio.h>): Remove; no longer used.
2480 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
2482 * db/Makefile: Add extra-libs-others variable so that shared
2483 library is built in `others' pass.
2484 * elf/Makefile: Likewise.
2485 * math/Makefile: Likewise.
2486 * resolv/Makefile: Likewise.
2488 * Makefile (generated): Add version.info.h.
2490 * time/checktab.awk: New file. From ADO 96k.
2491 * time/iso3166.tab: Likewise.
2492 * time/tzselect.ksh: Likewise.
2493 * time/zone.tab: Likewise.
2495 * stdio-common/vfprintf.c: Correct cleanup registration. We
2498 1996-09-11 Paul Eggert <eggert@twinsun.com>
2500 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
2501 __USE_BSD; this is required for ANSI C compatibility.
2502 * manual/time.texi: Replace GMT by UTC, daylight savings by
2503 daylight saving, timezone by time zone.
2504 Rewrite description of %V to match ISO 8601.
2505 Fix TZ Posix string example for US Eastern time.
2506 Explain tzname[1] when DST isn't used.
2507 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
2508 Explain that timezone's sign is opposite from tm_gmtoff, and that
2509 timezone lacks DST adjustment whereas tm_gmtoff has it.
2510 Deprecate tzname and timezone.
2512 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2514 Implement Roland McGrath's idea of how to put an .interp into
2516 * interp.c: New file.
2517 * Makerules (interp-obj): New object, linked into every shared
2519 (common-generated): Add interp.so.
2520 (CFLAGS-interp.c): Pass name of interpreter.
2522 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2524 * db/Makefile: Fix typo.
2526 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2528 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
2529 occurences of the same uid, and only generate a mapping for the
2532 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2534 * sysdeps/unix/sysv/linux/system.c: New file, to override
2535 sysdeps/unix/system.c.
2537 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2539 * Makefile (before-compile): Add version-info.h, needed to build
2542 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2544 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
2545 EWOULDBLOCK, never true on Linux.
2546 (__errno_location): New function.
2547 [_LIBC_REENTRANT]: Set errno using __errno_location function.
2548 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
2549 syscall_error handler for reentrant libc.
2551 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2553 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
2555 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
2557 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
2559 * time/tzfile.c (compute_tzname_max): Likewise.
2561 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
2563 * configure.in: Quote $add_ons argument in loop to generated
2566 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
2568 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
2570 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2572 * elf/dl-cache.c: Rename to ...
2573 * sysdeps/generic/dl-cache.c: ... here.
2574 * sysdeps/mach/hurd/dl-cache.c: New file.
2576 * mach/Makefile (distribute): Add `errsystems.awk'.
2577 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
2578 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
2579 * hurd/intr-rpc.awk: Likewise.
2580 * hurd/invoke-trans.c: Likewise.
2581 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
2582 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
2583 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
2584 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
2585 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
2586 * sysdeps/stub/init-fault.c: Likewise.
2587 * sysdeps/stub/longjmp-ctx.c: Likewise.
2589 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
2591 * inet/herrno.c: Initialize `h_errno' so that we can provide
2594 * Makefile (version-info.h): Fix typo in shell script.
2596 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
2597 * sysdeps/i386/i586/strchr.S: Likewise.
2599 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
2601 * version.c (banner): Report to bug-glibc@prep not @gnu.
2602 Reported by Andreas Jaeger.
2604 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
2606 [__USE_REENTRANT]: Don't define
2608 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
2610 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
2611 when it is the third byte in the string. Reported by
2613 * string/tester.c: Add tests for above bug to strlen, strchr, and
2616 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2618 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
2619 "math_private.h" to get prototype.
2620 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2621 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2622 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2623 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2625 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
2627 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2629 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2631 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
2632 instead of __NO_MATH_INLINES.
2633 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
2634 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
2635 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2636 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2637 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2638 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2639 * sysdeps/m68k/fpu/s_atan.c: Likewise.
2640 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2641 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2642 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2643 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
2644 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2645 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
2646 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2647 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2649 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
2651 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
2652 available character before converting number and return with
2653 error if none is available.
2655 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2657 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
2658 implementation for architectures where parameters are passed on
2660 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
2661 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
2663 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2665 * configure.in: Remove unneeded sysnames frobbing.
2667 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
2669 * time/zic.c: Update from ADO 96l.
2670 * time/africa: Update from ADO 96k.
2671 * time/antarctica: Likewise.
2672 * time/asia: Likewise.
2673 * time/australia: Likewise.
2674 * time/europe: Likewise.
2675 * time/northamerica: Likewise.
2676 * time/southamerica: Likewise.
2678 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2680 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
2681 gcc <= 2.7.2.1 which optimizes away address operations on weak
2684 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
2685 Like INT_FIELD but also accept non-existing field.
2686 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
2687 for last four fields.
2688 * shadow/putspent.c (putspent): Print `:' after numeric value.
2690 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
2692 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
2694 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
2696 * Make-dist: Filter out $(add-ons) from $(subdirs).
2697 Don't distribute TAGS files.
2698 ($(tardir).tar): Remove dist.tar when all is done.
2699 * manual/Makefile (distribute): Add libc.info*.
2700 * libio/Makefile (distribute): Add Banner.
2701 * inet/Makefile (headers): Add netinet/tcp.h.
2703 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
2705 * crypt-README: Removed.
2706 * gnu-stabs.h: Removed.
2708 * sysdeps/alpha/copysign.S: Renamed to...
2709 * sysdeps/alpha/s_copysign.S: ...this.
2710 * sysdeps/alpha/fabs.S: Renamed to...
2711 * sysdeps/alpha/s_fabs.S: ...this.
2713 * sysdeps/m68k/isinfl.c: Renamed to...
2714 * sysdeps/m68k/s_isinfl.c: ...this.
2715 * sysdeps/m68k/isnanl.c: Renamed to...
2716 * sysdeps/m68k/s_isnanl.c: ...this.
2718 * sysdeps/sparc/sqrt.c: Renamed to...
2719 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
2722 * sysdeps/generic/get_str.c: Removed.
2724 * sysdeps/ieee754/cbrt.c: Removed.
2725 * sysdeps/ieee754/drem.c: Removed.
2726 * sysdeps/ieee754/logb.c: Removed.
2727 * sysdeps/ieee754/sqrt.c: Removed.
2729 * sysdeps/stub/cbrt.c: Removed.
2730 * sysdeps/stub/cos.c: Removed.
2731 * sysdeps/stub/drem.c: Removed.
2732 * sysdeps/stub/isinf.c: Removed.
2733 * sysdeps/stub/isinfl.c: Removed.
2734 * sysdeps/stub/isnanl.c: Removed.
2735 * sysdeps/stub/logb.c: Removed.
2736 * sysdeps/stub/sin.c: Removed.
2737 * sysdeps/stub/sqrt.c: Removed.
2739 * sysdeps/tahoe/log10.c: Removed.
2741 * sysdeps/vax/index.s: Removed.
2742 * sysdeps/vax/rindex.s: Removed.
2743 * sysdeps/vax/bcmp.s: Removed.
2744 * sysdeps/vax/log10.c: Removed.
2745 * sysdeps/vax/infnan.c: Removed.
2746 * sysdeps/vax/Dist: Add fl.h.
2748 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
2750 * inet/rcmd.c (rcmd): Make messages more uniform.
2752 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
2757 * po/pl.po: New file.
2758 * po/nl.po: New file.
2760 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
2762 * Makeconfig (+link): Filter out start, pre & postinit from the
2763 generic depenancies as well.
2764 * Rules: Add start, pre & postinit to the dependancies of
2765 $(others) and $(tests).
2767 * configure.in: elf_dirs missing "sysdeps" component.
2769 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
2771 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
2772 This is consistent with all other GNU packages. We shouldn't
2773 take care for a possible clash. Nobody will name the domain
2774 of a package libc if it is not the libc itself.
2775 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
2776 * po/Makefile (domainname): Change to libc.
2777 (distribute): Now ship libc.pot.
2778 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
2779 version information banner.
2780 Change bug report address to bug-glibc@prep not @gnu.
2781 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
2782 (main): Use `PACKAGE' for package name in version information
2784 Change bug report address to bug-glibc@prep not @gnu.
2785 * locale/programs/locale.c (main): Use `PACKAGE' for package name
2786 in version information banner.
2787 Change bug report address to bug-glibc@prep not @gnu.
2788 * locale/programs/localedef.c (main): Likewise.
2790 * version.h (VERSION): Bump to 1.94.
2792 * locale/Makefile (distribute): Add locale.c and localedef.c.
2794 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
2796 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
2797 instead of sizeof(nl_catd) (which is just a pointer!).
2799 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
2801 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
2802 * version.c (banner): Add contents of version-info.h to string.
2804 * Makerules: If $($(subdir)-version) is available name versioned
2805 shared library according to this value instead of glibc's version.
2807 * libio/Banner: New file.
2809 * elf/eval.c (funcall): Write error message in case function is
2811 (eval): Recognize `_' in names.
2813 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
2815 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
2816 * libio/iofopen: Likewise.
2817 * libio/iofopncook.c: Likewise.
2818 * libio/iopopen.c: Likewise.
2819 * libio/iovsprintf.c: Likewise.
2820 * libio/iovsscanf.c: Likewise.
2821 * libio/memstream.c: Likewise.
2822 * libio/vasprintf.c: Likewise.
2823 * libio/vdprintf.c: Likewise.
2824 * libio/vsnprintf.c: Likewise.
2826 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
2828 * Makeconfig (soversions.mk): Also use shlib-versions files
2829 in add-on directories.
2830 * config.make.in (config-defines): Remove. Not used anymore.
2831 (defines): New variable. Initiliazed by @DEFINES@.
2832 * configure.in: Add AC_SUBST(DEFINES).
2834 * libio/Makefile (routines): When compiling reentrant libc add
2835 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
2836 iofflush_u, putc_u, putchar_u, ioflockfile.
2837 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
2839 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
2840 and __libc_cleanup_region_end.
2842 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
2843 using __errno_location function.
2844 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
2845 using __errno_location function.
2846 (__errno_location): New function.
2847 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
2848 syscall_error handler for reentrant libc.
2850 * sysdeps/unix/opendir.c: Remove unneeded `;'.
2852 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
2853 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
2855 * libioP.h: Include <libc-lock.h>.
2856 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
2859 * libio/clearerr.c: Use _IO_ protected versions of flockfile
2860 and funlockfile to be namespace clean.
2862 * libio/genops.c: Use __libc_lock_* macros for handling lock.
2864 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
2865 * libio/iofopen: Likewise.
2866 * libio/iofopncook.c: Likewise.
2867 * libio/iopopen.c: Likewise.
2868 * libio/iovsprintf.c: Likewise.
2869 * libio/iovsscanf.c: Likewise.
2870 * libio/memstream.c: Likewise.
2871 * libio/vasprintf.c: Likewise.
2872 * libio/vdprintf.c: Likewise.
2873 * libio/vsnprintf.c: Likewise.
2875 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
2877 * libio/fputc.c: Likewise.
2878 * libio/freopen.c: Likewise.
2879 * libio/fseek.c: Likewise.
2880 * libio/getc.c: Likewise.
2881 * libio/getchar.c: Likewise.
2882 * libio/iofclose.c: Likewise.
2883 * libio/iofflush.c: Likewise.
2884 * libio/iofgetpos.c: Likewise.
2885 * libio/iofgets.c: Likewise.
2886 * libio/iofputs.c: Likewise.
2887 * libio/iofread.c: Likewise.
2888 * libio/iofsetpos.c: Likewise.
2889 * libio/ioftell.c: Likewise.
2890 * libio/iofwrite.c: Likewise.
2891 * libio/iogetdelim.c: Likewise.
2892 * libio/iogets.c: Likewise.
2893 * libio/ioputs.c: Likewise.
2894 * libio/iosetbuffer.c: Likewise.
2895 * libio/iosetvbuf.c: Likewise.
2896 * libio/ioungetc.c: Likewise.
2897 * libio/putc.c: Likewise.
2898 * libio/putchar.c: Likewise.
2899 * libio/rewind.c: Likewise.
2900 * stdio-common/vfprintf.c: Likewise.
2901 * stdio-common/vfscanf.c: Likewise.
2903 * libio/clearerr_u.c: Correct alias name.
2904 * libio/ferror_u.c: Likewise.
2905 * libio/fileno.c: Likewise.
2906 * libio/fputc_u.c: Likewise.
2907 * libio/getc.c: Likewise.
2908 * libio/getc_u.c: Likewise.
2909 * libio/getchar.c: Likewise.
2910 * libio/getchar_u.c: Likewise.
2911 * libio/putc.c: Likewise.
2912 * libio/putchar.c: Likewise.
2914 * libio/feof_u.c: Undefine macro with name of function before
2915 definition of function itself.
2917 * libio/ioflockfile.c: New file. Implementation of flockfile and
2920 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
2922 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
2925 * malloc/free.c: Include <libc-lock.h>.
2926 * malloc/realloc.c: Likewise.
2927 * malloc/malloc-find.c: Likewise.
2928 * malloc/malloc-size.c: Likewise.
2929 * malloc/malloc-walk.c: Likewise.
2930 * malloc/memalign.c: Likewise.
2931 * malloc/malloc.c: Likewise.
2933 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
2935 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
2937 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
2938 and __libc_lock_critical_end as empty macros.
2940 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
2942 * malloc/free.c: Include <libc-lock.h>.
2943 * malloc/malloc-find.c: Likewise.
2944 * malloc/malloc-size.c: Likewise.
2945 * malloc/malloc-walk.c: Likewise.
2946 * malloc/malloc.c: Likewise.
2947 * malloc/memalign.c: Likewise.
2948 * malloc/realloc.c: Likewise.
2950 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
2953 * extra-lib.mk: Likewise.
2954 * manual/Makefile: Likewise.
2956 * db/Makefile (makedb): Choose dependecies based on build-shared.
2957 Patch by Andres Schwab.
2959 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
2960 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
2962 * sysdeps/unix/sysv/linux/errnos.h: New file.
2963 * sysdeps/unix/sysv/linux/schedbits.h: New file.
2964 * sysdeps/unix/sysv/linux/waitflags.h: New file.
2966 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
2968 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2970 * rpm/template: Fix typo in %build section.
2972 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
2974 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
2975 building libc without thread support.
2976 * resolv/netdb.h: Likewise for h_errno macro.
2978 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
2980 * libc-symbols.h: Add new macro weak_const_function. It's like
2981 weak_function, but the function is additionally marked as const.
2982 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
2984 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
2986 * inet/herrno.c (__h_errno_location): New function.
2987 (h_errno): Make strong_alias __h_errno so that we can access
2988 the variable even if `h_errno' is a macro.
2989 * resolv/netdb.h: Define macro h_errno to access thread specific
2990 version of h_errno variable. Declare alias __h_errno for h_errno.
2991 * resolv/res_query (h_errno): Remove definition.
2992 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
2993 Add macro `errno' to get thread specific variable.
2994 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
2995 __errno_location function.
2996 (__errno_location): New function.
2998 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
3000 * posix/gnu/types.h: Remove definition of key_t.
3001 * sysdeps/generic/gnu/types.h: Move it to here.
3002 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
3003 definition of key_t.
3005 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
3007 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
3008 clone prototypes and associated flags.
3010 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3012 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
3014 (init1): Initialize them.
3015 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
3016 available, pass __libc_argv in call to __proc_set_arg_locations.
3018 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
3020 (hertz): Delete function.
3021 * gmon/Makefile (routines): Add `prof-freq'.
3022 * sysdeps/generic/prof-freq.c: New file.
3023 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
3024 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
3025 (update_waiter): Store frequency in profile_tick.
3026 (__profile_frequency): New function.
3028 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
3031 * Rules (generated): Restore reference to $(generated).
3033 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
3036 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
3038 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
3039 * malloc/realloc.c: Likewise.
3040 * malloc/malloc-find.c: Likewise.
3041 * malloc/malloc-size.c: Likewise.
3042 * malloc/malloc-walk.c: Likewise.
3043 * malloc/memalign.c: Likewise.
3045 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
3047 * sysdeps/alpha/elf/start.S: Make _start global again.
3049 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
3051 Change configuration and Makefiles to allow add-ons to have a
3052 sysdeps/ directory hierachy.
3053 * configure.in: Test for sysdeps/ directory in add-ons. Before
3054 all test and searches in these hierachies, too.
3055 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
3056 Extend with $(..) if not absolute path.
3057 Use $(full-config-subdirs) where $(config-sysdirs) was used.
3058 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
3059 * MakeTAGS: Use $(full-config-subdirs).
3060 * Makerules: Change comment to libc.so link script.
3061 (sysdirs): Define based on $(full-config-subdirs).
3062 (sysd-Makefile): Define using config-sysdirs.
3063 (sysd-rules): Likewise.
3064 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
3065 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
3067 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3069 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
3070 * sysdeps/m68k/fpu/k_sin.c: Likewise.
3071 * sysdeps/m68k/fpu/k_tan.c: Likewise.
3073 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
3075 * malloc/free.c (free): Protect by using __libc_malloc_lock.
3076 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
3077 * malloc/malloc-size.c (malloc_usable_size): Likewise.
3078 * malloc/malloc-walk.c (malloc_walk): Likewise.
3079 * malloc/memalign.c (memalign): Likewise.
3080 * malloc/realloc.c (realloc): Likewise.
3081 * malloc/malloc.c: Define __libc_malloc_lock.
3082 (_malloc_internal): Don't use `malloc'. Instead look for
3083 `__malloc_hook' or call `_malloc_internal'.
3084 (malloc): Protect by using `__libc_malloc_lock'.
3085 * malloc/malloc.h: Declare `__libc_malloc_lock'.
3087 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
3089 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
3090 instead of the hard definition.
3092 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
3093 _start and _dl_start_user.
3095 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
3096 Make _dl_starting_up weak. Add type info for NAME.
3098 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
3100 * Makefile (all): Add extra_solibs pass.
3101 (+subdir_targets): Same.
3102 * Rules (extra_solibs): New phony empty target for subdirs without
3104 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
3105 * manual/Makefile: Add dummy extra_solibs target.
3107 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
3109 * Makeconfig (+link): Add $(link-extra-libs).
3110 (link-extra-libs): New variable which expands to the full paths of
3111 the other libraries needed by a program, as controled by LDLIBS-$(@F).
3112 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
3113 the later attempts to install the library before linking it.
3115 * sysdeps/unix/alpha/sysdep.S: Align errno.
3117 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
3119 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
3120 (_hae_shift): New function.
3121 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
3122 for the bus query functions.
3124 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
3126 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
3127 can be NULL when unloading a library.
3129 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
3130 to the library .init function.
3132 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
3133 part of the COPY reloc processing earlier, omit the rest now --
3134 we'll get into less trouble later when some fool does use a COPY.
3136 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
3137 parameters. Move all argc and __libc_multiple_libcs calculation out
3138 to init-first.h. Use __environ not __libc_envp.
3139 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
3140 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
3142 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3144 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
3145 signal settings when profiling was already turned on.
3147 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
3150 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
3152 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
3153 0 < return value < -4096 and not < 0 to decide about failure.
3154 Reported by Andreas Jaeger.
3156 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
3158 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
3161 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
3163 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
3166 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
3168 * version.c: Add missing newline character in banner.
3170 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
3171 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3173 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
3175 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
3176 case, so don't prepend uppercase `ISO' for only numeric arg.
3178 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
3180 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
3181 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3183 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
3185 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
3186 call to __libc_lock_lock.
3188 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
3189 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3191 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
3193 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
3195 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
3197 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
3198 Reported by Erik Troan.
3200 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
3202 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
3203 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
3205 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3207 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
3209 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3211 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
3214 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
3216 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
3219 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3221 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
3222 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
3224 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
3225 $(common-objpfx) is good enough.
3226 * Rules (common-generated): Provide default (empty) value.
3227 (dummy.o, dummy.c, empty.o, empty.c): Put these in
3228 $(common-generated), not $(generated), and without $(..).
3229 (subdir_echo-distinfo): Treat $(common-generated) just like
3231 (generated): Depend on the (suitably mutated) $(common-generated)
3233 * Makerules (common-clean): Remove common-generated files too.
3234 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
3236 (common-generated): Do put errnos.d and stamp-errnos here.
3237 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
3239 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
3240 auth to following rule to get it built.
3242 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
3244 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
3245 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3246 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3248 * version.c: Add comment about where to report bugs to.
3249 * catgets/gencat.c (usage): Likewise.
3250 * db/makedb.c (usage): Likewise.
3251 * locale/programs/locale.c (usage): Likewise.
3252 * locale/programs/localedef.c (usage): Likewise.
3254 * manual/socket.texi: A little bit better wording.
3256 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
3258 * Makerules: Make sure directory exists before generating stamp file.
3259 (BUILD_CFLAGS): Always refer to using $(..).
3260 * manual/Makefile: Make sure directory exists before generating
3262 (make-target-directory): Add macro definition.
3263 * sysdeps/generic/Makefile: Make sure directory exists before
3264 generating stamp file.
3266 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
3268 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3270 When compiling in separate directory put objects into
3271 subdirectories matching the source layout.
3272 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
3273 When looking for configparms try in $(common-objpfx).
3274 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
3276 * Makerules: Add $(objpfx) to vpath list.
3277 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
3278 more than once. All uses in dependency lists changed.
3279 (+make-deps): Make target directory.
3280 (sed-remove-objpfx): Substitute $(common-objpfx).
3281 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
3282 $(objpfx) instead of $(objdir) for cd command.
3283 (O%-lib): Always find libc relative to $(..).
3284 (subdir-stamps): Collect stamp files from subdirs.
3285 (common-mostlyclean): Remove stub file in $(common-objpfx).
3286 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
3287 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
3289 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
3290 $(common-objpfx). All uses in dependency lists changed.
3291 (generated): Prepend $(..) to names.
3292 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
3294 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
3295 Use $(common-objpfx) instead of $(..) in dependencies.
3296 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
3297 $(common-objpfx) instead of $(..) and (objpfx).
3298 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
3299 (rpath-link): Likewise.
3300 (rpcuserlibs): Likewise.
3301 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
3302 errlist.c in $(objpfx), not $(common-objpfx).
3303 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
3305 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
3306 s-proto.d in $(common-objpfx), not $(objpfx).
3308 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
3310 * nss/nsswitch.c (nss_dlerror_run): Free returned error
3313 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
3315 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
3317 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
3318 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
3319 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
3320 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
3321 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
3322 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
3323 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3324 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
3326 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3328 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
3329 spelling error of _hurd_itimerval.
3331 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
3332 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
3333 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
3335 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
3337 * stdio/fseek.c (fseek): Don't assume we know the file position;
3338 other handles may have changed it. So set STREAM.__offset to -1
3339 before calling __stdio_check_offset to make sure we have a correct
3342 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
3344 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
3345 `decimal' char is 0.
3347 * C-numeric.c (not_available): New constant.
3348 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
3350 * nss/nsswitch.conf: Example configuration file.
3351 * nss/db-Makefile: Example Makefile for generation of databases
3353 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
3355 1996-08-28 Paul Eggert <eggert@twinsun.com>
3357 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
3358 noexpr to "^[nN]"; this conforms to POSIX.2.
3360 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
3363 1996-08-28 Paul Eggert <eggert@twinsun.com>
3365 * C-monetary.c (not_available): New constant.
3366 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
3367 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
3368 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
3369 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
3371 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
3373 * nss/nss_db/db-XXX.c: Correct function names. They must be
3374 `_nss_db_*' instead of `_nss_files_*'.
3375 (lookup): `parse_line' returns 1 if succesful.
3376 * nss/nss_files/files-service.c (servbyname): Key for database
3377 must also contain protocol names.
3378 (servbypt): Likewise.
3379 Test must also check for protocol. Add `proto' argument.
3381 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3383 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
3386 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
3388 * Makerules: Add some test for correct version of GNU Make.
3390 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
3391 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
3393 * sysdeps/generic/dl-sysdep.c: Initialize break address to
3394 avoid overwriting last page (OK, Roland).
3396 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
3398 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
3399 * resolv/arpa/nameser.h: Likewise.
3400 * resolv/res_init.c: Likewise.
3401 * resolv/res_debug.c: Likewise.
3402 * resolv/res_mkquery.c: Likewise.
3404 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
3406 * elf/dl-error.c (catch): Define errstring element not as const.
3407 (_dl_catch_error): ERRSTRING argument is not const pointer.
3408 Initialize *ERRSTRING and *OBJNAME separately.
3409 * elf/link.h: Change prototype for `_dl_catch_error'.
3411 * elf/dl-load.c (_dl_map_object): Use separate variable for
3412 copied NAME to avoid `const' warning.
3414 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
3416 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
3417 provides preloading even for SUID binaries.
3418 Add some more casts to avoid signed<->unsigned warnings.
3420 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3422 * posix/sys/types.h: Define loff_t.
3423 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
3425 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
3427 * io/fcntl.h: Add definition for BSD F* macros.
3429 * misc/init-misc.c (__init_misc): Make static.
3430 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
3432 * configure.in: Add test for -fno-exception option of gcc.
3433 * config.make.in: Add definition of have-no-exceptions.
3434 * Makerules: Define no-exceptions based on have-no-exceptions.
3435 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
3436 This is necessary for gcc >= ss-960816.
3438 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
3440 * sysdeps/alpha/dl-machine.h: Clear startup flag.
3442 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3444 * Makerules (o-iterator-doit): Simplify reference to autolock
3447 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3449 * sysdeps/mach/hurd/getcwd.c
3450 (_hurd_canonicalize_directory_name_internal): After resizing the
3451 buffer move the current contents to the end. Correctly relocate
3452 file name pointer to upper half of the buffer.
3454 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
3456 * rtld.c (dl_main): Remove code to call ld.so initializer. This
3457 was introduced for compatibility with Linux ld.so and would not
3458 be used anymore. Now we don't have any good values to use as the
3459 parameters to the initializer so simply remove it.
3461 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3463 * gmon/gmon.c (ERR): Don't write the terminating NUL.
3465 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
3467 (profil_count): Use 64 bit arithmethic to avoid overflow.
3469 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
3471 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3473 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
3474 being null; in that case don't touch the timer at all (but do
3475 return something in OLD if necessary).
3477 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3479 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
3481 * sysdeps/i386/init-first.c: Likewise.
3482 * sysdeps/stub/init-first.c: Likewise.
3484 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
3486 * elf/dl-open.c (_dl_open): Call library initializer with
3487 correct command line arguments and environment information.
3488 * elf/rtld.c (dl_main): Provide arguments to initializer of
3491 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
3493 * shadow/Makefile (routines): Add lckpwdf.
3494 * shadow/lckpwdf.c: New file.
3496 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
3497 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
3499 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
3501 * configure.in: Add definition for `__eh_pc' and `__throw' in
3502 test for --no-whole-archive. The compiler generates dependencies
3503 for this but none of the standard librares and startup files
3504 are used. Necessary for gcc >= ss-960816.
3506 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
3508 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
3509 return string since string might be on stack.
3510 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
3511 Wed Aug 21 10:14:59 1996.
3512 * elf/dlerror.c (dlerror): Free error string after printing.
3513 (_dlerror_run): If error string was not printed since last error
3515 * rtld.c (dl_main): Free error string in case of error.
3517 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
3519 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
3520 this changes the global state for `localtime' and `gmtime'. Use
3521 `__localtime_r'/`__gmtime_r' instead.
3522 * resolv/res_debug.c (__p_secstodate): Likewise.
3523 * sysdeps/generic/ftime.c: Likewise.
3524 * sysdeps/posix/gettimeofday.c: Likewise.
3525 Reported by Paul Eggert.
3527 * time/gmtime.c: De-ANSI-fy.
3528 * time/strftime.c: Don't call non-reentrant functions which change
3531 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
3533 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
3534 than putting it on the stack.
3536 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
3538 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
3539 don't find .plt entries.
3541 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3543 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
3546 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
3548 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
3550 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
3552 * login/pututline_r.c (__pututline_r): Fix handling of case where
3553 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
3555 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
3557 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
3558 for "Jensen" so _bus_base() returns 0 on that platform. Use
3559 _bus_base_sparse() to determine base address of sparse memory.
3561 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
3562 and declarations in __BEGIN_DECLS/__END_DECLS.
3564 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
3566 * err.h: New file. Wrapper around misc/err.h.
3568 Correct solution of multiple initialization problem by
3570 * csu/initfini.c: Remove global variable __libc_is_static.
3571 * elf/rtld.c: Introduce new global variable _dl_starting_up.
3572 It's nonzero during the startup.
3573 * elf/dl-open.c (_dl_open): When _dl_start function is not
3574 available (i.e., if in static libc) set `__libc_multiple_libcs'
3576 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
3577 New global variable.
3578 (init): Undo change of Fri Aug 2 03:12:40 1996.
3579 Initialize `__libc_multiple_libcs' to nonzero only if this is
3580 a shared lib called from a statically linked program and don't
3581 call `personality' and `setfpucw' in this case either.
3582 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
3583 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
3584 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
3585 before jumping to user code.
3586 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3588 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
3590 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
3591 Thu Aug 8 12:40:20 1996.
3592 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
3593 -fkeep-inline-functions flag instead.
3595 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3597 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
3598 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
3599 like ECONNREFUSED already does.
3600 (_nss_dns_gethostbyaddr_r): Likewise.
3601 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3602 (_nss_dns_getnetbyaddr_r): Likewise.
3604 * sysdeps/mach/hurd/socket.c (socket): For message transmission
3605 and RPC errors that indicate that the socket server is not really
3606 present and able to do its job, turn the error into EPFNOSUPPORT.
3608 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
3610 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
3611 name dynamically. Reported by Alan Cox.
3612 Uncomment warnings and mark as translatable.
3614 * time/strftime (strftime): Add implementation for %s and %z
3615 format. Change behaviour for unknown format character: now
3616 simply print it. This matches the behaviour of printf.
3617 Reported by Jim Meyering.
3618 * manual/time.texi: Document all formats and flags of strftime.
3620 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
3622 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
3625 * misc/sys/select.h: Define fd_set using typedef, not #define.
3626 Proposed by David Mosberger-Tang.
3628 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
3630 * po/header.pot: Use real description line.
3632 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
3634 * elf/rtld.c (dl_main): When started with --verify prevent
3635 any warning. Just exit with an error.
3636 * elf/ldd.sh.in: Don't run given object directly. This fails for
3637 libraries. Instead use $RTLD again.
3639 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
3641 * manual/nss.texi: New file. Document NSS.
3642 * manual/nsswitch.texi: New file. Example configuration.
3644 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
3645 * manual/example/strdupa.c: New file. Example for strdupa.
3647 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
3649 * stdlib/strtod.c (STRTOD): Correct assertion about size of
3650 wint_t and wchar_t. Reported by David Mosberger-Tang.
3652 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3654 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
3655 RELOC_ADDR and make NOPLT a set of flags. All callers
3656 changed. Delete condition that checks for resolving to the
3657 location being filled in. Add condition to skip the
3658 executable's symbols if requested.
3659 * elf/link.h: Change declaration of _dl_lookup_symbol
3661 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
3662 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
3664 * elf/dl-runtime.c (RESOLVE): Likewise.
3665 * elf/rtld.c (RESOLVE): Likewise.
3666 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
3667 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
3668 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
3669 reloc, zero otherwise.
3670 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3672 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3674 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
3676 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
3677 * po/header.pot: Add empty line at end.
3679 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3681 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
3682 are now in $P/stdio-common.pot.
3683 (XGETTEXTFLAGS-errlist.pot): Variable removed.
3685 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3687 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
3688 script at run time, not configure time.
3689 * config.make.in, configure.in: Undo previous change.
3691 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
3693 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
3694 on stack as argument for `_exit'. Reported by Andreas Schwab.
3696 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3698 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
3700 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
3702 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
3703 (_dl_map_object_from_fd): Free name on error.
3705 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
3707 * string/strdup.c: Use result of memcpy to avoid reloading.
3709 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3711 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
3712 the other way round.
3714 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
3716 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
3719 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
3721 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
3723 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
3726 Update from bind-4.9.5-T1A.
3727 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
3728 inet_net_pton, inet_net.
3730 * resolv/gethnamaddr.c: Include <sys/types.h>.
3731 * resolv/getnetnamadr.c: Likewise.
3732 * resolv/herror.c: Likewise.
3733 * resolv/inet_addr.c: Likewise.
3734 * resolv/nsap_addr.c: Likewise.
3735 * resolv/res_comp.c: Likewise.
3736 * resolv/res_data.c: Likewise.
3737 * resolv/res_init.c: Likewise.
3738 * resolv/res_mkquery.c: Likewise.
3739 * resolv/res_query.c: Likewise.
3740 * resolv/res_send.c: Likewise.
3742 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
3744 * resolv/inet_ntop.c: Likewise.
3746 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
3747 Remove prototype of gethostbyname_ipv4.
3749 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
3750 functions instead of BSD `b*' functions.
3752 * resolv/nsap_addr.c: Add copyright message.
3754 * resolv/res_comp.c: Remove comment explaining label format.
3755 (res_mailok): Correct check.
3757 * resolv/res_debug: Include missing headers.
3758 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
3759 (__p_fqnname): New function to print FQDN from compressed name.
3760 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
3761 correctly. Add handling of T_KEY and T_SIG.
3762 Handle class and type names by using name arrays instead of
3763 explicit `switch'es.
3764 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
3765 (__dn_count_labels, __p_secstodate): New functions.
3767 * resolv/resolv.h (__RES): Update version number.
3768 (res_sym): New type.
3769 Add #defines for new functions.
3770 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
3771 __p_secstodate, dn_count_labels.
3773 * resolv/arpa/nameser.h (__BIND): Update version number.
3774 Add KEYFLAG_* and ALGORITHM_* symbols.
3775 (HEADER): Add `ad' and `cd' flags.
3777 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
3780 * manual/maint.texi: Document that we use bind-4.9.5.
3783 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
3785 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
3787 * mach/Makefile (mach/mach_host.uh): Depend on
3788 $(objpfx)/mach-syscalls.mk.
3789 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
3790 (This fixes a make loop; thanks to Marcus Daniels
3791 <marcus@sysc.pdx.edu> for the patch.)
3793 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
3795 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
3796 buffer is any longer than the amount necessary to hold the
3797 filename; the Hurd getcwd uses the *entire* contents of the
3798 buffer, however long it is specified to be.
3800 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
3802 * nss/nsswitch.c (__nss_database_lookup): Always release locks
3803 before returning. Reported by Miles Bader.
3805 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
3807 * nss/nsswitch.c (__nss_configure_lookup): New function.
3808 Allows to specify services.
3809 * nss/XXX-lookup.h: Rename database variable and make global.
3810 * nss/databases.def: New file. Real names of all databases.
3812 * nss/nss.h: New file. Contains declaration useful for users
3813 and service developers.
3814 * nss/nsswitch.h: Move some declarations to nss/nss.h.
3815 * nss.h: New file. Wrapper around nss/nss.h.
3817 * nss/Makefile (headers): Add nss.h.
3818 (distributes): Add databases.def.
3820 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
3822 Help the poor people with fast machines by making sure only
3823 one `ar' commands works on the library.
3824 * autolock.sh: New file. Written by Tom Tromey.
3825 * Makerules (do-ar): Call autolock.sh shell script instead of
3826 directly using `ar'.
3827 * config.make.in: Make configuration variable AUTOLOCK which
3828 gets initialized by configure.
3829 * configure.in: Define variable AUTOLOCK to point to autolock.sh
3830 script and mark it to substitute.
3832 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
3834 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
3835 always only if in static libc or if statically linked program
3838 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
3839 always only if in static libc or if statically linked program
3842 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
3844 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
3845 startup by moving Icache flush from here ...
3846 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
3847 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
3849 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
3850 calling conventions. The code is already correct.
3852 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
3854 * string/Makefile: Compile tester with -fno-builtin as we want to
3855 test our implementations, not gcc's.
3857 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
3859 * shadow.h: New file.
3861 * sysdeps/unix/sysv/linux/netinet/in.h: Move
3862 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
3865 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
3866 g++ 2.7.2 (and earlier) has no transparent unions support.
3868 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
3870 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
3871 function to determine the base address of sparse bus memory.
3872 (APECS_*): Rename to CIA_*.
3873 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
3874 (platform): Add sparse_bus_memory_base member and initialize.
3875 (sparse_bus_memory_base): New variable.
3877 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
3879 * sysdeps/posix/ttyname_r.c (ttyname_r),
3880 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
3881 !__isatty(fd) (POSIX.1 says so.)
3883 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
3884 This is not a gross hack, after all---for compatibility,
3885 getlogin() really should check fd 0 only and not try to base its
3886 operation on the controlling tty.
3888 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
3890 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
3891 change utmp_data from static to auto.
3893 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
3895 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
3896 Reported by David Mosberger-Tang.
3898 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
3900 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
3901 alias to `__isnanl'.
3903 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
3905 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
3906 get `struct timeval'.
3907 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
3908 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
3909 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
3910 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3911 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
3912 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
3914 * io/fts.h: Include <sys/types.h> to get dev_t.
3915 Reported by Matthias Urlichs.
3917 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
3918 _IO_file_flags. It's the same as _flags.
3919 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
3921 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3923 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
3925 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
3927 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
3928 * pwd/getpwent_r.c: Likewise.
3929 * pwd/getpwnam.c: Likewise.
3930 * pwd/getpwnam_r.c: Likewise.
3931 * pwd/getpwuid.c: Likewise.
3932 * pwd/getpwuid_r.c: Likewise.
3934 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
3935 * grp/getgrent_r.c: Likewise.
3936 * grp/getgrgid.c: Likewise.
3937 * grp/getgrgid_r.c: Likewise.
3938 * grp/getgrnam.c: Likewise.
3940 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
3941 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
3942 * pwd/Makefile (routines): Add fgetpwent_r.
3943 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
3945 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
3946 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
3947 * grp/Makefile (routines): Add fgetgrent_r.
3948 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
3950 Implement shadow password lookup functions. This is no complete
3951 shadow password suite.
3952 * shadow/Makefile: New file.
3953 * shadow/fgetspent.c: New file.
3954 * shadow/fgetspent_r.c: New file.
3955 * shadow/getspent.c: New file.
3956 * shadow/getspent_r.c: New file.
3957 * shadow/getspnam.c: New file.
3958 * shadow/getspnam_r.c: New file.
3959 * shadow/putspent.c: New file.
3960 * shadow/sgetspent.c: New file.
3961 * shadow/sgetspent_r.c: New file.
3962 * shadow/shadow.h: New file.
3963 * shadow/spwd-lookup.c: New file.
3964 * shadow/nss_files/files-spwd.c: New file.
3966 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
3968 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
3969 call is only a stub.
3970 Reported by Matthias Urlichs.
3972 * Makeconfig [!default_cflags]: Change default value from `-g'
3975 * configure.in: Recognize i686.
3976 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
3978 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
3980 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
3981 value of CFLAGS-.o, not CFLAGS-o.
3983 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
3984 pointer to ourself. Otherwise `gcc -O3' optimized init away.
3986 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
3988 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
3989 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
3991 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
3993 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
3994 to 0x137f to allow long double operations.
3996 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
4000 * nss/nsswitch.c (_res): Remove redundant variable definition.
4001 The real one is in resolve/res_init.c, and having both prevents
4002 using -fno-common when building the shared library.
4003 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
4005 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
4006 a .bss object not a COMMON symbol.
4008 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
4009 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
4013 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
4014 main loop for better dual-issue on EV5. Rearrange binary search to
4015 pipeline better and trim one instruction.
4019 * time/localtime.c (localtime_r): Move lock declaration back next to
4020 the comment where it was before the 960724 change.
4022 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
4023 The second word is supposed to be the hardware manufacturer.
4025 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
4026 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
4028 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
4030 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
4031 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
4032 Same cleanups as with EV4 GMP stuff.
4034 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
4036 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
4037 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
4038 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
4040 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
4042 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
4045 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
4047 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
4049 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
4052 * socket/sys/socket.h (send, __send, sendto): Declare buffer
4055 * string/tester.c (main): Test stpncpy.
4057 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
4058 segfault when called with an N that is not a multiple of four and
4061 * misc/syslog.c (LogType): New variable.
4062 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
4063 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
4065 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
4066 terminator as a record-delimiter. If __send(LogFile) fails,
4067 call closelog() so logfile gets re-opened next time.
4069 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
4071 * elf/dl-open (_dl_open): Add cast to avoid warning.
4073 * manual/memory.texi: Improve some examples to give readers better
4074 advice: Use `stpcpy' instead of `strcat' if possible.
4075 * manual/string.texi: Document `strtok_r' and `strtok'.
4077 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
4079 [$(cross-compiling)=no]: Change test before making librpcsvc
4080 to this from $(cross-compile).
4081 Reported by Andreas Schwab.
4083 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
4085 * elf/Makefile (routines): Move dl-sysdep to here...
4086 (rtld-routines): ...from here. This should make static linking
4089 * locale/setlocale.c: Add local variable `lock' and add code to
4090 `setlocale' to avoid simultaneous changing of global data.
4092 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
4093 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
4094 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
4095 of unprotected names.
4097 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
4099 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
4100 This requires to rename several functions to use __ protected
4102 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
4104 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
4105 and make old name a weak alias.
4106 * sysdeps/mach/hurd/getrlimit.c: Likewise.
4107 * sysdeps/mach/hurd/opendir.c: Likewise.
4108 * sysdeps/mach/hurd/readdir.c: Likewise.
4109 * sysdeps/stub/closedir.c: Likewise.
4110 * sysdeps/stub/opendir.c: Likewise.
4111 * sysdeps/stub/readdir.c: Likewise.
4112 * sysdeps/unix/closedir.c: Likewise.
4113 * sysdeps/unix/opendir.c: Likewise.
4114 * sysdeps/unix/readdir.c: Likewise.
4116 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
4118 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
4119 `__closedir' instead of unprotected names.
4121 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
4122 instead of `isatty' since later is not part of ISO C.
4123 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
4124 `open' since later is not part of ISO C.
4126 * login/endutent.c (endutent): Call `__endutent_r', not
4128 * login/endutent_r.c: Rename defined function to `__endutent_r',
4129 make `endutent_r' weak alias.
4130 * login/getutent.c (getutent): Call `__getutent_r', not
4132 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
4133 * login/getutid_r.c: Rename defined function to `__getutent_r',
4134 make `getutent_r' weak alias.
4135 * login/getutline.c (getutline): Call `__getutline_r', not
4137 * login/getutline_r.c: Rename defined function to `__getutline_r',
4138 make `getutline_r' weak alias.
4139 * login/pututline_r.c: Rename defined function to `__pututline_r',
4140 make `pututline_r' weak alias.
4141 * login/setutent.c (setutent): Call `__setutline_r', not
4143 * login/setutent_r.c: Rename defined function to `__setutline_r',
4144 make `setutline_r' weak alias.
4145 Rename `utmpname' to `__utmpname' and make former weak alias.
4146 (__utmpname): Call `__strdup', not `strdup'.
4147 * login/utmp.h: Add prototypes for name space clean reentrant
4149 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
4150 and `__endutent_r' instead of unprotected names.
4152 * math/math.h: Add prototype for `__matherr'.
4153 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
4156 * nss/getXXbyYY.c: Call __ protected reentrant function.
4157 * nss/getXXent.c: Likewise.
4158 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
4159 name. Make usual name a weak alias.
4160 * nss/getXXent_r.c: Likewise.
4162 * posix/unistd.h: Add prototype for `__ttyname_r'.
4163 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
4164 and make `ttyname_r' a weak alias.
4166 * resource/sys/resource.h: Add prototype for `__getrlimit'.
4167 * sysdeps/stub/getrlimit.c: Prepend function name with __
4168 and make old name a weak alias.
4169 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
4170 and make `getrlimit' weak alias.
4172 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
4173 * libc/stdio/vscanf.c: De-ANSI-fy.
4174 Rename function to `__vscanf' and make `vscanf' a weak alias.
4175 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
4178 * stdio-common/reg-printf.c: De-ANSI-fy.
4179 Rename function to `__register_printf_function' and make
4180 `register_printf_function' weak alias.
4182 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
4185 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
4186 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
4187 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
4188 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
4189 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
4191 * wcsmbs/mbsrtowcs.c: Likewise.
4192 * wcsmbs/wcrtomb.c: Likewise.
4193 * wcsmbs/wcsrtombs.c: Likewise.
4194 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
4196 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
4197 instead of `sigprocmask'.
4200 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
4201 version getgrent_r, getgrgid_r, and getgrnam_r.
4202 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
4203 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
4205 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
4208 * misc/error.c (private_strerror): Translate messages from table,
4211 * io/fcntl.h: Pretty printing.
4212 * misc/fstab.h: Likewise.
4213 * misc/ttyent.h: Likewise.
4214 * resource/sys/resource.h: Likewise.
4215 * string/argz.h: Likewise.
4216 * string/envz.h: Likewise.
4218 Add support for symbols from POSIX.1c (POSIX threads).
4219 * posix/getconf.c: Handle new sysconf symbols.
4220 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
4221 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
4222 * sysdeps/generic/confname.h: Define new symbols.
4223 * sysdeps/posix/sysconf.c: Handle new symbols.
4224 * sysdeps/stub/sysconf.c: Ditto.
4225 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
4228 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
4229 have real prototype.
4231 * sysdeps/generic/resourcebits.h: Add macro definition for
4232 RLIMIT_* values. Some sources test using #ifdef whether specific
4234 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
4235 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
4236 separate files for the architectures.
4237 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
4238 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
4239 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
4240 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
4242 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
4243 and only default on `OPEN_MAX'.
4244 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
4247 * time/Makefile (routines): Add ctime_r.
4248 * time/asctime.c: Add implementation of `asctime_r'. Make
4249 `asctime' implementation based on reentrant version.
4250 * time/ctime_r.c: New file.
4251 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
4254 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4256 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
4257 (_nl_C_LC_CTYPE): Fix ordering.
4258 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
4261 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
4263 * csu/initfini.c: Discover the maximum alignment generated by the
4264 compiler when emitting a function.
4265 (_init): Make sure the end of the crti fragment is aligned.
4268 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
4270 * initfini.c: (__libc_is_static): New variable. Will be
4271 initialized in init-first.c. Some actions in the libc work
4272 different when libc is static or dynamic.
4274 * sysdeps/unix/sysv/linux/init-first.c (init): Use
4275 `__libc_is_static' variable to determine whether call to
4276 `personality' and `setfpucw' is necessary. When done set variable
4277 to +-1 depending on library type.
4279 * locale/setlocale.c (setlocale): Use global variable
4280 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
4281 determine whether it's a SET[UG]ID program.
4283 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
4285 * Version 1.93 test release.
4287 * manual/Makefile: Use -include for chapters-incl too.
4289 * Makeconfig (+link): Add back start.o, mistakenly removed in last
4292 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4294 * nss/Makefile (generated): Add db-*.c.
4296 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
4297 using #include_next.
4299 * configure.in (--enable-add-ons): Quote m4 macro args.
4301 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
4303 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
4305 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
4307 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
4309 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
4312 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
4313 warning when inline function is elided.
4314 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
4315 (elf_machine_runtime_setup): Likewise.
4316 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
4317 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
4318 (elf_machine_load_address): Likewise.
4320 * catgets/gencat.c: Include <locale.h>.
4322 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
4324 * login/logwtmp.c (logwtmp): Call time, not __time.
4326 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
4327 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
4328 * login/logwtmp.c (logwtmp): Likewise.
4330 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
4331 comparing ioctl macro values.
4333 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
4335 * manual/Makefile: Use -include for chapters to suppress warning.
4337 * sysdeps/stub/socket.c: Fix type of TYPE arg.
4338 * sysdeps/stub/socketpair.c: Likewise.
4340 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
4342 * sysdeps/generic/sysdep.h: New file, broken out of ...
4343 * sysdeps/unix/sysdep.h: ... here.
4344 (C_LABEL): Moved out.
4346 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
4347 stick to sed. Do `exit 0' at end because while returns nonzero.
4349 * sysdeps/i386/sysdep.h: New file, broken out of ...
4350 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
4352 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
4353 They are defined unconditionally in libio/stdio.h.
4355 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
4356 * elf/dl-cache.c: Likewise.
4358 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
4360 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
4361 (sysdep_headers): Add sys/sysmacros.h.
4362 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
4364 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
4366 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
4367 tcgetattr. We have weak aliases now.
4368 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
4369 "optimizations" for random functions.
4371 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4373 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
4374 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
4375 redefinition warning.
4377 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4379 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
4382 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4384 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
4387 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
4389 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
4391 Reported by Richard Henderson <rth@tamu.edu>.
4393 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4395 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
4398 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
4400 * locale/setlocale.c (setlocale): Don't try to free C locale
4402 Reported by Matthias Urlichs.
4404 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
4406 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
4407 (open_file): New function, contents mostly from __open.
4408 (_dl_sysdep_read_whole_file): New function.
4410 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
4412 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
4413 `..' dots in sed search string.
4415 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4417 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
4420 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4422 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
4423 in those directories.
4424 * config.make.in (add-ons): New varaible, set from @subdirs@.
4425 * Makefile (subdirs): Added $(add-ons) at the end.
4427 * time/strftime.c (strftime: do_number): Initialize PRINTED to
4428 MAXDIGITS in case P is null and so sprintf is never actually called.
4430 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
4432 Add support for the to-be-written internationalized regexp.
4433 This code must be able to use collation symbols and collation
4435 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
4436 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
4437 New global variables for collation classes.
4438 * locale/categories.def: Add new descriptions for collation symbols
4439 and collation classes.
4440 * locale/langinfo.h: Add constants for collation symbols and
4442 * locale/lc-collate.c: Add new global variables for collation symbols
4443 and collation classes.
4444 (_nl_postload_collate): Initialize new variables.
4445 * locale/programs/ld-collate.c: Add code to emit tables for
4446 collation symbols and collation classes.
4447 * locale/programs/locales.h: Change prototype for `collate_output'.
4448 * locale/programs/locfile.c (write_all_categories): Call
4449 `collate_output' with new argument.
4450 * locale/localeinfo.h: Add declaration for new global vars.
4451 (union locale_data_value): New member wstr for `wchar_t' strings.
4452 * locale/programs/locale-spec.c: Handle `collate-classes'
4453 keyword and print information about available collation classes.
4454 * locale/strlen-hash.h: New file. Simple hashing function which
4455 takes a string with known length.
4456 * locale/Makefile (distribute): Add strlen-hash.h.
4457 (locale-modules): New var. Additional files for `locale' program.
4459 * locale/C-ctype.c: Rewrite to avoid using string for giving values
4460 which are of type `u_int32_t'.
4461 Correct entry for EOF in toupper and tolower tables.
4463 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
4466 * locale/programs/ld-ctype.c (ctype_output): Add code to make
4467 sure that all tables in binary file are word-aligned.
4469 * locale/programs/locfile.c (write_locale_data): Correct handling
4470 of LC_MESSAGES locale. Create directory if necessary.
4472 * locale/setlocale.c (setlocale): Add cast to avoid warning.
4474 * string/string.h: Add prototype for `__strndup'.
4476 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4478 * wcsmbs/mbrtowc.c: Remove unused variable.
4480 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4482 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
4483 2.0.10; some problems were reported with an earlier version, and this
4484 one is known to work.
4486 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
4487 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4489 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
4491 * elf/rtld.c (dl_main): Ignore arguments when environment variable
4492 LD_TRACE_LOADED_OBJECTS is set.
4494 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4496 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
4497 __libc_enable_secure instead of _dl_secure.
4498 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4499 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
4501 * elf/Makefile (routines): Add enbl-secure.
4502 (elide-routines.so): Here too.
4503 * sysdeps/generic/enbl-secure.c: New file.
4504 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
4505 * elf/dl-support.c (_dl_secure): Variable removed.
4506 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
4508 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
4510 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
4511 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
4512 compiler doesn't elide it.
4513 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
4515 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4517 * elf/rtld.c (dl_main): Take new option --verify when run directly.
4518 In verify mode, exit with status zero iff the argument object's
4519 PT_INTERP matches argv[0].
4520 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
4521 exits with zero status. This makes `ldd' secure again.
4523 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
4525 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
4526 environment variable handling. This makes the dynamic linker
4527 only print loaded libraries and quit.
4529 * elf/ldd.sh.in: Don't use `rtld --list' but instead
4530 LD_TRACE_LOADED_OBJECTS environment variable to print needed
4533 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4535 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
4536 after printing version until after doing usage for --help.
4537 (long_options, main, usage): Rename -l/--lowercase option to
4538 -f/--fold-case (-f matches sort).
4540 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
4542 * db/makedb.c: New file. Implement program to create simple <db.h>
4543 database from textual input. This will be used for nss_db.
4545 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4547 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
4548 * sunrpc/rpc/pmap_clnt.h: Likewise.
4549 * sunrpc/rpc/auth.h: Likewise.
4550 * sunrpc/rpc/pmap_rmt.h: Likewise.
4551 * sunrpc/rpc/rpc_msg.h: Likewise.
4553 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
4555 * string/string.h (strndupa): Change to use return value of
4556 `memcpy' for more performance.
4557 * string/strndup.c: Likewise.
4559 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
4560 This might lead to problems.
4561 (strndupa): Likewise.
4563 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
4565 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
4566 and change K&R prototypes to ANSI prototypes.
4567 * sunrpc/rpc/auth_unix.h: Ditto.
4568 * sunrpc/rpc/clnt.h: Ditto.
4569 * sunrpc/rpc/pmap_clnt.h: Ditto.
4570 * sunrpc/rpc/pmap_prot.h: Ditto.
4571 * sunrpc/rpc/pmap_rmt.h: Ditto.
4572 * sunrpc/rpc/rpc_msg.h: Ditto.
4573 * sunrpc/rpc/svc.h: Ditto.
4574 * sunrpc/rpc/svc_auth.h: Ditto.
4575 * sunrpc/rpc/xdr.h: Ditto.
4577 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4579 * ctype/test_ctype.c: Test EOF too.
4581 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
4583 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
4584 * sunrpc/rpc/auth_unix.h: Likewise.
4585 * sunrpc/rpc/clnt.h: Likewise.
4586 * sunrpc/rpc/netdb.h: Likewise.
4587 * sunrpc/rpc/pmap_clnt.h: Likewise.
4588 * sunrpc/rpc/pmap_prot.h: Likewise.
4589 * sunrpc/rpc/rpc_msg.h: Likewise.
4590 * sunrpc/rpc/svc.h: Likewise.
4591 * sunrpc/rpc/svc_auth.h: Likewise.
4592 * sunrpc/rpc/xdr.h: Likewise.
4594 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
4596 * sunrpc/pmap_rmt.c: ...here.
4598 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
4600 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
4602 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
4605 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4607 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
4608 <kkojima@info.kanagawa-u.ac.jp>.
4610 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
4612 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
4613 defined, not __OPTIMIZED.
4614 (_nl_msg_cat_cntr): Move declaration outside macro definition
4615 to prevent "nested extern" warning.
4616 (dcgettext): Rename local variable `result' to `__result'.
4618 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4620 * locale/programs/localedef.c (__progname): Remove decl.
4621 (main): Use program_invocation_short_name instead of __progname.
4622 (usage): Use program_invocation_name instead of __progname.
4624 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
4626 * catgets/gencat.c: Use "libc" instead of PACKAGE.
4627 * locale/localedef.c: Ditto.
4628 * locale/locale.c: Ditto.
4630 * locale/findlocale.c (_nl_find_locale): Little optimization.
4631 Use new function `strndup'.
4633 * locale/loadlocale.c: Little optimization. Use constant value
4634 from `_nl_category_num_items' instead of byte-order dependend
4637 * locale/programs/ld-time.c (time_add): Correct string constant.
4639 * locale/programs/locale-spec.c: New file.
4640 * locale/programs/locale.c: Call `locale_special' function if
4641 no other field matches.
4643 * locale/programs/localedef.c: No need to define `program_name'.
4644 Use global variable `__progname'.
4646 * locale/programs/locfile.c (write_locale_data): Always write
4647 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
4648 necessary since message catalogs are also installed in the
4649 LC_MESSAGES/ directory.
4651 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
4652 function instead of writing single bytes.
4653 (encode_char): Also handle little endian.
4655 * locale/setlocale.c (new_composite_name): Little optimization.
4656 Use return value of `memcpy'.
4658 * misc/ttyent.h: Pretty print prototypes, add missing parameter
4659 names, prepend parameter names with __ and use `__const' instead
4661 * posix/unistd.h: Ditto.
4662 * stdlib/stdlib.h: Ditto.
4663 * string/string.h: Ditto.
4665 * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names.
4666 Use `error' function instead of doing it by hand.
4667 * sysdeps/posix/sysconf.c: De-ANSI-fy.
4668 Handle _SC_COLL_WEIGHTS_MAX.
4669 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
4670 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
4671 since these do depend on the platform.
4672 Add POSIX.4 symbols.
4674 * posix/posix2_lim.h: Add missing definition of
4675 _POSIX2_COLL_WEIGHTS_MAX.
4676 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
4677 to high values since we have no fixed limit.
4679 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
4680 _SC_PAGESIZE for buggy systems (= HP UX) out there.
4682 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
4683 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
4684 * wcsmbs/wcsnrtombs.c: Ditto.
4685 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
4688 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
4690 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
4692 * nss/getXXent_r.c: Likewise.
4693 * nss/nsswitch.c: Likewise.
4694 * nss/nss_files/files-XXX.c: Likewise.
4695 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
4696 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
4697 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
4699 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4701 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
4702 macro, now put the needed Linux version just once, here; update to
4703 needing linux-2.0.3 headers.
4704 (libc_cv_linuxVER): New macro derived from that.
4705 (kernel header check): Use those macros and some m4 magic to replace
4706 hard-coded `201' and `2.0.1' in several places.
4708 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
4710 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
4712 * time/localtime.c: Move lock variable declaration to end of
4713 variable declarations since if is a dummy macro the ; at the
4714 end terminates the variable section of the function.
4716 * time/tzset.c: Undefine `tzset' before function declaration.
4717 Use `weak_function' macro instead of `weak_symbol'.
4719 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
4721 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
4724 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
4726 * locale/C-ctype.c: Increment number of fields after change
4727 from Wed Jun 19 03:24:58 1996.
4729 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4731 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
4732 ($(common-objpfx)libc.so): Move deps into that, use it.
4733 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
4734 $(rpcuserlibs:.so=_pic.a).
4735 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
4738 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4740 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
4741 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
4743 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
4745 * locale/iso-4217.def: Add India to comment for symbol "INR ".
4746 Reported by Raja R Harinath <harinath@cs.umn.edu>.
4748 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4750 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
4753 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4755 * time/tzset.c: Include <libc-lock.h>.
4756 (__tzset_lock): New lock variable.
4757 (tzset): New function (weak defn), no longer weak alias for __tzset.
4758 Call __tzset while holding __tzset_lock.
4759 * time/localtime.c: Include <libc-lock.h>.
4760 (__localtime_r): Hold __tzset_lock while doing the work.
4762 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
4763 from [!HAVE_GNU_LD] to [!_LIBC].
4764 [_LIBC]: Include <libc-lock.h> and define a lock.
4765 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
4766 (setenv, unsetenv): Use them.
4768 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
4770 * locale/programs/locfile.c (write_locale_data): Deal with missing
4773 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
4774 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
4776 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4778 Win32 hacks from <Rob_Tulloh@tivoli.com>.
4779 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
4780 use void * for my_realloc; include <malloc.h> for alloca.
4781 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
4782 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
4783 * posix/glob.h: Likewise.
4785 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
4787 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
4788 call __io_select unless there's only a single descriptor, as each
4789 descriptor now has its own reply port.
4790 If there is only a single descriptor, just use its reply port for
4791 everything and don't bother creating the port set.
4793 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
4794 <unistd.h>: New include.
4796 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
4799 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4801 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
4802 from the USA any software that even makes it easy to drop in an
4803 encryption module of foreign origin.
4804 * Makerules (cryptobjdir): Variable removed.
4805 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
4806 * Makefile (subdirs): Remove crypt.
4808 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
4810 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
4811 operator to yesexpr and noexpr string.
4813 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
4815 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
4816 old code would have failed on a big-endian 64-bit architecture).
4817 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
4819 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
4820 (xdr_u_long): Use switch instead of chain of if-statements.
4821 Remove gratitous parentheses around return expressions.
4822 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
4824 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
4826 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
4829 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4831 * dlfcn.h, db.h: New wrapper headers.
4833 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
4834 for `struct stat;' forward decl.
4836 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
4838 * locale/iso-4217.def: Add some more standardized currency
4841 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4843 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
4845 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
4847 * Rules (dummy.o, empty.o): Targets removed.
4848 (dummy.c, empty.c): New targets replace them.
4850 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4852 * crypt/Makefile (lib-noranlib): Depend on
4853 $(objpfx)libcrypt.so$(libcrypt.so-version).
4856 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
4858 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
4859 check. mib's clueless hacking broke it.
4861 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4863 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
4865 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
4867 * misc/sys/ustat.h: New file.
4868 * misc/ustat.h: Ditto.
4869 * sysdeps/generic/ustatbits.h: Ditto.
4870 * sysdeps/stub/ustat.c: Ditto.
4871 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
4872 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
4874 (routines): Mention ustat.
4876 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
4877 * sysdeps/alpha/elf/start.S: here.
4879 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
4880 alphabetically correct place. Mention ustat.
4882 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
4883 common symbol (makes errno accessible from gdb).
4885 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
4888 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
4889 record always gets appended at end of file (wtmp is a log file,
4890 after all). Set ut_type to DEAD_PROCESS if name is empty.
4892 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
4893 separate loop from search for UT_ID. Fix code so it is in
4894 sync with Unix man page.
4896 * login/getutline_r.c (getutline_r): Stop searching only if
4897 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
4899 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
4901 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
4902 avoid duplicate declarations.
4904 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
4906 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
4907 and alpha-gnu-linuxecoff targets.
4909 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
4911 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
4913 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
4915 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
4918 * resolv/res_comp.c (res_hnok): Use empty statement in place
4919 of NULL (which generates a "useless expression" warning in
4922 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
4924 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
4925 with $(..) in output.
4927 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4929 * elf/Makefile (dl-routines): Add dl-cache.
4930 * elf/dl-cache.c: New file.
4931 * elf/dl-load.c (_dl_map_object): Check cache before default path.
4933 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
4935 * stdio-common/vfscanf.c: Major change. Now read character
4936 from stream only if needed. Before it was read after the
4937 previous character was used.
4938 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
4940 * stdio-common/tstscanf.c: Change test program so that return
4941 value is != 0 if one test failed.
4943 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4945 * sysdeps/m68k/Makefile (crypt): Variable removed.
4946 * sysdeps/sparc/Makefile: Likewise.
4948 * version.h (VERSION): Update to 1.93.
4950 * Makerules ($(libdir)/libc.so): Depend on
4951 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
4953 * crypt/nocrypt.c: New file.
4954 * Makefile (subdirs): Add crypt.
4955 * crypt/Makefile: New file.
4957 * Makerules (soversions.mk): Move this target, include of it, and
4958 include of version.mk to ...
4959 * Makeconfig: ... here.
4960 (soversions.mk): Depend on Makeconfig instead of Makerules.
4962 * shlib-versions (*-*-*): Set libcrypt=0.
4964 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
4966 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
4967 word extends right up to rmargin.
4969 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
4970 output the wrap margin, set point_col to wmargin.
4971 Use negative point_col to deal with a wmargin of 0.
4972 (line_wrap_point): Return 0 for a negative point_col.
4973 (line_wrap_stream): Make wmargin ssize_t.
4974 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
4976 (line_wrap_stream): Make wmargin ssize_t.
4977 (line_wrap_point): Return 0 for a negative point_col.
4979 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4981 * shlib-versions (*-*-gnu*): Set libc=0.0
4983 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4985 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
4986 sysdeps/i386/dl-machine.h.
4988 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
4990 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
4991 to fiddle __put_limit in conjunction with __linebuf_active.
4993 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4995 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
4996 to the strong name, not the file name.
4998 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5000 * csu/initfini.c: More magic. Detect if .end is produced and put it
5001 in the output iff the compiler does.
5003 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
5004 because that is broken on alpha.
5006 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
5009 * Makerules (make-link): Install the new link with atomic mv -f in
5010 case ln itself requires the library being installed.
5012 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
5014 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
5015 i386/dl-machine.h of 960713.
5017 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
5018 (_dl_sysdep_read_whole_file): Fix result variable declaration.
5020 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5022 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
5025 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
5027 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
5028 with pointer to local variable instead of NULL.
5030 1996-07-15 Paul Eggert <eggert@twinsun.com>
5032 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
5034 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5036 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
5037 that are already added by other means.
5039 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
5040 caller column to get those syscalls added automagically.
5042 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
5044 * login/logout.c (logout): Initialize DATA to a state that will
5045 make setutent_r happy.
5047 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5049 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
5050 instead of setting the DT_DEBUG pointer.
5052 * csu/initfini.c (_init, _fini): Generate .end directives after
5053 standalone prologues and filter them out from epilogues.
5055 * Makeconfig (rtld-installed-name): Set to ld.so.1.
5056 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
5059 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
5061 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
5063 * MakeTAGS (extract): Pass --add-comments=TRANS.
5064 * sysdeps/gnu/errlist.awk: Write comments into the output with the
5065 descriptive paragraphs from the manual preceded by TRANS.
5067 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
5068 (_dl_start): Move RESOLVE defn inside this function and #include
5069 "dynamic-link.h" a second time there.
5070 [RTLD_START]: Move use of this after _dl_start function.
5072 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
5074 * elf/rtld.c: Include <string.h>.
5076 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
5077 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
5078 Conditionalize defns on [RESOLVE].
5079 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
5080 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5081 Instead use RESOLVE macro with same args.
5082 (elf_machine_rel): Conditionalize defn on [RESOLVE].
5083 * elf/dl-reloc.c (RESOLVE): New macro, define before including
5084 "dynamic-link.h". It replaces `resolve' local function.
5085 * elf/dl-runtime.c: Likewise.
5086 * elf/rtld.c: Likewise.
5088 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
5090 * elf/dl-open.c (_dl_open): Force an indirect call for
5091 _dl_relocate_object so there is no chance a PLT fixup will be done
5092 and clobber _dl_global_scope before our call happens.
5094 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
5095 to =t; must operate on top of fp reg stack, not second from top.
5096 Correct input constraint to 0 from t; must be explicit when input and
5097 output are the same register.
5098 (floor): Use __volatile instead of volatile.
5101 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
5104 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5106 * manual/Makefile (lib): New phony target. Depend on stamp files.
5107 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
5109 1996-07-13 Paul Eggert <eggert@twinsun.com>
5111 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
5112 to match Emacs format-time-string specification.
5113 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
5115 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5117 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
5118 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
5119 between MAP and its deps.
5120 * elf/link.h: Fix decl.
5121 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
5122 colon-separated list of names, map those and pass vector of ptrs as
5123 PRELOADS list to _dl_map_object_deps.
5124 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
5125 _dl_map_object_deps with empty preload list.
5126 * elf/dl-open.c (_dl_open): Likewise.
5128 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
5130 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
5131 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
5132 Conditionalize defn on [! MAP_ANON].
5133 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
5135 * elf/rtld.c (dl_main): Likewise.
5136 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
5137 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
5139 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
5141 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
5143 * stdlib/random.c (__random): Declare as int32_t to be in sync
5146 * socket/Makefile (headers): Add socketbits.h.
5148 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
5151 * grp/initgroups.c (initgroups): Add groups that user is a member
5152 of, not the ones he is _not_ a member of.
5154 * nss/nsswitch.c (known_compare): Make known_compare() a static
5155 instead of a local function. The latter are difficult to debug
5156 and slow to execute on certain platforms.
5158 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
5159 place of sizeof (dev). The size of a literal string includes the
5162 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
5164 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
5166 * misc/mntent.c (addmntent): Seek to end of file before writing
5167 entry. Return 1 on error, not -1.
5169 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
5171 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
5174 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
5176 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
5177 shift amount for Jensen must be 5 not 4.
5179 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5181 * socket/sys/socket.h (struct osockaddr): New type.
5183 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
5185 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
5186 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
5187 and `long double' versions can be generated.
5188 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
5189 so that included efgcvt{,_r}.c file generate `long double'
5191 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
5194 * manual/startup.texi: Document new getsubopt function.
5195 * manual/examples/subopt.c: New example program for documenting
5198 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
5200 * stdlib/Makefile (routines): Add getsubopt.
5201 * stdlib/stdlib.h: Add prototype for getsubopt.
5202 * stdlib/getsubopt.c: New file. Implement getsubopt function
5203 to handle suboption parsing.
5205 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5207 * inet/getnetent_r.c: Define NEED_H_ERRNO.
5208 * inet/getnetbynm_r.c: Likewise.
5209 * inet/getnetent.c: Likewise.
5210 * inet/getnetbyad_r.c: Likewise.
5211 * inet/getnetbyad.c: Likewise.
5212 * inet/getnetbynm.c: Likewise.
5214 * sysdeps/generic/pselect.c: Include <sys/time.h>.
5216 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
5219 * math/Makefile (calls): Add s_frexp, s_ldexp.
5220 (routines): Remove them and &f from here.
5222 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
5224 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
5227 * nss/nss_files/files-XXX.c: Comment fix.
5229 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
5231 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
5232 of reentrant function.
5233 (setup): Pass additional argument with function name we are
5235 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
5236 new argument {SET,END,GET}FUNC_NAME_STRING.
5238 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
5239 we return a pointer.
5241 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5243 * nss/nss_files/files-parse.c: Add comment about things to #define.
5245 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
5247 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
5248 terminator char as an error.
5250 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
5252 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
5254 * catgets/gencat.c (write_out): Move code to determine new
5255 best size out of inner loop.
5257 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
5259 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
5260 implementation of frexp() function.
5261 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
5262 implementation of ldexp() function.
5264 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
5267 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
5269 * misc/mntent.c: Include <sys/types.h>.
5270 (endmntent): Return 1 one success, 0 on failure.
5271 (getmntent): Chop newline and ignore empty lines.
5273 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5275 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
5276 differently based on [RTLD_BOOTSTRAP].
5277 (elf_machine_rela): Use it instead of the fn ptr arg directly.
5279 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5281 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
5282 __glob_closedir_hook): Remove decls.
5284 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
5286 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
5287 for send and connect syscalls.
5289 * socket/sys/socket.h: New file, taken from non-sysdep parts of
5290 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
5291 Declare __ names for send and connect.
5292 * sysdeps/generic/socketbits.h: New file.
5293 * sysdeps/unix/sysv/linux/socketbits.h: New file.
5294 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
5295 * sysdeps/generic/sys/socket.h: File removed.
5297 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
5298 * sysdeps/mach/hurd/send.c: Likewise.
5300 * sysdeps/mach/libc-lock.h: New file.
5301 * sysdeps/unix/readdir.c: Do locking.
5302 * sysdeps/unix/seekdir.c: Likewise.
5303 * sysdeps/unix/rewinddir.c: Likewise.
5304 * sysdeps/unix/closedir.c: Likewise.
5305 * sysdeps/unix/bsd/telldir.c: Likewise.
5306 * sysdeps/mach/hurd/seekdir.c: Likewise.
5307 * sysdeps/mach/hurd/readdir.c: Likewise.
5308 * sysdeps/mach/hurd/closedir.c: Likewise.
5309 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
5310 * sysdeps/unix/opendir.c: Likewise.
5311 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
5312 (struct __dirstream): Add lock member using __libc_lock_define.
5313 * sysdeps/unix/dirstream.h: Likewise.
5315 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
5317 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
5319 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
5321 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
5323 * locale/programs/stringtrans.c: Fix typo in copyright.
5325 * stdio-common/printf-prs.c: Add casts to prevent
5326 signed<->unsigned warnings.
5328 * stdio-common/printf-parse.h: Initialize state variable before
5330 * stdio-common/printf-prs.c: Don't initialize state variable here.
5331 * stdio-common/vfprintf.c: Don't initialize state variable.
5332 (vfprintf): While determining length of multibyte string don't
5333 try to be clever in determining characters to use for first
5336 Add real implementation of multibyte<->wide char conversion
5337 functions. The functions always convert between the fixed wide
5338 char format (ISO 10646 in UCS4) and the UTF8 representation of
5339 this character set. Conversion between the currently used
5340 8bit character set and ISO 10646 will not take place. This is
5341 what iconv() is for.
5342 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
5344 Add optimized version of `mbrlen' function.
5345 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
5347 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
5349 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
5350 This is needed in the wchar.h header.
5351 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
5352 encoded character to UCS4.
5353 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
5354 element of `mbstate_t' for initial state.
5355 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
5356 encoded string to UCS4 string.
5357 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
5358 character to UTF8 encoded form.
5359 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
5360 encoded string to UTF8 encoded form.
5362 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5364 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
5365 variable name, so new a libc with new requirements won't fail to
5366 notice an insufficient Linux version.
5368 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
5370 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
5371 instead of 2.0 headers.
5373 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
5375 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
5376 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
5378 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
5379 before using it in lhs of weak_alias.
5381 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
5382 Call __nss_lookup when not setting STARTP.
5383 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
5384 function-calling loop.
5386 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
5388 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
5389 PENDIN, NOFLSH): Undefine these at start if they are already
5390 defined to avoid collision with termbits.h.
5391 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
5392 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
5394 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5396 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
5397 already defined to float, long double. Use those macros for _Mdouble_
5398 defns when including mathcalls.h.
5399 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
5400 -D_Mlong_double_=double.
5402 Add more -lm functions to -lc because ldexp uses them.
5403 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
5404 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
5405 ldexp have both f and l code, and those have f though not l code.
5407 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
5409 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
5410 error is 0. The "placeholder" entries recently added to
5411 errno.texi convert to zero since `???/' is at the front of them.
5412 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
5414 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
5415 __const to conform with unistd.h.
5417 * stdlib/stdlib.h (random): Declare return type to be int32_t.
5419 * string/argz-delete.c (argz_delete): Use memmove instead of
5420 memcpy for possibly overlapping strings.
5422 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5424 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
5425 storage class. GCC gives an error for non-extern data defns with the
5428 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
5430 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
5431 memmove instead of memcpy for possible overlapping strings.
5433 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5435 * libc-symbols.h (weak_function): New macro.
5436 For GCC 2.7+ define as __attribute__ ((weak)).
5437 * elf/dl-minimal.c: Use weak_function as keyword in function defns
5438 instead of weak_symbol (NAME) after the defn.
5439 * stdlib/strtol.c: Likewise.
5440 * stdlib/strtod.c: Likewise.
5441 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5443 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
5444 If this is defined, don't declare _dl_rtld_map as weak, and
5445 don't check for MAP pointing to it. RESOLVE is always null in this
5446 case, so test with #ifdef instead of if.
5448 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
5450 * csu/initfini.c (_init): Likewise.
5451 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
5452 * misc/efgcvt_r.c: Likewise.
5453 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5456 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
5457 It was not used in any assembler code.
5458 (weak_symbol_asm): Renamed to weak_extern_asm.
5459 (weak_extern): New macro replaces weak_symbol for weak extern refs;
5460 define to weak_extern_asm for [!ASSEMBLER].
5462 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5464 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
5465 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
5466 define those now as aliases.
5467 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
5468 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
5469 after GCC weak attribute decl.
5471 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
5472 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
5473 (element printer): Check for elt in ALIAS, instead of special case
5476 * io/Makefile (headers): Add sys/vfs.h.
5477 * io/sys/vfs.h: New file.
5479 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
5480 critical section lock before unlinking dying active resources.
5481 The unlock just before return is right (i.e. old code unlocked twice).
5483 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
5485 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
5486 Use memmove instead of memcpy where overlap is possible (not
5487 necessary using current implementation of memcpy, but...).
5488 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
5490 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
5492 * stdio/linewrap.c (lwupdate): New function, mostly was
5493 __line_wrap_update. Use POINT_COL field instead of POINT.
5494 (__line_wrap_output): Use lwupdate.
5495 (__line_wrap_update): New function.
5496 (ensure_unwrapped, ensure_wrapped): New functions.
5497 (line_wrap_set_lmargin, line_wrap_set_rmargin,
5498 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
5500 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
5501 POINT_COL. Add POINT_OFFS field.
5502 (__line_wrap_update): New decl.
5503 (line_wrap_set_lmargin, line_wrap_set_rmargin,
5504 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
5506 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
5508 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
5510 * login/pututline_r.c (pututline_r): Since we assign RESULT from
5511 lseek now, check that it's >= 0, not == 0.
5513 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
5515 * login/login.c (login): Make a copy of *UT, fill in various
5516 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
5519 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
5520 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
5522 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5524 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
5525 signal during critical section doing interruptible RPC, if
5526 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
5527 before thread_resume. If in critical section, pass 0 for SIGNO to
5528 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
5530 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
5532 * sysdeps/unix/sysv/linux/sys/user.h: New file.
5533 * sysdeps/unix/sysv/linux/Dist: Add it.
5534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
5536 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
5537 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
5538 itself, no need to skip past a NUL.
5540 * nss/nsswitch.h (known_function): Comment fix.
5541 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
5542 directly. Do the lookup and insertion with a single call, and fill in
5543 the tree node afterwards if new.
5544 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
5546 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
5547 (struct timeval): Add bodiless decl for scope.
5549 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
5550 Move struct timespec defn outside [_TIME_H] so it can be got with
5551 #define __need_timespec.
5553 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
5554 for `struct timespec' member names.
5555 (TIMESPEC_TO_TIMEVAL): Likewise.
5557 * nss/Makefile (extra-libs-others): New variable.
5559 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
5560 $(lib) in $(extra-libs-others).
5561 * sunrpc/Makefile (extra-libs-others): New variable.
5562 (librpcsvc-no-lib-dep): Variable removed.
5564 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
5565 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
5567 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
5568 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
5569 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
5570 _dl_rtld_map weak only here.
5572 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
5574 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
5576 * login/utmp.h: Fix typos.
5578 * misc/syslog.c (vsyslog): Use __send instead of send and
5579 __connect instead of connect to avoid name-space collisions (e.g.,
5582 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5584 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
5586 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
5588 * malloc/malloc-size.c (malloc_usable_size): Renamed from
5589 malloc_object_allocation_size.
5590 * malloc/malloc.h: Fix decl.
5592 * sys/select.h: New file, wrapper header.
5594 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
5595 fd_set, associated macros, and select decl.
5597 * sysdeps/posix/isfdtype.c: New file.
5599 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
5601 The latest Japanese proposal for POSIX locales renames the
5602 CHARMAP keyword in locale definition files to CHARCONV.
5603 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
5604 function ctype_is_charmap to ctype_is_charconv.
5605 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
5607 * locale/programs/locfile-token.h: Add definition of token
5609 * locale/programs/locfile.c: Recognize charconv keyword. Rename
5610 lables according to this.
5612 * locale/weight.h (get_weight): Cast constants to prevent
5615 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
5616 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
5619 New stuff described in P1003.1g.
5620 * misc/Makefile (headers): Add sys/select.h.
5621 (routines): Add pselect.
5622 * misc/sys/select.h: New file. Declare select functions and
5623 needed data types and macros.
5624 * sysdeps/generic/pselect.c: New file. Add generic implementation
5625 of pselect() function which uses select().
5627 * posix/getconf.c: Recognize new variables from P1003.1g.
5628 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
5629 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
5630 * posix/unistd.h: Add description of the P1003.1g variables.
5631 * sysdeps/generic/confname.h: Define _SC_* values for new
5633 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
5635 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
5636 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
5638 * sysdeps/stub/sysconf.c (sysconf): Ditto.
5639 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
5640 _POSIX_SELECT since Linux has this.
5642 * socket/Makefile (routines): Add isfdtype.
5643 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
5644 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
5647 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
5649 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5651 * elf/Makefile (LDFLAGS-dl.so): New variable.
5652 (libdl.so): Depend on eval.so.
5653 (distribute): Add eval.c.
5654 * elf/eval.c: New file.
5656 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
5657 in case it wrote fewer than MAXDIGITS chars.
5659 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
5660 newline from flushing full buffer in loop, fix test so no fflush is
5661 done when last byte written exactly fills the buffer.
5663 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
5665 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
5666 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
5668 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
5669 extracting _dl_rtld_map.l_addr.
5671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
5673 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5675 * shlib-versions (*-*-*): Set libnss_db=1.
5677 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5679 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
5681 * rpm/template (%build): Use @prefix@ instead of always /usr.
5682 Set up configparms only if @prefix@ is in fact /usr.
5683 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
5685 * elf/Makefile: Add missing endif.
5687 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
5689 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
5690 (DATABASE): Define this instead of DATAFILE.
5691 * nss/nss_files/files-hosts.c: Likewise.
5692 (hostbyname): Use LOOKUP_NAME macro.
5694 * nss/nss_db/db-XXX.c: New file.
5695 * nss/Makefile (services): Add db.
5696 (libnss_db-inhibit-o): New variable.
5697 (libnss_db-routines): New variable.
5698 (distribute): Append db-XXX.c.
5699 (libnss_db.so): Depend on libdb.so and libnss_files.so.
5700 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
5702 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
5704 (DATAFILE): New macro.
5705 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
5707 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
5708 Pass db key args to DB_LOOKUP.
5709 (DATAFILE): Macro removed.
5710 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
5711 * nss/nss_files/files-service.c: Likewise.
5712 * nss/nss_files/files-pwd.c: Likewise.
5713 * nss/nss_files/files-proto.c: Likewise.
5714 * nss/nss_files/files-grp.c: Likewise.
5715 * nss/nss_files/files-ethers.c: Likewise.
5717 * elf/linux-compat.c: File removed.
5718 * elf/Makefile (distribute): Remove linux-compat.c.
5719 (ld-linux.so.1): Remove target and associated variables.
5721 * sunrpc/xdr.c: Remove malloc decl.
5722 * sunrpc/portmap.c: Likewise.
5724 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
5725 casting abort to fn returning bool_t.
5727 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
5728 the parser function.
5729 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
5730 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
5731 * nss/nss_files/files-grp.c: Likewise.
5733 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
5735 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
5737 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
5738 of ld.so so lookups for that soname find it.
5740 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
5741 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
5743 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
5744 define parse_line function.
5745 (parse_line): #define to _nss_files_parse_pwent and
5746 add extern decl for that.
5748 * nss/nss_files/files-XXX.c (internal_getent): Return
5749 NSS_STATUS_TRYAGAIN for ERANGE error.
5751 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
5752 of null, so next round returns null again instead of bombing. Fix
5755 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
5756 Remove ; after `ENTDATA_DECL (data)'.
5757 Truncate line at strpbrk (line, EOLSET "\n").
5758 (ENTDATA_DECL): Put ; at end.
5759 (MIDLINE_COMMENTS): Macro removed.
5760 * nss/nss_files/files-ethers.c: Pass new argument.
5761 * nss/nss_files/files-hosts.c: Likewise.
5762 * nss/nss_files/files-network.c: Likewise.
5763 * nss/nss_files/files-parse.c: Likewise.
5764 * nss/nss_files/files-proto.c: Likewise.
5765 * nss/nss_files/files-rpc.c: Likewise.
5766 * nss/nss_files/files-service.c: Likewise.
5767 * grp/fgetgrent.c: Likewise.
5768 * pwd/fgetpwent.c: Likewise.
5769 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
5770 fgetpwent.c already defines it.
5771 * nss/nss_files/files-grp.c: Likewise.
5773 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
5774 as well as any matching with l_libname. Fix DT_SONAME lookup to use
5775 string table properly.
5777 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
5778 invoked directly, and l_libname from that if PT_INTERP missing.
5779 Set l_name from l_libname only if not set from argv.
5781 * time/europe, time/northamerica: Updated from ADO 96i.
5783 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5785 * stdio-common/tst-ungetc.c: Include unistd.h.
5787 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
5789 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
5791 * hurd/report-wait.c (describe_number): Make I unsigned long.
5793 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
5794 actually found any entry.
5796 * login/pututline_r.c (pututline_r): If not located after any
5797 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
5798 Lock the file before stating.
5800 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5802 * nss/Makefile (databases): Change host to hosts.
5803 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
5805 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
5807 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
5809 * string/string.h (strndupa): Pass missing arg to strnlen.
5811 * inet/getnetbypt_r.c: Renamed to ...
5812 * inet/getnetbyad_r.c: this; fixed function name.
5813 * inet/getnetbypt.c: Renamed to ...
5814 * inet/getnetbyad.c: this; fixed function name.
5816 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5818 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
5821 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
5823 * login/login.c (login): Initialize DATA so that setutent_r will
5824 actually do something.
5826 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
5828 * resolv/res_hconf.c (strndup): Remove function.
5830 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
5831 using ElfW() instead of Elf32_*.
5833 * sysdeps/unix/sysv/linux/alpha/init-first.h,
5834 sysdeps/unix/sysv/linux/m68k/init-first.h,
5835 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
5836 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
5837 init-first.h to make abstract machine dependent parts of
5840 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
5841 error handling. It's safer that way.
5843 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
5844 Fix by Richard Henderson.
5846 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
5847 typo/extraneous whitespace.
5849 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
5850 determine what integer sizes we're dealing with.
5852 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
5854 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
5855 check for signal zero, repair logical sense of test by
5856 parenthesizing correctly.
5858 * hurd/hurdsig.c (_hurd_internal_post_signal): In
5859 check-for-pending signals code, release _hurd_siglock before
5860 jumping to deliver_pending.
5862 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
5864 * configure.in (config_machine): Make ELF the default even for
5865 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
5868 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5870 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
5871 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
5872 member only #ifdef ENTDATA.
5873 (ENTDATA_DECL): New macro.
5874 (LINE_PARSER): Use it for entdata decl.
5875 (parse_list): Find the space for LIST from DATA->linebuffer instead of
5876 from the input LINE, which might not be writable buffer space.
5877 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
5878 [ENTDATA] (parser_stclass): #define to `static inline'.
5879 [!ENDATA] (parser_stclass): #define to empty.
5880 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
5881 function is exported to -lnss_files users.
5883 * string/strndup.c: Add missing arg.
5885 * string/string.h (strndupa): Likewise.
5886 * string/strndup.c (strndup): Always terminate the string.
5888 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5890 * stdio/Makefile (routines): Add vscanf.
5891 * stdio-common/Makefile (routines): Remove vscanf.
5892 * stdio-common/vscanf.c: Move to ...
5893 * stdio/vscanf.c: here.
5895 * rpm/Makefile (headers, install-lib, install-lib.so,
5896 versioned, install-bin, install-sbin, install-data,
5897 install-others): Add $(-VARIABLE).
5899 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5901 * nss/Makefile (databases): New variable.
5902 (routines, libnss_files-routines): Use it.
5903 (subdir-dirs): Compute from $(services).
5905 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
5906 init_module, klogctl): Use EXTRA in the "caller" column so these get
5907 added to unix-extra-syscalls and thus compiled in misc.
5909 * string/Makefile (routines): Add strndup.
5910 * string/strndup.c: New file.
5911 * string/string.h: Declare strndup.
5912 (strndupa): New macro.
5914 * string/string.h: Declare __strdup.
5915 * string/strdup.c: Deansideclized. Define __ name and weak alias.
5917 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
5919 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
5921 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
5923 * grp/initgroups.c (initgroups): De-ansi-fy.
5924 Move declaration of NGROUPS and GROUPS outside #if so that
5925 the code compiles for NGROUPS_MAX != 0.
5927 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
5928 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
5929 ether_ntoa, ether_ntoa_r, and ether_ntoh.
5930 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
5931 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
5932 inet/ether_ntoh.c: New files. Implementation of functions to
5933 handle Ethernet address to host mapping.
5934 * inet/netinet/ether.h: New file. Declare ether_* functions.
5935 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
5937 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
5938 * nss/Makefile (routines): Add ethers-lookup.
5939 (libnss_files-routines): Add files-ethers.
5941 * nss/getXXent_r.c: Don't define set*ent and end*ent function
5944 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
5945 KEEP_STREAM every time called.
5946 (_nss_files_end): Reset KEEP_STREAM here instead.
5947 (internal_getent): If STREAM == NULL try to open instead of
5949 Use cast to prevent warning.
5950 Terminate read line in case the buffer is too small.
5952 * nss/nss_files/files-ethers.c: New file. Implementation of
5953 Ethernet adress<->hostname lookup through files interface.
5955 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
5956 * stdlib/mbtowc.c: Define based on mbrtowc().
5957 * stdlib/wcstombs.c: Define based on wcsrtombs().
5958 * stdlib/wctomb.c: Define based on wcrtomb().
5960 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
5961 unexpected_sizes_in_xdr_u_int.
5963 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
5964 of `struct ether_addr'.
5965 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
5966 declaration of `struct ether_addr'.
5968 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
5969 * wcsmbs/mbsrtowcs.c: Ditto.
5970 * wcsmbs/wcrtomb.c: Ditto.
5971 * wcsmbs/wcsrtombs.c: Ditto.
5973 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
5975 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
5977 * hurd/get-host.c <fcntl.h>: New include.
5978 * hurd/set-host.c <fcntl.h>: New include.
5979 (_hurd_set_host_config): Include NEW in args to dir_link.
5980 Return NWROTE, not NREAD.
5982 * sysdeps/mach/hurd/getcwd.c
5983 (_hurd_canonicalize_directory_name_internal): Don't deallocate
5984 DOTID & DOTDEVID until we're finished with them (we need to keep
5985 them at least until we've fetched the next level of id ports, so
5986 that mach will be able to use the same name if they're the same).
5987 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
5988 jumps to errlose, for those places where such cleanup is needed.
5990 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5992 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
5994 Move DB code into separate -ldb library.
5995 * db/Makefile (extra-libs): New variable, list libdb.
5996 (routines): Renamed to libdb-routines.
5997 * shlib-versions: Add libdb=2.
5999 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
6000 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
6002 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
6003 of strncasecmp. Extend syntax to grok [!foo=bar].
6005 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
6007 * string/string.h: Declare __strncasecmp.
6009 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
6010 (service_alias): Variable removed.
6011 (nss_parse_service_list): New function, broken out of nss_getline.
6012 Remove alias conversion; we will just use symlinks.
6013 (__nss_database_lookup): Take new string arg DEFCONFIG.
6014 If no entry exists, make one with service list parsed from that.
6015 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
6016 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
6017 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
6019 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
6022 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
6024 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
6026 * locale/programs/locale.c (long_options): Short form of
6027 --version option is `-V'.
6028 (main): Recognize `-V' as option, not `-v'.
6029 Call `usage' instead of printing error message for illegal
6031 (usage): Document `-V'.
6033 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
6035 * sysdeps/mach/hurd/getcwd.c
6036 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
6037 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
6039 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6041 * inet/getrpcent.c: Fix macros.
6042 * inet/getrpcent_r.c: Fix macros.
6044 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
6046 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
6048 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
6050 * catgets/gencat.c (write_out): Use %Zu to print variables of type
6052 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
6053 cast it to (unsigned long) to make it work both on 32 and 64
6056 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6058 * locale/Makefile (distribute): Add `programs/' prefix to all
6059 files in that directory.
6061 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
6064 * MakeTAGS (sources, headers): Make them simply expanded variables
6065 so that all-dist is expanded before it is changed.
6067 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6069 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
6070 * Makefile (subdirs): Remove crypt.
6071 * crypt: Directory removed. It will be made an independent library
6074 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
6076 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
6078 * inet/getrpcbynumber.c (BUFLEN): New macro.
6080 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
6082 * Makefile (headers): Add libc-lock.h.
6083 * sysdeps/stub/libc-lock.h: New file.
6085 * inet/getrpcbynumber.c: Remove _r typo.
6087 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
6089 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
6092 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
6093 or doesn't mention DATABASE, use an internal default equivalent to
6094 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
6095 (nss_lookup_function): Call nss_new_service as needed.
6096 (nss_parse_file): Don't bother calling nss_new_service here.
6098 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
6099 * pwd/fgetpwent.c: Likewise.
6101 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
6102 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
6103 * malloc/malloc-size.c: New file.
6104 * malloc/malloc-walk.c: New file.
6106 * malloc/malloc-find.c (malloc_find_object_address): Return null if
6107 PTR is outside the heap.
6109 * elf/dl-load.c (_dl_map_object): If the requested name matches the
6110 soname of a loaded object, use that object.
6112 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6114 * Makefile (subdirs): Add nss.
6116 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
6117 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
6118 * inet/getrpcbynumber_r.c: New file.
6119 * inet/getrpcbynumber.c: New file.
6120 * inet/getrpcbyname.c: New file.
6121 * inet/getrpcbyname_r.c: New file.
6122 * inet/getrpcent_r.c: New file.
6123 * inet/getrpcent.c: New file.
6124 * nss/rpc-lookup.c: New file.
6125 * nss/nss_files/files-rpc.c: New file.
6126 * nss/Makefile (routines): Add rpc-lookup.
6127 (libnss_files-routines): Add files-rpc.
6128 * sunrpc/Makefile (routines): Remove getrpcent.
6129 * sunrpc/getrpcent.c: File removed.
6131 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
6134 * Makeconfig (rpath-link): Add $(nssobjdir).
6135 (nssobjdir): New variable.
6137 * Makerules: Move shared library building before objects rules, so
6138 versions are known before extra-lib.mk gets included.
6139 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
6141 * pwd/getpwuid.c: Rewritten using nss.
6142 * pwd/getpwnam.c: Likewise.
6143 * pwd/getpwent.c: Likewise.
6144 * grp/getgrnam.c: Likewise.
6145 * grp/getgrgid.c: Likewise.
6146 * grp/getgrent.c: Likewise.
6147 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
6148 * pwd/getpwent_r.c: New file.
6149 * pwd/getpwnam_r.c: New file.
6150 * pwd/getpwuid_r.c: New file.
6151 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
6152 * grp/getgrnam_r.c: New file.
6153 * grp/getgrgid_r.c: New file.
6154 * grp/getgrent_r.c: New file.
6155 * grp/Makefile (routines): Remove grpopen, grpread.
6156 * pwd/Makefile (routines): Remove pwdopen, pwdread.
6157 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
6159 * pwd/fgetpwent.c: Rewritten using files-parse.c.
6160 * grp/fgetgrent.c: Likewise.
6162 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
6163 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
6164 * nss/nss_files/files-grp.c: New file.
6165 * nss/nss_files/files-pwd.c: New file.
6167 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
6169 * nss/nss_files/files-parse.c: New file.
6170 * nss/nss_files/files-XXX.c: New file.
6171 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
6172 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
6173 Rewritten using them.
6175 * nss/Makefile (libnss_files-routines): Remove files-host.
6176 Add files-hosts, files-grp, files-pwd.
6178 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
6180 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
6182 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6183 A .plt entry now loads the .rela.plt offset directly rather
6184 than making us calculate it.
6186 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6188 * time/Makefile ($(installed-localtime-file) rule): Do
6189 $(make-target-directory) first.
6191 * resolv.h: Fix wrapper for resolv/resolv.h.
6193 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
6194 Compile dummy file and pass -nostdlib -nostartfiles so as not to
6195 require installed libraries.
6197 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
6200 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
6202 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
6203 and mapv4v6hostent.h.
6204 (routines): Move res* and gethnamaddr into libresolv-routines.
6205 (libresolv-routines): New variable, put them there.
6206 (extra-libs): New variable, list libresolv.
6207 (CPPFLAGS): Add -D for get*by* to res_get*by*.
6209 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
6211 * inet/herrno.c: New file.
6213 * resolv/res_init.c: Remove res_hconf calls.
6215 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
6216 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
6217 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
6218 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
6219 nss/service-lookup.c: New files. Implementation of name
6220 service switch, following the approach in Solaris.
6221 Interface specification and general structure inspired by Peter
6222 Eriksson <pen@lysator.liu.se>.
6223 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
6224 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
6225 Implementation of libnss_files.so module for file based databases
6227 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
6228 if libnss_dns.so module for DNS name lookup in NSS service.
6230 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
6231 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
6232 Changed to serve as interface to NSS.
6233 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
6234 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
6235 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
6236 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
6237 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
6238 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
6239 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
6240 interfaces to NSS, including reentrant functions.
6242 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
6243 resolv/sethostent.c: Removed: Obsoleted by NSS.
6245 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
6246 gethnamaddr.c. These private functions are now used in more
6249 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
6251 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6253 * rpm/Makefile ($(config)): Make sure the word list in the for
6254 loop is syntactically non-empty.
6256 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6258 * Version 1.92 test release.
6260 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
6262 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
6263 to klogctl to match prototype in sys/klog.h.
6265 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
6266 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
6268 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
6269 Remove. Code is now part of __getcwd again. The old function
6270 never really worked for anything but THISDIR==".".
6272 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
6273 only when building ELF version of library.
6275 * libio/libioP.h (_IO_vscanf): Add prototype.
6277 * posix/unistd.h (syscall): Change sysno arg and return value
6280 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6282 * version.h (VERSION): Updated to 1.92.
6284 * misc/Makefile (headers): Add ar.h.
6285 * misc/ar.h: New file.
6287 * config.make.in (BUILD_CC): New variable.
6288 * configure.in: Check for BUILD_CC if $host != $build.
6290 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
6292 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
6293 (stamp$o files): New targets, create them empty, no deps.
6295 * rpm/template (Source): New field.
6296 (%prep, %build, %install): New sections.
6297 (%files): Add %doc FAQ NEWS NOTES README.
6298 * rpm/rpmrc (builddir): Removed.
6300 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6302 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
6303 guessing to not assume p_vaddr of first load cmd is zero.
6305 * sysdeps/sparc/elf/start.S: New file.
6306 * sysdeps/sparc/dl-machine.h: New file.
6308 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
6309 only for ?s, not for *s. Fix from Chet Ramey.
6311 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
6312 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
6313 Use __{BEGIN,END}_DECLS.
6314 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
6315 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
6316 New macros, moved here from sysdeps/gnu/utmpbits.h.
6317 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
6318 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
6319 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
6320 Use sizeof instead of UT_*SIZE.
6321 * login/logwtmp.c: Likewise.
6323 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
6325 * version.c (banner): Add trailing newline.
6327 * login/utmp.h: Declare login_tty.
6329 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
6331 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
6332 Changed to a 12-byte PLT entry to remove dependency on $gp.
6333 Take a new got_addr parameter.
6334 (elf_machine_rela): Pass the new parameter.
6335 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
6336 (RTLD_START): Do normal linkage with program entry.
6338 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
6340 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
6342 * hurd/getuids.c (getuids): New weak link to __getuids.
6344 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
6346 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
6347 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
6349 Rename nested function lookup to lookup_op.
6350 (__file_name_lookup, __file_name_lookup_under):
6351 Pass 0 for lookup arg to __hurd_file_name_lookup.
6352 (__file_name_split): Likewise for __hurd_file_name_split.
6353 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
6354 Rename nested function lookup to scan_lookup.
6355 (file_name_path_lookup): Pass 0 for lookup arg to
6356 hurd_file_name_path_lookup.
6357 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
6358 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
6359 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
6360 Add LOOKUP argument.
6361 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
6362 __hurd_file_name_lookup.
6364 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6366 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
6367 up a huge list just to discard most of it.
6369 * configure.in (sysnames): Avoid fgrep by using the case shell
6372 * Makeconfig (config.status): Fix dependency on Implies files.
6374 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6376 * math/Makefile (distribute): Add ieee-math.c.
6378 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
6380 * locale/codeset_name.c: New file. Provide function for information
6381 about currently used character set.
6382 * locale/Makefile (routines): Add codeset_name.
6383 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
6384 * locale/localeinfo.h: Change magic number because of incompatible
6386 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
6387 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
6389 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
6390 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
6392 * locale/setlocale.c (setlocale): Initialize local variables to
6395 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
6397 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
6399 * locale/programs/locale.c: Include string.h.
6401 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
6402 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
6403 appropriate sign-extension is performed on machines with
6406 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
6407 sizeof(int)<sizeof(long), we need to go through a temporary
6410 * locale/programs/ld-numeric.c: Include <alloca.h>
6412 * libio/stdio.h (__libc_fatal): Add prototype.
6414 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
6417 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
6418 volatile to avoid "might get clobbered by longjmp" warning.
6420 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
6421 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
6422 probability is a sure loser).
6423 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
6425 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
6426 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
6428 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
6429 to be Linux FSSTND compliant.
6431 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
6433 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
6435 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
6436 sysdeps/unix/sysv/linux/alpha/brk.S,
6437 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
6438 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
6439 sysdeps/unix/sysv/linux/alpha/llseek.S,
6440 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
6441 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
6442 __syscall_error to avoid intruding application name space.
6444 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
6445 to SYS_get?id so that syscall stubs in sysdeps/unix define
6446 these syscalls in terms of getxpid/getxuid/getxgid.
6448 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
6449 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
6450 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
6451 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
6453 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
6454 (PSEUDO_END): Rename END() to PSEUDO_END().
6456 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
6457 to PSEUDO_END to improve branch-prediction. Include .frame
6458 directive to make syscalls debugabble.
6459 (PSEUDO_END): New macro.
6461 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
6462 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
6463 latter is illegal under DEC Unix.
6465 * sysdeps/unix/alpha/sysdep.S: Renamed from
6466 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
6468 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
6469 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
6470 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
6472 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
6473 address register in the .frame directive.
6475 * sysdeps/alpha/copysign.c: Remove.
6477 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
6478 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
6480 * errno.h: Move __END_DECLS to correct place to make file
6481 compilable under c++.
6483 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
6484 d_ino only if <direntry.h> hasn't defined d_fileno.
6486 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
6487 arguments to weakext to make .weakext detection work on ECOFF systems.
6489 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
6490 that _validuser() has been replaced by __ivaliduser().
6492 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
6494 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
6495 as unsigned long, not as int (to avoid incorrect int->long
6500 See ChangeLog.5 for earlier changes.