1 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
3 * stdio-common/printf_fp.c (__guess_grouping): Fix of by one
4 error in computation of number of groups.
5 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
7 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
9 * version.h: Set version to 1.99.
11 * Make-dist (routines): Add malloc and new-malloc.
13 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
14 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
15 Same for $(CFLAGS-$(@F)) and CFLAGS.
17 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
19 * io/sys/poll.h: Likewise.
20 * sysdeps/stub/sys/ipb_buf.h: Likewise.
21 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
22 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
24 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
25 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
26 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
27 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
28 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
30 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
31 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
32 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
33 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
34 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
35 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
36 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
37 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
39 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
40 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
41 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42 * sysvipc/sys/sem.h: Likewise.
43 * sysvipc/sys/shm.h: Likewise.
45 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
46 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
47 Add statistics for threads.
48 * new-malloc/malloc.h: Likewise.
49 * new-malloc/thread-m.h: Likewise.
51 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
53 * time/strptime.c: Update copyright.
55 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
57 * Make-dist: Make sure both malloc directories get distributed.
59 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
61 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
64 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
66 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
67 __BEGIN_DECLS/__END_DECLS.
69 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
71 * login/utmp_file.c: Consistently set file_offset to the position
72 after the entry just read.
74 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
76 * config.make.in (defines): Add @USE_NEW_MALLOC@.
77 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
78 we use the new malloc.
80 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
81 depending on USE_NEW_MALLOC.
83 Fix some more POSIX.1 problems.
84 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
85 on a write-only stream.
86 (_IO_file_overflow): Set errno to EBADF if used on a read-only
88 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
89 call really positions the file offset to the correct position
90 and no read-ahead happens.
92 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
93 to pass POSIX test suite.
94 * stdio-common/vfprintf.c: Handle empty string as grouping command
96 * stdlib/grouping.h: Likewise.
98 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
100 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
102 * stdio-common/printf_fp.c: Update copyright.
104 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
106 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
107 used (not otherwise).
109 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
111 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
113 * stdlib/canonicalize.c: Correct bugs in last change.
116 * libio/Makefile (routines): Remove ioprims.
117 (aux): Remove cleanup.
118 Add IO_DEBUG option for .o files.
119 * libio/cleanups.c: Removed.
120 * libio/ioprims.c: Removed.
121 * libio/filedoalloc.c: More updates from libg++-2.8b5.
122 * libio/fileops.c: Likewise.
123 * libio/genops.c: Likewise.
124 * libio/iolibio.h: Likewise.
125 * libio/iopopen.c: Likewise.
126 * libio/iovsprintf.c: Likewise.
127 * libio/iovsscanf.c: Likewise.
128 * libio/libio.h: Likewise.
129 * libio/libioP.h: Likewise.
130 * libio/memstream.c: Likewise.
131 * libio/strfile.h: Likewise.
132 * libio/vasprintf.c: Likewise.
133 * libio/vsnprintf.c: Likewise.
135 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
137 * manual/arith.texi: Change references to ANSI C to ISO C.
138 * manual/conf.texi: Likewise.
139 * manual/creature.texi: Likewise.
140 * manual/ctype.texi: Likewise.
141 * manual/errno.texi: Likewise.
142 * manual/filesys.texi: Likewise.
143 * manual/intro.texi. Likewise.
144 * manual/io.texi: Likewise.
145 * manual/lang.texi: Likewise.
146 * manual/libc.texinfo: Likewise.
147 * manual/locale.texi: Likewise.
148 * manual/maint.texi: Likewise.
149 * manual/mbyte.texi: Likewise.
150 * manual/memory.texi: Likewise.
151 * manual/process.texi: Likewise.
152 * manual/process.texi: Likewise.
153 * manual/search.texi: Likewise.
154 * manual/setjmp.texi: Likewise.
155 * manual/signal.texi: Likewise.
156 * manual/startup.texi: Likewise.
157 * manual/stdio.texi: Likewise.
158 * manual/string.texi: Likewise.
159 * manual/time.texi: Likewise.
161 * manual/locale.texi: Remove description of LC_RESPONSE and add
164 * Makefile (subdirs): Change malloc in $(malloc).
165 * config.make.in: Add variable malloc which is initialized from
167 * configure.in: Add new option --enable-new-malloc to use new
168 malloc. This is the default on Linux.
169 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
171 * new-malloc/Makefile: New file. Improved malloc implementation.
172 * new-malloc/malloc.c: Likewise.
173 * new-malloc/malloc.h: Likewise.
174 * new-malloc/mallocbug.c: Likewise.
175 * new-malloc/obstack.c: Likewise.
176 * new-malloc/obstack.h: Likewise.
177 * new-malloc/thread-m.h: Likewise.
178 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
179 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
181 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
184 * stdio/feof.c: Update copyright.
185 * stdio/stdio.h: Add field for lock to FILE structure.
186 Add cast to *MAGIC constants to prevent warnings.
188 * stdio-common/bug7.c: Correct test. Stream must not be closed
191 * stdlib/Makefile (routines): Add secure-getenv.
192 * stdlib/secure-getenv.c: New file. __secure_getenv function
193 moved to here from sysdeps/generic/getenv.c. Otherwise an
194 application cannot replace the getenv function in the libc.
195 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
196 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
198 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
200 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
202 * time/test-tz.c: Comment fifth test out. PROBLEM.
204 * time/tzset.c: De-ANSI-declfy.
205 (__tzset): Don't increment pointer tz when no DST information is
208 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
209 to get Hurd macros right.
211 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
213 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
215 Patch by Thomas Bushnell.
217 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
220 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
222 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
224 * time/strftime (%c format): Remove %Z from default string.
225 Reported by Paul Eggert
227 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
229 * configure.in: Discard error message from test in test for
232 * io/getwd.c: Don't apply getcwd on user supplied buffer.
233 Instead always use temporary buffer and only copy the result.
235 * stdlib/canonicalize.c: Likewise.
237 * libio/fileops.c: Change comments according to libg++2.8b5.
238 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
242 * manual/nss.texi: Correct prototypes.
244 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
245 crash if syslog daemon is restarted.
247 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
249 * stdlib/Makefile (routines): Add rand_r.
251 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
254 * configure.in: Add --disable-sanity-check option.
255 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
256 des-crypt are not available and --disbale-sanity-check is not
257 given abort with a message.
259 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
261 * posix/glob.c: Tests against STDC_HEADERS should also test
264 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
266 * misc/err.c (vwarn): Set errno again before using %m format.
268 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
270 * grp/grp.h: Add declaration of __getgrent_r.
272 * io/fts.c (fts_build): Remove "register" from variables dirbuf
273 and dp since their address is needed.
275 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
276 variable d since d's address is needed.
278 * misc/tst-dirname.c (main): Provide prototype.
279 * misc/ioctltst.c (main): Dito.
281 * Makefile: Add gnu/lib-names.h to install-others before including
284 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
286 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
288 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
289 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
290 sys/socketvar.h to sysdep_headers.
292 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
294 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
297 * elf/rtld.c (_dl_start): Don't dereference the value returned by
298 elf_machine_got to get _DYNAMIC, instead call new function
300 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
301 elf_machine_dynamic. Reformat copyright.
302 * sysdeps/i386/dl-machine.h: Likewise.
303 * sysdeps/m68k/dl-machine.h: Likewise.
304 * sysdeps/mips/dl-machine.h: Likewise.
305 * sysdeps/sparc/dl-machine.h: Likewise.
306 * sysdeps/stub/dl-machine.h: Likewise.
308 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
310 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
312 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
314 * Makerules ($(libdir)/libc.so): Make first line of generated
315 link script contain `/* GNU ld script'. This will be used in
316 ldconfig to check for linker scripts.
317 * sysdeps/mach/hurd/libc-ldscript: Likewise.
318 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
320 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
322 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
324 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
327 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
329 * assert/assert-perr.c: Use __strerror_r instead of strerror.
330 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
331 * string/string.h: Declare __strerror_r.
332 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
333 * stdio-common/vfprintf.c: Save current errno value on entry so
334 that %m format finds the correct value.
335 * io/getwd.c: Use __strerror_r instead of strerror.
336 * misc/err.c (vwarn): Use %m printf format instead of explicitly
338 * inet/rcmd.c: Likewise.
339 * misc/error.c (error, error_at_line): Use __strerror_r instead
340 of strerror when this function is available.
342 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
343 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
344 * stdlib/stdlib.h: Define prototype for rand_r.
346 * string/strfry.c: Update copyright. Use reentrant random functions.
348 * dirent/scandir.c: Use __readdir_r instead of readdir.
349 * posix/glob.c: Likewise.
350 * sysdeps/posix/ttyname.c: Likewise.
351 * sysdeps/posix/ttyname_r.c: Likewise.
352 * io/ftw.c: Likewise.
353 * io/fts.c: Likewise.
354 * sysdeps/posix/getcwd.c: Likewise.
355 * dirent/dirent.h: Add prototype for __readdir_r.
356 * sysdeps/unix/readdir_r: Update copyright.
358 * time/ctime.c: Use __localtime_r and __asctime_r instead of
359 non reentrant versions.
360 * time/ctime_r.c: Update copyright.
362 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
364 * locale/Makefile (localepath): Correct value.
366 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
368 Fix typo in using H_ERRNO_SET macro.
370 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
372 * Makerules (elfobjdir): Definition removed.
373 * Makeconfig (elfobjdir): Define it here instead, so that
374 expanding $(rpath-link) gets the right value.
377 * misc/a.out.h: Moved to...
378 * sysdeps/generic/a.out.h: ...here.
379 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
382 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
384 * grp/initgroups.c: Update and reformat copyright.
385 Use __getgrent_r instead of getgrent.
387 * inet/rcmd.c: Update and reformat copyright.
388 Use __gethostbyname_r instead of gethostbyname.
389 * inet/rexec.c: Likewise.
391 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
392 * locale/findlocale.c: Likewise.
393 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
394 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
395 * locale/setlocale.c (setlocale): Correctly split value of
397 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
398 find output directory.
400 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
401 h_errno_tmp variable.
402 Save error value from being changed during `free' call.
403 * nss/getXXent.c: Likewise.
405 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
406 before returning ERANGE error.
408 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
411 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
413 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
414 * sunrpc/clnt_simp.c: Likewise.
415 * sunrpc/getrpcport.c: Likewise.
416 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
418 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
419 since the value might be outside the range of the `long int'.
420 Print string `undefined' when a value is undefined.
422 * stdlib/l64a.c: Return correct pointer.
423 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
425 * string/Makefile (routines): Add argz-addsep.
426 * string/argz-addsep.c: New file.
427 * string/argz.h: Add prototypes for argz_add_sep.
429 * string/argz-ctsep.c: Prevent memory leak.
431 * string/strcoll.c: Correct typo in comment.
433 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
435 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
436 not general enough to be part of the libc.
437 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
438 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
440 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
442 * login/Makefile: Fix typo.
444 * nss/Makefile (generated): Filter out db-alias.c.
446 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
448 * time/Makefile (echo-zonenames): Don't depend on non-existing
451 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
454 * nss/nsswitch.c: Use it.
456 * printf.h: Fix file name.
457 * stdlib/strfmon.c: Use it.
459 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
461 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
462 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
463 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
464 Add netinet/in_systm.h.
465 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
467 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
469 * libio/fileops.c: Update from latest libg++.
471 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
473 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
474 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
475 instead of __libc_lock_init for streams.
476 Reported by a sun <asun@zoology.washington.edu>.
478 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
480 * sysdeps/generic/errno-loc.c: New file. Generic definition of
481 __errno_location function.
482 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
484 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
485 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
488 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
489 and crypt add-on and warn if not available.
491 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
493 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
495 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
496 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
498 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
500 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
501 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
502 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
503 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
505 Patch by Richard Henderson <rth@tamu.edu>.
507 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
508 pciconfig_read and pciconfig_write.
509 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
510 pciconfig_read and pciconfig_write.
512 * login/getutent_r.c: Fix several bugs in last change.
514 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
516 * Makefile: Fix typo.
518 * configure: Require autoconf-2.11.
520 * elf/dl-deps.c: Terminate duplicate list.
522 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
523 * libio/strfile.h: Update from current libg++.
524 * libio/strops.c: Likewise.
526 * login/Makefile (routines): Update after correction of reentrant
528 * login/endutent.c: Removed.
529 * login/endutent_r.c: Likewise.
530 * login/pututline.c: Likewise.
531 * login/pututline_r.c: Likewise.
532 * login/setutent.c: Likewise.
533 * login/setutent_r.c: Likewise.
534 * login/getutent.c: Update for new interface.
535 * login/getutent_r.c: Likewise.
536 * login/getutid.c: Likewise.
537 * login/getutid_r.c: Likewise.
538 * login/getutline.c: Likewise.
539 * login/getutline_r.c: Likewise.
540 * login/login.c: Likewise.
541 * login/logout.c: Likewise.
542 * login/logwtmp.c: Likewise.
543 * login/utmp.h: Likewise.
544 * sysdeps/unix/getlogin.c: Likewise.
545 * sysdeps/unix/getlogin_r.c: Likewise.
546 * login/utmp-private.h: New private header.
547 * login/utmp_db.c: Stub DB backend for utmp handler.
548 * login/utmp_file.c: File backend for utmp handler.
549 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
550 (enum utlogin): List of record types.
551 (struct exit_status): Record to align with other implementations.
553 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
554 * sysdeps/unix/sysv/linux/paths.h: Likewise.
556 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
558 * sysdeps/stub/getlogin.c: Update copyright.
559 * sysdeps/stub/getlogin_r.c: Likewise.
561 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
562 * nss/getXXent_r.c: Likewise.
563 * nss/nsswitch.c: Likewise.
565 * posix/Makefile (headers): Add wait.h.
566 * posix/wait.h: New file.
568 * posix/sys/types.h: Always define intN_t types.
570 * stdio-common/Makefile: Update copyright.
571 Use -Wno-format flag for scanf4.c and scanf7.c.
573 * stdlib/stdlib.h: Reformat.
575 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
577 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
578 move the current contents to the end and relocate file name
579 pointer to upper half of the buffer.
581 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
583 * time/africa: Update from ADO tzdata1996m.
584 * time/antarctica: Likewise.
585 * time/asia: Likewise.
586 * time/australia: Likewise.
587 * time/etcetera: Likewise.
588 * time/europe: Likewise.
589 * time/nothamerica: Likewise.
590 * time/southameria: Likewise.
591 * time/zone.tab: Likewise.
593 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
594 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
596 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
598 * posix/wait.h: New file.
599 * posix/Makefile (headers): Add wait.h.
601 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
603 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
604 expression instead of shell pattern matching.
605 * shlib-versions: Change to regular expressions.
607 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
609 * io/stat.c: Add section from libgcc to copyright comment
610 to allow this file to be statically linked in applications.
611 * io/fstat.c: Likewise.
612 * io/lstat.c: Likewise.
613 * io/mknod.c: Likewise.
615 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
617 * csu/initfini.c: Add section from libgcc to copyright comment
618 to allow this file to be statically linked in applications.
620 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
622 (obstack_grow, obstack_grow0): Correct placement of braces.
624 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
625 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
627 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
629 * Makerules (make-link): Simplify by changing directory only if
630 not using rellns-sh; check whether we really have symbolic links.
632 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
633 $(dirname $1); use status of ln for exit code; make more robust
634 against multiple slashes in a row.
636 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
638 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
640 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
641 the three-part name, to distinguish correctly from *-*-linux-gnu*.
643 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
646 * sysdeps/mach/hurd/Makefile (install-others): Add
648 ($(libdir)/libc_p.a): New rule.
649 * sysdeps/mach/hurd/libc_p-ldscript: New file.
650 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
652 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
654 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
655 * time/Makefile: Likewise.
657 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
658 * sysdeps/alpha/elf/Dist: New file.
659 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
660 The bits currently distributed with GCC fail in two ways -- they don't
661 understand multiple .got subsections and the extents of the lists are
662 dynamicly bound meaning that the application's lists get executed
663 multiple times and the library's lists never get executed.
665 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
667 * stdlib/strtod.c: Fix previous change.
669 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
671 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
674 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
676 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
679 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
681 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
682 alias of __sigsuspend.
684 * grp/grp.h: Correct comment about POSIX compliance.
685 * pwd/pwd.h: Likewise.
687 * login/utmp.h: Update copyright and pretty-print prototypes.
688 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
689 _PATH_WTMP from utmpbits.h.
690 * sysdeps/unix/sysv/linux/paths.h: Likewise.
691 * sysdeps/generic/utmpbits.h: Remove here.
692 * sysdeps/gnu/utmpbits.h: Likewise.
694 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
695 Pretty-print prototypes.
697 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
700 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
702 * inet/ether_hton.c: Include <string.h>.
703 * inet/ether_ntoh.c: Likewise.
704 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
705 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
707 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
708 to define. Jim Nance reports problems building XEmacs otherwise.
710 * resolv/gethnamaddr.c: Protect h_errno redefinition.
711 * resolv/getnetnamadr.c: Likewise.
712 * resolv/herror.c: Likewise.
714 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
715 with -traditional. Reported by Eric Youngdale. While we're at this,
716 don't do error checking in the __ functions. This is consistent
717 with the sysv4 definitions and seems Right.
718 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
719 prototype for __sigsuspend.
720 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
721 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
722 * sysdeps/posix/sigpause.c: Likewise.
723 * sysdeps/posix/sigsetmask.c: Likewise.
724 * sysdeps/posix/sigvec.c: Likewise.
725 * sysdeps/posix/sigintr.c: Reformat copyright.
726 * sysdeps/posix/signal.c: Check signal number out of range since
727 __sigismember doesn't anymore. Reformat copyright.
728 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
729 sigdelset, sigaction, and sigsuspend.
731 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
732 to the wider type before shifting.
734 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
735 without .set noat" in profiling hook.
736 * sysdeps/alpha/bsd-setjmp.S: Likewise.
737 * sysdeps/alpha/htonl.S: Likewise.
738 * sysdeps/alpha/htons.S: Likewise.
739 * sysdeps/alpha/s_copysign.S: Likewise.
740 * sysdeps/alpha/setjmp.S: Likewise.
741 * sysdeps/alpha/stpcpy.S: Likewise.
742 * sysdeps/alpha/strcat.S: Likewise.
743 * sysdeps/alpha/strcpy.S: Likewise.
744 * sysdeps/alpha/strncat.S: Likewise.
745 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
746 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
747 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
748 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
749 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
750 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
751 function to __sigsuspend and add weak alias.
752 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
754 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
756 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
757 SYSCALL__ actually generated.
759 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
760 #define __set_errno, as several imported subsystems (eg. BIND) check
761 that the symbol is defined.
763 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
765 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
766 that manifests in GCC.
768 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
770 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
771 * sysdeps/posix/readv.c (readv): Likewise.
773 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
775 * nss/nss_dns/dns-network.c: Change return type of all functions
777 Reported by NIIBE Yutaka.
778 * nss/nss_dns/dns-host.c: Update copyright.
780 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
782 * config.make.in: Remove definition of top_absdir.
783 * configure.in: Likewise. Use $(..) instead.
784 * Makerules (make-link): Use $(..) to find rellns-sh script.
786 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
788 * manual/nss.texi (Name Service Switch): Fix reference to
791 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
796 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
798 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
799 variable from __stat to __status to prevent shadowing.
800 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
801 for parameter __wait.
802 Reported by NIIBE Yutaka.
804 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
806 * misc/regexp.c: New file. Implementation of obsolete interface
807 to regular expression matcher (required in XPG4.2).
808 * misc/regexp.h: New file. Header for above.
809 * misc/Makefile (headers): Add regexp.h.
810 (routines): Add regexp.c.
813 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
815 * stdlib/tst-strtod.c (main): Add arguments for main.
816 * stdlib/tst-strtol.c (main): Likewise.
818 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
820 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
822 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
823 and sysconfdir to /etc if $prefix is /usr.
824 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
826 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
827 $(have-bash2) is yes.
828 * elf/ldd.bash.in: Add copyright and various cleanups.
829 * elf/ldd.sh.in: Likewise.
832 * elf/dlfcn.h: Define RTLD_NEXT.
833 * elf/dl-deps.c: Build second searchlist which contains duplicates.
834 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
835 for RTLD_NEXT lookup.
836 Rewrite _dl_lookup_symbol to put common parts for both lookup
837 functions in a separate function.
838 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
839 * elf/link.h (struct link_map): Add l_dupsearchlist and
841 Add prototype for _dl_lookup_symbol_skip.
843 * sunrpc/Makefile (rpcsvc): Add rusers.
844 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
845 * sunrpc/rpcsvc/rusers.x: New file.
847 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
849 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
850 __libc_lock_init for local lock.
851 Reported by a sun <asun@zoology.washington.edu>.
852 [!USE_IN_LIBIO] (PAD): Optimize a bit.
854 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
856 * db/makedb.c: Update and reformat copyright.
857 * elf/Makefile: Likewise.
858 * elf/dl-close.c: Likewise.
859 * elf/dl-debug.c: Likewise.
860 * elf/dl-deps.c: Likewise.
861 * elf/dl-error.c: Likewise.
862 * elf/dl-fini.c: Likewise.
863 * elf/dl-init.c: Likewise.
864 * elf/dl-load.c: Likewise.
865 * elf/dl-lookup.c: Likewise.
866 * elf/dl-minimal.c: Likewise.
867 * elf/dl-object.c: Likewise.
868 * elf/dl-open.c: Likewise.
869 * elf/dl-reloc.c: Likewise.
870 * elf/dl-runtime.c: Likewise.
871 * elf/dl-support.c: Likewise.
872 * elf/dl-symbol.c: Likewise.
873 * elf/dladdr.c: Likewise.
874 * elf/dlclose.c: Likewise.
875 * elf/dlerror.c: Likewise.
876 * elf/dlopen.c: Likewise.
877 * elf/dlsym.c: Likewise.
878 * elf/do-rel.h: Likewise.
879 * elf/dynamic-link.h: Likewise.
880 * elf/eval.c: Likewise.
881 * elf/rtld.c: Likewise.
882 * inet/ether_hton.c: Likewise.
883 * inet/ether_ntoh.c: Likewise.
884 * inet/ether_line.c: Likewise.
885 * inet/getnetgrent_r.c: Likewise.
887 * inet/Makefile (+gccwarn): Remove definition.
888 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
890 * inet/aliases.h: Add C++ protection.
891 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
892 (ether_hostton): Remove unused variable result.
893 * inet/ether_ntoh.c: Likewise.
894 * inet/ether_line.c: Include <ctype.h> and <string.h>.
895 * inet/getnetgrent_r.c: Include <stdlib.h>.
896 Use casts to prevent warnings.
897 (innetgr): Initialize `known' and `needed'.
898 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
899 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
900 return NULL. Instead set *RESULT to NULL and return -1.
901 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
902 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
904 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
907 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
909 * sysdeps/posix/readv.c: Don't use PTR anymore.
910 * sysdeps/posix/writev.c: Likewise.
912 * version.h (VERSION): Bump to 1.98.
914 * nss/db-Makefile: Generate lines for getXXXent iteration.
916 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
917 divqu.S, remlu.S, and remqu.S.
919 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
921 * posix/unistd.h: Correct typo in documentation.
923 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
925 * inet/netinet/tcp.h: Use __ protected versions instead of
926 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
928 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
930 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
931 references in libc.so are not anymore undefined.
933 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
935 * io/utime.h: Rename second parameter for utime to prevent warning
937 * dirent/dirent.h: Same here for scandir prototype.
938 * math/mathcalls.h: Likewise for frexp and ldexp.
939 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
941 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
943 * stdlib/tst-strtod.c: Add test for error case below.
945 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
947 * stdlib/strtod.c: Recognize numbers like 0e-19.
949 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
951 * time/Makefile ($(installed-localtime-file)): Fix path to
954 * Makefile: Don't generate and install gnu/lib-names.h if
955 $(build-shared) is not `yes'.
957 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
959 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
960 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
962 * Makerules (REAL_MAKE_VERSION): New, use it instead of
965 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
967 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
968 * nss/getXXent_r.c: Fix typo. Set correct return value when
969 no further service is available.
971 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
973 * db/recno/rec_put.c: Add cast to avoid warning.
974 * db/recno/rec_close.c: Likewise.
975 * db/mpool/mpool.c: Likewise.
976 * db/hash/hash_bigkey.h: Likewise.
977 * db/hash/hash.c: Likewise.
978 * db/btree/bt_split.c: Likewise.
979 * db/btree/bt_put.c: Likewise.
981 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
983 * dirent/dirent.h: Update copyright.
984 * elf/elf.h: Likewise.
985 * elf/link.h: Likewise.
986 * gmon/sys/gmon_out.h: Likewise.
987 * gnu-versions.h: Likewise.
988 * intl/libintl.h: Likewise.
989 * io/fcntl.h: Likewise.
990 * io/ftw.h: Likewise.
991 * io/sys/statfs.h: Likewise.
992 * io/utime.h: Likewise.
993 * locale/langinfo.h: Likewise.
994 * malloc/malloc.h: Likewise.
995 * malloc/obstack.h: Likewise.
996 * misc/ar.h: Likewise.
997 * misc/error.h: Likewise.
998 * misc/mntent.h: Likewise.
999 * misc/sgtty.h: Likewise.
1000 * misc/sys/cdefs.h: Likewise.
1001 * misc/sys/dir.h: Likewise.
1002 * misc/sys/file.h: Likewise.
1003 * misc/sys/ioctl.h: Likewise.
1004 * misc/sys/ustat.h: Likewise.
1005 * posix/fnmatch.h: Likewise.
1006 * posix/getopt.h: Likewise.
1007 * posix/glob.h: Likewise.
1008 * posix/posix2_lim.h: Likewise.
1009 * posix/regex.h: Likewise.
1010 * posix/sys/times.h: Likewise.
1011 * posix/sys/types.h: Likewise.
1012 * posix/sys/utsname.h: Likewise.
1013 * posix/tar.h: Likewise.
1014 * posix/wordexp.h: Likewise.
1015 * resource/sys/resource.h: Likewise.
1016 * resource/sys/vlimit.h: Likewise.
1017 * resource/sys/vtimes.h: Likewise.
1018 * socket/sys/socket.h: Likewise.
1019 * socket/sys/un.h: Likewise.
1020 * stdio-common/printf.h: Likewise.
1021 * stdlib/alloca.h: Likewise.
1022 * string/argz.h: Likewise.
1023 * string/endian.h: Likewise.
1024 * string/envz.h: Likewise.
1025 * string/memory.h: Likewise.
1026 * string/strings.h: Likewise.
1027 * sysdeps/generic/crypt.h: Likewise.
1028 * sysdeps/generic/direntry.h: Likewise.
1029 * sysdeps/generic/gnu/types.h: Likewise.
1030 * sysdeps/generic/ioctl-types.h: Likewise.
1031 * sysdeps/generic/netinet/in.h: Likewise.
1032 * sysdeps/generic/resourcebits.h: Likewise.
1033 * sysdeps/generic/sigset.h: Likewise.
1034 * sysdeps/generic/sockaddrcom.h: Likewise.
1035 * sysdeps/generic/sys/mman.h: Likewise.
1036 * sysdeps/generic/sys/ptrace.h: Likewise.
1037 * sysdeps/generic/termbits.h: Likewise.
1038 * sysdeps/generic/waitstatus.h: Likewise.
1039 * sysdeps/ieee754/huge_val.h: Likewise.
1040 * sysdeps/ieee754/nan.h: Likewise.
1041 * sysdeps/mach/hurd/local_lim.h: Likewise.
1042 * sysdeps/mach/hurd/statbuf.h: Likewise.
1043 * sysdeps/stub/huge_val.h: Likewise.
1044 * sysdeps/stub/libc-lock.h: Likewise.
1045 * sysdeps/stub/signum.h: Likewise.
1046 * sysdeps/stub/statbuf.h: Likewise.
1047 * sysdeps/stub/waitflags.h: Likewise.
1048 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
1049 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
1050 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1051 * sysdeps/unix/bsd/signum.h: Likewise.
1052 * sysdeps/unix/bsd/statbuf.h: Likewise.
1053 * sysdeps/unix/bsd/sun/signum.h: Likewise.
1054 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
1055 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1056 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
1057 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1058 * sysdeps/unix/bsd/waitflags.h: Likewise.
1059 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
1060 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
1061 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1062 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
1063 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
1064 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
1065 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1066 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
1067 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
1068 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1069 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
1070 * sysdeps/unix/sysv/linux/signum.h: Likewise.
1071 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
1072 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
1073 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1074 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1075 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1076 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
1077 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
1078 * sysdeps/unix/sysv/local_lim.h: Likewise.
1079 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
1080 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
1081 * sysdeps/unix/sysv/signum.h: Likewise.
1082 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
1083 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
1084 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
1085 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
1086 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
1087 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
1088 * sysdeps/vax/huge_val.h: Likewise.
1089 * values.h: Likewise.
1091 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
1093 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
1094 `memcpy' using bcopy if memcpy is not available.
1096 * manual/stdio.texi: Correct description of printf customization.
1097 The argument info function is not optional anymore and the
1098 interface for `printf_function' also changed.
1099 * manual/examples/rprintf.c: Define and use argument info function.
1101 * stdio-common/printf.h (struct printf_info): Change type for field
1103 Correct comment for `register_printf_function'.
1105 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
1106 to reentrant function. Instead use temporary variable and set
1107 h_errno if an error occured.
1108 Reported by NIIBE Yutaka.
1110 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1112 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
1113 S_ITRANS): New macros.
1114 (S_ISPARE): Update to include new macros and S_IUSEUNK.
1116 * sysdeps/mach/hurd/select.c (__select): Construct arg to
1117 mach_msg_destroy more nicely.
1119 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
1121 * stdio/fopen.c (__getmode): Declare with prototype.
1122 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
1123 * stdio/internals.c (__stdio_check_funcs, init_stream,
1124 seek_to_target, flushbuf, fillbuf): Likewise.
1126 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
1127 funlockfile, not _IO_funlockfile.
1129 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
1131 * sysdeps/posix/writev.c (writev): Likewise.
1133 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
1135 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1137 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
1138 prototyped definition.
1140 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
1141 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
1143 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
1145 * inet/Makefile (headers): Add aliases.h.
1146 (routines): Add getaliasent_r, getaliasent, getaliasname, and
1148 * aliases.h: New file.
1149 * inet/aliases.h: New file.
1150 * inet/getaliasent.c: New file.
1151 * inet/getaliasent_r.c: New file.
1152 * inet/getaliasname.c: New file.
1153 * inet/getaliasname_r.c: New file.
1154 * nss/Makefile (databases): Add alias.
1155 * nss/alias-lookup.c: New file.
1156 * nss/databases.def: Add aliases and publickey.
1157 * nss/nss_db/db-alias.c: New file.
1158 * nss/nss_files/files-alias.c: New file.
1160 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
1161 argument to lookup function is of type size_t.
1162 (innetgr): Likewise.
1163 * nss/getXXbyYY_r.c: Likewise.
1164 * nss/getXXent_r.c: Likewise.
1165 * nss/nss_db/db-XXX.c: Likewise.
1167 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
1168 failed because buffer was too small.
1169 * nss/getXXent.c: Likewise.
1171 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
1172 getXXent_r function now uses f[gs]etpos to get to the correct
1175 * nss/nss_files/files-parse.c: Indent lines for better readability.
1177 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
1178 and new function print_and_abort. Remove all references to
1180 Add new function _obstack_memory_used.
1181 * malloc/obstack.h (struct obstack): Remove field alloc_field.
1182 Remove all references to alloc_failed field.
1183 Add prototype for _obstack_memory_used.
1185 * posix/unistd.h: Correct typo.
1187 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
1189 * configure.in: Require at least autoconf-2.10.2.
1191 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1193 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
1196 * mach/msg-destroy.c (mach_msg_destroy_port,
1197 mach_msg_destroy_memory): Use prototype syntax.
1198 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
1199 malloc_fork_parent, malloc_fork_child): Likewise.
1201 * stdio/stdio.h: Repair broken cpp syntax.
1203 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
1204 we pass O_NOLINK on the open.
1206 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
1207 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
1208 an XOPEN error code, move to before the "Linux only" section, and
1209 give it a new number for the Hurd.
1211 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
1213 * malloc/obstack.h: Add new macro `obstack_make_room'.
1214 * malloc/obstack.c: Add function implementation for
1215 `obstack_make_room'.
1217 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
1219 Update to BIND-4.9.5-REL.
1220 * resolv/Banner: Set to 4.9.5-REL.
1221 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
1222 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
1225 * config.make.in: Add definition for top_absdir.
1226 * Makerules (make-link): Fix path to rellns-sh script.
1228 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1230 * posix/unistd.h: Fix comment.
1232 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
1233 when talking about numbers.
1234 * manual/users.texi: Likewise.
1235 * manual/creature.texi: Likewise. Use @defvarx for a secondary
1238 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1240 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
1241 the real posix1_lim.h file so that it works in all subdirs, not
1244 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1246 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
1248 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1250 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
1251 on $(before-compile) which hasn't been properly setup yet at this
1254 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1256 * sysdeps/generic/sigset.h: Don't use implicit int which will
1257 probably require a diagnostic in the next revision of the C
1259 * sysdeps/stub/lockfile.c: Likewise.
1261 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1263 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
1264 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1266 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
1268 * time/strftime.c: Update copyright. Small cosmetic changes.
1270 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
1272 * inet/getprtname_r.c: Reformat copyright.
1274 * nss/Makefile (databases): Add key.
1275 (libnss_files-routines): Exclude key database.
1276 (libnss_db-routines): Likewise.
1277 * nss/key-lookup.c: New file.
1279 * nss/getXXent_r.c (last_nip): Remember last service used since
1281 (SETFUNC): Don't force to work through whole list of services in
1283 Update last_nip if necessary.
1284 (ENDFUNC): Only process endXXent function up to currently used
1286 (GETFUNC): Update last_nip if necessary.
1288 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1291 * rpc/auth_des.h: New file.
1292 * sunrpc/Makefile (headers): Add auth_des.h.
1293 (routines): Add publickey.
1294 * sunrpc/publickey.c: New file. Interface to public key handling.
1295 * sunrpc/rpc/auth_des.h: New file.
1296 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
1298 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
1300 * inet/gethstent_r.c: Update copyright.
1301 * nss/getXXbyYY_r.c: Likewise.
1302 * nss/nsswitch.c: Likewise.
1303 * nss/getXXent_r.c: Likewise.
1304 * nss/nss_files/files-XXX.c: Likewise.
1305 * nss/nss_files/files-netgroup.c: Likewise.
1306 * nss/nss_files/files-parse.c: Likewise.
1308 * nss/getXXent_r.c: Change implementation. It's not necessary to
1309 call all setXXent functions. Just find first available and
1310 when necessary let getXXent_r call the others.
1312 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
1313 of getXXent and getXXbyYY can be mixed. The cursor for traversing
1314 the database with getXXent will be remembered.
1316 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
1318 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
1320 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
1321 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
1323 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
1325 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
1327 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
1328 set. Instead for none beside the first seven bits to be set.
1329 X/Open allows the argument to be an `int' value.
1330 Reported by Alain Williams <addw@phcomp.co.uk>.
1331 (toascii, isascii): Define macro also when __USE_XOPEN.
1333 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
1336 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
1338 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
1339 NULL so that GETFUNC will see first entry.
1340 (ENDFUNC_NAME): Likewise.
1342 Rewrite Netgroups implementation to avoid global data.
1343 * inet/netgroup.h: Add definition of name_list and struct
1345 Add prototypes for internal netgroup functions.
1346 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
1347 extra argument and use the included data instead of global vars.
1348 (_nss_files_endnetgrent): Likewise.
1349 (_nss_netgroup_parseline): Change to be static and use data
1350 included in the RESULT structure.
1351 * inet/getnetgrent_r.c (startp): Move into setup function.
1352 (known_groups, needed_groups): new part of the __netgrent sruct.
1353 (freememory): Take extra argument and use included data.
1354 (__internal_endnetgrent): Likewise.
1355 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
1356 and take extra argument.
1357 (__internal_setnetgrent): New function. Call
1358 __internal_setnetgrent_reuse after calling free_memory.
1359 (setnetgrent): Only call __internal_setnetgrent.
1360 (__getnetgrent_r): Split into two functions. __getnetgrent_r
1361 calls __internal_getnetgrent after locking.
1362 (innetgr): Use dynamic data only. I.e., innetgr now is fully
1365 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
1367 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
1368 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
1370 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
1372 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
1373 default when no *_SOURCE macro is given.
1374 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
1375 * NOTES: remade from manual/creature.texi.
1376 * manual/libc.texinfo: Add back line about GPL translation which
1379 * Make-dist (dist.tar): Depend on README being updated.
1381 * rellns-sh: Correct thinko in removing leading /.
1382 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1384 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
1385 with `+' or `-' in parser.
1386 * grp/fgetgrent_r.c: Likewise.
1387 * shadow/sgetspent_r.c: Likewise.
1388 * nss/nss_files/files-spwd.c: Don't accept entries starting with
1391 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
1393 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
1394 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
1396 * string/argz.h: Don't protect by __USE_GNU.
1398 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
1400 * Lots of files: Update and reformat copyright.
1402 * Makefile (headers): Add xopen_lim.h.
1404 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
1406 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
1407 if __USE_XOPEN_EXTENDED is defined.
1408 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
1409 if __USE_XOPEN_EXTENDED is defined.
1411 * io/Makefile (routines): Add lchown.
1412 * sysdeps/stub/lchown.c: New file.
1414 * io/sys/poll.h: Add definition of POLLWRNORM.
1416 * io/sys/stat.h: Declare lstat, fchmod, mknod when
1417 __USE_XOPEN_EXTENDED is defined.
1419 * libio/Makefile (routines): Add obprintf.
1420 * libio/obprintf.c: New file.
1421 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
1423 * libio/libio.h: Fix typo.
1424 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
1425 Add prototypes for obstack_vprintf and obstack_printf.
1427 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
1428 * manual/intro.texi: Add reference to NSS chapter.
1429 * manual/libc.texinfo: Update UPDATED.
1430 Comment out `@printindex cp'. It works again.
1431 * manual/memory.texi: Add description for obstack_ptr_grow,
1432 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
1433 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
1434 index entries to @vindex.
1435 * manual/users.texi: Correct @cindex entry for Netgroup.
1437 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
1438 make declarations visible for X/Open sources.
1440 * misc/search.h: Declare insque/remque only is __USE_SVID or
1441 __USE_XOPEN_EXTENDED is defined.
1443 * misc/sys/uio.h (readv, writev): Change return value from int to
1446 * posix/Makefile (headers): Add re_comp.h.
1447 * posix/re_comp.h: New file. XPG interface to regex functions.
1449 * posix/getconf.c: Add all names from XPG4.2.
1450 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
1451 and _POSIX_OPEN_MAX to minimums from XPG4.2.
1452 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
1453 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
1454 * sysdeps/stub/sysconf.c: Likewise.
1456 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
1457 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
1458 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
1459 ftruncate, getdtablesize, brk, sbrk, lockf when
1460 __USE_XOPEN_EXTENDED is defined.
1462 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
1464 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
1465 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
1466 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1468 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
1469 __USE_XOPEN_EXTENDED is defined.
1471 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
1473 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
1475 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
1478 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
1479 and rindex available when __USE_XOPEN_EXTENDED is defined.
1481 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
1482 * sysdeps/posix/getpagesize.c: Likewise.
1483 * sysdeps/stub/getpagesize.c: Likewise.
1484 * sysdeps/unix/getpagesize.c: Likewise.
1486 * time/africa: Update from tzdata1996l.
1487 * time/asia: Likewise.
1488 * time/australia: Likewise.
1489 * time/europe: Likewise.
1490 * time/northamerica: Likewise.
1491 * time/pacificnew: Likewise.
1492 * time/southamerica: Likewise.
1493 * time/tzfile.h: Update from tzcode1996m.
1495 * time/time.h: Declare strptime if __USE_XOPEN.
1496 Declare daylight and timezone also if __USE_XOPEN.
1498 * time/sys/time.h: Remove declaration of ualarm.
1500 * wctype/wctype.h: Just reference ISO C standard.
1502 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
1504 * crypt/Makefile: Add crypt routines to libc as well iff
1505 $(crypt-in-libc) is set. Do this for temporary binary compatibility
1506 on existing Linux/Alpha installations.
1508 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
1509 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
1510 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
1511 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
1513 * sysdeps/alpha/div.S: New file.
1514 * sysdeps/alpha/ldiv.S: New file.
1515 * sysdeps/alpha/lldiv.S: New file.
1516 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
1517 Take pointers from Linus and tighten the inner loops a bit.
1518 * sysdeps/alpha/divl.S: Change defines for merged routines.
1519 * sysdeps/alpha/divq.S: Likewise.
1520 * sysdeps/alpha/reml.S: Likewise.
1521 * sysdeps/alpha/remq.S: Likewise.
1522 * sysdeps/alpha/divlu.S: Remove file.
1523 * sysdeps/alpha/divqu.S: Likewise.
1524 * sysdeps/alpha/remlu.S: Likewise.
1525 * sysdeps/alpha/remqu.S: Likewise.
1527 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
1528 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1529 * sysdeps/alpha/bzero.S: Likewise.
1530 * sysdeps/alpha/ffs.S: Likewise.
1531 * sysdeps/alpha/htonl.S: Likewise.
1532 * sysdeps/alpha/htons.S: Likewise.
1533 * sysdeps/alpha/memchr.S: Likewise.
1534 * sysdeps/alpha/memset.S: Likewise.
1535 * sysdeps/alpha/s_copysign.S: Likewise.
1536 * sysdeps/alpha/s_fabs.S: Likewise.
1537 * sysdeps/alpha/setjmp.S: Likewise.
1538 * sysdeps/alpha/stpcpy.S: Likewise.
1539 * sysdeps/alpha/stpncpy.S: Likewise.
1540 * sysdeps/alpha/strcat.S: Likewise.
1541 * sysdeps/alpha/strchr.S: Likewise.
1542 * sysdeps/alpha/strcpy.S: Likewise.
1543 * sysdeps/alpha/strlen.S: Likewise.
1544 * sysdeps/alpha/strncat.S: Likewise.
1545 * sysdeps/alpha/strncpy.S: Likewise.
1546 * sysdeps/alpha/strrchr.S: Likewise.
1547 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
1548 Convert two small jumps to use conditional moves.
1549 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
1550 (PSEUDO): If PROF, call _mcount.
1551 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
1552 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1553 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1554 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1555 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1556 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1557 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1559 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
1560 eventually contain memmove as well.
1561 * sysdeps/alpha/strcmp.S: New file.
1562 * sysdeps/alpha/strncmp.S: New file.
1563 * sysdeps/alpha/w_sqrt.S: New file.
1565 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
1567 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
1569 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
1571 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
1572 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
1573 Reported by Thomas Bushnell, n/BSG.
1575 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
1577 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
1579 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
1581 * malloc/calloc.c: Check for overflow before trying to allocate
1582 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
1584 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1586 * manual/llio.texi (Operating Modes): Add missing arguments to
1587 @deftypevr in O_NONBLOCK description.
1589 * manual/time.texi (Time Zone Functions): Enclose type name in
1590 braces in description of tzname. FIXME: this does not yet work
1593 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
1595 * features.h: Add X/Open macros.
1596 * posix/unistd.h: Define X/Open macros.
1597 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
1598 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
1599 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
1600 * sysdeps/posix/sysconf.c: Handle new constants.
1601 * sysdeps/stub/sysconf.c: Likewise.
1602 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
1604 * catgets/catgets.c (catopen): Set errno to ENOMEM when
1605 we run out of memory.
1606 (catgets): Set errno to EBADF when catalog handle is invalid.
1607 Set errno to ENOMSG when translation is not available.
1608 (catclose): Set errno to EBADF when catalog handle is invalid.
1610 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
1611 Likewise for _toupper and _tolower.
1613 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
1614 strtof, and strtold.
1615 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
1616 * manual/stdio.h: Document ' flag for numeric formats of scanf.
1617 * manual/users.texi: Document that cuserid shouldn't be used.
1619 * misc/Makefile (routines): Add dirname.
1620 (headers): Add libgen.h.
1621 (tests): Add tst-dirname.
1622 * misc/dirname.c: New file.
1623 * misc/libgen.h: New file.
1624 * misc/tst-dirname.c: New file.
1626 * misc/search.h: Parameter of hcreate must be of type size_t.
1627 * misc/hsearch.c: Likewise.
1628 * misc/hsearch_r.c: Likewise for hcreate_r.
1629 * misc/search.h: Parameters of insque and remque must be `void *'.
1630 * misc/insremque.c: Likewise.
1632 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
1633 * stdlib/stdlib.h: ...here.
1634 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
1637 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
1639 (parse_one_spec): Remove Linux compatibility code.
1640 Recognize %C and %S formats.
1641 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
1642 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
1643 * stdio-common/vfscanf.c: Likewise for scanf.
1645 * stdlib/l64a.c: Return value for 0 must be the empty string.
1646 * stdlib/stdlib.h: Declare reentrant function from rand49 family
1647 only if __USE_REENTRANT.
1648 Declare rand48 functions also if __USE_XOPEN.
1650 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
1652 Return 0 and set errno to EINVAL when strou* sees negativ number.
1653 * stdlib/tst-strtol.c: De-ANSI-fy.
1654 Change expected results for test of unsigned function and negative
1657 * string/stratcliff.c: Prevent warnings.
1658 * string.h: Move declaration of swab to <unistd.h>.
1659 * string/swab.c: De-ANSI-fy.
1661 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
1662 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
1663 * sysdeps/posix/mktemp.c: Likewise.
1664 * sysdeps/stub/mkstemp.c: Likewise.
1665 * sysdeps/stub/mktemp.c: Likewise.
1667 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
1669 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
1672 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
1674 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
1677 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
1679 * sysdeps/posix/cuserid.c: Use reentrant functions.
1680 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
1683 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
1685 Linus said he will make sure no system call will return a value
1686 in -1 ... -4095 as a valid result.
1687 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
1688 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1689 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1690 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1692 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1694 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
1695 __funlockfile, not a circular alias.
1696 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
1699 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
1701 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
1703 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1705 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1707 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1709 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
1712 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
1713 __internal_funlockfile (in terms of itself) should actually be a
1714 definition of __funlockfile.
1716 * pwd/pwd.h: Get `size_t' from <stddef.h>.
1717 * grp/grp.h: Likewise.
1718 * shadow/shadow.h: Likewise.
1720 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
1721 calls to __libc_lock_lock and __libc_lock_unlock.
1722 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
1725 * hurd/hurdsig.c (write_corefile): Fix typo.
1727 * sysdeps/mach/hurd/sigwait.c: New file.
1729 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
1731 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
1732 and __errno_location to correct position.
1734 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
1736 * Makefile (distribute): Add rellns-sh.
1737 * rellns-sh: New file.
1738 * Makerules (make-link): Use rellns-sh.
1739 * time/Makefile ($(installed-localtime-file)): Likewise.
1741 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
1743 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
1744 (distribute): Add ldd.bash.in.
1745 * elf/ldd.sh.in: Process --help and --version parameter.
1747 * elf/ldd.bash.in: New file.
1749 * stdlib/stdlib.h: Add prototype for clearenv.
1750 * sysdeps/generic/setenv.c: Add implementation of clearenv.
1751 (setenv): Handle __environ == NULL correctly.
1752 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
1755 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
1756 * sysdeps/generic/setenv.c: Likewise.
1757 * stdlib/strtol.h: Likewise.
1759 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
1760 Remove definition of struct timeval.
1761 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
1762 using `time_t' for members.
1763 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
1764 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
1765 as old Linux specific version.
1767 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
1769 * signal/Makefile (routines): Add sigwait.
1770 * signal/signal.h: Add prototype for sigwait.
1771 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
1772 function from POSIX.1c.
1773 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
1775 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
1777 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
1778 but don't bother going farther than sizeof(float)==sizeof(int).
1779 (xdr_double): Handle little-endian machines! Handle sizeof(double)
1780 != 2*sizeof(long), though again don't bother with more than int.
1782 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
1784 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
1787 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
1789 * Makerules: Create symbolic links for linking in $(libdir).
1790 (make-link): Use absolute path for destination if this is not in
1793 * elf/rtld.c (dl_main): When verifying don't check the name of
1796 * shlib-versions: Change entries for Hurd specific libs from
1797 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
1800 * assert/assert.h: Reformat copyright.
1801 Change reference to ANSI into reference to ISO C.
1802 * ctype/ctype.h: Likewise.
1803 * errno.h: Likewise.
1804 * limits.h: Likewise.
1805 * math/math.h: Likewise.
1806 * setjmp/setjmp.h: Likewise.
1807 * stdio/stdio.h: Likewise.
1808 * libio/stdio.h: Likewise.
1809 * stdlib/stdlib.h: Likewise.
1810 * string/string.h: Likewise.
1811 * time/time.h: Likewise.
1813 * string/argz.h: Use __const in definitions.
1815 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
1816 * misc/err.h: Likewise.
1818 * wctype/wctype.h (wctrans_t): Use __const instead of const.
1820 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
1821 sonames for versioned libraries.
1822 * Makefile: Remove code to generate libc-version.h.
1823 Generate gnu/lib-names.h with info from soversions.mk.
1824 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
1826 * dirent/tst-seekdir.c: Initialize save3.
1827 * grp/testgrp.c: Initialize my_group.
1829 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
1830 * grp/grp.h: Likewise.
1831 * nss/getXXbyYY.c: Likewise.
1832 * nss/getXXbyYY_r.c: Likewise.
1833 * nss/getXXent.c: Likewise.
1834 * nss/getXXent_r.c: Likewise.
1835 * pwd/fgetpwent_r.c: Likewise.
1836 * pwd/pwd.h: Likewise.
1837 * shadow/fgetspent_r.c: Likewise.
1838 * shadow/sgetspent.c: Likewise.
1839 * shadow/sgetspent_r.c: Likewise.
1840 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
1841 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
1842 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
1843 * resolv/netdb.h: Adapt prototypes for reentrant functions to
1845 * sunrpc/rpc/netdb.h: Likewise,
1846 * shadow/shadow.h: Likewise.
1848 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
1850 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
1852 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
1853 ELF aliasing creates strange situations.
1854 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
1856 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
1857 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1859 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
1862 * locale/programs/charmap.c: Add casts to prevent warnings.
1863 * locale/programs/linereader.h: Likewise.
1864 * locale/programs/ld-collate.c: Likewise.
1865 * locale/programs/stringtrans.c: Likewise.
1866 Change types for various variables to prevent warnings.
1867 * locale/programs/ld-ctype.c: Likewise.
1868 * locale/programs/linereader.h (lr_ungetc): Likewise.
1869 * locale/programs/charset.h (struct charset): Use `unsigned int'
1870 as type for width_default.
1871 * posix/regex.c: Change type of `this_reg' variables.
1872 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
1873 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
1875 * stdio-common/printf_fp.c: Initialize to_shift.
1876 * stdio-common/test_rdwr.c: Add cast.
1877 * stdio-common/vfprintf.c: Add casts and use correct types to
1879 * stdio-common/vfscanf.c: Initialize str and strptr.
1880 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
1881 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1882 * sysdeps/libm-ieee754/e_powf.c: Likewise.
1883 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
1884 * time/test-tz.c: Likewise.
1886 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
1887 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
1888 libc.cp index. This must be fixed.
1889 * manual/nss.texi: Adapt for correct POSIX.1c interface of
1890 reentrant functions.
1891 * manual/users.texi: Document netgroup functions.
1893 * po/es.po: Updated.
1894 * po/fr.po: Updated.
1896 * posix/fnmatch.c: Change to match libit version.
1898 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
1899 * sysdep/posix/ttyname_r.c: Likewise.
1901 * stdlib/atexit.h (__new_exitfn): Add internal locking.
1902 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
1903 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
1904 * stdlib/random.c (__srandom): Add internal locking.
1905 (__initstate): Likewise.
1906 (__setstate): Likewise.
1907 (__random): Likewise.
1909 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1911 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
1913 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
1914 * sysdeps/generic/uname.c: Likewise.
1915 * sysdeps/posix/rename.c: Likewise.
1916 * sysdeps/stub/setrlimit.c: Likewise.
1918 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
1920 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1922 * locale/programs/ld-collate.c (collate_order_elem): Fix format
1924 (collate_element_to): Cast field width argument to `int' for
1926 (collate_symbol): Likewise.
1927 (collate_order_elem): Likewise.
1928 (collate_weight_bsymbol): Likewise.
1929 (collate_simple_weight): Likewise.
1931 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
1933 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
1934 argument for format string.
1935 (ctype_map_newP): Likewise.
1936 (set_class_defaults): Fix format string.
1938 * locale/programs/localedef.c (construct_output_path): Putting an
1939 explicit \0 into the format string does not work, use %c.
1941 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
1943 * Makerules: Install all shared libraries in $(slibdir).
1945 * login/Makefile: Build libutil.so in others pass after
1948 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
1950 * string/stratcliff.c: Allocate 3 pages instead of one, then use
1951 mprotect so that we know that the adjacent pages are inaccessible.
1953 * resource/sys/resource.h: Move all structures and enums to ...
1954 * sysdeps/generic/resourcebits.h: ... here ...
1955 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
1956 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
1957 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
1958 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
1959 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
1960 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
1961 header for RLIMIT_* definitions. The members of struct rlimit
1965 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1967 * MakeTAGS (sysdep-dirs): Fix typo.
1969 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1971 * hurd/hurdsig.c (write_corefile): If we can't create the core
1972 file, still call crash_dump_task with a null FILE arg. Maybe it
1973 won't actually need the file.
1975 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
1977 * Makefile (headers): Don't mention libc-version.h.
1978 (install-others): ...but here.
1980 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
1982 * version.h: Bump version number to 1.97.
1984 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
1985 Include libc-version.h.
1986 * features.h.in: Removed.
1987 * Makefile: Change rules to generate libc-version.h instead of
1990 * malloc/free.c: Add cast to prevent warning.
1991 * malloc/malloc-walk.c: Likewise.
1992 * malloc/ralloc.c: Likewise.
1993 * malloc/realloc.c: Likewise.
1995 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
1997 * pwd/fgetpwent_r.c: Likewise.
1998 * nss/nss_files/files-grp.c: Don't accept entries with names starting
1999 with + or - in lookup functions.
2000 * nss/nss_files/files-pwd.c: Likewise.
2002 * Makerules: Call autolock.sh using $(SHELL).
2004 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2006 * elf/dl-minimal.c: Don't define `dgettext' replacement but
2007 `dcgettext'. When optimizing the macros in <libintl.h> define
2008 `dgettext' as a macro and so this function will never be called.
2010 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
2012 * sysdeps/i386/sysdep.h: Define END to use .size when available.
2013 (PSEUDO_END): Use END.
2014 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
2015 define SYSCALL_ERROR_HANDLER before using END.
2016 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
2017 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
2018 and .size directive but PSEUDO_END.
2019 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
2020 * sysdeps/unix/sysv/linux/socket.S: Likewise.
2021 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
2022 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
2023 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
2024 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
2025 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2026 * sysdeps/i386/bsd-setjmp.S: Likewise.
2027 * sysdeps/i386/memchr.S: Likewise.
2028 * sysdeps/i386/memcmp.S: Likewise.
2029 * sysdeps/i386/setjmp.S: Likewise.
2030 * sysdeps/i386/stpcpy.S: Likewise.
2031 * sysdeps/i386/stpncpy.S: Likewise.
2032 * sysdeps/i386/strchr.S: Likewise.
2033 * sysdeps/i386/strcspn.S: Likewise.
2034 * sysdeps/i386/strpbrk.S: Likewise.
2035 * sysdeps/i386/strrchr.S: Likewise.
2036 * sysdeps/i386/strspn.S: Likewise.
2037 * sysdeps/i386/strtok.S: Likewise.
2038 * sysdeps/i386/i486/strcat.S: Likewise.
2039 * sysdeps/i386/i486/strlen.S: Likewise.
2040 * sysdeps/i386/i586/memset.S: Likewise.
2041 * sysdeps/i386/i586/strchr.S: Likewise.
2042 * sysdeps/i386/i586/strlen.S: Likewise.
2044 * sysdeps/i386/strlen.c: De-ANSI-fy.
2046 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
2047 Define dgettext if not defined to use dcgettext.
2048 * sysdeps/mach/_strerror.c: Likewise.
2050 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
2051 __syscall_error defined.
2053 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2055 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
2056 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
2057 now provided by PSEUDO_END.
2058 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2059 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2060 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2061 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2062 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
2064 * sysdeps/generic/sysdep.h (END): Provide default empty
2066 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
2068 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
2069 (PSEUDO_END): Include it here instead.
2070 (SYSCALL_ERROR_HANDLER): Remove type directive.
2071 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
2072 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2073 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2074 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2075 (__syscall_error): Can't use ENTRY macro.
2077 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2079 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
2080 Set caller to EXTRA.
2082 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
2084 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
2085 to beginning of function. So libc functions can use this flag.
2086 * sysdeps/generic/_strerror.c: Don't use dgettext for message
2087 translation while `_dl_starting_up' is nonzero.
2089 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
2091 Pass parameter value to _dl_map_object.
2092 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
2093 If TRACE_MODE is nonzero don#t signal error when shared lib
2094 is not found. Instead create fake entry for link map.
2095 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
2096 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
2097 argument to _dl_map_object_deps.
2098 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
2099 _dl_map_object and _dl_map_object_deps.
2100 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
2101 and _dl_map_object_deps.
2102 When mode == trace test for l_opencount == 0 before printing
2103 link information since this means the lib is not found.
2105 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
2107 * rpm/template: Add INSTALL to %doc line to follow copyright
2108 restrictions which demand the distribution of the copyright
2109 messages in INSTALL even for binary distributions.
2111 * features.h: Rename to...
2112 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
2113 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
2114 and __GNU_LIBRARY_INTERFACE__.
2115 * Makefile ($(objpfx)features.h): New rule to generate features.h
2116 from template features.h.in.
2118 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
2120 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
2122 * locale/programs/linereader.c (lr_open): Cast away const before free.
2123 (lr_close): Likewise.
2125 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
2126 * misc/paths.h: Move to ...
2127 * sysdeps/generic/paths.h: ... here.
2129 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
2130 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
2132 * nss/nss_db/db-netgrp.h: Include <string.h>.
2134 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
2135 _sys_siglist, which result in the "Unknown signal" message.
2136 * string/strsignal.c: Likewise.
2137 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
2138 don't auto-generate siglist.c.
2139 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
2140 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
2141 autogenerate makes bootstrapping and cross-compiling much easier.
2142 * sysdeps/unix/sysv/linux/siglist.h: New file.
2144 * stdlib/longlong.h: Prototype __udiv_qrnnd.
2146 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
2147 sys/io.h. It is already added in .../linux/Makefile.
2149 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
2150 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
2151 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2153 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
2155 Add implementation of POSIX.1g function getaddrinfo.
2156 * posix/Makefile (routines): Add getaddrinfo.
2157 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
2159 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
2160 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
2161 related constants and structures.
2163 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
2165 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
2166 Make all old names weak alises so that they can be replaced
2169 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
2171 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
2172 __flockfile and __funlockfile.
2173 Reported by NIIBE Yutaka.
2175 * crypt/md5.c: Change form of copyright message according to GNITS
2177 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
2178 and `md5_read_ctx' function.
2179 * crypt/md5.h: Likewise.
2181 * grp/testgrp.c: Don't use perror for error cases since getgr* and
2182 getpw* functions do not return usable error codes.
2184 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
2186 * crypt/md5.c (md5_process_bytes): Used casting for pointer
2189 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
2191 * sunrpc/Makefile (others): Remove portmap here, too.
2193 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
2195 * intl/locale.alias: Language for entry `czech' is `cs'.
2197 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2199 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
2201 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
2203 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
2204 buggy and more competent people work on a usable version which is
2205 distributed separately.
2206 * sunrpc/portmap.c: Removed.
2207 Suggested by Thorsten Kukuk.
2209 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
2211 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
2214 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2216 * string/Makefile (tests): Add stratcliff.
2217 * string/stratcliff.c: New file. Test for string function at
2218 the edge of the usable memory.
2220 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
2222 * Makerules ($(libdir)/libc.so): Fix typo.
2224 * elf/ldd.sh.in: Test whether given file really exist and give
2225 better message if it is not available.
2227 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
2229 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
2232 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
2234 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
2235 output to $@T and move to $@ later since the new rpcgen will not
2236 overwrite existing files.
2238 * po/Makefile (libc.pot): Fix typo.
2240 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2242 Update rpcgen program to TI-rpc code.
2243 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
2244 (distribute): Add proto.h.
2245 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
2246 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
2247 * sunrpc/rpc_cout.c: Likewise.
2248 * sunrpc/rpc_hout.c: Likewise.
2249 * sunrpc/rpc_main.c: Likewise.
2250 * sunrpc/rpc_parse.c: Likewise.
2251 * sunrpc/rpc_parse.h: Likewise.
2252 * sunrpc/rpc_scan.c: Likewise.
2253 * sunrpc/rpc_scan.h: Likewise.
2254 * sunrpc/rpc_svcout.c: Likewise.
2255 * sunrpc/rpc_util.c: Likewise.
2256 * sunrpc/rpc_util.h: Likewise.
2258 * sunrpc/rpc_tblout.c: New file.
2259 * sunrpc/rpc_sample.c: Likewise.
2261 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2263 * sysdeps/unix/opendir.c: Add semicolon for consistency.
2265 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2267 * locale/programs/localedef.c (main): Test with -1 to find out
2268 whether read failed.
2270 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
2272 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
2275 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2277 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
2279 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2281 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
2282 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2283 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2284 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2285 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2287 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2288 Correct generation of system call.
2290 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2292 * Makerules (sysd-Makefile): Fix command so that it works in the
2294 (BUILD_CFLAGS): Change back using $(..) instead of
2295 $(common-objpfx), the latter fails in the toplevel directory when
2296 $(objdir) is relative.
2297 (common-objdir-compile): Run compiler in $(objdir).
2298 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
2300 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
2302 * string/string.h [__USE_SVID]: Add prototype for swab.
2303 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
2304 Reported by Andreas Jaeger.
2306 The available nlist implementation is not generally usable.
2307 Especially on the currently supported ELF systems the nlist
2308 function comes with the libelf.
2309 * misc/Makefile (headers): Remove nlist.h.
2310 (routines): Remove nlist.
2312 * Makefile ($(objpfx)version-info.h): Include information about
2313 system the libc is built on in version-info.h file.
2315 * po/Makefile (distribute): Add header.pot.
2317 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2319 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
2320 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2321 * misc/error.c: Likewise.
2323 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
2325 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
2327 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2329 * crypt/Makefile (rpath-link): Extend search path to current directory.
2331 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
2333 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
2336 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
2338 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
2340 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
2342 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2344 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2347 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2349 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
2352 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2354 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
2356 (PSEUDO_END): Provide definition to use .size directive.
2357 (PSEUDO): Don't interpret negative return values less than -128 as
2359 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
2361 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
2363 * sysdeps/m68k/bsd-setjmp.S: Likewise.
2364 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2365 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2366 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2367 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2368 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2369 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
2370 explicit .size directive.
2372 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
2374 * shlib-versions: Add version number/name for ld.so.
2375 * Makeconfig: Move definition of rtld-installed-name after
2376 inclusion of soversions.mk.
2377 Don't add . before version number from shlib-versions file when
2378 when name does not start with digit. This is needed for ld.so.
2380 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
2382 * libio/iogets.c: Warn when gets is used.
2383 * stdio/gets.c: Strengthen the warning.
2385 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2387 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
2388 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
2389 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
2390 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
2391 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
2393 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
2394 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
2395 appropriate values according to __USE_REENTRANT.
2396 * libio/stdio.h: Add prototype for ftrylockfile.
2397 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
2398 getc, getchar, putc, and putchar using _IO_* names.
2399 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
2400 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
2401 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
2402 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
2403 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
2404 * libio/peekc.c: New file.
2406 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
2409 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
2411 * crypt/Makefile (tests): Add md5test and md5c-test.
2412 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
2413 is called, the buffer limit is honoured and a loop in a inner
2415 * crypt/md5.h (struct md5_ctx): Add new fields.
2416 Add prototypes for new functions.
2417 * crypt/md5.c (md5_init_ctx): Initialize new fields.
2418 (md5_finish_ctx): New function. Like md5_read_ctx but before
2419 perform correct finalization.
2420 (md5_process_bytes): New function. Similar to md5_proces_block,
2421 but does not require input size to be multiple of 64.
2422 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
2423 (md5_buffer): Likewise.
2424 (md5_process_block): Count number of bytes.
2425 * crypt/md5test.c: New file. Test program for MD5 functions.
2426 * crypt/md5c-test.c: New file: Test program for MD5 crypt
2431 * time/strptime.c: Recognize %s, %u, %g, and %G format.
2433 * posix/getopt.c: Add some more casts and initializations to
2436 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
2438 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
2439 an extra function to provide this functionality.
2440 (cfgetospeed): Simply return masked value.
2441 (cfsetospeed): Don't use speeds array and so we can simply test
2442 the value of SPEED for illegal values.
2443 * termios/cfsetspeed.c: Rewrite. We convert here between the
2444 real values and the B* constants.
2445 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
2447 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2449 * locale/programs/xstrdup.c: Define prototypes.
2450 * locale/programs/xmalloc.c: Likewise.
2452 * stdio-common/xbug.c (main): Change definition to avoid warning.
2454 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
2456 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
2458 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
2460 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
2461 "$(i18ndir)/charmaps".
2463 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2465 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
2466 to get definition of FPU description struct.
2468 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
2469 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
2470 net/if_arp.h, and net/route.h.
2471 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
2472 * sysdeps/unix/sysv/linux/net/route.h: New file.
2474 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
2476 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
2477 * sysdeps/stub/e_acosl.c: Likewise.
2478 * sysdeps/stub/e_asinl.c: Likewise.
2479 * sysdeps/stub/e_atan2l.c: Likewise.
2480 * sysdeps/stub/e_expl.c: Likewise.
2481 * sysdeps/stub/e_fmodl.c: Likewise.
2482 * sysdeps/stub/e_log10l.c: Likewise.
2483 * sysdeps/stub/e_logl.c: Likewise.
2484 * sysdeps/stub/e_sqrtl.c: Likewise.
2485 * sysdeps/stub/s_atanl.c: Likewise.
2486 * sysdeps/stub/s_log1pl.c: Likewise.
2488 * Makefile (distribute): Add nsswitch.h and netgroup.h.
2490 * nss/Makefile (generated): db-netgrp.c is not generated.
2492 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
2494 * Make-dist (+out): Add $(dont_distribute).
2496 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2498 * stdio-common/Makefile (routines): Add tmpnam_r.
2500 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
2502 * version.h: Bump version to 1.96.
2504 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2506 * stdio-common/tst-printf.c: Some more cleanups.
2508 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
2510 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
2511 * resolv/resolv.h: Likewise.
2512 * resolv/gethnamaddr.c: Likewise.
2513 * resolv/res_comp.c: Likewise.
2514 * resolv/res_debug.c: Likewise.
2515 * resolv/res_init.c: Likewise.
2516 * resolv/res_send.c: Likewise.
2517 * resolv/Banner: Update version number.
2519 * nss/nss_dns/dns-host.c: Update according to change in
2520 resolv/gethnamaddr.c.
2522 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
2524 * crypt/md5.c (md5_stream): When reading the block in several
2525 pieces append to instead of replace previously read data.
2527 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
2529 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
2530 last-byte-written bit for source word misalignment.
2531 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
2534 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
2536 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
2537 comes with glibc-nis.
2538 * sunrpc/rpcsvc/yp.x: Removed.
2540 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
2541 for *CURSOR to be NULL and dump a core if yes.
2543 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
2545 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
2546 including <errnos.h> to get error numbers.
2548 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
2550 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
2551 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
2552 Alpha people find a correct file.
2553 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
2554 an alias of __cabs since the structures have different names.
2555 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
2556 Reported by Matthew Jacob <mjacob@feral.com>.
2558 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2560 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
2561 so that it still works right if we happen to get called in a
2562 subdir it still works.
2564 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
2565 as file name translation flags.
2566 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
2567 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
2570 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
2571 name (changed according to libc-name) to avoid getting the
2572 Hurd-ish linker script for libc.a when we only want the archive
2575 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
2577 * time/strftime.c: Allow old K&R compilers compile this file.
2579 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
2581 * posix/execlp.c: Add first argument parameter to be compliant
2582 with POSIX. Rearrange body to start vararg counter after
2585 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
2587 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
2588 simply a wrapper around the <linux/elfcore.h> file since the
2589 kernel header is not clean enough. We provide the definitions
2590 in this file instead.
2592 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
2594 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
2595 get?id calls by using __libc_enable_secure.
2597 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
2599 * inet/getnetgrent_r.c: Correct netgroup implementation. A
2600 specification of a netgroup can also name another netgroup.
2601 * nss/nss_files/files-netgrp.c: Likewise.
2602 * inet/netgroup.h: Add fields to hold additional information.
2604 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
2606 * posix/getopt.c: Implement POSIX -W option handling. When the
2607 option string contains "W;" -W foo is handled like --foo.
2609 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
2611 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
2612 inclusing <errnos.h> so we really get error symbols defined.
2613 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2614 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2616 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
2617 size array for getgroups call. Instead get maximal number via
2618 sysconf. But discard list to NGRPS elements before calling XDR
2619 function since Sun's code cannot handle longer lists.
2620 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2622 * sysdeps/stub/e_j0l.c: Define y0l as well.
2623 * sysdeps/stub/e_j1l.c: Define y1l as well.
2624 * sysdeps/stub/e_jnl.c: Define ynl as well.
2626 * posix/unistd.h: Correct prototype for execlp.
2628 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
2630 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2632 * Makeconfig (sysdep-library-path): New variable.
2633 (built-program-cmd): Use it here to properly build a colon
2634 separated library path.
2636 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2638 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
2639 within comparison. Fix comments.
2640 (md5_crypt): Fix comment.
2642 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
2644 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
2645 when _ERRNO_H is defined.
2646 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
2647 Should there ever be a Linux port where the numeric values are
2648 not 33 and 34 this file must change.
2650 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2652 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
2655 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2657 * string/tst-strlen.c (main): Provide prototype.
2658 * malloc/mallocbug.c: Likewise.
2659 * io/test-utime.c: Likewise.
2661 * sysdeps/generic/crypt-entry.c: Correct typo.
2663 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
2665 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
2666 test for libc.a. Checking _DYNAMIC is of no worth here.
2667 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2669 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
2670 EXTERN_PARSER is defined.
2672 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2674 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
2676 * crypt/md5-crypt.c: Fix typos in comments.
2678 * gmon/gmon.c: Provide prototypes.
2679 * db/makedb.c: Likewise.
2680 * locale/programs/xmalloc.c: Likewise.
2681 * stdio-common/bug11.c (main): Likewise.
2682 * stdio-common/bug7.c (main): Likewise.
2683 * stdio-common/bug8.c (main): Likewise.
2684 * stdio-common/bug9.c (main): Likewise.
2685 * stdio-common/scanf1.c (main): Likewise.
2686 * stdio-common/scanf2.c (main): Likewise.
2687 * stdio-common/scanf5.c (main): Likewise.
2688 * stdio-common/scanf6.c (main): Likewise.
2689 * stdio-common/scanf7.c (main): Likewise.
2690 * stdio-common/scanf8.c (main): Likewise.
2691 * stdio-common/temptest.c (main): Likewise.
2692 * stdio-common/test-fwrite.c (main): Likewise.
2693 * stdio-common/tst-printf.c: Likewise.
2694 * stdio-common/tstdiomisc.c: Likewise.
2695 * stdio-common/tstgetln.c (main): Likewise.
2696 * stdlib/testmb.c (main): Likewise.
2698 * stdio-common/scanf4.c (main): Correct prototype, remove unused
2701 * stdio-common/scanf3.c (main): Correct prototype, change
2702 declaration of s to reduce warnings.
2703 * stdio-common/bug10.c (main): Likewise.
2705 * stdio-common/tfformat.c: Provide prototype, remove unused
2706 reference to dump_stats, add braces in sprint_doubles.
2707 * stdio-common/tiformat.c: Likewise.
2709 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
2712 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2714 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
2716 * shadow/putspent.c: Don't write colon after flag field.
2718 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
2720 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
2721 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2722 * sysdeps/unix/sysv/linux/Dist: Mention new files.
2724 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
2726 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
2727 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
2729 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
2730 by using __libc_enable_secure variable.
2732 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2734 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
2735 null, don't attempt mach_port_mod_refs.
2737 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2739 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
2740 sysdeps/unix/pipestream.c.
2742 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
2743 from sysdeps/mach/hurd/readdir.c.
2745 * stdio/freopen.c: Complete de-ansideclification.
2746 * stdio/fgets.c (fgets): Likewise.
2747 * stdio/getdelim.c (__getdelim): Likewise.
2748 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
2751 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2752 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2754 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
2755 STAT_LOC without error.
2757 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
2759 * posix/getopt.c: Add casts to prevent warnings.
2760 * posix/regex.c: Likewise.
2762 * math/Makefile (long-m-routines, long-m-yes): Define to correct
2763 values to make `long double' functions available.
2764 (distribute): Add $(long-m-yes:=.c).
2766 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
2767 Use long double instruction.
2769 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
2770 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
2771 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
2773 * sysdeps/libm-ieee754/e_coshl.c: New file.
2775 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
2776 for `long double' version as alias.
2777 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2778 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
2779 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
2780 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
2781 * sysdeps/libm-ieee754/s_cos.c: Likewise.
2782 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2783 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2784 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
2785 * sysdeps/libm-ieee754/s_finite.c: Likewise.
2786 * sysdeps/libm-ieee754/s_floor.c: Likewise.
2787 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
2788 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
2789 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
2790 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2791 * sysdeps/libm-ieee754/s_logb.c: Likewise.
2792 * sysdeps/libm-ieee754/s_modf.c: Likewise.
2793 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
2794 * sysdeps/libm-ieee754/s_rint.c: Likewise.
2795 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
2796 * sysdeps/libm-ieee754/s_significand.c: Likewise.
2797 * sysdeps/libm-ieee754/s_sin.c: Likewise.
2798 * sysdeps/libm-ieee754/s_tan.c: Likewise.
2799 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
2800 * sysdeps/libm-ieee754/w_acos.c: Likewise.
2801 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
2802 * sysdeps/libm-ieee754/w_sin.c: Likewise.
2803 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
2804 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
2805 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
2806 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
2807 * sysdeps/libm-ieee754/w_drem.c: Likewise.
2808 * sysdeps/libm-ieee754/w_exp.c: Likewise.
2809 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
2810 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
2811 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
2812 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
2813 * sysdeps/libm-ieee754/w_j0.c: Likewise.
2814 * sysdeps/libm-ieee754/w_j1.c: Likewise.
2815 * sysdeps/libm-ieee754/w_jn.c: Likewise.
2816 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
2817 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
2818 * sysdeps/libm-ieee754/w_log.c: Likewise.
2819 * sysdeps/libm-ieee754/w_log10.c: Likewise.
2820 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2821 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
2822 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
2823 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
2824 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
2826 Stub files for missing long double math functions.
2827 * sysdeps/stub/e_acoshl.c: New file.
2828 * sysdeps/stub/e_hypotl.c: New file.
2829 * sysdeps/stub/e_j0l.c: New file.
2830 * sysdeps/stub/e_j1l.c: New file.
2831 * sysdeps/stub/e_jnl.c: New file.
2832 * sysdeps/stub/e_lgammal_r.c: New file.
2833 * sysdeps/stub/e_powl.c: New file.
2834 * sysdeps/stub/e_rem_pio2l.c: New file.
2835 * sysdeps/stub/e_sinhl.c: New file.
2836 * sysdeps/stub/k_cosl.c: New file.
2837 * sysdeps/stub/k_rem_pio2l.c: New file.
2838 * sysdeps/stub/k_sinl.c: New file.
2839 * sysdeps/stub/k_tanl.c: New file.
2840 * sysdeps/stub/s_erfl.c: New file.
2841 * sysdeps/stub/s_expm1l.c: New file.
2843 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
2845 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2846 * sysdeps/i386/bsd-setjmp.S: Likewise.
2847 * sysdeps/i386/memchr.S: Likewise.
2848 * sysdeps/i386/memcmp.S: Likewise.
2849 * sysdeps/i386/setjmp.S: Likewise.
2850 * sysdeps/i386/stpcpy.S: Likewise.
2851 * sysdeps/i386/stpncpy.S: Likewise.
2852 * sysdeps/i386/strchr.S: Likewise.
2853 * sysdeps/i386/strcspn.S: Likewise.
2854 * sysdeps/i386/strpbrk.S: Likewise.
2855 * sysdeps/i386/strrchr.S: Likewise.
2856 * sysdeps/i386/strspn.S: Likewise.
2857 * sysdeps/i386/strtok.S: Likewise.
2858 * sysdeps/i386/i486/strcat.S: Likewise.
2859 * sysdeps/i386/i486/strlen.S: Likewise.
2860 * sysdeps/i386/i586/memset.S: Likewise.
2861 * sysdeps/i386/i586/strchr.S: Likewise.
2862 * sysdeps/i386/i586/strlen.S: Likewise.
2863 * sysdeps/libm-i387/e_acos.S: Likewise.
2864 * sysdeps/libm-i387/e_acosl.S: Likewise.
2865 * sysdeps/libm-i387/e_asin.S: Likewise.
2866 * sysdeps/libm-i387/e_asinl.S: Likewise.
2867 * sysdeps/libm-i387/e_atan2.S: Likewise.
2868 * sysdeps/libm-i387/e_atan2l.S: Likewise.
2869 * sysdeps/libm-i387/e_exp.S: Likewise.
2870 * sysdeps/libm-i387/e_expl.S: Likewise.
2871 * sysdeps/libm-i387/e_fmod.S: Likewise.
2872 * sysdeps/libm-i387/e_fmodl.S: Likewise.
2873 * sysdeps/libm-i387/e_log.S: Likewise.
2874 * sysdeps/libm-i387/e_log10.S: Likewise.
2875 * sysdeps/libm-i387/e_log10l.S: Likewise.
2876 * sysdeps/libm-i387/e_logl.S: Likewise.
2877 * sysdeps/libm-i387/e_remainder.S: Likewise.
2878 * sysdeps/libm-i387/e_remainderf.S: Likewise.
2879 * sysdeps/libm-i387/e_remainderl.S: Likewise.
2880 * sysdeps/libm-i387/e_scalb.S: Likewise.
2881 * sysdeps/libm-i387/e_scalbl.S: Likewise.
2882 * sysdeps/libm-i387/e_sqrt.S: Likewise.
2883 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
2884 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
2885 * sysdeps/libm-i387/s_atan.S: Likewise.
2886 * sysdeps/libm-i387/s_atanf.S: Likewise.
2887 * sysdeps/libm-i387/s_atanl.S: Likewise.
2888 * sysdeps/libm-i387/s_ceil.S: Likewise.
2889 * sysdeps/libm-i387/s_ceilf.S: Likewise.
2890 * sysdeps/libm-i387/s_ceill.S: Likewise.
2891 * sysdeps/libm-i387/s_copysign.S: Likewise.
2892 * sysdeps/libm-i387/s_copysignf.S: Likewise.
2893 * sysdeps/libm-i387/s_copysignl.S: Likewise.
2894 * sysdeps/libm-i387/s_cos.S: Likewise.
2895 * sysdeps/libm-i387/s_cosf.S: Likewise.
2896 * sysdeps/libm-i387/s_cosl.S: Likewise.
2897 * sysdeps/libm-i387/s_finite.S: Likewise.
2898 * sysdeps/libm-i387/s_finitef.S: Likewise.
2899 * sysdeps/libm-i387/s_finitel.S: Likewise.
2900 * sysdeps/libm-i387/s_floor.S: Likewise.
2901 * sysdeps/libm-i387/s_floorf.S: Likewise.
2902 * sysdeps/libm-i387/s_floorl.S: Likewise.
2903 * sysdeps/libm-i387/s_ilogb.S: Likewise.
2904 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2905 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
2906 * sysdeps/libm-i387/s_log1p.S: Likewise.
2907 * sysdeps/libm-i387/s_log1pf.S: Likewise.
2908 * sysdeps/libm-i387/s_log1pl.S: Likewise.
2909 * sysdeps/libm-i387/s_logb.S: Likewise.
2910 * sysdeps/libm-i387/s_logbf.S: Likewise.
2911 * sysdeps/libm-i387/s_logbl.S: Likewise.
2912 * sysdeps/libm-i387/s_rint.S: Likewise.
2913 * sysdeps/libm-i387/s_rintf.S: Likewise.
2914 * sysdeps/libm-i387/s_rintl.S: Likewise.
2915 * sysdeps/libm-i387/s_scalbn.S: Likewise.
2916 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2917 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2918 * sysdeps/libm-i387/s_significand.S: Likewise.
2919 * sysdeps/libm-i387/s_significandf.S: Likewise.
2920 * sysdeps/libm-i387/s_significandl.S: Likewise.
2921 * sysdeps/libm-i387/s_sin.S: Likewise.
2922 * sysdeps/libm-i387/s_sinf.S: Likewise.
2923 * sysdeps/libm-i387/s_sinl.S: Likewise.
2924 * sysdeps/libm-i387/s_tan.S: Likewise.
2925 * sysdeps/libm-i387/s_tanf.S: Likewise.
2926 * sysdeps/libm-i387/s_tanl.S: Likewise.
2928 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
2929 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
2930 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
2931 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
2933 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
2934 to provide .size directive on ELF systems.
2936 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
2937 <sigcontext.h> and rename parameter type to sigcontext.
2938 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
2940 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
2941 negative values might occur as positive results. Test against
2942 -125 to decide for error or not.
2943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
2945 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2947 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
2948 whether this is a statically linked program. The latter is now
2951 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2953 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
2954 controlling terminals are allowed to send.
2956 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
2957 table is larger than the allowable address size, then return
2960 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
2964 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
2966 * po/fr.po: New file.
2968 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
2970 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
2972 Add support for MD5 crypt replacement.
2973 * Makefile (subdirs): Add crypt.
2974 * shlib-versions: Add entry for libcrypt.
2975 * crypt/md5-crypt.c: New file.
2976 * crypt/md5.c: New file.
2977 * crypt/md5.h: New file.
2978 * sysdeps/generic/crypt-entry.c: New file.
2979 * sysdeps/generic/crypt.h: New file.
2981 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2983 * dirent/tst-seekdir.c: Provide correct prototypes.
2984 * io/test-utime.c: Likewise.
2985 * malloc/mallocbug.c: Likewise.
2986 * posix/testfnm.c: Likewise.
2987 * stdio-common/xbug.c: Likewise.
2988 * sysdeps/posix/cuserid.c: Likewise.
2990 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
2992 Provide optimized string functions for Alpha processors.
2993 * sysdeps/alpha/bzero.S: New file.
2994 * sysdeps/alpha/memset.S: New file.
2995 * sysdeps/alpha/stpcpy.S: New file.
2996 * sysdeps/alpha/stpncpy.S: New file.
2997 * sysdeps/alpha/strcat.S: New file.
2998 * sysdeps/alpha/strchr.S: New file.
2999 * sysdeps/alpha/strcpy.S: New file.
3000 * sysdeps/alpha/strncat.S: New file.
3001 * sysdeps/alpha/strncpy.S: New file.
3002 * sysdeps/alpha/strrchr.S: New file.
3003 * sysdeps/alpha/stxcpy.S: New file.
3004 * sysdeps/alpha/stxncpy.S: New file.
3006 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
3007 stxncpy to sysdep_routines.
3010 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3012 * sysdeps/generic/gnu/types.h: Added __loff_t.
3013 Don't declare key_t here.
3015 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
3016 set errno (to ENOMEM).
3018 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
3020 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
3021 nothing is found. This guarantees all subsequent calls behave
3023 * sysdeps/generic/strtok_r.c: Likewise.
3025 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3027 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
3030 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
3032 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
3033 NULL immediately; we're going to get called one more time.
3034 * sysdeps/generic/strtok_r.c: Likewise.
3036 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
3038 * locale/programs/ld-time.c: Always write some bytes at the end of
3039 the file even if no `era's are specified.
3041 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
3044 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
3046 * libio/iofclose.c: Move unlocking to right position.
3048 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
3050 * misc/Makefile: Kill force-wrapper.
3051 * misc/force-wrapper.c: Delete.
3053 * elf/eval.c: Add <string.h>.
3055 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
3056 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
3057 and binary compatibility not at all. Better to do `char *foo'
3058 followed by `foo = ptr' as it is much cleaner.
3059 (struct gmon_hdr): Fix version.
3060 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
3061 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
3062 * gmon/gmon.c: De-ansidecl-ify.
3063 (write_hist): De-bcopy-fy.
3064 (write_call_graph): Likewise.
3066 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
3067 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
3068 * sysdeps/generic/machine-gmon.h: Likewise.
3070 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
3071 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
3072 * nss/nss_dns/dns-network.c: Likewise.
3073 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
3074 * resolv/getnetnamadr.c: Likewise.
3075 * resolv/res_debug.c: Likewise.
3076 * resolv/res_mkquery.c: Likewise.
3077 * resolv/res_query.c: Likewise.
3079 * libio/clearerr_u.c: It's not necessary to define __ protected
3080 function so don't do it.
3081 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
3082 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
3084 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
3085 the cleanup registrar.
3086 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
3087 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
3088 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
3089 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
3090 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
3091 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
3092 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
3095 * locale/programs/ld-ctype.c: Include <alloca.h>.
3097 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
3099 * posix/sys/types.h: Change #defines to typedefs. This is looking
3100 forward to more comprehensive namespace cleanups for C++.
3101 * posix/unistd.h: Likewise for ssize_t.
3103 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
3106 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
3107 `statement with no effect' warnings.
3108 * resolv/inet_neta.c: Include <string.h> for strlen.
3110 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
3111 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
3112 * stdio-common/vfprintf.c: Same for va_list.
3113 * stdio-common/vfscanf.c: Same.
3114 * stdio-common/reg-printf.c: Prototype the __ function.
3115 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
3116 _IO_vscanf declaration.
3118 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
3119 but to unsigned long for the health of 64-bit systems.
3121 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
3122 Many system's <sys/param.h> pulls this in.
3124 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
3127 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
3128 instead of defining it locally.
3130 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
3131 * sysdeps/stub/chflags.c: Prototype chflags.
3132 * sysdeps/stub/fchflags.c: Prototype fchflags.
3133 * sysdeps/stub/sstk.c: Prototype sstk.
3135 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
3136 variable to __errno. Update __syscall_error to store to both
3137 the global and per-thread variables.
3139 * sysdeps/unix/sysv/linux/init-first.c: Change include of
3140 init-first.h from "" to <> as "" does not search the include path.
3141 Prototype _dl_start.
3143 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3145 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
3146 pattern rule to get the right stem.
3148 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3150 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
3152 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3154 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
3156 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3158 * malloc/free.c (_free_internal): Don't call free recursively, use
3159 the internal functions instead.
3161 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3163 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
3164 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
3166 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3168 * catgets/gencat.c (main): Print version information on stdout,
3170 * db/makedb.c: Likewise.
3171 * locale/programs/locale.c: Likewise.
3172 * locale/programs/localedef.c: Likewise.
3174 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
3176 Add implementation of netgroup.
3177 * inet/Makefile (distributes): Add netgroup.h.
3178 (routines): Add getnetgrent.c and getnetgrent_r.c.
3179 * inet/getnetgrent.c: New file.
3180 * inet/getnetgrent_r.c: New file.
3181 * inet/netgroup.h: New file.
3182 * netgroup.h: New file.
3183 * nsswitch.h: New file.
3184 * nss/Makefile (databases): Add getgrp.
3185 * nss/databases.def: Add netgroup.
3186 * nss/db-Makefile: Add rules for netgroup.
3187 * nss/netgrp-lookup.c: New file.
3188 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
3189 always return without a check of the transition table.
3190 * nss/nsswitch.h (struct service_user): Extend actions array to
3192 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
3194 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
3195 to NSS_ACTION_RETURN.
3196 * nss/nss_db/db-netgrp.c: New file.
3197 * nss/nss_files/files-netgrp.c: New file.
3198 * nss/nsswitch.conf: Add entry for netgroup.
3199 * resolv/netdb.h: Add prototypes for netgroup functions.
3201 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
3204 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
3206 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
3207 _llseek to _llseek (not llseek).
3208 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3210 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
3212 * inet/rcmd.c: Remove definition of MIN.
3214 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
3216 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
3217 * sysdeps/unix/readdir_r.c: New file.
3218 * sysdeps/unix/readdir.c: Remove check for correct parameter
3219 values. Let them simply die.
3220 * manual/filesys.texi: Document readdir_r.
3222 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
3223 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
3225 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
3227 * dirent/Makefile (routines): Add readdir_r.
3228 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
3229 * dirent/dirent.h: Add prototype for readdir_r.
3231 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
3232 to prevent warnings.
3234 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3235 Initialize `result'.
3237 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
3239 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
3241 * string/string.h: Add prototype for __strsep.
3242 * misc/mntent_r.c: Use __strsep instead of strsep to keep
3245 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
3246 __nanosleep and nanosleep weak aliases.
3247 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
3249 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
3250 nanosleep to keep namespace clean.
3252 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
3253 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
3254 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3256 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
3259 * login/Makefile (headers): Add pty.h.
3260 * login/pty.h: New file.
3261 * sysdeps/generic/pty.h: Include <pty.h>.
3262 * login/pututline_r.c: Add cast to prevent warning.
3264 * gmon/gmon.c: Add prototype for __profile_frequency.
3265 (monstartup): Add cast to prevent warning.
3266 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
3268 * locale/programs/ld-time.c (time_output): Write `era' information
3271 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
3273 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
3275 Set caller for mlock, mlockall, mremap, munlock, and munlockall
3277 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
3279 1996-09-27 Paul Eggert <eggert@twinsun.com>
3281 * strftime.c (strftime): Output incomplete formats like %E
3284 1996-09-27 Paul Eggert <eggert@twinsun.com>
3286 * strftime.c (strftime): Add support for %EC and %Ey.
3287 Fix support for %EY. This uses the new _nl_get_era_entry function.
3289 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
3291 Security related patch by Elliot Lee <sopwith@redhat.com> and
3292 David Holland <dholland@eecs.harvard.edu>.
3294 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
3295 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
3297 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
3298 NULL when programs runs with SUID or SGID enabled.
3299 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
3300 * stdlib/stdlib.h: Add prototype for __secure_getenv.
3302 * locale/setlocale.c: Use __secure_getenv.
3303 * resolv/res_init.c: Likewise.
3304 * resolv/res_query.c: Likewise.
3305 * inet/ruserpass.c: Likewise.
3306 * sysdeps/posix/tempname.c: Likewise.
3307 * malloc/mtrace.c: Likewise.
3308 * catgets/catgets.c: Likewise.
3310 Make temporary file handling functions reentrant.
3312 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
3313 result to. The called __stdio_gen_tempname function must be
3315 * stdio-common/tmpnam_r.c: New file.
3316 * stdio/stdio.h: Add prototype for `tmpnam_r'.
3317 Change prototype for __stdio_gen_tempname.
3318 * stdio/libio.h: Likewise.
3319 * sysdeps/posix/tempname.c: Add new parameters and use them instead
3321 Don't reset `indeces' when PID changed between calls.
3322 Don't fail for long running programs when index counter once
3324 * sysdeps/stub/tempname.c: Likewise.
3325 * stdio-common/tempnam.c: Provide local buffer as extra argument
3326 to __stdio_gen_tempname. This makes this function reentrant.
3327 * stdio-common/tmpfile.c: Likewise.
3328 * stdio-common/temptest.c: Provide extra argument to
3329 __stdio_gen_tempname.
3330 * manual/filesys.texi: Describe tmpnam_r and add comments about
3331 reentrancy of the functions.
3333 * inet/rcmd.c: Fixed address length handling.
3335 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
3337 * time/strftime.c: Remove unused variables alt_digits and
3340 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
3341 for get_nprocs and get_nprocs_conf.
3342 * sysdeps/generic/sys/sysinfo.h: Likewise.
3344 * stdlib/test-canon.c: Finally do the right fix.
3346 * misc/Makefile: Only compile force-wrapper when compiling
3349 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
3351 Add support for cancelable system calls.
3353 * csu/initfini.c: Make in crti.o reference to symbol
3354 __libc_force_cancel_wrapper when compiling reentrant version.
3355 * misc/Makefile (routines): Add force-wrapper.
3356 * misc/force-wrapper.c: New file.
3358 * posix/system.c: Rename function to __libc_system and make system
3360 * sysdeps/stub/system.c: Likewise.
3361 * posix/wait.c: Rename function to __libc_wait and make __wait a
3362 weak alias. De-ANSI-fy.
3363 * sysdeps/standalone/read.c: Rename function to __libc_read and
3364 make __read a weak alias.
3365 * sysdeps/stub/read.c: Likewise.
3366 * sysdeps/standalone/write.c: Rename function to __libc_write and
3367 make __write a weak alias.
3368 * sysdeps/stub/write.c: Likewise.
3369 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
3370 make tcdrain a weak alias.
3371 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3372 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
3373 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3374 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
3375 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
3376 and make __wait a weak alias.
3377 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
3378 make __waitpid a weak alias.
3379 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
3380 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
3381 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
3382 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
3383 and make pause a weak alias. De-ANSI-fy.
3385 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
3386 lseek, open, read, and write to have __libc_ prefix and make old
3388 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
3389 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
3391 * io/creat.c: De-ANSI-fy.
3393 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
3395 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
3397 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
3398 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3400 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
3402 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
3404 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3406 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
3408 * locale/programs/locfile.c (write_locale_data): Allocate room
3409 even for file name for LC_MESSAGES locale.
3410 (locafile_read): `tok_era' must be handled as a string list.
3411 * locale/programs/ld-time.c: Finish correction of handling `era'.
3412 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
3413 * locale/categories.def: Add postload function for LC_TIME.
3414 * locale/setlocale.c: Make lock global and rename to
3415 __libc_setlocale_lock.
3416 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
3417 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
3418 * locale/lc-time.c (_nl_postload_time): New function. Initialize
3420 (_nl_get_era_entry): New function. Return era entry which corresponds
3422 (_nl_get_alt_digit): New function. Return string with alternate
3423 digit representation for given number.
3425 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
3426 string representing alternate digit notation.
3428 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
3430 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
3431 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3433 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
3434 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
3436 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
3438 * catgets/gencat.c (main): Change --version again because RMS wants
3439 the package name in parentheses.
3440 * db/makedb.c: Likewise.
3441 * locale/programs/locale.c: Likewise.
3442 * locale/programs/localedef.c: Likewise.
3444 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3446 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
3448 ($(objpfx)version-info.h): Depend on Banner files, command
3451 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
3453 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
3455 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
3457 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
3458 on the same device as the password file.
3459 * shadow/shadow.h (struct spwd): Change type of numeric fields
3460 to `long int' since there value are days, not seconds.
3461 * shadow/putspent.c: Change casts from time_t to `long int'.
3462 * shadow/sgetspent_r.c (LINE_READER): Likewise.
3464 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
3466 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
3467 sure the thread specific variable is set as well as the global
3469 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
3471 * sysdeps/stub/errnos.h: Likewise.
3472 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
3474 * shadow/putspent.c: Don't include <errno.h>.
3476 * dirent/scandir.c (scandir): Use __set_errno to set errno
3478 * elf/dl-load.c (open_path): Likewise.
3479 * inet/rcmd.c (rcmd): Likewise.
3480 (rresvport): Likewise.
3481 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
3482 (DCGETTEXT): Use __set_errno to set errno variable.
3483 * io/fts.c (fts_open): Likewise.
3484 (fts_close): Likewise.
3485 (fts_read): Likewise.
3486 (fts_set): Likewise.
3487 (fts_children): Likewise.
3488 (fts_build): Likewise.
3489 (fts_stat): Likewise.
3490 * io/ftw.c (ftw_dir): Likewise.
3492 * io/getwd.c (getwd): Likewise.
3493 * io/lockf.c (lockf): Likewise.
3494 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
3495 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
3496 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3497 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
3499 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3500 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
3501 * libio/ioftell.c (_IO_ftell): Likewise.
3502 * locale/loadlocale.c (_nl_load_locale): Likewise.