1 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
5 * configure: Require autoconf-2.11.
7 * elf/dl-deps.c: Terminate duplicate list.
9 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
10 * libio/strfile.h: Update from current libg++.
11 * libio/strops.c: Likewise.
13 * login/Makefile (routines): Update after correction of reentrant
15 * login/endutent.c: Removed.
16 * login/endutent_r.c: Likewise.
17 * login/pututline.c: Likewise.
18 * login/pututline_r.c: Likewise.
19 * login/setutent.c: Likewise.
20 * login/setutent_r.c: Likewise.
21 * login/getutent.c: Update for new interface.
22 * login/getutent_r.c: Likewise.
23 * login/getutid.c: Likewise.
24 * login/getutid_r.c: Likewise.
25 * login/getutline.c: Likewise.
26 * login/getutline_r.c: Likewise.
27 * login/login.c: Likewise.
28 * login/logout.c: Likewise.
29 * login/logwtmp.c: Likewise.
30 * login/utmp.h: Likewise.
31 * sysdeps/unix/getlogin.c: Likewise.
32 * sysdeps/unix/getlogin_r.c: Likewise.
33 * login/utmp-private.h: New private header.
34 * login/utmp_db.c: Stub DB backend for utmp handler.
35 * login/utmp_file.c: File backend for utmp handler.
36 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
37 (enum utlogin): List of record types.
38 (struct exit_status): Record to align with other implementations.
40 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
41 * sysdeps/unix/sysv/linux/paths.h: Likewise.
43 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
45 * sysdeps/stub/getlogin.c: Update copyright.
46 * sysdeps/stub/getlogin_r.c: Likewise.
48 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
49 * nss/getXXent_r.c: Likewise.
50 * nss/nsswitch.c: Likewise.
52 * posix/Makefile (headers): Add wait.h.
53 * posix/wait.h: New file.
55 * posix/sys/types.h: Always define intN_t types.
57 * stdio-common/Makefile: Update copyright.
58 Use -Wno-format flag for scanf4.c and scanf7.c.
60 * stdlib/stdlib.h: Reformat.
62 * time/africa: Update from ADO tzdata1996m.
63 * time/antarctica: Likewise.
64 * time/asia: Likewise.
65 * time/australia: Likewise.
66 * time/etcetera: Likewise.
67 * time/europe: Likewise.
68 * time/northamerica: Likewise.
69 * time/southamerica: Likewise.
70 * time/zone.tab: Likewise.
72 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
74 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
75 move the current contents to the end and relocate file name
76 pointer to upper half of the buffer.
78 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
80 * time/africa: Update from ADO tzdata1996m.
81 * time/antarctica: Likewise.
82 * time/asia: Likewise.
83 * time/australia: Likewise.
84 * time/etcetera: Likewise.
85 * time/europe: Likewise.
86 * time/nothamerica: Likewise.
87 * time/southameria: Likewise.
88 * time/zone.tab: Likewise.
90 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
91 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
93 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
95 * posix/wait.h: New file.
96 * posix/Makefile (headers): Add wait.h.
98 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
100 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
101 expression instead of shell pattern matching.
102 * shlib-versions: Change to regular expressions.
104 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
106 * io/stat.c: Add section from libgcc to copyright comment
107 to allow this file to be statically linked in applications.
108 * io/fstat.c: Likewise.
109 * io/lstat.c: Likewise.
110 * io/mknod.c: Likewise.
112 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
114 * csu/initfini.c: Add section from libgcc to copyright comment
115 to allow this file to be statically linked in applications.
117 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
119 (obstack_grow, obstack_grow0): Correct placement of braces.
121 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
122 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
124 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
126 * Makerules (make-link): Simplify by changing directory only if
127 not using rellns-sh; check whether we really have symbolic links.
129 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
130 $(dirname $1); use status of ln for exit code; make more robust
131 against multiple slashes in a row.
133 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
135 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
137 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
138 the three-part name, to distinguish correctly from *-*-linux-gnu*.
140 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
143 * sysdeps/mach/hurd/Makefile (install-others): Add
145 ($(libdir)/libc_p.a): New rule.
146 * sysdeps/mach/hurd/libc_p-ldscript: New file.
147 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
149 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
151 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
152 * time/Makefile: Likewise.
154 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
155 * sysdeps/alpha/elf/Dist: New file.
156 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
157 The bits currently distributed with GCC fail in two ways -- they don't
158 understand multiple .got subsections and the extents of the lists are
159 dynamicly bound meaning that the application's lists get executed
160 multiple times and the library's lists never get executed.
162 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
164 * stdlib/strtod.c: Fix previous change.
166 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
168 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
171 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
173 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
176 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
178 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
179 alias of __sigsuspend.
181 * grp/grp.h: Correct comment about POSIX compliance.
182 * pwd/pwd.h: Likewise.
184 * login/utmp.h: Update copyright and pretty-print prototypes.
185 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
186 _PATH_WTMP from utmpbits.h.
187 * sysdeps/unix/sysv/linux/paths.h: Likewise.
188 * sysdeps/generic/utmpbits.h: Remove here.
189 * sysdeps/gnu/utmpbits.h: Likewise.
191 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
192 Pretty-print prototypes.
194 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
197 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
199 * inet/ether_hton.c: Include <string.h>.
200 * inet/ether_ntoh.c: Likewise.
201 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
202 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
204 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
205 to define. Jim Nance reports problems building XEmacs otherwise.
207 * resolv/gethnamaddr.c: Protect h_errno redefinition.
208 * resolv/getnetnamadr.c: Likewise.
209 * resolv/herror.c: Likewise.
211 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
212 with -traditional. Reported by Eric Youngdale. While we're at this,
213 don't do error checking in the __ functions. This is consistent
214 with the sysv4 definitions and seems Right.
215 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
216 prototype for __sigsuspend.
217 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
218 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
219 * sysdeps/posix/sigpause.c: Likewise.
220 * sysdeps/posix/sigsetmask.c: Likewise.
221 * sysdeps/posix/sigvec.c: Likewise.
222 * sysdeps/posix/sigintr.c: Reformat copyright.
223 * sysdeps/posix/signal.c: Check signal number out of range since
224 __sigismember doesn't anymore. Reformat copyright.
225 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
226 sigdelset, sigaction, and sigsuspend.
228 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
229 to the wider type before shifting.
231 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
232 without .set noat" in profiling hook.
233 * sysdeps/alpha/bsd-setjmp.S: Likewise.
234 * sysdeps/alpha/htonl.S: Likewise.
235 * sysdeps/alpha/htons.S: Likewise.
236 * sysdeps/alpha/s_copysign.S: Likewise.
237 * sysdeps/alpha/setjmp.S: Likewise.
238 * sysdeps/alpha/stpcpy.S: Likewise.
239 * sysdeps/alpha/strcat.S: Likewise.
240 * sysdeps/alpha/strcpy.S: Likewise.
241 * sysdeps/alpha/strncat.S: Likewise.
242 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
243 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
244 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
245 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
246 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
247 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
248 function to __sigsuspend and add weak alias.
249 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
251 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
253 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
254 SYSCALL__ actually generated.
256 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
257 #define __set_errno, as several imported subsystems (eg. BIND) check
258 that the symbol is defined.
260 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
262 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
263 that manifests in GCC.
265 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
267 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
268 * sysdeps/posix/readv.c (readv): Likewise.
270 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
272 * nss/nss_dns/dns-network.c: Change return type of all functions
274 Reported by NIIBE Yutaka.
275 * nss/nss_dns/dns-host.c: Update copyright.
277 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
279 * config.make.in: Remove definition of top_absdir.
280 * configure.in: Likewise. Use $(..) instead.
281 * Makerules (make-link): Use $(..) to find rellns-sh script.
283 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
285 * manual/nss.texi (Name Service Switch): Fix reference to
288 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
293 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
295 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
296 variable from __stat to __status to prevent shadowing.
297 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
298 for parameter __wait.
299 Reported by NIIBE Yutaka.
301 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
303 * misc/regexp.c: New file. Implementation of obsolete interface
304 to regular expression matcher (required in XPG4.2).
305 * misc/regexp.h: New file. Header for above.
306 * misc/Makefile (headers): Add regexp.h.
307 (routines): Add regexp.c.
310 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
312 * stdlib/tst-strtod.c (main): Add arguments for main.
313 * stdlib/tst-strtol.c (main): Likewise.
315 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
317 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
319 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
320 and sysconfdir to /etc if $prefix is /usr.
321 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
323 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
324 $(have-bash2) is yes.
325 * elf/ldd.bash.in: Add copyright and various cleanups.
326 * elf/ldd.sh.in: Likewise.
329 * elf/dlfcn.h: Define RTLD_NEXT.
330 * elf/dl-deps.c: Build second searchlist which contains duplicates.
331 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
332 for RTLD_NEXT lookup.
333 Rewrite _dl_lookup_symbol to put common parts for both lookup
334 functions in a separate function.
335 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
336 * elf/link.h (struct link_map): Add l_dupsearchlist and
338 Add prototype for _dl_lookup_symbol_skip.
340 * sunrpc/Makefile (rpcsvc): Add rusers.
341 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
342 * sunrpc/rpcsvc/rusers.x: New file.
344 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
346 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
347 __libc_lock_init for local lock.
348 Reported by a sun <asun@zoology.washington.edu>.
349 [!USE_IN_LIBIO] (PAD): Optimize a bit.
351 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
353 * db/makedb.c: Update and reformat copyright.
354 * elf/Makefile: Likewise.
355 * elf/dl-close.c: Likewise.
356 * elf/dl-debug.c: Likewise.
357 * elf/dl-deps.c: Likewise.
358 * elf/dl-error.c: Likewise.
359 * elf/dl-fini.c: Likewise.
360 * elf/dl-init.c: Likewise.
361 * elf/dl-load.c: Likewise.
362 * elf/dl-lookup.c: Likewise.
363 * elf/dl-minimal.c: Likewise.
364 * elf/dl-object.c: Likewise.
365 * elf/dl-open.c: Likewise.
366 * elf/dl-reloc.c: Likewise.
367 * elf/dl-runtime.c: Likewise.
368 * elf/dl-support.c: Likewise.
369 * elf/dl-symbol.c: Likewise.
370 * elf/dladdr.c: Likewise.
371 * elf/dlclose.c: Likewise.
372 * elf/dlerror.c: Likewise.
373 * elf/dlopen.c: Likewise.
374 * elf/dlsym.c: Likewise.
375 * elf/do-rel.h: Likewise.
376 * elf/dynamic-link.h: Likewise.
377 * elf/eval.c: Likewise.
378 * elf/rtld.c: Likewise.
379 * inet/ether_hton.c: Likewise.
380 * inet/ether_ntoh.c: Likewise.
381 * inet/ether_line.c: Likewise.
382 * inet/getnetgrent_r.c: Likewise.
384 * inet/Makefile (+gccwarn): Remove definition.
385 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
387 * inet/aliases.h: Add C++ protection.
388 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
389 (ether_hostton): Remove unused variable result.
390 * inet/ether_ntoh.c: Likewise.
391 * inet/ether_line.c: Include <ctype.h> and <string.h>.
392 * inet/getnetgrent_r.c: Include <stdlib.h>.
393 Use casts to prevent warnings.
394 (innetgr): Initialize `known' and `needed'.
395 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
396 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
397 return NULL. Instead set *RESULT to NULL and return -1.
398 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
399 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
401 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
404 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
406 * sysdeps/posix/readv.c: Don't use PTR anymore.
407 * sysdeps/posix/writev.c: Likewise.
409 * version.h (VERSION): Bump to 1.98.
411 * nss/db-Makefile: Generate lines for getXXXent iteration.
413 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
414 divqu.S, remlu.S, and remqu.S.
416 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
418 * posix/unistd.h: Correct typo in documentation.
420 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
422 * inet/netinet/tcp.h: Use __ protected versions instead of
423 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
425 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
427 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
428 references in libc.so are not anymore undefined.
430 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
432 * io/utime.h: Rename second parameter for utime to prevent warning
434 * dirent/dirent.h: Same here for scandir prototype.
435 * math/mathcalls.h: Likewise for frexp and ldexp.
436 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
438 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
440 * stdlib/tst-strtod.c: Add test for error case below.
442 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
444 * stdlib/strtod.c: Recognize numbers like 0e-19.
446 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
448 * time/Makefile ($(installed-localtime-file)): Fix path to
451 * Makefile: Don't generate and install gnu/lib-names.h if
452 $(build-shared) is not `yes'.
454 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
456 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
457 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
459 * Makerules (REAL_MAKE_VERSION): New, use it instead of
462 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
464 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
465 * nss/getXXent_r.c: Fix typo. Set correct return value when
466 no further service is available.
468 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
470 * db/recno/rec_put.c: Add cast to avoid warning.
471 * db/recno/rec_close.c: Likewise.
472 * db/mpool/mpool.c: Likewise.
473 * db/hash/hash_bigkey.h: Likewise.
474 * db/hash/hash.c: Likewise.
475 * db/btree/bt_split.c: Likewise.
476 * db/btree/bt_put.c: Likewise.
478 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
480 * dirent/dirent.h: Update copyright.
481 * elf/elf.h: Likewise.
482 * elf/link.h: Likewise.
483 * gmon/sys/gmon_out.h: Likewise.
484 * gnu-versions.h: Likewise.
485 * intl/libintl.h: Likewise.
486 * io/fcntl.h: Likewise.
487 * io/ftw.h: Likewise.
488 * io/sys/statfs.h: Likewise.
489 * io/utime.h: Likewise.
490 * locale/langinfo.h: Likewise.
491 * malloc/malloc.h: Likewise.
492 * malloc/obstack.h: Likewise.
493 * misc/ar.h: Likewise.
494 * misc/error.h: Likewise.
495 * misc/mntent.h: Likewise.
496 * misc/sgtty.h: Likewise.
497 * misc/sys/cdefs.h: Likewise.
498 * misc/sys/dir.h: Likewise.
499 * misc/sys/file.h: Likewise.
500 * misc/sys/ioctl.h: Likewise.
501 * misc/sys/ustat.h: Likewise.
502 * posix/fnmatch.h: Likewise.
503 * posix/getopt.h: Likewise.
504 * posix/glob.h: Likewise.
505 * posix/posix2_lim.h: Likewise.
506 * posix/regex.h: Likewise.
507 * posix/sys/times.h: Likewise.
508 * posix/sys/types.h: Likewise.
509 * posix/sys/utsname.h: Likewise.
510 * posix/tar.h: Likewise.
511 * posix/wordexp.h: Likewise.
512 * resource/sys/resource.h: Likewise.
513 * resource/sys/vlimit.h: Likewise.
514 * resource/sys/vtimes.h: Likewise.
515 * socket/sys/socket.h: Likewise.
516 * socket/sys/un.h: Likewise.
517 * stdio-common/printf.h: Likewise.
518 * stdlib/alloca.h: Likewise.
519 * string/argz.h: Likewise.
520 * string/endian.h: Likewise.
521 * string/envz.h: Likewise.
522 * string/memory.h: Likewise.
523 * string/strings.h: Likewise.
524 * sysdeps/generic/crypt.h: Likewise.
525 * sysdeps/generic/direntry.h: Likewise.
526 * sysdeps/generic/gnu/types.h: Likewise.
527 * sysdeps/generic/ioctl-types.h: Likewise.
528 * sysdeps/generic/netinet/in.h: Likewise.
529 * sysdeps/generic/resourcebits.h: Likewise.
530 * sysdeps/generic/sigset.h: Likewise.
531 * sysdeps/generic/sockaddrcom.h: Likewise.
532 * sysdeps/generic/sys/mman.h: Likewise.
533 * sysdeps/generic/sys/ptrace.h: Likewise.
534 * sysdeps/generic/termbits.h: Likewise.
535 * sysdeps/generic/waitstatus.h: Likewise.
536 * sysdeps/ieee754/huge_val.h: Likewise.
537 * sysdeps/ieee754/nan.h: Likewise.
538 * sysdeps/mach/hurd/local_lim.h: Likewise.
539 * sysdeps/mach/hurd/statbuf.h: Likewise.
540 * sysdeps/stub/huge_val.h: Likewise.
541 * sysdeps/stub/libc-lock.h: Likewise.
542 * sysdeps/stub/signum.h: Likewise.
543 * sysdeps/stub/statbuf.h: Likewise.
544 * sysdeps/stub/waitflags.h: Likewise.
545 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
546 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
547 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
548 * sysdeps/unix/bsd/signum.h: Likewise.
549 * sysdeps/unix/bsd/statbuf.h: Likewise.
550 * sysdeps/unix/bsd/sun/signum.h: Likewise.
551 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
552 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
553 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
554 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
555 * sysdeps/unix/bsd/waitflags.h: Likewise.
556 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
557 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
558 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
559 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
560 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
561 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
562 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
563 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
564 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
565 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
566 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
567 * sysdeps/unix/sysv/linux/signum.h: Likewise.
568 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
569 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
570 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
571 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
572 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
573 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
574 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
575 * sysdeps/unix/sysv/local_lim.h: Likewise.
576 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
577 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
578 * sysdeps/unix/sysv/signum.h: Likewise.
579 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
580 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
581 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
582 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
583 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
584 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
585 * sysdeps/vax/huge_val.h: Likewise.
586 * values.h: Likewise.
588 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
590 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
591 `memcpy' using bcopy if memcpy is not available.
593 * manual/stdio.texi: Correct description of printf customization.
594 The argument info function is not optional anymore and the
595 interface for `printf_function' also changed.
596 * manual/examples/rprintf.c: Define and use argument info function.
598 * stdio-common/printf.h (struct printf_info): Change type for field
600 Correct comment for `register_printf_function'.
602 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
603 to reentrant function. Instead use temporary variable and set
604 h_errno if an error occured.
605 Reported by NIIBE Yutaka.
607 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
609 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
610 S_ITRANS): New macros.
611 (S_ISPARE): Update to include new macros and S_IUSEUNK.
613 * sysdeps/mach/hurd/select.c (__select): Construct arg to
614 mach_msg_destroy more nicely.
616 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
618 * stdio/fopen.c (__getmode): Declare with prototype.
619 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
620 * stdio/internals.c (__stdio_check_funcs, init_stream,
621 seek_to_target, flushbuf, fillbuf): Likewise.
623 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
624 funlockfile, not _IO_funlockfile.
626 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
628 * sysdeps/posix/writev.c (writev): Likewise.
630 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
632 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
634 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
635 prototyped definition.
637 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
638 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
640 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
642 * inet/Makefile (headers): Add aliases.h.
643 (routines): Add getaliasent_r, getaliasent, getaliasname, and
645 * aliases.h: New file.
646 * inet/aliases.h: New file.
647 * inet/getaliasent.c: New file.
648 * inet/getaliasent_r.c: New file.
649 * inet/getaliasname.c: New file.
650 * inet/getaliasname_r.c: New file.
651 * nss/Makefile (databases): Add alias.
652 * nss/alias-lookup.c: New file.
653 * nss/databases.def: Add aliases and publickey.
654 * nss/nss_db/db-alias.c: New file.
655 * nss/nss_files/files-alias.c: New file.
657 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
658 argument to lookup function is of type size_t.
660 * nss/getXXbyYY_r.c: Likewise.
661 * nss/getXXent_r.c: Likewise.
662 * nss/nss_db/db-XXX.c: Likewise.
664 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
665 failed because buffer was too small.
666 * nss/getXXent.c: Likewise.
668 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
669 getXXent_r function now uses f[gs]etpos to get to the correct
672 * nss/nss_files/files-parse.c: Indent lines for better readability.
674 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
675 and new function print_and_abort. Remove all references to
677 Add new function _obstack_memory_used.
678 * malloc/obstack.h (struct obstack): Remove field alloc_field.
679 Remove all references to alloc_failed field.
680 Add prototype for _obstack_memory_used.
682 * posix/unistd.h: Correct typo.
684 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
686 * configure.in: Require at least autoconf-2.10.2.
688 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
690 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
693 * mach/msg-destroy.c (mach_msg_destroy_port,
694 mach_msg_destroy_memory): Use prototype syntax.
695 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
696 malloc_fork_parent, malloc_fork_child): Likewise.
698 * stdio/stdio.h: Repair broken cpp syntax.
700 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
701 we pass O_NOLINK on the open.
703 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
704 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
705 an XOPEN error code, move to before the "Linux only" section, and
706 give it a new number for the Hurd.
708 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
710 * malloc/obstack.h: Add new macro `obstack_make_room'.
711 * malloc/obstack.c: Add function implementation for
714 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
716 Update to BIND-4.9.5-REL.
717 * resolv/Banner: Set to 4.9.5-REL.
718 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
719 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
722 * config.make.in: Add definition for top_absdir.
723 * Makerules (make-link): Fix path to rellns-sh script.
725 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
727 * posix/unistd.h: Fix comment.
729 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
730 when talking about numbers.
731 * manual/users.texi: Likewise.
732 * manual/creature.texi: Likewise. Use @defvarx for a secondary
735 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
737 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
738 the real posix1_lim.h file so that it works in all subdirs, not
741 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
743 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
745 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
747 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
748 on $(before-compile) which hasn't been properly setup yet at this
751 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
753 * sysdeps/generic/sigset.h: Don't use implicit int which will
754 probably require a diagnostic in the next revision of the C
756 * sysdeps/stub/lockfile.c: Likewise.
758 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
760 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
761 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
763 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
765 * time/strftime.c: Update copyright. Small cosmetic changes.
767 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
769 * inet/getprtname_r.c: Reformat copyright.
771 * nss/Makefile (databases): Add key.
772 (libnss_files-routines): Exclude key database.
773 (libnss_db-routines): Likewise.
774 * nss/key-lookup.c: New file.
776 * nss/getXXent_r.c (last_nip): Remember last service used since
778 (SETFUNC): Don't force to work through whole list of services in
780 Update last_nip if necessary.
781 (ENDFUNC): Only process endXXent function up to currently used
783 (GETFUNC): Update last_nip if necessary.
785 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
788 * rpc/auth_des.h: New file.
789 * sunrpc/Makefile (headers): Add auth_des.h.
790 (routines): Add publickey.
791 * sunrpc/publickey.c: New file. Interface to public key handling.
792 * sunrpc/rpc/auth_des.h: New file.
793 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
795 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
797 * inet/gethstent_r.c: Update copyright.
798 * nss/getXXbyYY_r.c: Likewise.
799 * nss/nsswitch.c: Likewise.
800 * nss/getXXent_r.c: Likewise.
801 * nss/nss_files/files-XXX.c: Likewise.
802 * nss/nss_files/files-netgroup.c: Likewise.
803 * nss/nss_files/files-parse.c: Likewise.
805 * nss/getXXent_r.c: Change implementation. It's not necessary to
806 call all setXXent functions. Just find first available and
807 when necessary let getXXent_r call the others.
809 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
810 of getXXent and getXXbyYY can be mixed. The cursor for traversing
811 the database with getXXent will be remembered.
813 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
815 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
817 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
818 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
820 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
822 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
824 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
825 set. Instead for none beside the first seven bits to be set.
826 X/Open allows the argument to be an `int' value.
827 Reported by Alain Williams <addw@phcomp.co.uk>.
828 (toascii, isascii): Define macro also when __USE_XOPEN.
830 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
833 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
835 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
836 NULL so that GETFUNC will see first entry.
837 (ENDFUNC_NAME): Likewise.
839 Rewrite Netgroups implementation to avoid global data.
840 * inet/netgroup.h: Add definition of name_list and struct
842 Add prototypes for internal netgroup functions.
843 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
844 extra argument and use the included data instead of global vars.
845 (_nss_files_endnetgrent): Likewise.
846 (_nss_netgroup_parseline): Change to be static and use data
847 included in the RESULT structure.
848 * inet/getnetgrent_r.c (startp): Move into setup function.
849 (known_groups, needed_groups): new part of the __netgrent sruct.
850 (freememory): Take extra argument and use included data.
851 (__internal_endnetgrent): Likewise.
852 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
853 and take extra argument.
854 (__internal_setnetgrent): New function. Call
855 __internal_setnetgrent_reuse after calling free_memory.
856 (setnetgrent): Only call __internal_setnetgrent.
857 (__getnetgrent_r): Split into two functions. __getnetgrent_r
858 calls __internal_getnetgrent after locking.
859 (innetgr): Use dynamic data only. I.e., innetgr now is fully
862 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
864 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
865 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
867 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
869 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
870 default when no *_SOURCE macro is given.
871 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
872 * NOTES: remade from manual/creature.texi.
873 * manual/libc.texinfo: Add back line about GPL translation which
876 * Make-dist (dist.tar): Depend on README being updated.
878 * rellns-sh: Correct thinko in removing leading /.
879 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
881 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
882 with `+' or `-' in parser.
883 * grp/fgetgrent_r.c: Likewise.
884 * shadow/sgetspent_r.c: Likewise.
885 * nss/nss_files/files-spwd.c: Don't accept entries starting with
888 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
890 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
891 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
893 * string/argz.h: Don't protect by __USE_GNU.
895 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
897 * Lots of files: Update and reformat copyright.
899 * Makefile (headers): Add xopen_lim.h.
901 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
903 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
904 if __USE_XOPEN_EXTENDED is defined.
905 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
906 if __USE_XOPEN_EXTENDED is defined.
908 * io/Makefile (routines): Add lchown.
909 * sysdeps/stub/lchown.c: New file.
911 * io/sys/poll.h: Add definition of POLLWRNORM.
913 * io/sys/stat.h: Declare lstat, fchmod, mknod when
914 __USE_XOPEN_EXTENDED is defined.
916 * libio/Makefile (routines): Add obprintf.
917 * libio/obprintf.c: New file.
918 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
920 * libio/libio.h: Fix typo.
921 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
922 Add prototypes for obstack_vprintf and obstack_printf.
924 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
925 * manual/intro.texi: Add reference to NSS chapter.
926 * manual/libc.texinfo: Update UPDATED.
927 Comment out `@printindex cp'. It works again.
928 * manual/memory.texi: Add description for obstack_ptr_grow,
929 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
930 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
931 index entries to @vindex.
932 * manual/users.texi: Correct @cindex entry for Netgroup.
934 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
935 make declarations visible for X/Open sources.
937 * misc/search.h: Declare insque/remque only is __USE_SVID or
938 __USE_XOPEN_EXTENDED is defined.
940 * misc/sys/uio.h (readv, writev): Change return value from int to
943 * posix/Makefile (headers): Add re_comp.h.
944 * posix/re_comp.h: New file. XPG interface to regex functions.
946 * posix/getconf.c: Add all names from XPG4.2.
947 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
948 and _POSIX_OPEN_MAX to minimums from XPG4.2.
949 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
950 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
951 * sysdeps/stub/sysconf.c: Likewise.
953 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
954 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
955 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
956 ftruncate, getdtablesize, brk, sbrk, lockf when
957 __USE_XOPEN_EXTENDED is defined.
959 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
961 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
962 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
963 * sysdeps/unix/sysv/linux/paths.h: Likewise.
965 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
966 __USE_XOPEN_EXTENDED is defined.
968 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
970 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
972 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
975 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
976 and rindex available when __USE_XOPEN_EXTENDED is defined.
978 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
979 * sysdeps/posix/getpagesize.c: Likewise.
980 * sysdeps/stub/getpagesize.c: Likewise.
981 * sysdeps/unix/getpagesize.c: Likewise.
983 * time/africa: Update from tzdata1996l.
984 * time/asia: Likewise.
985 * time/australia: Likewise.
986 * time/europe: Likewise.
987 * time/northamerica: Likewise.
988 * time/pacificnew: Likewise.
989 * time/southamerica: Likewise.
990 * time/tzfile.h: Update from tzcode1996m.
992 * time/time.h: Declare strptime if __USE_XOPEN.
993 Declare daylight and timezone also if __USE_XOPEN.
995 * time/sys/time.h: Remove declaration of ualarm.
997 * wctype/wctype.h: Just reference ISO C standard.
999 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
1001 * crypt/Makefile: Add crypt routines to libc as well iff
1002 $(crypt-in-libc) is set. Do this for temporary binary compatibility
1003 on existing Linux/Alpha installations.
1005 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
1006 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
1007 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
1008 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
1010 * sysdeps/alpha/div.S: New file.
1011 * sysdeps/alpha/ldiv.S: New file.
1012 * sysdeps/alpha/lldiv.S: New file.
1013 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
1014 Take pointers from Linus and tighten the inner loops a bit.
1015 * sysdeps/alpha/divl.S: Change defines for merged routines.
1016 * sysdeps/alpha/divq.S: Likewise.
1017 * sysdeps/alpha/reml.S: Likewise.
1018 * sysdeps/alpha/remq.S: Likewise.
1019 * sysdeps/alpha/divlu.S: Remove file.
1020 * sysdeps/alpha/divqu.S: Likewise.
1021 * sysdeps/alpha/remlu.S: Likewise.
1022 * sysdeps/alpha/remqu.S: Likewise.
1024 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
1025 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1026 * sysdeps/alpha/bzero.S: Likewise.
1027 * sysdeps/alpha/ffs.S: Likewise.
1028 * sysdeps/alpha/htonl.S: Likewise.
1029 * sysdeps/alpha/htons.S: Likewise.
1030 * sysdeps/alpha/memchr.S: Likewise.
1031 * sysdeps/alpha/memset.S: Likewise.
1032 * sysdeps/alpha/s_copysign.S: Likewise.
1033 * sysdeps/alpha/s_fabs.S: Likewise.
1034 * sysdeps/alpha/setjmp.S: Likewise.
1035 * sysdeps/alpha/stpcpy.S: Likewise.
1036 * sysdeps/alpha/stpncpy.S: Likewise.
1037 * sysdeps/alpha/strcat.S: Likewise.
1038 * sysdeps/alpha/strchr.S: Likewise.
1039 * sysdeps/alpha/strcpy.S: Likewise.
1040 * sysdeps/alpha/strlen.S: Likewise.
1041 * sysdeps/alpha/strncat.S: Likewise.
1042 * sysdeps/alpha/strncpy.S: Likewise.
1043 * sysdeps/alpha/strrchr.S: Likewise.
1044 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
1045 Convert two small jumps to use conditional moves.
1046 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
1047 (PSEUDO): If PROF, call _mcount.
1048 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
1049 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1050 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1051 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1052 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1053 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1054 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1056 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
1057 eventually contain memmove as well.
1058 * sysdeps/alpha/strcmp.S: New file.
1059 * sysdeps/alpha/strncmp.S: New file.
1060 * sysdeps/alpha/w_sqrt.S: New file.
1062 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
1064 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
1066 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
1068 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
1069 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
1070 Reported by Thomas Bushnell, n/BSG.
1072 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
1074 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
1076 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
1078 * malloc/calloc.c: Check for overflow before trying to allocate
1079 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
1081 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1083 * manual/llio.texi (Operating Modes): Add missing arguments to
1084 @deftypevr in O_NONBLOCK description.
1086 * manual/time.texi (Time Zone Functions): Enclose type name in
1087 braces in description of tzname. FIXME: this does not yet work
1090 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
1092 * features.h: Add X/Open macros.
1093 * posix/unistd.h: Define X/Open macros.
1094 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
1095 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
1096 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
1097 * sysdeps/posix/sysconf.c: Handle new constants.
1098 * sysdeps/stub/sysconf.c: Likewise.
1099 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
1101 * catgets/catgets.c (catopen): Set errno to ENOMEM when
1102 we run out of memory.
1103 (catgets): Set errno to EBADF when catalog handle is invalid.
1104 Set errno to ENOMSG when translation is not available.
1105 (catclose): Set errno to EBADF when catalog handle is invalid.
1107 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
1108 Likewise for _toupper and _tolower.
1110 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
1111 strtof, and strtold.
1112 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
1113 * manual/stdio.h: Document ' flag for numeric formats of scanf.
1114 * manual/users.texi: Document that cuserid shouldn't be used.
1116 * misc/Makefile (routines): Add dirname.
1117 (headers): Add libgen.h.
1118 (tests): Add tst-dirname.
1119 * misc/dirname.c: New file.
1120 * misc/libgen.h: New file.
1121 * misc/tst-dirname.c: New file.
1123 * misc/search.h: Parameter of hcreate must be of type size_t.
1124 * misc/hsearch.c: Likewise.
1125 * misc/hsearch_r.c: Likewise for hcreate_r.
1126 * misc/search.h: Parameters of insque and remque must be `void *'.
1127 * misc/insremque.c: Likewise.
1129 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
1130 * stdlib/stdlib.h: ...here.
1131 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
1134 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
1136 (parse_one_spec): Remove Linux compatibility code.
1137 Recognize %C and %S formats.
1138 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
1139 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
1140 * stdio-common/vfscanf.c: Likewise for scanf.
1142 * stdlib/l64a.c: Return value for 0 must be the empty string.
1143 * stdlib/stdlib.h: Declare reentrant function from rand49 family
1144 only if __USE_REENTRANT.
1145 Declare rand48 functions also if __USE_XOPEN.
1147 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
1149 Return 0 and set errno to EINVAL when strou* sees negativ number.
1150 * stdlib/tst-strtol.c: De-ANSI-fy.
1151 Change expected results for test of unsigned function and negative
1154 * string/stratcliff.c: Prevent warnings.
1155 * string.h: Move declaration of swab to <unistd.h>.
1156 * string/swab.c: De-ANSI-fy.
1158 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
1159 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
1160 * sysdeps/posix/mktemp.c: Likewise.
1161 * sysdeps/stub/mkstemp.c: Likewise.
1162 * sysdeps/stub/mktemp.c: Likewise.
1164 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
1166 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
1169 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
1171 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
1174 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
1176 * sysdeps/posix/cuserid.c: Use reentrant functions.
1177 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
1180 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
1182 Linus said he will make sure no system call will return a value
1183 in -1 ... -4095 as a valid result.
1184 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
1185 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1186 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1187 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1189 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1191 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
1192 __funlockfile, not a circular alias.
1193 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
1196 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
1198 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
1200 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1202 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1204 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1206 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
1209 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
1210 __internal_funlockfile (in terms of itself) should actually be a
1211 definition of __funlockfile.
1213 * pwd/pwd.h: Get `size_t' from <stddef.h>.
1214 * grp/grp.h: Likewise.
1215 * shadow/shadow.h: Likewise.
1217 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
1218 calls to __libc_lock_lock and __libc_lock_unlock.
1219 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
1222 * hurd/hurdsig.c (write_corefile): Fix typo.
1224 * sysdeps/mach/hurd/sigwait.c: New file.
1226 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
1228 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
1229 and __errno_location to correct position.
1231 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
1233 * Makefile (distribute): Add rellns-sh.
1234 * rellns-sh: New file.
1235 * Makerules (make-link): Use rellns-sh.
1236 * time/Makefile ($(installed-localtime-file)): Likewise.
1238 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
1240 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
1241 (distribute): Add ldd.bash.in.
1242 * elf/ldd.sh.in: Process --help and --version parameter.
1244 * elf/ldd.bash.in: New file.
1246 * stdlib/stdlib.h: Add prototype for clearenv.
1247 * sysdeps/generic/setenv.c: Add implementation of clearenv.
1248 (setenv): Handle __environ == NULL correctly.
1249 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
1252 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
1253 * sysdeps/generic/setenv.c: Likewise.
1254 * stdlib/strtol.h: Likewise.
1256 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
1257 Remove definition of struct timeval.
1258 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
1259 using `time_t' for members.
1260 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
1261 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
1262 as old Linux specific version.
1264 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
1266 * signal/Makefile (routines): Add sigwait.
1267 * signal/signal.h: Add prototype for sigwait.
1268 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
1269 function from POSIX.1c.
1270 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
1272 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
1274 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
1275 but don't bother going farther than sizeof(float)==sizeof(int).
1276 (xdr_double): Handle little-endian machines! Handle sizeof(double)
1277 != 2*sizeof(long), though again don't bother with more than int.
1279 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
1281 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
1284 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
1286 * Makerules: Create symbolic links for linking in $(libdir).
1287 (make-link): Use absolute path for destination if this is not in
1290 * elf/rtld.c (dl_main): When verifying don't check the name of
1293 * shlib-versions: Change entries for Hurd specific libs from
1294 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
1297 * assert/assert.h: Reformat copyright.
1298 Change reference to ANSI into reference to ISO C.
1299 * ctype/ctype.h: Likewise.
1300 * errno.h: Likewise.
1301 * limits.h: Likewise.
1302 * math/math.h: Likewise.
1303 * setjmp/setjmp.h: Likewise.
1304 * stdio/stdio.h: Likewise.
1305 * libio/stdio.h: Likewise.
1306 * stdlib/stdlib.h: Likewise.
1307 * string/string.h: Likewise.
1308 * time/time.h: Likewise.
1310 * string/argz.h: Use __const in definitions.
1312 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
1313 * misc/err.h: Likewise.
1315 * wctype/wctype.h (wctrans_t): Use __const instead of const.
1317 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
1318 sonames for versioned libraries.
1319 * Makefile: Remove code to generate libc-version.h.
1320 Generate gnu/lib-names.h with info from soversions.mk.
1321 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
1323 * dirent/tst-seekdir.c: Initialize save3.
1324 * grp/testgrp.c: Initialize my_group.
1326 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
1327 * grp/grp.h: Likewise.
1328 * nss/getXXbyYY.c: Likewise.
1329 * nss/getXXbyYY_r.c: Likewise.
1330 * nss/getXXent.c: Likewise.
1331 * nss/getXXent_r.c: Likewise.
1332 * pwd/fgetpwent_r.c: Likewise.
1333 * pwd/pwd.h: Likewise.
1334 * shadow/fgetspent_r.c: Likewise.
1335 * shadow/sgetspent.c: Likewise.
1336 * shadow/sgetspent_r.c: Likewise.
1337 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
1338 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
1339 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
1340 * resolv/netdb.h: Adapt prototypes for reentrant functions to
1342 * sunrpc/rpc/netdb.h: Likewise,
1343 * shadow/shadow.h: Likewise.
1345 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
1347 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
1349 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
1350 ELF aliasing creates strange situations.
1351 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
1353 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
1354 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1356 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
1359 * locale/programs/charmap.c: Add casts to prevent warnings.
1360 * locale/programs/linereader.h: Likewise.
1361 * locale/programs/ld-collate.c: Likewise.
1362 * locale/programs/stringtrans.c: Likewise.
1363 Change types for various variables to prevent warnings.
1364 * locale/programs/ld-ctype.c: Likewise.
1365 * locale/programs/linereader.h (lr_ungetc): Likewise.
1366 * locale/programs/charset.h (struct charset): Use `unsigned int'
1367 as type for width_default.
1368 * posix/regex.c: Change type of `this_reg' variables.
1369 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
1370 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
1372 * stdio-common/printf_fp.c: Initialize to_shift.
1373 * stdio-common/test_rdwr.c: Add cast.
1374 * stdio-common/vfprintf.c: Add casts and use correct types to
1376 * stdio-common/vfscanf.c: Initialize str and strptr.
1377 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
1378 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1379 * sysdeps/libm-ieee754/e_powf.c: Likewise.
1380 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
1381 * time/test-tz.c: Likewise.
1383 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
1384 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
1385 libc.cp index. This must be fixed.
1386 * manual/nss.texi: Adapt for correct POSIX.1c interface of
1387 reentrant functions.
1388 * manual/users.texi: Document netgroup functions.
1390 * po/es.po: Updated.
1391 * po/fr.po: Updated.
1393 * posix/fnmatch.c: Change to match libit version.
1395 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
1396 * sysdep/posix/ttyname_r.c: Likewise.
1398 * stdlib/atexit.h (__new_exitfn): Add internal locking.
1399 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
1400 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
1401 * stdlib/random.c (__srandom): Add internal locking.
1402 (__initstate): Likewise.
1403 (__setstate): Likewise.
1404 (__random): Likewise.
1406 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1408 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
1410 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
1411 * sysdeps/generic/uname.c: Likewise.
1412 * sysdeps/posix/rename.c: Likewise.
1413 * sysdeps/stub/setrlimit.c: Likewise.
1415 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
1417 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1419 * locale/programs/ld-collate.c (collate_order_elem): Fix format
1421 (collate_element_to): Cast field width argument to `int' for
1423 (collate_symbol): Likewise.
1424 (collate_order_elem): Likewise.
1425 (collate_weight_bsymbol): Likewise.
1426 (collate_simple_weight): Likewise.
1428 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
1430 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
1431 argument for format string.
1432 (ctype_map_newP): Likewise.
1433 (set_class_defaults): Fix format string.
1435 * locale/programs/localedef.c (construct_output_path): Putting an
1436 explicit \0 into the format string does not work, use %c.
1438 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
1440 * Makerules: Install all shared libraries in $(slibdir).
1442 * login/Makefile: Build libutil.so in others pass after
1445 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
1447 * string/stratcliff.c: Allocate 3 pages instead of one, then use
1448 mprotect so that we know that the adjacent pages are inaccessible.
1450 * resource/sys/resource.h: Move all structures and enums to ...
1451 * sysdeps/generic/resourcebits.h: ... here ...
1452 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
1453 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
1454 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
1455 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
1456 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
1457 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
1458 header for RLIMIT_* definitions. The members of struct rlimit
1462 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1464 * MakeTAGS (sysdep-dirs): Fix typo.
1466 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1468 * hurd/hurdsig.c (write_corefile): If we can't create the core
1469 file, still call crash_dump_task with a null FILE arg. Maybe it
1470 won't actually need the file.
1472 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
1474 * Makefile (headers): Don't mention libc-version.h.
1475 (install-others): ...but here.
1477 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
1479 * version.h: Bump version number to 1.97.
1481 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
1482 Include libc-version.h.
1483 * features.h.in: Removed.
1484 * Makefile: Change rules to generate libc-version.h instead of
1487 * malloc/free.c: Add cast to prevent warning.
1488 * malloc/malloc-walk.c: Likewise.
1489 * malloc/ralloc.c: Likewise.
1490 * malloc/realloc.c: Likewise.
1492 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
1494 * pwd/fgetpwent_r.c: Likewise.
1495 * nss/nss_files/files-grp.c: Don't accept entries with names starting
1496 with + or - in lookup functions.
1497 * nss/nss_files/files-pwd.c: Likewise.
1499 * Makerules: Call autolock.sh using $(SHELL).
1501 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1503 * elf/dl-minimal.c: Don't define `dgettext' replacement but
1504 `dcgettext'. When optimizing the macros in <libintl.h> define
1505 `dgettext' as a macro and so this function will never be called.
1507 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
1509 * sysdeps/i386/sysdep.h: Define END to use .size when available.
1510 (PSEUDO_END): Use END.
1511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
1512 define SYSCALL_ERROR_HANDLER before using END.
1513 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
1514 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
1515 and .size directive but PSEUDO_END.
1516 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
1517 * sysdeps/unix/sysv/linux/socket.S: Likewise.
1518 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
1519 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
1520 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
1521 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
1522 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1523 * sysdeps/i386/bsd-setjmp.S: Likewise.
1524 * sysdeps/i386/memchr.S: Likewise.
1525 * sysdeps/i386/memcmp.S: Likewise.
1526 * sysdeps/i386/setjmp.S: Likewise.
1527 * sysdeps/i386/stpcpy.S: Likewise.
1528 * sysdeps/i386/stpncpy.S: Likewise.
1529 * sysdeps/i386/strchr.S: Likewise.
1530 * sysdeps/i386/strcspn.S: Likewise.
1531 * sysdeps/i386/strpbrk.S: Likewise.
1532 * sysdeps/i386/strrchr.S: Likewise.
1533 * sysdeps/i386/strspn.S: Likewise.
1534 * sysdeps/i386/strtok.S: Likewise.
1535 * sysdeps/i386/i486/strcat.S: Likewise.
1536 * sysdeps/i386/i486/strlen.S: Likewise.
1537 * sysdeps/i386/i586/memset.S: Likewise.
1538 * sysdeps/i386/i586/strchr.S: Likewise.
1539 * sysdeps/i386/i586/strlen.S: Likewise.
1541 * sysdeps/i386/strlen.c: De-ANSI-fy.
1543 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
1544 Define dgettext if not defined to use dcgettext.
1545 * sysdeps/mach/_strerror.c: Likewise.
1547 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
1548 __syscall_error defined.
1550 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1552 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
1553 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
1554 now provided by PSEUDO_END.
1555 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1556 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1557 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1558 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1559 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
1561 * sysdeps/generic/sysdep.h (END): Provide default empty
1563 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
1565 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
1566 (PSEUDO_END): Include it here instead.
1567 (SYSCALL_ERROR_HANDLER): Remove type directive.
1568 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
1569 * sysdeps/m68k/bsd-setjmp.S: Likewise.
1570 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1571 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1572 (__syscall_error): Can't use ENTRY macro.
1574 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1576 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
1577 Set caller to EXTRA.
1579 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
1581 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
1582 to beginning of function. So libc functions can use this flag.
1583 * sysdeps/generic/_strerror.c: Don't use dgettext for message
1584 translation while `_dl_starting_up' is nonzero.
1586 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
1588 Pass parameter value to _dl_map_object.
1589 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
1590 If TRACE_MODE is nonzero don#t signal error when shared lib
1591 is not found. Instead create fake entry for link map.
1592 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
1593 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
1594 argument to _dl_map_object_deps.
1595 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
1596 _dl_map_object and _dl_map_object_deps.
1597 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
1598 and _dl_map_object_deps.
1599 When mode == trace test for l_opencount == 0 before printing
1600 link information since this means the lib is not found.
1602 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
1604 * rpm/template: Add INSTALL to %doc line to follow copyright
1605 restrictions which demand the distribution of the copyright
1606 messages in INSTALL even for binary distributions.
1608 * features.h: Rename to...
1609 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
1610 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
1611 and __GNU_LIBRARY_INTERFACE__.
1612 * Makefile ($(objpfx)features.h): New rule to generate features.h
1613 from template features.h.in.
1615 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
1617 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
1619 * locale/programs/linereader.c (lr_open): Cast away const before free.
1620 (lr_close): Likewise.
1622 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
1623 * misc/paths.h: Move to ...
1624 * sysdeps/generic/paths.h: ... here.
1626 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
1627 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
1629 * nss/nss_db/db-netgrp.h: Include <string.h>.
1631 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
1632 _sys_siglist, which result in the "Unknown signal" message.
1633 * string/strsignal.c: Likewise.
1634 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
1635 don't auto-generate siglist.c.
1636 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
1637 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
1638 autogenerate makes bootstrapping and cross-compiling much easier.
1639 * sysdeps/unix/sysv/linux/siglist.h: New file.
1641 * stdlib/longlong.h: Prototype __udiv_qrnnd.
1643 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
1644 sys/io.h. It is already added in .../linux/Makefile.
1646 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
1647 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
1648 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
1650 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
1652 Add implementation of POSIX.1g function getaddrinfo.
1653 * posix/Makefile (routines): Add getaddrinfo.
1654 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
1656 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
1657 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
1658 related constants and structures.
1660 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
1662 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
1663 Make all old names weak alises so that they can be replaced
1666 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
1668 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
1669 __flockfile and __funlockfile.
1670 Reported by NIIBE Yutaka.
1672 * crypt/md5.c: Change form of copyright message according to GNITS
1674 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
1675 and `md5_read_ctx' function.
1676 * crypt/md5.h: Likewise.
1678 * grp/testgrp.c: Don't use perror for error cases since getgr* and
1679 getpw* functions do not return usable error codes.
1681 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
1683 * crypt/md5.c (md5_process_bytes): Used casting for pointer
1686 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
1688 * sunrpc/Makefile (others): Remove portmap here, too.
1690 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
1692 * intl/locale.alias: Language for entry `czech' is `cs'.
1694 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
1696 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
1698 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
1700 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
1701 buggy and more competent people work on a usable version which is
1702 distributed separately.
1703 * sunrpc/portmap.c: Removed.
1704 Suggested by Thorsten Kukuk.
1706 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
1708 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
1711 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
1713 * string/Makefile (tests): Add stratcliff.
1714 * string/stratcliff.c: New file. Test for string function at
1715 the edge of the usable memory.
1717 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
1719 * Makerules ($(libdir)/libc.so): Fix typo.
1721 * elf/ldd.sh.in: Test whether given file really exist and give
1722 better message if it is not available.
1724 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
1726 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
1729 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
1731 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
1732 output to $@T and move to $@ later since the new rpcgen will not
1733 overwrite existing files.
1735 * po/Makefile (libc.pot): Fix typo.
1737 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
1739 Update rpcgen program to TI-rpc code.
1740 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
1741 (distribute): Add proto.h.
1742 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
1743 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
1744 * sunrpc/rpc_cout.c: Likewise.
1745 * sunrpc/rpc_hout.c: Likewise.
1746 * sunrpc/rpc_main.c: Likewise.
1747 * sunrpc/rpc_parse.c: Likewise.
1748 * sunrpc/rpc_parse.h: Likewise.
1749 * sunrpc/rpc_scan.c: Likewise.
1750 * sunrpc/rpc_scan.h: Likewise.
1751 * sunrpc/rpc_svcout.c: Likewise.
1752 * sunrpc/rpc_util.c: Likewise.
1753 * sunrpc/rpc_util.h: Likewise.
1755 * sunrpc/rpc_tblout.c: New file.
1756 * sunrpc/rpc_sample.c: Likewise.
1758 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1760 * sysdeps/unix/opendir.c: Add semicolon for consistency.
1762 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
1764 * locale/programs/localedef.c (main): Test with -1 to find out
1765 whether read failed.
1767 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
1769 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
1772 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1774 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
1776 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1778 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
1779 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1780 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1781 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1782 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
1784 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1785 Correct generation of system call.
1787 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1789 * Makerules (sysd-Makefile): Fix command so that it works in the
1791 (BUILD_CFLAGS): Change back using $(..) instead of
1792 $(common-objpfx), the latter fails in the toplevel directory when
1793 $(objdir) is relative.
1794 (common-objdir-compile): Run compiler in $(objdir).
1795 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
1797 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
1799 * string/string.h [__USE_SVID]: Add prototype for swab.
1800 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
1801 Reported by Andreas Jaeger.
1803 The available nlist implementation is not generally usable.
1804 Especially on the currently supported ELF systems the nlist
1805 function comes with the libelf.
1806 * misc/Makefile (headers): Remove nlist.h.
1807 (routines): Remove nlist.
1809 * Makefile ($(objpfx)version-info.h): Include information about
1810 system the libc is built on in version-info.h file.
1812 * po/Makefile (distribute): Add header.pot.
1814 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1816 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
1817 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1818 * misc/error.c: Likewise.
1820 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
1822 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
1824 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1826 * crypt/Makefile (rpath-link): Extend search path to current directory.
1828 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
1830 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
1833 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
1835 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
1837 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
1839 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1841 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
1844 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1846 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
1849 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1851 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
1853 (PSEUDO_END): Provide definition to use .size directive.
1854 (PSEUDO): Don't interpret negative return values less than -128 as
1856 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
1858 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
1860 * sysdeps/m68k/bsd-setjmp.S: Likewise.
1861 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1862 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1863 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1864 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1865 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1866 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
1867 explicit .size directive.
1869 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
1871 * shlib-versions: Add version number/name for ld.so.
1872 * Makeconfig: Move definition of rtld-installed-name after
1873 inclusion of soversions.mk.
1874 Don't add . before version number from shlib-versions file when
1875 when name does not start with digit. This is needed for ld.so.
1877 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
1879 * libio/iogets.c: Warn when gets is used.
1880 * stdio/gets.c: Strengthen the warning.
1882 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
1884 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
1885 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
1886 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
1887 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
1888 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
1890 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
1891 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
1892 appropriate values according to __USE_REENTRANT.
1893 * libio/stdio.h: Add prototype for ftrylockfile.
1894 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
1895 getc, getchar, putc, and putchar using _IO_* names.
1896 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
1897 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
1898 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
1899 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
1900 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
1901 * libio/peekc.c: New file.
1903 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
1906 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
1908 * crypt/Makefile (tests): Add md5test and md5c-test.
1909 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
1910 is called, the buffer limit is honoured and a loop in a inner
1912 * crypt/md5.h (struct md5_ctx): Add new fields.
1913 Add prototypes for new functions.
1914 * crypt/md5.c (md5_init_ctx): Initialize new fields.
1915 (md5_finish_ctx): New function. Like md5_read_ctx but before
1916 perform correct finalization.
1917 (md5_process_bytes): New function. Similar to md5_proces_block,
1918 but does not require input size to be multiple of 64.
1919 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
1920 (md5_buffer): Likewise.
1921 (md5_process_block): Count number of bytes.
1922 * crypt/md5test.c: New file. Test program for MD5 functions.
1923 * crypt/md5c-test.c: New file: Test program for MD5 crypt
1928 * time/strptime.c: Recognize %s, %u, %g, and %G format.
1930 * posix/getopt.c: Add some more casts and initializations to
1933 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
1935 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
1936 an extra function to provide this functionality.
1937 (cfgetospeed): Simply return masked value.
1938 (cfsetospeed): Don't use speeds array and so we can simply test
1939 the value of SPEED for illegal values.
1940 * termios/cfsetspeed.c: Rewrite. We convert here between the
1941 real values and the B* constants.
1942 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
1944 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1946 * locale/programs/xstrdup.c: Define prototypes.
1947 * locale/programs/xmalloc.c: Likewise.
1949 * stdio-common/xbug.c (main): Change definition to avoid warning.
1951 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
1953 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
1955 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
1957 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
1958 "$(i18ndir)/charmaps".
1960 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1962 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
1963 to get definition of FPU description struct.
1965 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
1966 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
1967 net/if_arp.h, and net/route.h.
1968 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
1969 * sysdeps/unix/sysv/linux/net/route.h: New file.
1971 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
1973 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
1974 * sysdeps/stub/e_acosl.c: Likewise.
1975 * sysdeps/stub/e_asinl.c: Likewise.
1976 * sysdeps/stub/e_atan2l.c: Likewise.
1977 * sysdeps/stub/e_expl.c: Likewise.
1978 * sysdeps/stub/e_fmodl.c: Likewise.
1979 * sysdeps/stub/e_log10l.c: Likewise.
1980 * sysdeps/stub/e_logl.c: Likewise.
1981 * sysdeps/stub/e_sqrtl.c: Likewise.
1982 * sysdeps/stub/s_atanl.c: Likewise.
1983 * sysdeps/stub/s_log1pl.c: Likewise.
1985 * Makefile (distribute): Add nsswitch.h and netgroup.h.
1987 * nss/Makefile (generated): db-netgrp.c is not generated.
1989 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
1991 * Make-dist (+out): Add $(dont_distribute).
1993 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1995 * stdio-common/Makefile (routines): Add tmpnam_r.
1997 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
1999 * version.h: Bump version to 1.96.
2001 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2003 * stdio-common/tst-printf.c: Some more cleanups.
2005 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
2007 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
2008 * resolv/resolv.h: Likewise.
2009 * resolv/gethnamaddr.c: Likewise.
2010 * resolv/res_comp.c: Likewise.
2011 * resolv/res_debug.c: Likewise.
2012 * resolv/res_init.c: Likewise.
2013 * resolv/res_send.c: Likewise.
2014 * resolv/Banner: Update version number.
2016 * nss/nss_dns/dns-host.c: Update according to change in
2017 resolv/gethnamaddr.c.
2019 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
2021 * crypt/md5.c (md5_stream): When reading the block in several
2022 pieces append to instead of replace previously read data.
2024 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
2026 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
2027 last-byte-written bit for source word misalignment.
2028 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
2031 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
2033 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
2034 comes with glibc-nis.
2035 * sunrpc/rpcsvc/yp.x: Removed.
2037 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
2038 for *CURSOR to be NULL and dump a core if yes.
2040 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
2042 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
2043 including <errnos.h> to get error numbers.
2045 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
2047 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
2048 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
2049 Alpha people find a correct file.
2050 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
2051 an alias of __cabs since the structures have different names.
2052 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
2053 Reported by Matthew Jacob <mjacob@feral.com>.
2055 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2057 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
2058 so that it still works right if we happen to get called in a
2059 subdir it still works.
2061 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
2062 as file name translation flags.
2063 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
2064 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
2067 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
2068 name (changed according to libc-name) to avoid getting the
2069 Hurd-ish linker script for libc.a when we only want the archive
2072 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
2074 * time/strftime.c: Allow old K&R compilers compile this file.
2076 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
2078 * posix/execlp.c: Add first argument parameter to be compliant
2079 with POSIX. Rearrange body to start vararg counter after
2082 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
2084 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
2085 simply a wrapper around the <linux/elfcore.h> file since the
2086 kernel header is not clean enough. We provide the definitions
2087 in this file instead.
2089 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
2091 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
2092 get?id calls by using __libc_enable_secure.
2094 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
2096 * inet/getnetgrent_r.c: Correct netgroup implementation. A
2097 specification of a netgroup can also name another netgroup.
2098 * nss/nss_files/files-netgrp.c: Likewise.
2099 * inet/netgroup.h: Add fields to hold additional information.
2101 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
2103 * posix/getopt.c: Implement POSIX -W option handling. When the
2104 option string contains "W;" -W foo is handled like --foo.
2106 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
2108 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
2109 inclusing <errnos.h> so we really get error symbols defined.
2110 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2111 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2113 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
2114 size array for getgroups call. Instead get maximal number via
2115 sysconf. But discard list to NGRPS elements before calling XDR
2116 function since Sun's code cannot handle longer lists.
2117 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2119 * sysdeps/stub/e_j0l.c: Define y0l as well.
2120 * sysdeps/stub/e_j1l.c: Define y1l as well.
2121 * sysdeps/stub/e_jnl.c: Define ynl as well.
2123 * posix/unistd.h: Correct prototype for execlp.
2125 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
2127 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2129 * Makeconfig (sysdep-library-path): New variable.
2130 (built-program-cmd): Use it here to properly build a colon
2131 separated library path.
2133 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2135 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
2136 within comparison. Fix comments.
2137 (md5_crypt): Fix comment.
2139 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
2141 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
2142 when _ERRNO_H is defined.
2143 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
2144 Should there ever be a Linux port where the numeric values are
2145 not 33 and 34 this file must change.
2147 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2149 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
2152 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2154 * string/tst-strlen.c (main): Provide prototype.
2155 * malloc/mallocbug.c: Likewise.
2156 * io/test-utime.c: Likewise.
2158 * sysdeps/generic/crypt-entry.c: Correct typo.
2160 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
2162 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
2163 test for libc.a. Checking _DYNAMIC is of no worth here.
2164 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2166 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
2167 EXTERN_PARSER is defined.
2169 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2171 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
2173 * crypt/md5-crypt.c: Fix typos in comments.
2175 * gmon/gmon.c: Provide prototypes.
2176 * db/makedb.c: Likewise.
2177 * locale/programs/xmalloc.c: Likewise.
2178 * stdio-common/bug11.c (main): Likewise.
2179 * stdio-common/bug7.c (main): Likewise.
2180 * stdio-common/bug8.c (main): Likewise.
2181 * stdio-common/bug9.c (main): Likewise.
2182 * stdio-common/scanf1.c (main): Likewise.
2183 * stdio-common/scanf2.c (main): Likewise.
2184 * stdio-common/scanf5.c (main): Likewise.
2185 * stdio-common/scanf6.c (main): Likewise.
2186 * stdio-common/scanf7.c (main): Likewise.
2187 * stdio-common/scanf8.c (main): Likewise.
2188 * stdio-common/temptest.c (main): Likewise.
2189 * stdio-common/test-fwrite.c (main): Likewise.
2190 * stdio-common/tst-printf.c: Likewise.
2191 * stdio-common/tstdiomisc.c: Likewise.
2192 * stdio-common/tstgetln.c (main): Likewise.
2193 * stdlib/testmb.c (main): Likewise.
2195 * stdio-common/scanf4.c (main): Correct prototype, remove unused
2198 * stdio-common/scanf3.c (main): Correct prototype, change
2199 declaration of s to reduce warnings.
2200 * stdio-common/bug10.c (main): Likewise.
2202 * stdio-common/tfformat.c: Provide prototype, remove unused
2203 reference to dump_stats, add braces in sprint_doubles.
2204 * stdio-common/tiformat.c: Likewise.
2206 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
2209 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2211 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
2213 * shadow/putspent.c: Don't write colon after flag field.
2215 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
2217 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
2218 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2219 * sysdeps/unix/sysv/linux/Dist: Mention new files.
2221 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
2223 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
2224 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
2226 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
2227 by using __libc_enable_secure variable.
2229 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2231 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
2232 null, don't attempt mach_port_mod_refs.
2234 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2236 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
2237 sysdeps/unix/pipestream.c.
2239 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
2240 from sysdeps/mach/hurd/readdir.c.
2242 * stdio/freopen.c: Complete de-ansideclification.
2243 * stdio/fgets.c (fgets): Likewise.
2244 * stdio/getdelim.c (__getdelim): Likewise.
2245 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
2248 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2249 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2251 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
2252 STAT_LOC without error.
2254 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
2256 * posix/getopt.c: Add casts to prevent warnings.
2257 * posix/regex.c: Likewise.
2259 * math/Makefile (long-m-routines, long-m-yes): Define to correct
2260 values to make `long double' functions available.
2261 (distribute): Add $(long-m-yes:=.c).
2263 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
2264 Use long double instruction.
2266 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
2267 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
2268 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
2270 * sysdeps/libm-ieee754/e_coshl.c: New file.
2272 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
2273 for `long double' version as alias.
2274 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2275 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
2276 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
2277 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
2278 * sysdeps/libm-ieee754/s_cos.c: Likewise.
2279 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2280 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2281 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
2282 * sysdeps/libm-ieee754/s_finite.c: Likewise.
2283 * sysdeps/libm-ieee754/s_floor.c: Likewise.
2284 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
2285 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
2286 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
2287 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2288 * sysdeps/libm-ieee754/s_logb.c: Likewise.
2289 * sysdeps/libm-ieee754/s_modf.c: Likewise.
2290 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
2291 * sysdeps/libm-ieee754/s_rint.c: Likewise.
2292 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
2293 * sysdeps/libm-ieee754/s_significand.c: Likewise.
2294 * sysdeps/libm-ieee754/s_sin.c: Likewise.
2295 * sysdeps/libm-ieee754/s_tan.c: Likewise.
2296 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
2297 * sysdeps/libm-ieee754/w_acos.c: Likewise.
2298 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
2299 * sysdeps/libm-ieee754/w_sin.c: Likewise.
2300 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
2301 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
2302 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
2303 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
2304 * sysdeps/libm-ieee754/w_drem.c: Likewise.
2305 * sysdeps/libm-ieee754/w_exp.c: Likewise.
2306 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
2307 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
2308 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
2309 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
2310 * sysdeps/libm-ieee754/w_j0.c: Likewise.
2311 * sysdeps/libm-ieee754/w_j1.c: Likewise.
2312 * sysdeps/libm-ieee754/w_jn.c: Likewise.
2313 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
2314 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
2315 * sysdeps/libm-ieee754/w_log.c: Likewise.
2316 * sysdeps/libm-ieee754/w_log10.c: Likewise.
2317 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2318 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
2319 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
2320 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
2321 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
2323 Stub files for missing long double math functions.
2324 * sysdeps/stub/e_acoshl.c: New file.
2325 * sysdeps/stub/e_hypotl.c: New file.
2326 * sysdeps/stub/e_j0l.c: New file.
2327 * sysdeps/stub/e_j1l.c: New file.
2328 * sysdeps/stub/e_jnl.c: New file.
2329 * sysdeps/stub/e_lgammal_r.c: New file.
2330 * sysdeps/stub/e_powl.c: New file.
2331 * sysdeps/stub/e_rem_pio2l.c: New file.
2332 * sysdeps/stub/e_sinhl.c: New file.
2333 * sysdeps/stub/k_cosl.c: New file.
2334 * sysdeps/stub/k_rem_pio2l.c: New file.
2335 * sysdeps/stub/k_sinl.c: New file.
2336 * sysdeps/stub/k_tanl.c: New file.
2337 * sysdeps/stub/s_erfl.c: New file.
2338 * sysdeps/stub/s_expm1l.c: New file.
2340 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
2342 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2343 * sysdeps/i386/bsd-setjmp.S: Likewise.
2344 * sysdeps/i386/memchr.S: Likewise.
2345 * sysdeps/i386/memcmp.S: Likewise.
2346 * sysdeps/i386/setjmp.S: Likewise.
2347 * sysdeps/i386/stpcpy.S: Likewise.
2348 * sysdeps/i386/stpncpy.S: Likewise.
2349 * sysdeps/i386/strchr.S: Likewise.
2350 * sysdeps/i386/strcspn.S: Likewise.
2351 * sysdeps/i386/strpbrk.S: Likewise.
2352 * sysdeps/i386/strrchr.S: Likewise.
2353 * sysdeps/i386/strspn.S: Likewise.
2354 * sysdeps/i386/strtok.S: Likewise.
2355 * sysdeps/i386/i486/strcat.S: Likewise.
2356 * sysdeps/i386/i486/strlen.S: Likewise.
2357 * sysdeps/i386/i586/memset.S: Likewise.
2358 * sysdeps/i386/i586/strchr.S: Likewise.
2359 * sysdeps/i386/i586/strlen.S: Likewise.
2360 * sysdeps/libm-i387/e_acos.S: Likewise.
2361 * sysdeps/libm-i387/e_acosl.S: Likewise.
2362 * sysdeps/libm-i387/e_asin.S: Likewise.
2363 * sysdeps/libm-i387/e_asinl.S: Likewise.
2364 * sysdeps/libm-i387/e_atan2.S: Likewise.
2365 * sysdeps/libm-i387/e_atan2l.S: Likewise.
2366 * sysdeps/libm-i387/e_exp.S: Likewise.
2367 * sysdeps/libm-i387/e_expl.S: Likewise.
2368 * sysdeps/libm-i387/e_fmod.S: Likewise.
2369 * sysdeps/libm-i387/e_fmodl.S: Likewise.
2370 * sysdeps/libm-i387/e_log.S: Likewise.
2371 * sysdeps/libm-i387/e_log10.S: Likewise.
2372 * sysdeps/libm-i387/e_log10l.S: Likewise.
2373 * sysdeps/libm-i387/e_logl.S: Likewise.
2374 * sysdeps/libm-i387/e_remainder.S: Likewise.
2375 * sysdeps/libm-i387/e_remainderf.S: Likewise.
2376 * sysdeps/libm-i387/e_remainderl.S: Likewise.
2377 * sysdeps/libm-i387/e_scalb.S: Likewise.
2378 * sysdeps/libm-i387/e_scalbl.S: Likewise.
2379 * sysdeps/libm-i387/e_sqrt.S: Likewise.
2380 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
2381 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
2382 * sysdeps/libm-i387/s_atan.S: Likewise.
2383 * sysdeps/libm-i387/s_atanf.S: Likewise.
2384 * sysdeps/libm-i387/s_atanl.S: Likewise.
2385 * sysdeps/libm-i387/s_ceil.S: Likewise.
2386 * sysdeps/libm-i387/s_ceilf.S: Likewise.
2387 * sysdeps/libm-i387/s_ceill.S: Likewise.
2388 * sysdeps/libm-i387/s_copysign.S: Likewise.
2389 * sysdeps/libm-i387/s_copysignf.S: Likewise.
2390 * sysdeps/libm-i387/s_copysignl.S: Likewise.
2391 * sysdeps/libm-i387/s_cos.S: Likewise.
2392 * sysdeps/libm-i387/s_cosf.S: Likewise.
2393 * sysdeps/libm-i387/s_cosl.S: Likewise.
2394 * sysdeps/libm-i387/s_finite.S: Likewise.
2395 * sysdeps/libm-i387/s_finitef.S: Likewise.
2396 * sysdeps/libm-i387/s_finitel.S: Likewise.
2397 * sysdeps/libm-i387/s_floor.S: Likewise.
2398 * sysdeps/libm-i387/s_floorf.S: Likewise.
2399 * sysdeps/libm-i387/s_floorl.S: Likewise.
2400 * sysdeps/libm-i387/s_ilogb.S: Likewise.
2401 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2402 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
2403 * sysdeps/libm-i387/s_log1p.S: Likewise.
2404 * sysdeps/libm-i387/s_log1pf.S: Likewise.
2405 * sysdeps/libm-i387/s_log1pl.S: Likewise.
2406 * sysdeps/libm-i387/s_logb.S: Likewise.
2407 * sysdeps/libm-i387/s_logbf.S: Likewise.
2408 * sysdeps/libm-i387/s_logbl.S: Likewise.
2409 * sysdeps/libm-i387/s_rint.S: Likewise.
2410 * sysdeps/libm-i387/s_rintf.S: Likewise.
2411 * sysdeps/libm-i387/s_rintl.S: Likewise.
2412 * sysdeps/libm-i387/s_scalbn.S: Likewise.
2413 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2414 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2415 * sysdeps/libm-i387/s_significand.S: Likewise.
2416 * sysdeps/libm-i387/s_significandf.S: Likewise.
2417 * sysdeps/libm-i387/s_significandl.S: Likewise.
2418 * sysdeps/libm-i387/s_sin.S: Likewise.
2419 * sysdeps/libm-i387/s_sinf.S: Likewise.
2420 * sysdeps/libm-i387/s_sinl.S: Likewise.
2421 * sysdeps/libm-i387/s_tan.S: Likewise.
2422 * sysdeps/libm-i387/s_tanf.S: Likewise.
2423 * sysdeps/libm-i387/s_tanl.S: Likewise.
2425 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
2426 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
2427 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
2428 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
2430 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
2431 to provide .size directive on ELF systems.
2433 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
2434 <sigcontext.h> and rename parameter type to sigcontext.
2435 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
2437 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
2438 negative values might occur as positive results. Test against
2439 -125 to decide for error or not.
2440 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
2442 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2444 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
2445 whether this is a statically linked program. The latter is now
2448 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2450 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
2451 controlling terminals are allowed to send.
2453 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
2454 table is larger than the allowable address size, then return
2457 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
2461 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
2463 * po/fr.po: New file.
2465 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
2467 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
2469 Add support for MD5 crypt replacement.
2470 * Makefile (subdirs): Add crypt.
2471 * shlib-versions: Add entry for libcrypt.
2472 * crypt/md5-crypt.c: New file.
2473 * crypt/md5.c: New file.
2474 * crypt/md5.h: New file.
2475 * sysdeps/generic/crypt-entry.c: New file.
2476 * sysdeps/generic/crypt.h: New file.
2478 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2480 * dirent/tst-seekdir.c: Provide correct prototypes.
2481 * io/test-utime.c: Likewise.
2482 * malloc/mallocbug.c: Likewise.
2483 * posix/testfnm.c: Likewise.
2484 * stdio-common/xbug.c: Likewise.
2485 * sysdeps/posix/cuserid.c: Likewise.
2487 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
2489 Provide optimized string functions for Alpha processors.
2490 * sysdeps/alpha/bzero.S: New file.
2491 * sysdeps/alpha/memset.S: New file.
2492 * sysdeps/alpha/stpcpy.S: New file.
2493 * sysdeps/alpha/stpncpy.S: New file.
2494 * sysdeps/alpha/strcat.S: New file.
2495 * sysdeps/alpha/strchr.S: New file.
2496 * sysdeps/alpha/strcpy.S: New file.
2497 * sysdeps/alpha/strncat.S: New file.
2498 * sysdeps/alpha/strncpy.S: New file.
2499 * sysdeps/alpha/strrchr.S: New file.
2500 * sysdeps/alpha/stxcpy.S: New file.
2501 * sysdeps/alpha/stxncpy.S: New file.
2503 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
2504 stxncpy to sysdep_routines.
2507 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2509 * sysdeps/generic/gnu/types.h: Added __loff_t.
2510 Don't declare key_t here.
2512 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
2513 set errno (to ENOMEM).
2515 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
2517 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
2518 nothing is found. This guarantees all subsequent calls behave
2520 * sysdeps/generic/strtok_r.c: Likewise.
2522 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2524 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
2527 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
2529 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
2530 NULL immediately; we're going to get called one more time.
2531 * sysdeps/generic/strtok_r.c: Likewise.
2533 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
2535 * locale/programs/ld-time.c: Always write some bytes at the end of
2536 the file even if no `era's are specified.
2538 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
2541 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
2543 * libio/iofclose.c: Move unlocking to right position.
2545 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
2547 * misc/Makefile: Kill force-wrapper.
2548 * misc/force-wrapper.c: Delete.
2550 * elf/eval.c: Add <string.h>.
2552 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
2553 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
2554 and binary compatibility not at all. Better to do `char *foo'
2555 followed by `foo = ptr' as it is much cleaner.
2556 (struct gmon_hdr): Fix version.
2557 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
2558 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
2559 * gmon/gmon.c: De-ansidecl-ify.
2560 (write_hist): De-bcopy-fy.
2561 (write_call_graph): Likewise.
2563 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
2564 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
2565 * sysdeps/generic/machine-gmon.h: Likewise.
2567 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
2568 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
2569 * nss/nss_dns/dns-network.c: Likewise.
2570 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
2571 * resolv/getnetnamadr.c: Likewise.
2572 * resolv/res_debug.c: Likewise.
2573 * resolv/res_mkquery.c: Likewise.
2574 * resolv/res_query.c: Likewise.
2576 * libio/clearerr_u.c: It's not necessary to define __ protected
2577 function so don't do it.
2578 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
2579 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
2581 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
2582 the cleanup registrar.
2583 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
2584 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
2585 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
2586 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
2587 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
2588 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
2589 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
2592 * locale/programs/ld-ctype.c: Include <alloca.h>.
2594 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
2596 * posix/sys/types.h: Change #defines to typedefs. This is looking
2597 forward to more comprehensive namespace cleanups for C++.
2598 * posix/unistd.h: Likewise for ssize_t.
2600 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
2603 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
2604 `statement with no effect' warnings.
2605 * resolv/inet_neta.c: Include <string.h> for strlen.
2607 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
2608 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
2609 * stdio-common/vfprintf.c: Same for va_list.
2610 * stdio-common/vfscanf.c: Same.
2611 * stdio-common/reg-printf.c: Prototype the __ function.
2612 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
2613 _IO_vscanf declaration.
2615 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
2616 but to unsigned long for the health of 64-bit systems.
2618 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
2619 Many system's <sys/param.h> pulls this in.
2621 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
2624 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
2625 instead of defining it locally.
2627 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
2628 * sysdeps/stub/chflags.c: Prototype chflags.
2629 * sysdeps/stub/fchflags.c: Prototype fchflags.
2630 * sysdeps/stub/sstk.c: Prototype sstk.
2632 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
2633 variable to __errno. Update __syscall_error to store to both
2634 the global and per-thread variables.
2636 * sysdeps/unix/sysv/linux/init-first.c: Change include of
2637 init-first.h from "" to <> as "" does not search the include path.
2638 Prototype _dl_start.
2640 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2642 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
2643 pattern rule to get the right stem.
2645 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2647 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
2649 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2651 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
2653 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2655 * malloc/free.c (_free_internal): Don't call free recursively, use
2656 the internal functions instead.
2658 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2660 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
2661 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
2663 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2665 * catgets/gencat.c (main): Print version information on stdout,
2667 * db/makedb.c: Likewise.
2668 * locale/programs/locale.c: Likewise.
2669 * locale/programs/localedef.c: Likewise.
2671 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
2673 Add implementation of netgroup.
2674 * inet/Makefile (distributes): Add netgroup.h.
2675 (routines): Add getnetgrent.c and getnetgrent_r.c.
2676 * inet/getnetgrent.c: New file.
2677 * inet/getnetgrent_r.c: New file.
2678 * inet/netgroup.h: New file.
2679 * netgroup.h: New file.
2680 * nsswitch.h: New file.
2681 * nss/Makefile (databases): Add getgrp.
2682 * nss/databases.def: Add netgroup.
2683 * nss/db-Makefile: Add rules for netgroup.
2684 * nss/netgrp-lookup.c: New file.
2685 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
2686 always return without a check of the transition table.
2687 * nss/nsswitch.h (struct service_user): Extend actions array to
2689 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
2691 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
2692 to NSS_ACTION_RETURN.
2693 * nss/nss_db/db-netgrp.c: New file.
2694 * nss/nss_files/files-netgrp.c: New file.
2695 * nss/nsswitch.conf: Add entry for netgroup.
2696 * resolv/netdb.h: Add prototypes for netgroup functions.
2698 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
2701 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
2703 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
2704 _llseek to _llseek (not llseek).
2705 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
2707 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
2709 * inet/rcmd.c: Remove definition of MIN.
2711 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
2713 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
2714 * sysdeps/unix/readdir_r.c: New file.
2715 * sysdeps/unix/readdir.c: Remove check for correct parameter
2716 values. Let them simply die.
2717 * manual/filesys.texi: Document readdir_r.
2719 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
2720 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
2722 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
2724 * dirent/Makefile (routines): Add readdir_r.
2725 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
2726 * dirent/dirent.h: Add prototype for readdir_r.
2728 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
2729 to prevent warnings.
2731 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
2732 Initialize `result'.
2734 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
2736 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
2738 * string/string.h: Add prototype for __strsep.
2739 * misc/mntent_r.c: Use __strsep instead of strsep to keep
2742 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
2743 __nanosleep and nanosleep weak aliases.
2744 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
2746 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
2747 nanosleep to keep namespace clean.
2749 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
2750 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
2751 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2753 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
2756 * login/Makefile (headers): Add pty.h.
2757 * login/pty.h: New file.
2758 * sysdeps/generic/pty.h: Include <pty.h>.
2759 * login/pututline_r.c: Add cast to prevent warning.
2761 * gmon/gmon.c: Add prototype for __profile_frequency.
2762 (monstartup): Add cast to prevent warning.
2763 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
2765 * locale/programs/ld-time.c (time_output): Write `era' information
2768 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
2770 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
2772 Set caller for mlock, mlockall, mremap, munlock, and munlockall
2774 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
2776 1996-09-27 Paul Eggert <eggert@twinsun.com>
2778 * strftime.c (strftime): Output incomplete formats like %E
2781 1996-09-27 Paul Eggert <eggert@twinsun.com>
2783 * strftime.c (strftime): Add support for %EC and %Ey.
2784 Fix support for %EY. This uses the new _nl_get_era_entry function.
2786 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
2788 Security related patch by Elliot Lee <sopwith@redhat.com> and
2789 David Holland <dholland@eecs.harvard.edu>.
2791 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
2792 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
2794 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
2795 NULL when programs runs with SUID or SGID enabled.
2796 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
2797 * stdlib/stdlib.h: Add prototype for __secure_getenv.
2799 * locale/setlocale.c: Use __secure_getenv.
2800 * resolv/res_init.c: Likewise.
2801 * resolv/res_query.c: Likewise.
2802 * inet/ruserpass.c: Likewise.
2803 * sysdeps/posix/tempname.c: Likewise.
2804 * malloc/mtrace.c: Likewise.
2805 * catgets/catgets.c: Likewise.
2807 Make temporary file handling functions reentrant.
2809 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
2810 result to. The called __stdio_gen_tempname function must be
2812 * stdio-common/tmpnam_r.c: New file.
2813 * stdio/stdio.h: Add prototype for `tmpnam_r'.
2814 Change prototype for __stdio_gen_tempname.
2815 * stdio/libio.h: Likewise.
2816 * sysdeps/posix/tempname.c: Add new parameters and use them instead
2818 Don't reset `indeces' when PID changed between calls.
2819 Don't fail for long running programs when index counter once
2821 * sysdeps/stub/tempname.c: Likewise.
2822 * stdio-common/tempnam.c: Provide local buffer as extra argument
2823 to __stdio_gen_tempname. This makes this function reentrant.
2824 * stdio-common/tmpfile.c: Likewise.
2825 * stdio-common/temptest.c: Provide extra argument to
2826 __stdio_gen_tempname.
2827 * manual/filesys.texi: Describe tmpnam_r and add comments about
2828 reentrancy of the functions.
2830 * inet/rcmd.c: Fixed address length handling.
2832 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
2834 * time/strftime.c: Remove unused variables alt_digits and
2837 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
2838 for get_nprocs and get_nprocs_conf.
2839 * sysdeps/generic/sys/sysinfo.h: Likewise.
2841 * stdlib/test-canon.c: Finally do the right fix.
2843 * misc/Makefile: Only compile force-wrapper when compiling
2846 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
2848 Add support for cancelable system calls.
2850 * csu/initfini.c: Make in crti.o reference to symbol
2851 __libc_force_cancel_wrapper when compiling reentrant version.
2852 * misc/Makefile (routines): Add force-wrapper.
2853 * misc/force-wrapper.c: New file.
2855 * posix/system.c: Rename function to __libc_system and make system
2857 * sysdeps/stub/system.c: Likewise.
2858 * posix/wait.c: Rename function to __libc_wait and make __wait a
2859 weak alias. De-ANSI-fy.
2860 * sysdeps/standalone/read.c: Rename function to __libc_read and
2861 make __read a weak alias.
2862 * sysdeps/stub/read.c: Likewise.
2863 * sysdeps/standalone/write.c: Rename function to __libc_write and
2864 make __write a weak alias.
2865 * sysdeps/stub/write.c: Likewise.
2866 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
2867 make tcdrain a weak alias.
2868 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2869 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
2870 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2871 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
2872 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
2873 and make __wait a weak alias.
2874 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
2875 make __waitpid a weak alias.
2876 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
2877 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
2878 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
2879 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
2880 and make pause a weak alias. De-ANSI-fy.
2882 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
2883 lseek, open, read, and write to have __libc_ prefix and make old
2885 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
2886 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
2888 * io/creat.c: De-ANSI-fy.
2890 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
2892 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
2894 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
2895 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
2897 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
2899 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
2901 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
2903 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
2905 * locale/programs/locfile.c (write_locale_data): Allocate room
2906 even for file name for LC_MESSAGES locale.
2907 (locafile_read): `tok_era' must be handled as a string list.
2908 * locale/programs/ld-time.c: Finish correction of handling `era'.
2909 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
2910 * locale/categories.def: Add postload function for LC_TIME.
2911 * locale/setlocale.c: Make lock global and rename to
2912 __libc_setlocale_lock.
2913 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
2914 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
2915 * locale/lc-time.c (_nl_postload_time): New function. Initialize
2917 (_nl_get_era_entry): New function. Return era entry which corresponds
2919 (_nl_get_alt_digit): New function. Return string with alternate
2920 digit representation for given number.
2922 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
2923 string representing alternate digit notation.
2925 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
2927 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
2928 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
2930 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
2931 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
2933 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
2935 * catgets/gencat.c (main): Change --version again because RMS wants
2936 the package name in parentheses.
2937 * db/makedb.c: Likewise.
2938 * locale/programs/locale.c: Likewise.
2939 * locale/programs/localedef.c: Likewise.
2941 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2943 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
2945 ($(objpfx)version-info.h): Depend on Banner files, command
2948 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
2950 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
2952 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
2954 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
2955 on the same device as the password file.
2956 * shadow/shadow.h (struct spwd): Change type of numeric fields
2957 to `long int' since there value are days, not seconds.
2958 * shadow/putspent.c: Change casts from time_t to `long int'.
2959 * shadow/sgetspent_r.c (LINE_READER): Likewise.
2961 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
2963 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
2964 sure the thread specific variable is set as well as the global
2966 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
2968 * sysdeps/stub/errnos.h: Likewise.
2969 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
2971 * shadow/putspent.c: Don't include <errno.h>.
2973 * dirent/scandir.c (scandir): Use __set_errno to set errno
2975 * elf/dl-load.c (open_path): Likewise.
2976 * inet/rcmd.c (rcmd): Likewise.
2977 (rresvport): Likewise.
2978 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
2979 (DCGETTEXT): Use __set_errno to set errno variable.
2980 * io/fts.c (fts_open): Likewise.
2981 (fts_close): Likewise.
2982 (fts_read): Likewise.
2983 (fts_set): Likewise.
2984 (fts_children): Likewise.
2985 (fts_build): Likewise.
2986 (fts_stat): Likewise.
2987 * io/ftw.c (ftw_dir): Likewise.
2989 * io/getwd.c (getwd): Likewise.
2990 * io/lockf.c (lockf): Likewise.
2991 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
2992 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
2993 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2994 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
2996 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2997 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
2998 * libio/ioftell.c (_IO_ftell): Likewise.
2999 * locale/loadlocale.c (_nl_load_locale): Likewise.
3000 * locale/nl_langinfo.c (nl_langinfo): Likewise.
3001 * locale/setlocale.c (ERROR_RETURN): Likewise.
3002 * login/getutid_r (__getutid_r): Likewise.
3003 * login/getutline_r (__getutline_r): Likewise.
3004 * login/login.c (tty_name): Likewise.
3005 * login/oututline_r.c (__pututline_r): Likewise.
3006 * malloc/malloc.c (morecore): Likewise.
3007 * misc/efgcvt_r.c (fcvt_r): Likewise.
3008 * misc/hsearch_r.c (hcreate_r): Likewise.
3009 (hdestroy_r): Likewise.
3010 (hsearch_r): Likewise.
3011 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
3012 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
3013 (_nss_dns_gethostbyaddr_r): Likewise.
3014 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3015 * nss/nss_files/files-parse.c (parse_list): Likewise.
3016 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
3017 * posix/execvp.c (execvp): Likewise.
3018 * posix/glob.c: Define __set_errno.
3019 (glob): Use __set_errno to set errno variable.
3020 (glob_in_dir): Likewise.
3021 * pwd/getpw.c: Likewise. De-ANSI-fy.
3022 * pwd/putpwent.c: Likewise.
3023 * resolv/inet_net_ntop.c: Likewise.
3024 * resolv/inet_net_pton.c: Likewise.
3025 * resolv/inet_neta.c: Likewise.
3026 * resolv/inet_ntop.c: Likewise.
3027 * resolv/inet_pton.c: Likewise.
3028 * resolv/res_query.c (res_search): Likewise.
3029 * resolv/res_send.c (Aerror): Likewise.
3031 (res_send): Likewise.
3032 * signal/sigaddset.c: Likewise. De-ANSI-fy.
3033 * signal/sigdelset.c: Likewise.
3034 * signal/sigempty.c: Likewise.
3035 * signal/sigfillset.c: Likewise.
3036 * signal/sigismem.c: Likewise.
3037 * stdio/fclose.c: Likewise.
3038 * stdio/feof.c: Likewise.
3039 * stdio/ferror.c: Likewise.
3040 * stdio/fflush.c: Likewise.
3041 * stdio/fgetc.c: Likewise.
3042 * stdio/fgetpos.c: Likewise.
3043 * stdio/fgets.c: Likewise.
3044 * stdio/fileno.c: Likewise.
3045 * stdio/fmemopen.c: Likewise.
3046 * stdio/fopen.c: Likewise.
3047 * stdio/fputc.c: Likewise.
3048 * stdio/fread.c: Likewise.
3049 * stdio/freopen.c: Likewise.
3050 * stdio/fseek.c: Likewise.
3051 * stdio/fsetpos.c: Likewise.
3052 * stdio/ftell.c: Likewise.
3053 * stdio/fwrite.c: Likewise.
3054 * stdio/getdelim.c: Likewise.
3055 * stdio/gets.c: Likewise.
3056 * stdio/glue.c: Likewise.
3057 * stdio/internals.c: Likewise.
3058 * stdio/memstream.c: Likewise.
3059 * stdio/setvbuf.c: Likewise.
3060 * stdio/ungetc.c: Likewise.
3061 * stdio/vsscanf.c: Likewise.
3062 * stdio-common/reg-printf.c: Likewise.
3063 * stdio-common/vfprintf.c: Likewise.
3064 * stdio-common/vfscanf.c: Likewise.
3065 * stdlib/canonicalize.c: Likewise.
3066 * stdlib/msort.c: Likewise.
3067 * stdlib/random_r.c: Likewise.
3068 * stdlib/strfmon.c: Likewise.
3069 * stdlib/strtod.c: Likewise.
3070 * stdlib/strtol.c: Likewise.
3071 * sunrpc/bindrsvprt.c: Likewise.
3072 * time/asctime.c: Likewise.
3073 * time/localtime.c: Likewise.
3074 * wcsmbs/mbrtowc.c: Likewise.
3075 * wcsmbs/mbsnrtowcs.c: Likewise.
3076 * wcsmbs/mbsrtowcs.c: Likewise.
3077 * wcsmbs/wcrtomb.c: Likewise.
3078 * wcsmbs/wcsnrtombs.c: Likewise.
3079 * wcsmbs/wcsrtombs.c: Likewise.
3080 * wcsmbs/wcstok.c: Likewise.
3081 * sysdeps/generic/ftime.c: Likewise.
3082 * sysdeps/generic/pty.c: Likewise.
3083 * sysdeps/generic/setenv.c: Likewise.
3084 * sysdeps/generic/speed.c: Likewise.
3085 * sysdeps/generic/sysd-stdio.c: Likewise.
3086 * sysdeps/generic/uname.c: Likewise.
3087 * sysdeps/generic/vlimit.c: Likewise.
3088 * sysdeps/libm-ieee754/k_standard.c: Likewise.
3089 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3090 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
3091 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
3092 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3093 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
3094 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
3095 * sysdeps/posix/dup2.c: Likewise.
3096 * sysdeps/posix/euidaccess.c: Likewise.
3097 * sysdeps/posix/fdopen.c: Likewise.
3098 * sysdeps/posix/flock.c: Likewise.
3099 * sysdeps/posix/fpathconf.c: Likewise.
3100 * sysdeps/posix/getcwd.c: Likewise.
3101 * sysdeps/posix/gettimeofday.c: Likewise.
3102 * sysdeps/posix/isatty.c: Likewise.
3103 * sysdeps/posix/isfdtype.c: Likewise.
3104 * sysdeps/posix/killpg.c: Likewise.
3105 * sysdeps/posix/mkstemp.c: Likewise.
3106 * sysdeps/posix/mktemp.c: Likewise.
3107 * sysdeps/posix/pathconf.c: Likewise.
3108 * sysdeps/posix/pipestream.c: Likewise.
3109 * sysdeps/posix/remove.c: Likewise.
3110 * sysdeps/posix/rename.c: Likewise.
3111 * sysdeps/posix/sigintr.c: Likewise.
3112 * sysdeps/posix/signal.c: Likewise.
3113 * sysdeps/posix/sigsuspend.c: Likewise.
3114 * sysdeps/posix/sigvec.c: Likewise.
3115 * sysdeps/posix/sleep.c: Likewise.
3116 * sysdeps/posix/sysconf.c: Likewise.
3117 * sysdeps/posix/system.c: Likewise.
3118 * sysdeps/posix/tempname.c: Likewise.
3119 * sysdeps/posix/truncate.c: Likewise.
3120 * sysdeps/posix/ttyname.c: Likewise.
3121 * sysdeps/posix/ttyname_r.c: Likewise.
3122 * sysdeps/posix/wait3.c: Likewise.
3123 * sysdeps/standalone/close.c: Likewise.
3124 * sysdeps/standalone/open.c: Likewise.
3125 * sysdeps/standalone/read.c: Likewise.
3126 * sysdeps/standalone/write.c: Likewise.
3127 * sysdeps/stub/__longjmp.c: Likewise.
3128 * sysdeps/stub/accept.c: Likewise.
3129 * sysdeps/stub/access.c: Likewise.
3130 * sysdeps/stub/acct.c: Likewise.
3131 * sysdeps/stub/adjtime.c: Likewise.
3132 * sysdeps/stub/alarm.c: Likewise.
3133 * sysdeps/stub/bind.c: Likewise.
3134 * sysdeps/stub/brk.c: Likewise.
3135 * sysdeps/stub/chdir.c: Likewise.
3136 * sysdeps/stub/chflags.c: Likewise.
3137 * sysdeps/stub/chmod.c: Likewise.
3138 * sysdeps/stub/chown.c: Likewise.
3139 * sysdeps/stub/chroot.c: Likewise.
3140 * sysdeps/stub/clock.c: Likewise.
3141 * sysdeps/stub/close.c: Likewise.
3142 * sysdeps/stub/closedir.c: Likewise.
3143 * sysdeps/stub/connect.c: Likewise.
3144 * sysdeps/stub/ctermid.c: Likewise.
3145 * sysdeps/stub/cuserid.c: Likewise.
3146 * sysdeps/stub/dirfd.c: Likewise.
3147 * sysdeps/stub/dup.c: Likewise.
3148 * sysdeps/stub/dup2.c: Likewise.
3149 * sysdeps/stub/euidaccess.c: Likewise.
3150 * sysdeps/stub/execve.c: Likewise.
3151 * sysdeps/stub/fchdir.c: Likewise.
3152 * sysdeps/stub/fchflags.c: Likewise.
3153 * sysdeps/stub/fchmod.c: Likewise.
3154 * sysdeps/stub/fchown.c: Likewise.
3155 * sysdeps/stub/fcntl.c: Likewise.
3156 * sysdeps/stub/fdopen.c: Likewise.
3157 * sysdeps/stub/fexecve.c: Likewise.
3158 * sysdeps/stub/flock.c: Likewise.
3159 * sysdeps/stub/fork.c: Likewise.
3160 * sysdeps/stub/fpathconf.c: Likewise.
3161 * sysdeps/stub/fstatfs.c: Likewise.
3162 * sysdeps/stub/fsync.c: Likewise.
3163 * sysdeps/stub/ftruncate.c: Likewise.
3164 * sysdeps/stub/fxstat.c: Likewise.
3165 * sysdeps/stub/getcwd.c: Likewise.
3166 * sysdeps/stub/getdents.c: Likewise.
3167 * sysdeps/stub/getdomain.c: Likewise.
3168 * sysdeps/stub/getdtsz.c: Likewise.
3169 * sysdeps/stub/getegid.c: Likewise.
3170 * sysdeps/stub/getenv.c: Likewise.
3171 * sysdeps/stub/geteuid.c: Likewise.
3172 * sysdeps/stub/getgid.c: Likewise.
3173 * sysdeps/stub/getgroups.c: Likewise.
3174 * sysdeps/stub/gethostid.c: Likewise.
3175 * sysdeps/stub/gethostname.c: Likewise.
3176 * sysdeps/stub/getitimer.c: Likewise.
3177 * sysdeps/stub/getlogin.c: Likewise.
3178 * sysdeps/stub/getlogin_r.c: Likewise.
3179 * sysdeps/stub/getpagesize.c: Likewise.
3180 * sysdeps/stub/getpeername.c: Likewise.
3181 * sysdeps/stub/getpid.c: Likewise.
3182 * sysdeps/stub/getppid.c: Likewise.
3183 * sysdeps/stub/getpriority.c: Likewise.
3184 * sysdeps/stub/getrlimit.c: Likewise.
3185 * sysdeps/stub/getrusage.c: Likewise.
3186 * sysdeps/stub/getsid.c: Likewise.
3187 * sysdeps/stub/getsockname.c: Likewise.
3188 * sysdeps/stub/getsockopt.c: Likewise.
3189 * sysdeps/stub/getsysstats.c: Likewise.
3190 * sysdeps/stub/gettimeofday.c: Likewise.
3191 * sysdeps/stub/getuid.c: Likewise.
3192 * sysdeps/stub/gtty.c: Likewise.
3193 * sysdeps/stub/ioctl.c: Likewise.
3194 * sysdeps/stub/isatty.c: Likewise.
3195 * sysdeps/stub/isfdtype.c: Likewise.
3196 * sysdeps/stub/kill.c: Likewise.
3197 * sysdeps/stub/killpg.c: Likewise.
3198 * sysdeps/stub/link.c: Likewise.
3199 * sysdeps/stub/listen.c: Likewise.
3200 * sysdeps/stub/lseek.c: Likewise.
3201 * sysdeps/stub/lxstat.c: Likewise.
3202 * sysdeps/stub/madvice.c: Likewise.
3203 * sysdeps/stub/mkdir.c: Likewise.
3204 * sysdeps/stub/mkfifo.c: Likewise.
3205 * sysdeps/stub/mkstemp.c: Likewise.
3206 * sysdeps/stub/mktemp.c: Likewise.
3207 * sysdeps/stub/mmap.c: Likewise.
3208 * sysdeps/stub/morecore.c: Likewise.
3209 * sysdeps/stub/mprotect.c: Likewise.
3210 * sysdeps/stub/msgctl.c: Likewise.
3211 * sysdeps/stub/msgget.c: Likewise.
3212 * sysdeps/stub/msgrcv.c: Likewise.
3213 * sysdeps/stub/msgsnd.c: Likewise.
3214 * sysdeps/stub/msync.c: Likewise.
3215 * sysdeps/stub/munmap.c: Likewise.
3216 * sysdeps/stub/nanosleep.c: Likewise.
3217 * sysdeps/stub/nice.c: Likewise.
3218 * sysdeps/stub/nlist.c: Likewise.
3219 * sysdeps/stub/open.c: Likewise.
3220 * sysdeps/stub/opendir.c: Likewise.
3221 * sysdeps/stub/pathconf.c: Likewise.
3222 * sysdeps/stub/pause.c: Likewise.
3223 * sysdeps/stub/pipe.c: Likewise.
3224 * sysdeps/stub/pipestream.c: Likewise.
3225 * sysdeps/stub/poll.c: Likewise.
3226 * sysdeps/stub/profil.c: Likewise.
3227 * sysdeps/stub/ptrace.c: Likewise.
3228 * sysdeps/stub/putenv.c: Likewise.
3229 * sysdeps/stub/raise.c: Likewise.
3230 * sysdeps/stub/read.c: Likewise.
3231 * sysdeps/stub/readdir.c: Likewise.
3232 * sysdeps/stub/readlink.c: Likewise.
3233 * sysdeps/stub/readv.c: Likewise.
3234 * sysdeps/stub/reboot.c: Likewise.
3235 * sysdeps/stub/recv.c: Likewise.
3236 * sysdeps/stub/recvfrom.c: Likewise.
3237 * sysdeps/stub/recvmsg.c: Likewise.
3238 * sysdeps/stub/remove.c: Likewise.
3239 * sysdeps/stub/rename.c: Likewise.
3240 * sysdeps/stub/revoke.c: Likewise.
3241 * sysdeps/stub/rewinddir.c: Likewise.
3242 * sysdeps/stub/rmdir.c: Likewise.
3243 * sysdeps/stub/sbrk.c: Likewise.
3244 * sysdeps/stub/sched_getp.c: Likewise.
3245 * sysdeps/stub/sched_gets.c: Likewise.
3246 * sysdeps/stub/sched_primax.c: Likewise.
3247 * sysdeps/stub/sched_primin.c: Likewise.
3248 * sysdeps/stub/sched_rr_gi.c: Likewise.
3249 * sysdeps/stub/sched_setp.c: Likewise.
3250 * sysdeps/stub/sched_sets.c: Likewise.
3251 * sysdeps/stub/sched_yield.c: Likewise.
3252 * sysdeps/stub/seekdir.c: Likewise.
3253 * sysdeps/stub/select.c: Likewise.
3254 * sysdeps/stub/semctl.c: Likewise.
3255 * sysdeps/stub/semget.c: Likewise.
3256 * sysdeps/stub/semop.c: Likewise.
3257 * sysdeps/stub/send.c: Likewise.
3258 * sysdeps/stub/sendmsg.c: Likewise.
3259 * sysdeps/stub/sendto.c: Likewise.
3260 * sysdeps/stub/setdomain.c: Likewise.
3261 * sysdeps/stub/setegid.c: Likewise.
3262 * sysdeps/stub/setenv.c: Likewise.
3263 * sysdeps/stub/seteuid.c: Likewise.
3264 * sysdeps/stub/setgid.c: Likewise.
3265 * sysdeps/stub/setgroups.c: Likewise.
3266 * sysdeps/stub/sethostid.c: Likewise.
3267 * sysdeps/stub/sethostname.c: Likewise.
3268 * sysdeps/stub/setitimer.c: Likewise.
3269 * sysdeps/stub/setjmp.c: Likewise.
3270 * sysdeps/stub/setlogin.c: Likewise.
3271 * sysdeps/stub/setpgid.c: Likewise.
3272 * sysdeps/stub/setpriority.c: Likewise.
3273 * sysdeps/stub/setregid.c: Likewise.
3274 * sysdeps/stub/setreuid.c: Likewise.
3275 * sysdeps/stub/setrlimit.c: Likewise.
3276 * sysdeps/stub/setsid.c: Likewise.
3277 * sysdeps/stub/setsockopt.c: Likewise.
3278 * sysdeps/stub/settimeofday.c: Likewise.
3279 * sysdeps/stub/setuid.c: Likewise.
3280 * sysdeps/stub/shmat.c: Likewise.
3281 * sysdeps/stub/shmctl.c: Likewise.
3282 * sysdeps/stub/shmdt.c: Likewise.
3283 * sysdeps/stub/shmget.c: Likewise.
3284 * sysdeps/stub/shutdown.c: Likewise.
3285 * sysdeps/stub/sigaction.c: Likewise.
3286 * sysdeps/stub/sigaltstack.c: Likewise.
3287 * sysdeps/stub/sigblock.c: Likewise.
3288 * sysdeps/stub/sigintr.c: Likewise.
3289 * sysdeps/stub/signal.c: Likewise.
3290 * sysdeps/stub/sigpause.c: Likewise.
3291 * sysdeps/stub/sigpending.c: Likewise.
3292 * sysdeps/stub/sigprocmask.c: Likewise.
3293 * sysdeps/stub/sigreturn.c: Likewise.
3294 * sysdeps/stub/sigsetmask.c: Likewise.
3295 * sysdeps/stub/sigstack.c: Likewise.
3296 * sysdeps/stub/sigsuspend.c: Likewise.
3297 * sysdeps/stub/sigvec.c: Likewise.
3298 * sysdeps/stub/sleep.c: Likewise.
3299 * sysdeps/stub/socket.c: Likewise.
3300 * sysdeps/stub/socketpair.c: Likewise.
3301 * sysdeps/stub/sstk.c: Likewise.
3302 * sysdeps/stub/statfs.c: Likewise.
3303 * sysdeps/stub/stime.c: Likewise.
3304 * sysdeps/stub/stty.c: Likewise.
3305 * sysdeps/stub/swapoff.c: Likewise.
3306 * sysdeps/stub/swapon.c: Likewise.
3307 * sysdeps/stub/symlink.c: Likewise.
3308 * sysdeps/stub/sync.c: Likewise.
3309 * sysdeps/stub/syscall.c: Likewise.
3310 * sysdeps/stub/sysconf.c: Likewise.
3311 * sysdeps/stub/sysd-stdio.c: Likewise.
3312 * sysdeps/stub/system.c: Likewise.
3313 * sysdeps/stub/tcdrain.c: Likewise.
3314 * sysdeps/stub/tcflow.c: Likewise.
3315 * sysdeps/stub/tcflush.c: Likewise.
3316 * sysdeps/stub/tcgetattr.c: Likewise.
3317 * sysdeps/stub/tcgetpgrp.c: Likewise.
3318 * sysdeps/stub/tcsendbrk.c: Likewise.
3319 * sysdeps/stub/tcsetattr.c: Likewise.
3320 * sysdeps/stub/tcsetpgrp.c: Likewise.
3321 * sysdeps/stub/telldir.c: Likewise.
3322 * sysdeps/stub/tempname.c: Likewise.
3323 * sysdeps/stub/time.c: Likewise.
3324 * sysdeps/stub/times.c: Likewise.
3325 * sysdeps/stub/truncate.c: Likewise.
3326 * sysdeps/stub/ttyname.c: Likewise.
3327 * sysdeps/stub/ttyname_r.c: Likewise.
3328 * sysdeps/stub/ualarm.c: Likewise.
3329 * sysdeps/stub/ulimit.c: Likewise.
3330 * sysdeps/stub/umask.c: Likewise.
3331 * sysdeps/stub/unlink.c: Likewise.
3332 * sysdeps/stub/usleep.c: Likewise.
3333 * sysdeps/stub/ustat.c: Likewise.
3334 * sysdeps/stub/utime.c: Likewise.
3335 * sysdeps/stub/utimes.c: Likewise.
3336 * sysdeps/stub/vhangup.c: Likewise.
3337 * sysdeps/stub/wait.c: Likewise.
3338 * sysdeps/stub/wait3.c: Likewise.
3339 * sysdeps/stub/wait4.c: Likewise.
3340 * sysdeps/stub/waitpid.c: Likewise.
3341 * sysdeps/stub/write.c: Likewise.
3342 * sysdeps/stub/writev.c: Likewise.
3343 * sysdeps/stub/xmknod.c: Likewise.
3344 * sysdeps/stub/xstat.c: Likewise.
3345 * sysdeps/unix/closedir.c: Likewise.
3346 * sysdeps/unix/fxstat.c: Likewise.
3347 * sysdeps/unix/getlogin.c: Likewise.
3348 * sysdeps/unix/getlogin_r.c: Likewise.
3349 * sysdeps/unix/mkdir.c: Likewise.
3350 * sysdeps/unix/nice.c: Likewise.
3351 * sysdeps/unix/nlist.c: Likewise.
3352 * sysdeps/unix/opendir.c: Likewise.
3353 * sysdeps/unix/readdir.c: Likewise.
3354 * sysdeps/unix/rmdir.c: Likewise.
3355 * sysdeps/unix/stime.c: Likewise.
3356 * sysdeps/unix/xmknod.c: Likewise.
3357 * sysdeps/unix/xstat.c: Likewise.
3358 * sysdeps/unix/bsd/isatty.c: Likewise.
3359 * sysdeps/unix/bsd/setegid.c: Likewise.
3360 * sysdeps/unix/bsd/seteuid.c: Likewise.
3361 * sysdeps/unix/bsd/setsid.c: Likewise.
3362 * sysdeps/unix/bsd/sigaction.c: Likewise.
3363 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3364 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3365 * sysdeps/unix/bsd/tcflow.c: Likewise.
3366 * sysdeps/unix/bsd/tcflush.c: Likewise.
3367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3369 * sysdeps/unix/bsd/times.c: Likewise.
3370 * sysdeps/unix/bsd/ulimit.c: Likewise.
3371 * sysdeps/unix/common/lxstat.c: Likewise.
3372 * sysdeps/unix/common/tcsendbrk.c: Likewise.
3373 * sysdeps/unix/sysv/setrlimit.c: Likewise.
3374 * sysdeps/unix/sysv/settimeofday.c: Likewise.
3375 * sysdeps/unix/sysv/sigaction.c: Likewise.
3376 * sysdeps/unix/sysv/tcflow.c: Likewise.
3377 * sysdeps/unix/sysv/tcflush.c: Likewise.
3378 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3379 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3380 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3381 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
3382 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
3383 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
3384 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3385 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3386 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
3387 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3388 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3389 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3390 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3391 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
3392 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
3393 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
3394 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
3395 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
3396 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
3397 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
3398 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3399 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3400 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
3402 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
3403 * sunrpc/clnt_udp.c: Likewise.
3404 * sunrpc/bindrsvprt.c: Likewise.
3405 * sunrpc/pm_getmaps.c: Likewise.
3406 * sunrpc/pmap_rmt.c: Likewise.
3407 * sunrpc/svc.c: Likewise.
3408 * sunrpc/svc_run.c: Likewise.
3409 * sunrpc/svc_tcp.c: Likewise.
3410 * sunrpc/svc_udp.c: Likewise.
3412 * sysdeps/generic/strtok.c: Don't check argument, just crash.
3413 * sysdeps/generic/strtok_r.c: Likewise.
3415 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
3416 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
3417 * sysdeps/unix/sparc/start.c: Likewise.
3418 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
3419 * sysdeps/unix/sysv/irix4/start.c: Likewise.
3420 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
3421 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
3422 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3424 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
3426 * catgets/gencat.c (main): Put package name in --version message
3427 in parantheses. Reported by Jim Meyering.
3428 * db/makedb.c: Likewise.
3429 * locale/programs/locale.c: Likewise.
3430 * locale/programs/localedef.c: Likewise.
3432 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
3433 two registers. Patch by John Bowman.
3435 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3437 * sysdeps/mach/libc-lock.h: Fix comment.
3438 * sysdeps/stubs/libc-lock.h: Likewise.
3440 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3442 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
3443 to lock when passing it to __libc_lock_init macro.
3444 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
3445 when passing it to __libc_lock_fini macro.
3447 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3449 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
3450 [_LIBC_REENTRANT]: Add missing semicolon.
3452 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
3453 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
3454 Use the ENTRY macro.
3456 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3458 * libio/Makefile: Make `all' the default target.
3459 * po/Makefile: Likewise.
3461 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
3463 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
3464 I applied it incorrectly.
3465 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3466 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
3467 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
3469 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
3471 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
3472 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
3474 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
3477 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
3478 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
3480 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
3481 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
3482 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
3483 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
3484 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
3486 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3488 * hurd/Makefile (installed-sunrpc-headers): New variable.
3489 (sunrpc-headers): New variable.
3490 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
3491 not just <rpc/netdb.h>.
3492 ($(installed-sunrpc-headers)): Provide rule for all of these.
3494 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3496 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
3497 variable `top_srcdir' in libc; use $(..) instead.
3499 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
3500 definition. It was a *Mistake*. (With a capital M.)
3502 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
3504 (__get_nprocs_conf): Renamed from __get_nproc_conf.
3506 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
3508 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
3509 `_dl_start' so that linking fails if this file should ever be used
3512 * catgets/gencat.c (main): Change --version message according to
3513 RMS' last standard revision.
3514 * db/makedb.c: Likewise.
3515 * locale/programs/locale.c: Likewise.
3516 * locale/programs/localedef.c: Likewise.
3518 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3520 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
3521 (__get_nproc_conf): New function.
3523 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
3525 * resolv/resolv.h: Update to bind-4.9.5-T4B.
3526 * resolv/base64.c: Likewise.
3527 * resolv/res_debug.c: Likewise.
3528 * resolv/res_query.c: Likewise.
3529 * resolv/gethnamaddr.c: Likewise.
3530 * nss/nss_dns/dns-host.c: Likewise.
3531 * resolv/res_comp.c: Likewise.
3532 * resolv/res_send.c: Likewise.
3533 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
3536 * resolv/Banner: New file.
3537 * resolv/Makefile (distribute): Add Banner.
3539 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
3541 * sysdeps/stub/getsysstats.c: New file.
3542 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
3544 * misc/Makefile (headers): Add sys/sysinfo.h.
3545 (routines): Add getsysstats.
3546 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
3547 (sysdep_headers): Remove sys/sysinfo.h.
3548 * sysdeps/generic/sys/sysinfo.h: New file.
3549 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
3550 get_phys_pages, and get_avphys_pages.
3552 * misc/Makefile (routines): Add mntent_r.
3553 * misc/mntent_r.c: New file.
3554 * misc/mntent.c: Remove all functions but getmntent and use
3556 * misc/mntent.h: Add prototype for __getmntent_r.
3557 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
3558 This will not clobber the state in getmntent.
3560 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
3561 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
3562 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
3563 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
3564 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
3565 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
3566 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
3567 * sysdeps/posix/sysconf.c: Likewise.
3568 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
3569 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
3571 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
3573 * version.h (VERSION): Bump to 1.95.
3575 * Make-dist (+tsrcs): Don't filter out files in subdirs which
3576 match files in the sysdeps hierachy (welcome back,
3579 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
3581 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
3583 * locale/loadlocale.c (_nl_free_locale): Remove function.
3584 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
3585 * locale/setlocale.c (setlocale): Don't free locale data of
3586 categories which succeeded to load after a wrong or missing data
3589 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
3590 that it works even when the locale data is not used.
3592 * stdlib/random_r.c: Fix typo in comment.
3593 * stdlib/drand48-iter.c: Likewise.
3594 * stdlib/drand48.c: Likewise.
3595 * stdlib/erand48.c: Likewise.
3596 * stdlib/jrand48.c: Likewise.
3597 * stdlib/lcong48.c: Likewise.
3598 * stdlib/lrand48.c: Likewise.
3599 * stdlib/mrand48.c: Likewise.
3600 * stdlib/nrand48.c: Likewise.
3601 * stdlib/random.c: Likewise.
3602 * stdlib/seed48.c: Likewise.
3603 * stdlib/srand48.c: Likewise.
3604 * misc/search.h: Likewise.
3605 * misc/hsearch.c: Likewise.
3606 * misc/hsearch_r.c: Likewise.
3608 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3610 * sysdeps/mach/getsysstats.c: New file.
3612 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
3613 binary distribution.
3615 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
3616 definition to override dangerous one in Makeconfig.
3618 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
3619 ($(includedir)/rpc/netdb.h): New rule.
3620 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
3623 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3625 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
3626 to guarantee link errors if this is included in ld.so.
3628 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3630 * hurd/hurdinit.c (__libc_argv): Provide common decl.
3631 (_hurd_setproc): Don't declare __libc_argv here.
3633 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3635 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
3636 for actual modifications to global state.
3638 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3640 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
3641 * sysdeps/mach/hurd/Makefile (includes): Add
3642 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
3644 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
3645 struct sched_params.
3646 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
3647 sched_params -> struct sched_param.
3648 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
3649 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
3651 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3653 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
3656 * stdio-common/Makefile: Put lockfile in routines
3659 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
3660 this always, not just if _LIBC_REENTRANT.
3661 (__funlockfile): Don't use weak_extern for this one;
3662 __libc_cleanup_region_end might be defined and the use of
3663 __funlockfile can't be protected the way the use of __flockfile
3666 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
3668 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
3669 instead of localtime.
3670 Reported by Matthias Urlichs.
3672 * shlib-versions: Remove version number for libcrypt.
3673 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
3674 * libc-symbols.h: Define _REENTRANT while compiling libc.
3676 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
3677 Define even if !_LIBC_REENTRANT.
3678 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
3681 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
3684 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
3685 * po/header.pot: Correct title line.
3688 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
3690 * Makeconfig (soversions.mk): Prefer shared lib version numbers
3691 is add ons over version in libc itself.
3693 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
3694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
3697 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
3698 _IO_flockfile and _IO_funlockfile resp.
3700 * locale/categories.def: Partly support for correct `era' handling
3701 in LC_TIME category.
3702 * locale/langinfo.h: Likewise.
3703 * locale/programs/ld-time.c: Likewise.
3704 * locale/localeinfo.h: Change comment a bit.
3706 * malloc/memalign.c: Don't use goto, not necessary anymore.
3708 1996-09-18 Paul Eggert <eggert@twinsun.com>
3710 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
3711 is negative, or if time_t is unsigned.
3712 * time/strftime.c (tm_diff): Work correctly even if tm_year
3715 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3717 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
3718 all three versions of the math function.
3719 (__inline_mathopf, __inline_mathopl): Removed.
3720 (__inline_functions): New temporary definition containing all
3721 non-trivial inline functions.
3723 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
3725 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
3727 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
3729 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
3732 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
3734 * sysdeps/stub/fpu_control.h: Correct end of file comment.
3736 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
3738 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
3739 stdio-common/test-popen.c: Remove temporary files after test.
3740 * stdio-common/bug5.c: Use `system' instead of `execlp'.
3741 Patches by Andreas Jaeger.
3743 * stdio-common/bug5.c: Create string for `system' argument to
3744 make sure the input and output file names are really correct.
3746 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3748 * configure.in: If $os contains a hyphen add the part before the
3751 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3753 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
3754 __ieee754_powl): Rename local variable i to __i.
3755 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
3757 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
3758 sysdeps/m68k/fpu/e_atan2l.c: New files.
3760 1996-09-15 Paul Eggert <eggert@twinsun.com>
3762 * manual/time.texi: Change `range X to Y' to `range X through
3763 Y', to avoid ambiguity in English.
3765 (strftime): Numbers that do not have a range indicated are not padded.
3766 Describe E and O modifiers.
3767 %g, %G, %u: New formats.
3768 %C, %y, %Y: Describe behavior on negative years.
3769 %e: Fix typo (was labeled %d).
3770 %l, %V: Fix typo in range.
3771 %M, %S, %U, %w, %W: Give ranges.
3772 %p: Clarify how noon and midnight are handled for AM and PM.
3773 %s: Clarify leap second handling.
3774 %r: Now locale-defined.
3775 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
3776 %z: Say that it is a GNU extension.
3779 * time/strftime.c: (strftime):
3780 %V: Fix mishandling of week numbers near year boundaries.
3781 %g, %G: New formats (suggested by Arthur David Olson).
3782 %U, %W: Use inline expression instead of `week' function.
3783 %C, %y: Handle negative years portably.
3784 %C, %Y: Use width 1, since values can be arbitrarily wide.
3785 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
3786 %u: New Posix.2 format.
3787 %w: Width is 1, not 2.
3788 (iso_week_days): New function, for %V, %G, %g.
3789 (week): Remove; it didn't handle %V correctly.
3790 (__isleap): New macro.
3791 (mbsinit): Use arg, to pacify GCC -Wall.
3793 1996-09-13 Paul Eggert <eggert@twinsun.com>
3795 * time/strftime.c (strftime):
3796 If using the GNU C library, do not bother to check for
3797 multibyte encodings, since they're safe in formats. Otherwise:
3798 - Check for multibyte encodings when encountering any character that
3799 is not in the basic execution character set of the C Standard.
3800 - Use mbrlen (if available) instead of mblen, to avoid modifying
3801 mblen's internal state.
3802 - Do not assume that '%' cannot appear as the first character of a
3803 multibyte character sequence, since this is possible when not in the
3804 initial shift state.
3805 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
3806 (DO_MULTIBYTE): New macro.
3807 (<ctype.h>): Do not include.
3808 (<wchar.h>): Include if HAVE_MBRLEN.
3809 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
3810 (mbstate_zero): New constant.
3812 1996-09-12 Paul Eggert <eggert@twinsun.com>
3814 * time/strftime.c (strftime):
3815 Use an empty zone if it can't be determined; POSIX.2 requires this.
3816 Use plain `int' for pad and modifier (which now contain char value).
3817 Use plain `int' for number_value, to print negative values correctly.
3818 Use plain `int' for digits; there was no need to make it unsigned.
3819 Initialize subfmt consistently.
3820 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
3821 For %O, if there is no alternate digit, output Ascii instead of "".
3822 Output the `%' of an unknown format; this is most likely the right
3823 thing to do if a multibyte string has been misparsed.
3825 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3827 * stdio-common/scanf7.c (main): Remove extra conversion from
3828 printf format string.
3830 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3832 * stdlib/test-canon.c (tests): Rename structure member from errno
3833 to error, all uses changed.
3835 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3837 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
3839 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3840 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
3842 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3843 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
3844 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
3846 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
3847 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
3849 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
3850 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
3852 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3854 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
3855 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
3857 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3859 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
3860 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
3862 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3864 * inet/herrno.c (__h_errno_location): Fix return type.
3866 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3868 * hurd/hurdinit.c (__libc_argv): Provide common decl.
3869 (_hurd_setproc): Don't declare __libc_argv here.
3871 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
3873 * sched.h: New file. Helper to access posix/sched.h.
3874 * posix/sched.h: Change `sched_params' to `sched_param' to follow
3877 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
3879 * db/makedb.c (usage): Print bug report address separately to
3880 ease translators task.
3881 * catgets/gencat.c (usage): Likewise.
3882 * locale/locale.c (usage): Likewise.
3883 * locale/localedef.c (usage): Likewise.
3885 1996-09-12 Paul Eggert <eggert@twinsun.com>
3887 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
3888 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
3889 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
3891 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
3893 * crypt/Makefile: Include Makeconfig and add crypt object dir to
3894 rpath-link so that running the check finds the new library.
3895 * crypt/cert.c: provide correct prototypes to prevent warnings.
3896 Reported by Andreas Jaeger.
3898 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
3899 old and new value must be glued using `:'.
3900 Reported by Marcus Daniels.
3902 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3904 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
3905 accidentally added on.
3907 * sysdeps/stub/intr-msg.h: New file.
3909 * stdio-common/vfprintf.c: Include <libc-lock.h>.
3910 * stdio-common/vfscanf.c: Include <libc-lock.h>.
3912 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
3914 (__libc_cleanup_region_end): New macro.
3916 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3918 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
3919 accidentally added on.
3921 * sysdeps/stub/intr-msg.h: New file.
3923 * stdio-common/vfprintf.c: Include <libc-lock.h>.
3924 * stdio-common/vfscanf.c: Include <libc-lock.h>.
3926 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
3928 (__libc_cleanup_region_end): New macro.
3930 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
3932 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
3933 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3934 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
3936 1996-09-11 Paul Eggert <eggert@twinsun.com>
3938 * strftime.c (strftime):
3939 Handle E and O modifiers, required for POSIX.2 and XPG4.
3940 Don't use sprintf to format numbers; this way, we can handle time_t
3941 correctly regardless of whether it's signed.
3942 Don't dump core if format ends in %.
3943 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
3945 Use tm_gmtoff if available.
3946 Output nothing if tm_isdst is negative.
3947 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
3948 Don't assume that UTC offset is less than 24 hours;
3949 Posix requires support for 24 hours, and there's no point
3951 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
3952 (CHAR_BIT): Define if <limits.h> doesn't.
3953 (tm_diff): New function.
3954 (fmt, <stdio.h>): Remove; no longer used.
3956 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
3958 * db/Makefile: Add extra-libs-others variable so that shared
3959 library is built in `others' pass.
3960 * elf/Makefile: Likewise.
3961 * math/Makefile: Likewise.
3962 * resolv/Makefile: Likewise.
3964 * Makefile (generated): Add version.info.h.
3966 * time/checktab.awk: New file. From ADO 96k.
3967 * time/iso3166.tab: Likewise.
3968 * time/tzselect.ksh: Likewise.
3969 * time/zone.tab: Likewise.
3971 * stdio-common/vfprintf.c: Correct cleanup registration. We
3974 1996-09-11 Paul Eggert <eggert@twinsun.com>
3976 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
3977 __USE_BSD; this is required for ANSI C compatibility.
3978 * manual/time.texi: Replace GMT by UTC, daylight savings by
3979 daylight saving, timezone by time zone.
3980 Rewrite description of %V to match ISO 8601.
3981 Fix TZ Posix string example for US Eastern time.
3982 Explain tzname[1] when DST isn't used.
3983 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
3984 Explain that timezone's sign is opposite from tm_gmtoff, and that
3985 timezone lacks DST adjustment whereas tm_gmtoff has it.
3986 Deprecate tzname and timezone.
3988 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3990 Implement Roland McGrath's idea of how to put an .interp into
3992 * interp.c: New file.
3993 * Makerules (interp-obj): New object, linked into every shared
3995 (common-generated): Add interp.so.
3996 (CFLAGS-interp.c): Pass name of interpreter.
3998 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4000 * db/Makefile: Fix typo.
4002 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4004 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
4005 occurences of the same uid, and only generate a mapping for the
4008 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4010 * sysdeps/unix/sysv/linux/system.c: New file, to override
4011 sysdeps/unix/system.c.
4013 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4015 * Makefile (before-compile): Add version-info.h, needed to build
4018 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4020 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
4021 EWOULDBLOCK, never true on Linux.
4022 (__errno_location): New function.
4023 [_LIBC_REENTRANT]: Set errno using __errno_location function.
4024 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
4025 syscall_error handler for reentrant libc.
4027 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4029 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
4031 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
4033 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
4035 * time/tzfile.c (compute_tzname_max): Likewise.
4037 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
4039 * configure.in: Quote $add_ons argument in loop to generated
4042 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
4044 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
4046 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4048 * elf/dl-cache.c: Rename to ...
4049 * sysdeps/generic/dl-cache.c: ... here.
4050 * sysdeps/mach/hurd/dl-cache.c: New file.
4052 * mach/Makefile (distribute): Add `errsystems.awk'.
4053 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
4054 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
4055 * hurd/intr-rpc.awk: Likewise.
4056 * hurd/invoke-trans.c: Likewise.
4057 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
4058 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
4059 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
4060 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
4061 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
4062 * sysdeps/stub/init-fault.c: Likewise.
4063 * sysdeps/stub/longjmp-ctx.c: Likewise.
4065 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
4067 * inet/herrno.c: Initialize `h_errno' so that we can provide
4070 * Makefile (version-info.h): Fix typo in shell script.
4072 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
4073 * sysdeps/i386/i586/strchr.S: Likewise.
4075 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
4077 * version.c (banner): Report to bug-glibc@prep not @gnu.
4078 Reported by Andreas Jaeger.
4080 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
4082 [__USE_REENTRANT]: Don't define
4084 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
4086 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
4087 when it is the third byte in the string. Reported by
4089 * string/tester.c: Add tests for above bug to strlen, strchr, and
4092 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>