1 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
3 * grp/initgroups.c: Update and reformat copyright.
4 Use __getgrent_r instead of getgrent.
6 * inet/rcmd.c: Update and reformat copyright.
7 Use __gethostbyname_r instead of gethostbyname.
8 * inet/rexec.c: Likewise.
10 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
11 * locale/findlocale.c: Likewise.
12 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
13 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
14 * locale/setlocale.c (setlocale): Correctly split value of
16 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
17 find output directory.
19 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
21 Save error value from being changed during `free' call.
22 * nss/getXXent.c: Likewise.
24 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
25 before returning ERANGE error.
27 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
30 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
32 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
33 * sunrpc/clnt_simp.c: Likewise.
34 * sunrpc/getrpcport.c: Likewise.
35 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
37 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
38 since the value might be outsode the range of the `long int'.
39 Print string `undefined' when a value is undefined.
41 * stdlib/l64a.c: Return correct pointer.
42 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
44 * string/Makefile (routines): Add argz-addsep.
45 * string/argz-addsep.c: New file.
46 * string/argz.h: Add prototypes for argz_add_sep.
48 * string/argz-ctsep.c: Prevent memory leak.
50 * string/strcoll.c: Correct typo in comment.
52 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
54 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
55 not general enough to be part of the libc.
56 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
57 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
59 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
61 * login/Makefile: Fix typo.
63 * nss/Makefile (generated): Filter out db-alias.c.
65 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
67 * time/Makefile (echo-zonenames): Don't depend on non-existing
70 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
73 * nss/nsswitch.c: Use it.
75 * printf.h: Fix file name.
76 * stdlib/strfmon.c: Use it.
78 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
80 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
81 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
82 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
83 Add netinet/in_systm.h.
84 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
86 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
88 * libio/fileops.c: Update from latest libg++.
90 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
92 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
93 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
94 instead of __libc_lock_init for streams.
95 Reported by a sun <asun@zoology.washington.edu>.
97 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
99 * sysdeps/generic/errno-loc.c: New file. Generic definition of
100 __errno_location function.
101 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
103 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
104 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
107 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
108 and crypt add-on and warn if not available.
110 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
112 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
114 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
115 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
117 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
119 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
120 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
121 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
122 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
124 Patch by Richard Henderson <rth@tamu.edu>.
126 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
127 pciconfig_read and pciconfig_write.
128 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
129 pciconfig_read and pciconfig_write.
131 * login/getutent_r.c: Fix several bugs in last change.
133 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
135 * Makefile: Fix typo.
137 * configure: Require autoconf-2.11.
139 * elf/dl-deps.c: Terminate duplicate list.
141 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
142 * libio/strfile.h: Update from current libg++.
143 * libio/strops.c: Likewise.
145 * login/Makefile (routines): Update after correction of reentrant
147 * login/endutent.c: Removed.
148 * login/endutent_r.c: Likewise.
149 * login/pututline.c: Likewise.
150 * login/pututline_r.c: Likewise.
151 * login/setutent.c: Likewise.
152 * login/setutent_r.c: Likewise.
153 * login/getutent.c: Update for new interface.
154 * login/getutent_r.c: Likewise.
155 * login/getutid.c: Likewise.
156 * login/getutid_r.c: Likewise.
157 * login/getutline.c: Likewise.
158 * login/getutline_r.c: Likewise.
159 * login/login.c: Likewise.
160 * login/logout.c: Likewise.
161 * login/logwtmp.c: Likewise.
162 * login/utmp.h: Likewise.
163 * sysdeps/unix/getlogin.c: Likewise.
164 * sysdeps/unix/getlogin_r.c: Likewise.
165 * login/utmp-private.h: New private header.
166 * login/utmp_db.c: Stub DB backend for utmp handler.
167 * login/utmp_file.c: File backend for utmp handler.
168 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
169 (enum utlogin): List of record types.
170 (struct exit_status): Record to align with other implementations.
172 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
173 * sysdeps/unix/sysv/linux/paths.h: Likewise.
175 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
177 * sysdeps/stub/getlogin.c: Update copyright.
178 * sysdeps/stub/getlogin_r.c: Likewise.
180 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
181 * nss/getXXent_r.c: Likewise.
182 * nss/nsswitch.c: Likewise.
184 * posix/Makefile (headers): Add wait.h.
185 * posix/wait.h: New file.
187 * posix/sys/types.h: Always define intN_t types.
189 * stdio-common/Makefile: Update copyright.
190 Use -Wno-format flag for scanf4.c and scanf7.c.
192 * stdlib/stdlib.h: Reformat.
194 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
196 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
197 move the current contents to the end and relocate file name
198 pointer to upper half of the buffer.
200 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
202 * time/africa: Update from ADO tzdata1996m.
203 * time/antarctica: Likewise.
204 * time/asia: Likewise.
205 * time/australia: Likewise.
206 * time/etcetera: Likewise.
207 * time/europe: Likewise.
208 * time/nothamerica: Likewise.
209 * time/southameria: Likewise.
210 * time/zone.tab: Likewise.
212 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
213 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
215 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
217 * posix/wait.h: New file.
218 * posix/Makefile (headers): Add wait.h.
220 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
222 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
223 expression instead of shell pattern matching.
224 * shlib-versions: Change to regular expressions.
226 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
228 * io/stat.c: Add section from libgcc to copyright comment
229 to allow this file to be statically linked in applications.
230 * io/fstat.c: Likewise.
231 * io/lstat.c: Likewise.
232 * io/mknod.c: Likewise.
234 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
236 * csu/initfini.c: Add section from libgcc to copyright comment
237 to allow this file to be statically linked in applications.
239 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
241 (obstack_grow, obstack_grow0): Correct placement of braces.
243 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
244 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
246 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
248 * Makerules (make-link): Simplify by changing directory only if
249 not using rellns-sh; check whether we really have symbolic links.
251 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
252 $(dirname $1); use status of ln for exit code; make more robust
253 against multiple slashes in a row.
255 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
257 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
259 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
260 the three-part name, to distinguish correctly from *-*-linux-gnu*.
262 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
265 * sysdeps/mach/hurd/Makefile (install-others): Add
267 ($(libdir)/libc_p.a): New rule.
268 * sysdeps/mach/hurd/libc_p-ldscript: New file.
269 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
271 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
273 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
274 * time/Makefile: Likewise.
276 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
277 * sysdeps/alpha/elf/Dist: New file.
278 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
279 The bits currently distributed with GCC fail in two ways -- they don't
280 understand multiple .got subsections and the extents of the lists are
281 dynamicly bound meaning that the application's lists get executed
282 multiple times and the library's lists never get executed.
284 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
286 * stdlib/strtod.c: Fix previous change.
288 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
290 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
293 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
295 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
298 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
300 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
301 alias of __sigsuspend.
303 * grp/grp.h: Correct comment about POSIX compliance.
304 * pwd/pwd.h: Likewise.
306 * login/utmp.h: Update copyright and pretty-print prototypes.
307 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
308 _PATH_WTMP from utmpbits.h.
309 * sysdeps/unix/sysv/linux/paths.h: Likewise.
310 * sysdeps/generic/utmpbits.h: Remove here.
311 * sysdeps/gnu/utmpbits.h: Likewise.
313 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
314 Pretty-print prototypes.
316 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
319 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
321 * inet/ether_hton.c: Include <string.h>.
322 * inet/ether_ntoh.c: Likewise.
323 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
324 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
326 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
327 to define. Jim Nance reports problems building XEmacs otherwise.
329 * resolv/gethnamaddr.c: Protect h_errno redefinition.
330 * resolv/getnetnamadr.c: Likewise.
331 * resolv/herror.c: Likewise.
333 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
334 with -traditional. Reported by Eric Youngdale. While we're at this,
335 don't do error checking in the __ functions. This is consistent
336 with the sysv4 definitions and seems Right.
337 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
338 prototype for __sigsuspend.
339 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
340 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
341 * sysdeps/posix/sigpause.c: Likewise.
342 * sysdeps/posix/sigsetmask.c: Likewise.
343 * sysdeps/posix/sigvec.c: Likewise.
344 * sysdeps/posix/sigintr.c: Reformat copyright.
345 * sysdeps/posix/signal.c: Check signal number out of range since
346 __sigismember doesn't anymore. Reformat copyright.
347 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
348 sigdelset, sigaction, and sigsuspend.
350 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
351 to the wider type before shifting.
353 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
354 without .set noat" in profiling hook.
355 * sysdeps/alpha/bsd-setjmp.S: Likewise.
356 * sysdeps/alpha/htonl.S: Likewise.
357 * sysdeps/alpha/htons.S: Likewise.
358 * sysdeps/alpha/s_copysign.S: Likewise.
359 * sysdeps/alpha/setjmp.S: Likewise.
360 * sysdeps/alpha/stpcpy.S: Likewise.
361 * sysdeps/alpha/strcat.S: Likewise.
362 * sysdeps/alpha/strcpy.S: Likewise.
363 * sysdeps/alpha/strncat.S: Likewise.
364 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
365 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
366 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
367 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
368 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
369 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
370 function to __sigsuspend and add weak alias.
371 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
373 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
375 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
376 SYSCALL__ actually generated.
378 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
379 #define __set_errno, as several imported subsystems (eg. BIND) check
380 that the symbol is defined.
382 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
384 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
385 that manifests in GCC.
387 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
389 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
390 * sysdeps/posix/readv.c (readv): Likewise.
392 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
394 * nss/nss_dns/dns-network.c: Change return type of all functions
396 Reported by NIIBE Yutaka.
397 * nss/nss_dns/dns-host.c: Update copyright.
399 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
401 * config.make.in: Remove definition of top_absdir.
402 * configure.in: Likewise. Use $(..) instead.
403 * Makerules (make-link): Use $(..) to find rellns-sh script.
405 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
407 * manual/nss.texi (Name Service Switch): Fix reference to
410 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
415 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
417 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
418 variable from __stat to __status to prevent shadowing.
419 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
420 for parameter __wait.
421 Reported by NIIBE Yutaka.
423 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
425 * misc/regexp.c: New file. Implementation of obsolete interface
426 to regular expression matcher (required in XPG4.2).
427 * misc/regexp.h: New file. Header for above.
428 * misc/Makefile (headers): Add regexp.h.
429 (routines): Add regexp.c.
432 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
434 * stdlib/tst-strtod.c (main): Add arguments for main.
435 * stdlib/tst-strtol.c (main): Likewise.
437 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
439 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
441 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
442 and sysconfdir to /etc if $prefix is /usr.
443 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
445 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
446 $(have-bash2) is yes.
447 * elf/ldd.bash.in: Add copyright and various cleanups.
448 * elf/ldd.sh.in: Likewise.
451 * elf/dlfcn.h: Define RTLD_NEXT.
452 * elf/dl-deps.c: Build second searchlist which contains duplicates.
453 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
454 for RTLD_NEXT lookup.
455 Rewrite _dl_lookup_symbol to put common parts for both lookup
456 functions in a separate function.
457 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
458 * elf/link.h (struct link_map): Add l_dupsearchlist and
460 Add prototype for _dl_lookup_symbol_skip.
462 * sunrpc/Makefile (rpcsvc): Add rusers.
463 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
464 * sunrpc/rpcsvc/rusers.x: New file.
466 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
468 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
469 __libc_lock_init for local lock.
470 Reported by a sun <asun@zoology.washington.edu>.
471 [!USE_IN_LIBIO] (PAD): Optimize a bit.
473 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
475 * db/makedb.c: Update and reformat copyright.
476 * elf/Makefile: Likewise.
477 * elf/dl-close.c: Likewise.
478 * elf/dl-debug.c: Likewise.
479 * elf/dl-deps.c: Likewise.
480 * elf/dl-error.c: Likewise.
481 * elf/dl-fini.c: Likewise.
482 * elf/dl-init.c: Likewise.
483 * elf/dl-load.c: Likewise.
484 * elf/dl-lookup.c: Likewise.
485 * elf/dl-minimal.c: Likewise.
486 * elf/dl-object.c: Likewise.
487 * elf/dl-open.c: Likewise.
488 * elf/dl-reloc.c: Likewise.
489 * elf/dl-runtime.c: Likewise.
490 * elf/dl-support.c: Likewise.
491 * elf/dl-symbol.c: Likewise.
492 * elf/dladdr.c: Likewise.
493 * elf/dlclose.c: Likewise.
494 * elf/dlerror.c: Likewise.
495 * elf/dlopen.c: Likewise.
496 * elf/dlsym.c: Likewise.
497 * elf/do-rel.h: Likewise.
498 * elf/dynamic-link.h: Likewise.
499 * elf/eval.c: Likewise.
500 * elf/rtld.c: Likewise.
501 * inet/ether_hton.c: Likewise.
502 * inet/ether_ntoh.c: Likewise.
503 * inet/ether_line.c: Likewise.
504 * inet/getnetgrent_r.c: Likewise.
506 * inet/Makefile (+gccwarn): Remove definition.
507 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
509 * inet/aliases.h: Add C++ protection.
510 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
511 (ether_hostton): Remove unused variable result.
512 * inet/ether_ntoh.c: Likewise.
513 * inet/ether_line.c: Include <ctype.h> and <string.h>.
514 * inet/getnetgrent_r.c: Include <stdlib.h>.
515 Use casts to prevent warnings.
516 (innetgr): Initialize `known' and `needed'.
517 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
518 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
519 return NULL. Instead set *RESULT to NULL and return -1.
520 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
521 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
523 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
526 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
528 * sysdeps/posix/readv.c: Don't use PTR anymore.
529 * sysdeps/posix/writev.c: Likewise.
531 * version.h (VERSION): Bump to 1.98.
533 * nss/db-Makefile: Generate lines for getXXXent iteration.
535 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
536 divqu.S, remlu.S, and remqu.S.
538 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
540 * posix/unistd.h: Correct typo in documentation.
542 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
544 * inet/netinet/tcp.h: Use __ protected versions instead of
545 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
547 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
549 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
550 references in libc.so are not anymore undefined.
552 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
554 * io/utime.h: Rename second parameter for utime to prevent warning
556 * dirent/dirent.h: Same here for scandir prototype.
557 * math/mathcalls.h: Likewise for frexp and ldexp.
558 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
560 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
562 * stdlib/tst-strtod.c: Add test for error case below.
564 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
566 * stdlib/strtod.c: Recognize numbers like 0e-19.
568 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
570 * time/Makefile ($(installed-localtime-file)): Fix path to
573 * Makefile: Don't generate and install gnu/lib-names.h if
574 $(build-shared) is not `yes'.
576 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
578 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
579 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
581 * Makerules (REAL_MAKE_VERSION): New, use it instead of
584 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
586 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
587 * nss/getXXent_r.c: Fix typo. Set correct return value when
588 no further service is available.
590 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
592 * db/recno/rec_put.c: Add cast to avoid warning.
593 * db/recno/rec_close.c: Likewise.
594 * db/mpool/mpool.c: Likewise.
595 * db/hash/hash_bigkey.h: Likewise.
596 * db/hash/hash.c: Likewise.
597 * db/btree/bt_split.c: Likewise.
598 * db/btree/bt_put.c: Likewise.
600 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
602 * dirent/dirent.h: Update copyright.
603 * elf/elf.h: Likewise.
604 * elf/link.h: Likewise.
605 * gmon/sys/gmon_out.h: Likewise.
606 * gnu-versions.h: Likewise.
607 * intl/libintl.h: Likewise.
608 * io/fcntl.h: Likewise.
609 * io/ftw.h: Likewise.
610 * io/sys/statfs.h: Likewise.
611 * io/utime.h: Likewise.
612 * locale/langinfo.h: Likewise.
613 * malloc/malloc.h: Likewise.
614 * malloc/obstack.h: Likewise.
615 * misc/ar.h: Likewise.
616 * misc/error.h: Likewise.
617 * misc/mntent.h: Likewise.
618 * misc/sgtty.h: Likewise.
619 * misc/sys/cdefs.h: Likewise.
620 * misc/sys/dir.h: Likewise.
621 * misc/sys/file.h: Likewise.
622 * misc/sys/ioctl.h: Likewise.
623 * misc/sys/ustat.h: Likewise.
624 * posix/fnmatch.h: Likewise.
625 * posix/getopt.h: Likewise.
626 * posix/glob.h: Likewise.
627 * posix/posix2_lim.h: Likewise.
628 * posix/regex.h: Likewise.
629 * posix/sys/times.h: Likewise.
630 * posix/sys/types.h: Likewise.
631 * posix/sys/utsname.h: Likewise.
632 * posix/tar.h: Likewise.
633 * posix/wordexp.h: Likewise.
634 * resource/sys/resource.h: Likewise.
635 * resource/sys/vlimit.h: Likewise.
636 * resource/sys/vtimes.h: Likewise.
637 * socket/sys/socket.h: Likewise.
638 * socket/sys/un.h: Likewise.
639 * stdio-common/printf.h: Likewise.
640 * stdlib/alloca.h: Likewise.
641 * string/argz.h: Likewise.
642 * string/endian.h: Likewise.
643 * string/envz.h: Likewise.
644 * string/memory.h: Likewise.
645 * string/strings.h: Likewise.
646 * sysdeps/generic/crypt.h: Likewise.
647 * sysdeps/generic/direntry.h: Likewise.
648 * sysdeps/generic/gnu/types.h: Likewise.
649 * sysdeps/generic/ioctl-types.h: Likewise.
650 * sysdeps/generic/netinet/in.h: Likewise.
651 * sysdeps/generic/resourcebits.h: Likewise.
652 * sysdeps/generic/sigset.h: Likewise.
653 * sysdeps/generic/sockaddrcom.h: Likewise.
654 * sysdeps/generic/sys/mman.h: Likewise.
655 * sysdeps/generic/sys/ptrace.h: Likewise.
656 * sysdeps/generic/termbits.h: Likewise.
657 * sysdeps/generic/waitstatus.h: Likewise.
658 * sysdeps/ieee754/huge_val.h: Likewise.
659 * sysdeps/ieee754/nan.h: Likewise.
660 * sysdeps/mach/hurd/local_lim.h: Likewise.
661 * sysdeps/mach/hurd/statbuf.h: Likewise.
662 * sysdeps/stub/huge_val.h: Likewise.
663 * sysdeps/stub/libc-lock.h: Likewise.
664 * sysdeps/stub/signum.h: Likewise.
665 * sysdeps/stub/statbuf.h: Likewise.
666 * sysdeps/stub/waitflags.h: Likewise.
667 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
668 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
669 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
670 * sysdeps/unix/bsd/signum.h: Likewise.
671 * sysdeps/unix/bsd/statbuf.h: Likewise.
672 * sysdeps/unix/bsd/sun/signum.h: Likewise.
673 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
674 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
675 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
676 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
677 * sysdeps/unix/bsd/waitflags.h: Likewise.
678 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
679 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
680 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
681 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
682 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
683 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
684 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
685 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
686 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
687 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
688 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
689 * sysdeps/unix/sysv/linux/signum.h: Likewise.
690 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
691 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
692 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
693 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
694 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
695 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
696 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
697 * sysdeps/unix/sysv/local_lim.h: Likewise.
698 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
699 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
700 * sysdeps/unix/sysv/signum.h: Likewise.
701 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
702 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
703 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
704 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
705 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
706 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
707 * sysdeps/vax/huge_val.h: Likewise.
708 * values.h: Likewise.
710 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
712 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
713 `memcpy' using bcopy if memcpy is not available.
715 * manual/stdio.texi: Correct description of printf customization.
716 The argument info function is not optional anymore and the
717 interface for `printf_function' also changed.
718 * manual/examples/rprintf.c: Define and use argument info function.
720 * stdio-common/printf.h (struct printf_info): Change type for field
722 Correct comment for `register_printf_function'.
724 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
725 to reentrant function. Instead use temporary variable and set
726 h_errno if an error occured.
727 Reported by NIIBE Yutaka.
729 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
731 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
732 S_ITRANS): New macros.
733 (S_ISPARE): Update to include new macros and S_IUSEUNK.
735 * sysdeps/mach/hurd/select.c (__select): Construct arg to
736 mach_msg_destroy more nicely.
738 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
740 * stdio/fopen.c (__getmode): Declare with prototype.
741 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
742 * stdio/internals.c (__stdio_check_funcs, init_stream,
743 seek_to_target, flushbuf, fillbuf): Likewise.
745 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
746 funlockfile, not _IO_funlockfile.
748 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
750 * sysdeps/posix/writev.c (writev): Likewise.
752 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
754 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
756 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
757 prototyped definition.
759 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
760 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
762 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
764 * inet/Makefile (headers): Add aliases.h.
765 (routines): Add getaliasent_r, getaliasent, getaliasname, and
767 * aliases.h: New file.
768 * inet/aliases.h: New file.
769 * inet/getaliasent.c: New file.
770 * inet/getaliasent_r.c: New file.
771 * inet/getaliasname.c: New file.
772 * inet/getaliasname_r.c: New file.
773 * nss/Makefile (databases): Add alias.
774 * nss/alias-lookup.c: New file.
775 * nss/databases.def: Add aliases and publickey.
776 * nss/nss_db/db-alias.c: New file.
777 * nss/nss_files/files-alias.c: New file.
779 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
780 argument to lookup function is of type size_t.
782 * nss/getXXbyYY_r.c: Likewise.
783 * nss/getXXent_r.c: Likewise.
784 * nss/nss_db/db-XXX.c: Likewise.
786 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
787 failed because buffer was too small.
788 * nss/getXXent.c: Likewise.
790 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
791 getXXent_r function now uses f[gs]etpos to get to the correct
794 * nss/nss_files/files-parse.c: Indent lines for better readability.
796 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
797 and new function print_and_abort. Remove all references to
799 Add new function _obstack_memory_used.
800 * malloc/obstack.h (struct obstack): Remove field alloc_field.
801 Remove all references to alloc_failed field.
802 Add prototype for _obstack_memory_used.
804 * posix/unistd.h: Correct typo.
806 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
808 * configure.in: Require at least autoconf-2.10.2.
810 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
812 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
815 * mach/msg-destroy.c (mach_msg_destroy_port,
816 mach_msg_destroy_memory): Use prototype syntax.
817 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
818 malloc_fork_parent, malloc_fork_child): Likewise.
820 * stdio/stdio.h: Repair broken cpp syntax.
822 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
823 we pass O_NOLINK on the open.
825 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
826 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
827 an XOPEN error code, move to before the "Linux only" section, and
828 give it a new number for the Hurd.
830 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
832 * malloc/obstack.h: Add new macro `obstack_make_room'.
833 * malloc/obstack.c: Add function implementation for
836 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
838 Update to BIND-4.9.5-REL.
839 * resolv/Banner: Set to 4.9.5-REL.
840 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
841 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
844 * config.make.in: Add definition for top_absdir.
845 * Makerules (make-link): Fix path to rellns-sh script.
847 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
849 * posix/unistd.h: Fix comment.
851 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
852 when talking about numbers.
853 * manual/users.texi: Likewise.
854 * manual/creature.texi: Likewise. Use @defvarx for a secondary
857 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
859 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
860 the real posix1_lim.h file so that it works in all subdirs, not
863 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
865 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
867 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
869 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
870 on $(before-compile) which hasn't been properly setup yet at this
873 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
875 * sysdeps/generic/sigset.h: Don't use implicit int which will
876 probably require a diagnostic in the next revision of the C
878 * sysdeps/stub/lockfile.c: Likewise.
880 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
882 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
883 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
885 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
887 * time/strftime.c: Update copyright. Small cosmetic changes.
889 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
891 * inet/getprtname_r.c: Reformat copyright.
893 * nss/Makefile (databases): Add key.
894 (libnss_files-routines): Exclude key database.
895 (libnss_db-routines): Likewise.
896 * nss/key-lookup.c: New file.
898 * nss/getXXent_r.c (last_nip): Remember last service used since
900 (SETFUNC): Don't force to work through whole list of services in
902 Update last_nip if necessary.
903 (ENDFUNC): Only process endXXent function up to currently used
905 (GETFUNC): Update last_nip if necessary.
907 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
910 * rpc/auth_des.h: New file.
911 * sunrpc/Makefile (headers): Add auth_des.h.
912 (routines): Add publickey.
913 * sunrpc/publickey.c: New file. Interface to public key handling.
914 * sunrpc/rpc/auth_des.h: New file.
915 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
917 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
919 * inet/gethstent_r.c: Update copyright.
920 * nss/getXXbyYY_r.c: Likewise.
921 * nss/nsswitch.c: Likewise.
922 * nss/getXXent_r.c: Likewise.
923 * nss/nss_files/files-XXX.c: Likewise.
924 * nss/nss_files/files-netgroup.c: Likewise.
925 * nss/nss_files/files-parse.c: Likewise.
927 * nss/getXXent_r.c: Change implementation. It's not necessary to
928 call all setXXent functions. Just find first available and
929 when necessary let getXXent_r call the others.
931 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
932 of getXXent and getXXbyYY can be mixed. The cursor for traversing
933 the database with getXXent will be remembered.
935 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
937 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
939 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
940 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
942 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
944 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
946 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
947 set. Instead for none beside the first seven bits to be set.
948 X/Open allows the argument to be an `int' value.
949 Reported by Alain Williams <addw@phcomp.co.uk>.
950 (toascii, isascii): Define macro also when __USE_XOPEN.
952 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
955 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
957 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
958 NULL so that GETFUNC will see first entry.
959 (ENDFUNC_NAME): Likewise.
961 Rewrite Netgroups implementation to avoid global data.
962 * inet/netgroup.h: Add definition of name_list and struct
964 Add prototypes for internal netgroup functions.
965 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
966 extra argument and use the included data instead of global vars.
967 (_nss_files_endnetgrent): Likewise.
968 (_nss_netgroup_parseline): Change to be static and use data
969 included in the RESULT structure.
970 * inet/getnetgrent_r.c (startp): Move into setup function.
971 (known_groups, needed_groups): new part of the __netgrent sruct.
972 (freememory): Take extra argument and use included data.
973 (__internal_endnetgrent): Likewise.
974 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
975 and take extra argument.
976 (__internal_setnetgrent): New function. Call
977 __internal_setnetgrent_reuse after calling free_memory.
978 (setnetgrent): Only call __internal_setnetgrent.
979 (__getnetgrent_r): Split into two functions. __getnetgrent_r
980 calls __internal_getnetgrent after locking.
981 (innetgr): Use dynamic data only. I.e., innetgr now is fully
984 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
986 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
987 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
989 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
991 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
992 default when no *_SOURCE macro is given.
993 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
994 * NOTES: remade from manual/creature.texi.
995 * manual/libc.texinfo: Add back line about GPL translation which
998 * Make-dist (dist.tar): Depend on README being updated.
1000 * rellns-sh: Correct thinko in removing leading /.
1001 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1003 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
1004 with `+' or `-' in parser.
1005 * grp/fgetgrent_r.c: Likewise.
1006 * shadow/sgetspent_r.c: Likewise.
1007 * nss/nss_files/files-spwd.c: Don't accept entries starting with
1010 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
1012 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
1013 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
1015 * string/argz.h: Don't protect by __USE_GNU.
1017 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
1019 * Lots of files: Update and reformat copyright.
1021 * Makefile (headers): Add xopen_lim.h.
1023 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
1025 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
1026 if __USE_XOPEN_EXTENDED is defined.
1027 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
1028 if __USE_XOPEN_EXTENDED is defined.
1030 * io/Makefile (routines): Add lchown.
1031 * sysdeps/stub/lchown.c: New file.
1033 * io/sys/poll.h: Add definition of POLLWRNORM.
1035 * io/sys/stat.h: Declare lstat, fchmod, mknod when
1036 __USE_XOPEN_EXTENDED is defined.
1038 * libio/Makefile (routines): Add obprintf.
1039 * libio/obprintf.c: New file.
1040 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
1042 * libio/libio.h: Fix typo.
1043 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
1044 Add prototypes for obstack_vprintf and obstack_printf.
1046 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
1047 * manual/intro.texi: Add reference to NSS chapter.
1048 * manual/libc.texinfo: Update UPDATED.
1049 Comment out `@printindex cp'. It works again.
1050 * manual/memory.texi: Add description for obstack_ptr_grow,
1051 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
1052 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
1053 index entries to @vindex.
1054 * manual/users.texi: Correct @cindex entry for Netgroup.
1056 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
1057 make declarations visible for X/Open sources.
1059 * misc/search.h: Declare insque/remque only is __USE_SVID or
1060 __USE_XOPEN_EXTENDED is defined.
1062 * misc/sys/uio.h (readv, writev): Change return value from int to
1065 * posix/Makefile (headers): Add re_comp.h.
1066 * posix/re_comp.h: New file. XPG interface to regex functions.
1068 * posix/getconf.c: Add all names from XPG4.2.
1069 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
1070 and _POSIX_OPEN_MAX to minimums from XPG4.2.
1071 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
1072 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
1073 * sysdeps/stub/sysconf.c: Likewise.
1075 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
1076 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
1077 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
1078 ftruncate, getdtablesize, brk, sbrk, lockf when
1079 __USE_XOPEN_EXTENDED is defined.
1081 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
1083 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
1084 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
1085 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1087 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
1088 __USE_XOPEN_EXTENDED is defined.
1090 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
1092 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
1094 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
1097 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
1098 and rindex available when __USE_XOPEN_EXTENDED is defined.
1100 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
1101 * sysdeps/posix/getpagesize.c: Likewise.
1102 * sysdeps/stub/getpagesize.c: Likewise.
1103 * sysdeps/unix/getpagesize.c: Likewise.
1105 * time/africa: Update from tzdata1996l.
1106 * time/asia: Likewise.
1107 * time/australia: Likewise.
1108 * time/europe: Likewise.
1109 * time/northamerica: Likewise.
1110 * time/pacificnew: Likewise.
1111 * time/southamerica: Likewise.
1112 * time/tzfile.h: Update from tzcode1996m.
1114 * time/time.h: Declare strptime if __USE_XOPEN.
1115 Declare daylight and timezone also if __USE_XOPEN.
1117 * time/sys/time.h: Remove declaration of ualarm.
1119 * wctype/wctype.h: Just reference ISO C standard.
1121 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
1123 * crypt/Makefile: Add crypt routines to libc as well iff
1124 $(crypt-in-libc) is set. Do this for temporary binary compatibility
1125 on existing Linux/Alpha installations.
1127 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
1128 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
1129 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
1130 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
1132 * sysdeps/alpha/div.S: New file.
1133 * sysdeps/alpha/ldiv.S: New file.
1134 * sysdeps/alpha/lldiv.S: New file.
1135 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
1136 Take pointers from Linus and tighten the inner loops a bit.
1137 * sysdeps/alpha/divl.S: Change defines for merged routines.
1138 * sysdeps/alpha/divq.S: Likewise.
1139 * sysdeps/alpha/reml.S: Likewise.
1140 * sysdeps/alpha/remq.S: Likewise.
1141 * sysdeps/alpha/divlu.S: Remove file.
1142 * sysdeps/alpha/divqu.S: Likewise.
1143 * sysdeps/alpha/remlu.S: Likewise.
1144 * sysdeps/alpha/remqu.S: Likewise.
1146 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
1147 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1148 * sysdeps/alpha/bzero.S: Likewise.
1149 * sysdeps/alpha/ffs.S: Likewise.
1150 * sysdeps/alpha/htonl.S: Likewise.
1151 * sysdeps/alpha/htons.S: Likewise.
1152 * sysdeps/alpha/memchr.S: Likewise.
1153 * sysdeps/alpha/memset.S: Likewise.
1154 * sysdeps/alpha/s_copysign.S: Likewise.
1155 * sysdeps/alpha/s_fabs.S: Likewise.
1156 * sysdeps/alpha/setjmp.S: Likewise.
1157 * sysdeps/alpha/stpcpy.S: Likewise.
1158 * sysdeps/alpha/stpncpy.S: Likewise.
1159 * sysdeps/alpha/strcat.S: Likewise.
1160 * sysdeps/alpha/strchr.S: Likewise.
1161 * sysdeps/alpha/strcpy.S: Likewise.
1162 * sysdeps/alpha/strlen.S: Likewise.
1163 * sysdeps/alpha/strncat.S: Likewise.
1164 * sysdeps/alpha/strncpy.S: Likewise.
1165 * sysdeps/alpha/strrchr.S: Likewise.
1166 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
1167 Convert two small jumps to use conditional moves.
1168 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
1169 (PSEUDO): If PROF, call _mcount.
1170 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
1171 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1172 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1173 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1174 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1175 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1176 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1178 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
1179 eventually contain memmove as well.
1180 * sysdeps/alpha/strcmp.S: New file.
1181 * sysdeps/alpha/strncmp.S: New file.
1182 * sysdeps/alpha/w_sqrt.S: New file.
1184 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
1186 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
1188 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
1190 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
1191 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
1192 Reported by Thomas Bushnell, n/BSG.
1194 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
1196 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
1198 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
1200 * malloc/calloc.c: Check for overflow before trying to allocate
1201 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
1203 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1205 * manual/llio.texi (Operating Modes): Add missing arguments to
1206 @deftypevr in O_NONBLOCK description.
1208 * manual/time.texi (Time Zone Functions): Enclose type name in
1209 braces in description of tzname. FIXME: this does not yet work
1212 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
1214 * features.h: Add X/Open macros.
1215 * posix/unistd.h: Define X/Open macros.
1216 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
1217 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
1218 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
1219 * sysdeps/posix/sysconf.c: Handle new constants.
1220 * sysdeps/stub/sysconf.c: Likewise.
1221 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
1223 * catgets/catgets.c (catopen): Set errno to ENOMEM when
1224 we run out of memory.
1225 (catgets): Set errno to EBADF when catalog handle is invalid.
1226 Set errno to ENOMSG when translation is not available.
1227 (catclose): Set errno to EBADF when catalog handle is invalid.
1229 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
1230 Likewise for _toupper and _tolower.
1232 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
1233 strtof, and strtold.
1234 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
1235 * manual/stdio.h: Document ' flag for numeric formats of scanf.
1236 * manual/users.texi: Document that cuserid shouldn't be used.
1238 * misc/Makefile (routines): Add dirname.
1239 (headers): Add libgen.h.
1240 (tests): Add tst-dirname.
1241 * misc/dirname.c: New file.
1242 * misc/libgen.h: New file.
1243 * misc/tst-dirname.c: New file.
1245 * misc/search.h: Parameter of hcreate must be of type size_t.
1246 * misc/hsearch.c: Likewise.
1247 * misc/hsearch_r.c: Likewise for hcreate_r.
1248 * misc/search.h: Parameters of insque and remque must be `void *'.
1249 * misc/insremque.c: Likewise.
1251 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
1252 * stdlib/stdlib.h: ...here.
1253 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
1256 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
1258 (parse_one_spec): Remove Linux compatibility code.
1259 Recognize %C and %S formats.
1260 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
1261 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
1262 * stdio-common/vfscanf.c: Likewise for scanf.
1264 * stdlib/l64a.c: Return value for 0 must be the empty string.
1265 * stdlib/stdlib.h: Declare reentrant function from rand49 family
1266 only if __USE_REENTRANT.
1267 Declare rand48 functions also if __USE_XOPEN.
1269 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
1271 Return 0 and set errno to EINVAL when strou* sees negativ number.
1272 * stdlib/tst-strtol.c: De-ANSI-fy.
1273 Change expected results for test of unsigned function and negative
1276 * string/stratcliff.c: Prevent warnings.
1277 * string.h: Move declaration of swab to <unistd.h>.
1278 * string/swab.c: De-ANSI-fy.
1280 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
1281 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
1282 * sysdeps/posix/mktemp.c: Likewise.
1283 * sysdeps/stub/mkstemp.c: Likewise.
1284 * sysdeps/stub/mktemp.c: Likewise.
1286 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
1288 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
1291 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
1293 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
1296 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
1298 * sysdeps/posix/cuserid.c: Use reentrant functions.
1299 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
1302 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
1304 Linus said he will make sure no system call will return a value
1305 in -1 ... -4095 as a valid result.
1306 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
1307 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1308 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1309 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1311 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1313 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
1314 __funlockfile, not a circular alias.
1315 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
1318 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
1320 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
1322 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1324 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1326 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1328 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
1331 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
1332 __internal_funlockfile (in terms of itself) should actually be a
1333 definition of __funlockfile.
1335 * pwd/pwd.h: Get `size_t' from <stddef.h>.
1336 * grp/grp.h: Likewise.
1337 * shadow/shadow.h: Likewise.
1339 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
1340 calls to __libc_lock_lock and __libc_lock_unlock.
1341 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
1344 * hurd/hurdsig.c (write_corefile): Fix typo.
1346 * sysdeps/mach/hurd/sigwait.c: New file.
1348 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
1350 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
1351 and __errno_location to correct position.
1353 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
1355 * Makefile (distribute): Add rellns-sh.
1356 * rellns-sh: New file.
1357 * Makerules (make-link): Use rellns-sh.
1358 * time/Makefile ($(installed-localtime-file)): Likewise.
1360 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
1362 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
1363 (distribute): Add ldd.bash.in.
1364 * elf/ldd.sh.in: Process --help and --version parameter.
1366 * elf/ldd.bash.in: New file.
1368 * stdlib/stdlib.h: Add prototype for clearenv.
1369 * sysdeps/generic/setenv.c: Add implementation of clearenv.
1370 (setenv): Handle __environ == NULL correctly.
1371 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
1374 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
1375 * sysdeps/generic/setenv.c: Likewise.
1376 * stdlib/strtol.h: Likewise.
1378 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
1379 Remove definition of struct timeval.
1380 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
1381 using `time_t' for members.
1382 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
1383 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
1384 as old Linux specific version.
1386 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
1388 * signal/Makefile (routines): Add sigwait.
1389 * signal/signal.h: Add prototype for sigwait.
1390 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
1391 function from POSIX.1c.
1392 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
1394 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
1396 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
1397 but don't bother going farther than sizeof(float)==sizeof(int).
1398 (xdr_double): Handle little-endian machines! Handle sizeof(double)
1399 != 2*sizeof(long), though again don't bother with more than int.
1401 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
1403 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
1406 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
1408 * Makerules: Create symbolic links for linking in $(libdir).
1409 (make-link): Use absolute path for destination if this is not in
1412 * elf/rtld.c (dl_main): When verifying don't check the name of
1415 * shlib-versions: Change entries for Hurd specific libs from
1416 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
1419 * assert/assert.h: Reformat copyright.
1420 Change reference to ANSI into reference to ISO C.
1421 * ctype/ctype.h: Likewise.
1422 * errno.h: Likewise.
1423 * limits.h: Likewise.
1424 * math/math.h: Likewise.
1425 * setjmp/setjmp.h: Likewise.
1426 * stdio/stdio.h: Likewise.
1427 * libio/stdio.h: Likewise.
1428 * stdlib/stdlib.h: Likewise.
1429 * string/string.h: Likewise.
1430 * time/time.h: Likewise.
1432 * string/argz.h: Use __const in definitions.
1434 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
1435 * misc/err.h: Likewise.
1437 * wctype/wctype.h (wctrans_t): Use __const instead of const.
1439 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
1440 sonames for versioned libraries.
1441 * Makefile: Remove code to generate libc-version.h.
1442 Generate gnu/lib-names.h with info from soversions.mk.
1443 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
1445 * dirent/tst-seekdir.c: Initialize save3.
1446 * grp/testgrp.c: Initialize my_group.
1448 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
1449 * grp/grp.h: Likewise.
1450 * nss/getXXbyYY.c: Likewise.
1451 * nss/getXXbyYY_r.c: Likewise.
1452 * nss/getXXent.c: Likewise.
1453 * nss/getXXent_r.c: Likewise.
1454 * pwd/fgetpwent_r.c: Likewise.
1455 * pwd/pwd.h: Likewise.
1456 * shadow/fgetspent_r.c: Likewise.
1457 * shadow/sgetspent.c: Likewise.
1458 * shadow/sgetspent_r.c: Likewise.
1459 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
1460 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
1461 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
1462 * resolv/netdb.h: Adapt prototypes for reentrant functions to
1464 * sunrpc/rpc/netdb.h: Likewise,
1465 * shadow/shadow.h: Likewise.
1467 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
1469 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
1471 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
1472 ELF aliasing creates strange situations.
1473 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
1475 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
1476 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1478 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
1481 * locale/programs/charmap.c: Add casts to prevent warnings.
1482 * locale/programs/linereader.h: Likewise.
1483 * locale/programs/ld-collate.c: Likewise.
1484 * locale/programs/stringtrans.c: Likewise.
1485 Change types for various variables to prevent warnings.
1486 * locale/programs/ld-ctype.c: Likewise.
1487 * locale/programs/linereader.h (lr_ungetc): Likewise.
1488 * locale/programs/charset.h (struct charset): Use `unsigned int'
1489 as type for width_default.
1490 * posix/regex.c: Change type of `this_reg' variables.
1491 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
1492 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
1494 * stdio-common/printf_fp.c: Initialize to_shift.
1495 * stdio-common/test_rdwr.c: Add cast.
1496 * stdio-common/vfprintf.c: Add casts and use correct types to
1498 * stdio-common/vfscanf.c: Initialize str and strptr.
1499 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
1500 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1501 * sysdeps/libm-ieee754/e_powf.c: Likewise.
1502 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
1503 * time/test-tz.c: Likewise.
1505 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
1506 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
1507 libc.cp index. This must be fixed.
1508 * manual/nss.texi: Adapt for correct POSIX.1c interface of
1509 reentrant functions.
1510 * manual/users.texi: Document netgroup functions.
1512 * po/es.po: Updated.
1513 * po/fr.po: Updated.
1515 * posix/fnmatch.c: Change to match libit version.
1517 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
1518 * sysdep/posix/ttyname_r.c: Likewise.
1520 * stdlib/atexit.h (__new_exitfn): Add internal locking.
1521 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
1522 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
1523 * stdlib/random.c (__srandom): Add internal locking.
1524 (__initstate): Likewise.
1525 (__setstate): Likewise.
1526 (__random): Likewise.
1528 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1530 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
1532 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
1533 * sysdeps/generic/uname.c: Likewise.
1534 * sysdeps/posix/rename.c: Likewise.
1535 * sysdeps/stub/setrlimit.c: Likewise.
1537 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
1539 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1541 * locale/programs/ld-collate.c (collate_order_elem): Fix format
1543 (collate_element_to): Cast field width argument to `int' for
1545 (collate_symbol): Likewise.
1546 (collate_order_elem): Likewise.
1547 (collate_weight_bsymbol): Likewise.
1548 (collate_simple_weight): Likewise.
1550 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
1552 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
1553 argument for format string.
1554 (ctype_map_newP): Likewise.
1555 (set_class_defaults): Fix format string.
1557 * locale/programs/localedef.c (construct_output_path): Putting an
1558 explicit \0 into the format string does not work, use %c.
1560 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
1562 * Makerules: Install all shared libraries in $(slibdir).
1564 * login/Makefile: Build libutil.so in others pass after
1567 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
1569 * string/stratcliff.c: Allocate 3 pages instead of one, then use
1570 mprotect so that we know that the adjacent pages are inaccessible.
1572 * resource/sys/resource.h: Move all structures and enums to ...
1573 * sysdeps/generic/resourcebits.h: ... here ...
1574 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
1575 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
1576 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
1577 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
1578 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
1579 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
1580 header for RLIMIT_* definitions. The members of struct rlimit
1584 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1586 * MakeTAGS (sysdep-dirs): Fix typo.
1588 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1590 * hurd/hurdsig.c (write_corefile): If we can't create the core
1591 file, still call crash_dump_task with a null FILE arg. Maybe it
1592 won't actually need the file.
1594 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
1596 * Makefile (headers): Don't mention libc-version.h.
1597 (install-others): ...but here.
1599 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
1601 * version.h: Bump version number to 1.97.
1603 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
1604 Include libc-version.h.
1605 * features.h.in: Removed.
1606 * Makefile: Change rules to generate libc-version.h instead of
1609 * malloc/free.c: Add cast to prevent warning.
1610 * malloc/malloc-walk.c: Likewise.
1611 * malloc/ralloc.c: Likewise.
1612 * malloc/realloc.c: Likewise.
1614 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
1616 * pwd/fgetpwent_r.c: Likewise.
1617 * nss/nss_files/files-grp.c: Don't accept entries with names starting
1618 with + or - in lookup functions.
1619 * nss/nss_files/files-pwd.c: Likewise.
1621 * Makerules: Call autolock.sh using $(SHELL).
1623 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1625 * elf/dl-minimal.c: Don't define `dgettext' replacement but
1626 `dcgettext'. When optimizing the macros in <libintl.h> define
1627 `dgettext' as a macro and so this function will never be called.
1629 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
1631 * sysdeps/i386/sysdep.h: Define END to use .size when available.
1632 (PSEUDO_END): Use END.
1633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
1634 define SYSCALL_ERROR_HANDLER before using END.
1635 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
1636 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
1637 and .size directive but PSEUDO_END.
1638 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
1639 * sysdeps/unix/sysv/linux/socket.S: Likewise.
1640 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
1641 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
1642 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
1643 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
1644 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1645 * sysdeps/i386/bsd-setjmp.S: Likewise.
1646 * sysdeps/i386/memchr.S: Likewise.
1647 * sysdeps/i386/memcmp.S: Likewise.
1648 * sysdeps/i386/setjmp.S: Likewise.
1649 * sysdeps/i386/stpcpy.S: Likewise.
1650 * sysdeps/i386/stpncpy.S: Likewise.
1651 * sysdeps/i386/strchr.S: Likewise.
1652 * sysdeps/i386/strcspn.S: Likewise.
1653 * sysdeps/i386/strpbrk.S: Likewise.
1654 * sysdeps/i386/strrchr.S: Likewise.
1655 * sysdeps/i386/strspn.S: Likewise.
1656 * sysdeps/i386/strtok.S: Likewise.
1657 * sysdeps/i386/i486/strcat.S: Likewise.
1658 * sysdeps/i386/i486/strlen.S: Likewise.
1659 * sysdeps/i386/i586/memset.S: Likewise.
1660 * sysdeps/i386/i586/strchr.S: Likewise.
1661 * sysdeps/i386/i586/strlen.S: Likewise.
1663 * sysdeps/i386/strlen.c: De-ANSI-fy.
1665 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
1666 Define dgettext if not defined to use dcgettext.
1667 * sysdeps/mach/_strerror.c: Likewise.
1669 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
1670 __syscall_error defined.
1672 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1674 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
1675 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
1676 now provided by PSEUDO_END.
1677 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1678 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1679 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1680 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1681 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
1683 * sysdeps/generic/sysdep.h (END): Provide default empty
1685 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
1687 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
1688 (PSEUDO_END): Include it here instead.
1689 (SYSCALL_ERROR_HANDLER): Remove type directive.
1690 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
1691 * sysdeps/m68k/bsd-setjmp.S: Likewise.
1692 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1693 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1694 (__syscall_error): Can't use ENTRY macro.
1696 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1698 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
1699 Set caller to EXTRA.
1701 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
1703 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
1704 to beginning of function. So libc functions can use this flag.
1705 * sysdeps/generic/_strerror.c: Don't use dgettext for message
1706 translation while `_dl_starting_up' is nonzero.
1708 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
1710 Pass parameter value to _dl_map_object.
1711 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
1712 If TRACE_MODE is nonzero don#t signal error when shared lib
1713 is not found. Instead create fake entry for link map.
1714 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
1715 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
1716 argument to _dl_map_object_deps.
1717 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
1718 _dl_map_object and _dl_map_object_deps.
1719 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
1720 and _dl_map_object_deps.
1721 When mode == trace test for l_opencount == 0 before printing
1722 link information since this means the lib is not found.
1724 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
1726 * rpm/template: Add INSTALL to %doc line to follow copyright
1727 restrictions which demand the distribution of the copyright
1728 messages in INSTALL even for binary distributions.
1730 * features.h: Rename to...
1731 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
1732 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
1733 and __GNU_LIBRARY_INTERFACE__.
1734 * Makefile ($(objpfx)features.h): New rule to generate features.h
1735 from template features.h.in.
1737 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
1739 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
1741 * locale/programs/linereader.c (lr_open): Cast away const before free.
1742 (lr_close): Likewise.
1744 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
1745 * misc/paths.h: Move to ...
1746 * sysdeps/generic/paths.h: ... here.
1748 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
1749 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
1751 * nss/nss_db/db-netgrp.h: Include <string.h>.
1753 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
1754 _sys_siglist, which result in the "Unknown signal" message.
1755 * string/strsignal.c: Likewise.
1756 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
1757 don't auto-generate siglist.c.
1758 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
1759 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
1760 autogenerate makes bootstrapping and cross-compiling much easier.
1761 * sysdeps/unix/sysv/linux/siglist.h: New file.
1763 * stdlib/longlong.h: Prototype __udiv_qrnnd.
1765 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
1766 sys/io.h. It is already added in .../linux/Makefile.
1768 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
1769 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
1770 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
1772 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
1774 Add implementation of POSIX.1g function getaddrinfo.
1775 * posix/Makefile (routines): Add getaddrinfo.
1776 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
1778 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
1779 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
1780 related constants and structures.
1782 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
1784 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
1785 Make all old names weak alises so that they can be replaced
1788 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
1790 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
1791 __flockfile and __funlockfile.
1792 Reported by NIIBE Yutaka.
1794 * crypt/md5.c: Change form of copyright message according to GNITS
1796 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
1797 and `md5_read_ctx' function.
1798 * crypt/md5.h: Likewise.
1800 * grp/testgrp.c: Don't use perror for error cases since getgr* and
1801 getpw* functions do not return usable error codes.
1803 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
1805 * crypt/md5.c (md5_process_bytes): Used casting for pointer
1808 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
1810 * sunrpc/Makefile (others): Remove portmap here, too.
1812 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
1814 * intl/locale.alias: Language for entry `czech' is `cs'.
1816 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
1818 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
1820 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
1822 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
1823 buggy and more competent people work on a usable version which is
1824 distributed separately.
1825 * sunrpc/portmap.c: Removed.
1826 Suggested by Thorsten Kukuk.
1828 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
1830 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
1833 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
1835 * string/Makefile (tests): Add stratcliff.
1836 * string/stratcliff.c: New file. Test for string function at
1837 the edge of the usable memory.
1839 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
1841 * Makerules ($(libdir)/libc.so): Fix typo.
1843 * elf/ldd.sh.in: Test whether given file really exist and give
1844 better message if it is not available.
1846 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
1848 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
1851 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
1853 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
1854 output to $@T and move to $@ later since the new rpcgen will not
1855 overwrite existing files.
1857 * po/Makefile (libc.pot): Fix typo.
1859 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
1861 Update rpcgen program to TI-rpc code.
1862 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
1863 (distribute): Add proto.h.
1864 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
1865 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
1866 * sunrpc/rpc_cout.c: Likewise.
1867 * sunrpc/rpc_hout.c: Likewise.
1868 * sunrpc/rpc_main.c: Likewise.
1869 * sunrpc/rpc_parse.c: Likewise.
1870 * sunrpc/rpc_parse.h: Likewise.
1871 * sunrpc/rpc_scan.c: Likewise.
1872 * sunrpc/rpc_scan.h: Likewise.
1873 * sunrpc/rpc_svcout.c: Likewise.
1874 * sunrpc/rpc_util.c: Likewise.
1875 * sunrpc/rpc_util.h: Likewise.
1877 * sunrpc/rpc_tblout.c: New file.
1878 * sunrpc/rpc_sample.c: Likewise.
1880 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1882 * sysdeps/unix/opendir.c: Add semicolon for consistency.
1884 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
1886 * locale/programs/localedef.c (main): Test with -1 to find out
1887 whether read failed.
1889 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
1891 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
1894 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1896 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
1898 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1900 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
1901 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1902 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1903 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1904 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
1906 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1907 Correct generation of system call.
1909 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1911 * Makerules (sysd-Makefile): Fix command so that it works in the
1913 (BUILD_CFLAGS): Change back using $(..) instead of
1914 $(common-objpfx), the latter fails in the toplevel directory when
1915 $(objdir) is relative.
1916 (common-objdir-compile): Run compiler in $(objdir).
1917 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
1919 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
1921 * string/string.h [__USE_SVID]: Add prototype for swab.
1922 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
1923 Reported by Andreas Jaeger.
1925 The available nlist implementation is not generally usable.
1926 Especially on the currently supported ELF systems the nlist
1927 function comes with the libelf.
1928 * misc/Makefile (headers): Remove nlist.h.
1929 (routines): Remove nlist.
1931 * Makefile ($(objpfx)version-info.h): Include information about
1932 system the libc is built on in version-info.h file.
1934 * po/Makefile (distribute): Add header.pot.
1936 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1938 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
1939 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1940 * misc/error.c: Likewise.
1942 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
1944 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
1946 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1948 * crypt/Makefile (rpath-link): Extend search path to current directory.
1950 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
1952 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
1955 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
1957 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
1959 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
1961 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1963 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
1966 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1968 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
1971 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1973 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
1975 (PSEUDO_END): Provide definition to use .size directive.
1976 (PSEUDO): Don't interpret negative return values less than -128 as
1978 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
1980 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
1982 * sysdeps/m68k/bsd-setjmp.S: Likewise.
1983 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1984 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1985 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
1986 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1987 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1988 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
1989 explicit .size directive.
1991 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
1993 * shlib-versions: Add version number/name for ld.so.
1994 * Makeconfig: Move definition of rtld-installed-name after
1995 inclusion of soversions.mk.
1996 Don't add . before version number from shlib-versions file when
1997 when name does not start with digit. This is needed for ld.so.
1999 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
2001 * libio/iogets.c: Warn when gets is used.
2002 * stdio/gets.c: Strengthen the warning.
2004 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2006 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
2007 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
2008 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
2009 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
2010 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
2012 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
2013 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
2014 appropriate values according to __USE_REENTRANT.
2015 * libio/stdio.h: Add prototype for ftrylockfile.
2016 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
2017 getc, getchar, putc, and putchar using _IO_* names.
2018 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
2019 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
2020 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
2021 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
2022 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
2023 * libio/peekc.c: New file.
2025 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
2028 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
2030 * crypt/Makefile (tests): Add md5test and md5c-test.
2031 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
2032 is called, the buffer limit is honoured and a loop in a inner
2034 * crypt/md5.h (struct md5_ctx): Add new fields.
2035 Add prototypes for new functions.
2036 * crypt/md5.c (md5_init_ctx): Initialize new fields.
2037 (md5_finish_ctx): New function. Like md5_read_ctx but before
2038 perform correct finalization.
2039 (md5_process_bytes): New function. Similar to md5_proces_block,
2040 but does not require input size to be multiple of 64.
2041 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
2042 (md5_buffer): Likewise.
2043 (md5_process_block): Count number of bytes.
2044 * crypt/md5test.c: New file. Test program for MD5 functions.
2045 * crypt/md5c-test.c: New file: Test program for MD5 crypt
2050 * time/strptime.c: Recognize %s, %u, %g, and %G format.
2052 * posix/getopt.c: Add some more casts and initializations to
2055 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
2057 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
2058 an extra function to provide this functionality.
2059 (cfgetospeed): Simply return masked value.
2060 (cfsetospeed): Don't use speeds array and so we can simply test
2061 the value of SPEED for illegal values.
2062 * termios/cfsetspeed.c: Rewrite. We convert here between the
2063 real values and the B* constants.
2064 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
2066 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2068 * locale/programs/xstrdup.c: Define prototypes.
2069 * locale/programs/xmalloc.c: Likewise.
2071 * stdio-common/xbug.c (main): Change definition to avoid warning.
2073 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
2075 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
2077 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
2079 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
2080 "$(i18ndir)/charmaps".
2082 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2084 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
2085 to get definition of FPU description struct.
2087 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
2088 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
2089 net/if_arp.h, and net/route.h.
2090 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
2091 * sysdeps/unix/sysv/linux/net/route.h: New file.
2093 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
2095 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
2096 * sysdeps/stub/e_acosl.c: Likewise.
2097 * sysdeps/stub/e_asinl.c: Likewise.
2098 * sysdeps/stub/e_atan2l.c: Likewise.
2099 * sysdeps/stub/e_expl.c: Likewise.
2100 * sysdeps/stub/e_fmodl.c: Likewise.
2101 * sysdeps/stub/e_log10l.c: Likewise.
2102 * sysdeps/stub/e_logl.c: Likewise.
2103 * sysdeps/stub/e_sqrtl.c: Likewise.
2104 * sysdeps/stub/s_atanl.c: Likewise.
2105 * sysdeps/stub/s_log1pl.c: Likewise.
2107 * Makefile (distribute): Add nsswitch.h and netgroup.h.
2109 * nss/Makefile (generated): db-netgrp.c is not generated.
2111 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
2113 * Make-dist (+out): Add $(dont_distribute).
2115 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2117 * stdio-common/Makefile (routines): Add tmpnam_r.
2119 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
2121 * version.h: Bump version to 1.96.
2123 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2125 * stdio-common/tst-printf.c: Some more cleanups.
2127 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
2129 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
2130 * resolv/resolv.h: Likewise.
2131 * resolv/gethnamaddr.c: Likewise.
2132 * resolv/res_comp.c: Likewise.
2133 * resolv/res_debug.c: Likewise.
2134 * resolv/res_init.c: Likewise.
2135 * resolv/res_send.c: Likewise.
2136 * resolv/Banner: Update version number.
2138 * nss/nss_dns/dns-host.c: Update according to change in
2139 resolv/gethnamaddr.c.
2141 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
2143 * crypt/md5.c (md5_stream): When reading the block in several
2144 pieces append to instead of replace previously read data.
2146 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
2148 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
2149 last-byte-written bit for source word misalignment.
2150 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
2153 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
2155 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
2156 comes with glibc-nis.
2157 * sunrpc/rpcsvc/yp.x: Removed.
2159 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
2160 for *CURSOR to be NULL and dump a core if yes.
2162 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
2164 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
2165 including <errnos.h> to get error numbers.
2167 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
2169 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
2170 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
2171 Alpha people find a correct file.
2172 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
2173 an alias of __cabs since the structures have different names.
2174 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
2175 Reported by Matthew Jacob <mjacob@feral.com>.
2177 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2179 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
2180 so that it still works right if we happen to get called in a
2181 subdir it still works.
2183 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
2184 as file name translation flags.
2185 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
2186 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
2189 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
2190 name (changed according to libc-name) to avoid getting the
2191 Hurd-ish linker script for libc.a when we only want the archive
2194 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
2196 * time/strftime.c: Allow old K&R compilers compile this file.
2198 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
2200 * posix/execlp.c: Add first argument parameter to be compliant
2201 with POSIX. Rearrange body to start vararg counter after
2204 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
2206 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
2207 simply a wrapper around the <linux/elfcore.h> file since the
2208 kernel header is not clean enough. We provide the definitions
2209 in this file instead.
2211 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
2213 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
2214 get?id calls by using __libc_enable_secure.
2216 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
2218 * inet/getnetgrent_r.c: Correct netgroup implementation. A
2219 specification of a netgroup can also name another netgroup.
2220 * nss/nss_files/files-netgrp.c: Likewise.
2221 * inet/netgroup.h: Add fields to hold additional information.
2223 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
2225 * posix/getopt.c: Implement POSIX -W option handling. When the
2226 option string contains "W;" -W foo is handled like --foo.
2228 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
2230 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
2231 inclusing <errnos.h> so we really get error symbols defined.
2232 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2233 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2235 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
2236 size array for getgroups call. Instead get maximal number via
2237 sysconf. But discard list to NGRPS elements before calling XDR
2238 function since Sun's code cannot handle longer lists.
2239 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2241 * sysdeps/stub/e_j0l.c: Define y0l as well.
2242 * sysdeps/stub/e_j1l.c: Define y1l as well.
2243 * sysdeps/stub/e_jnl.c: Define ynl as well.
2245 * posix/unistd.h: Correct prototype for execlp.
2247 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
2249 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2251 * Makeconfig (sysdep-library-path): New variable.
2252 (built-program-cmd): Use it here to properly build a colon
2253 separated library path.
2255 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2257 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
2258 within comparison. Fix comments.
2259 (md5_crypt): Fix comment.
2261 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
2263 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
2264 when _ERRNO_H is defined.
2265 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
2266 Should there ever be a Linux port where the numeric values are
2267 not 33 and 34 this file must change.
2269 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2271 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
2274 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2276 * string/tst-strlen.c (main): Provide prototype.
2277 * malloc/mallocbug.c: Likewise.
2278 * io/test-utime.c: Likewise.
2280 * sysdeps/generic/crypt-entry.c: Correct typo.
2282 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
2284 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
2285 test for libc.a. Checking _DYNAMIC is of no worth here.
2286 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2288 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
2289 EXTERN_PARSER is defined.
2291 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2293 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
2295 * crypt/md5-crypt.c: Fix typos in comments.
2297 * gmon/gmon.c: Provide prototypes.
2298 * db/makedb.c: Likewise.
2299 * locale/programs/xmalloc.c: Likewise.
2300 * stdio-common/bug11.c (main): Likewise.
2301 * stdio-common/bug7.c (main): Likewise.
2302 * stdio-common/bug8.c (main): Likewise.
2303 * stdio-common/bug9.c (main): Likewise.
2304 * stdio-common/scanf1.c (main): Likewise.
2305 * stdio-common/scanf2.c (main): Likewise.
2306 * stdio-common/scanf5.c (main): Likewise.
2307 * stdio-common/scanf6.c (main): Likewise.
2308 * stdio-common/scanf7.c (main): Likewise.
2309 * stdio-common/scanf8.c (main): Likewise.
2310 * stdio-common/temptest.c (main): Likewise.
2311 * stdio-common/test-fwrite.c (main): Likewise.
2312 * stdio-common/tst-printf.c: Likewise.
2313 * stdio-common/tstdiomisc.c: Likewise.
2314 * stdio-common/tstgetln.c (main): Likewise.
2315 * stdlib/testmb.c (main): Likewise.
2317 * stdio-common/scanf4.c (main): Correct prototype, remove unused
2320 * stdio-common/scanf3.c (main): Correct prototype, change
2321 declaration of s to reduce warnings.
2322 * stdio-common/bug10.c (main): Likewise.
2324 * stdio-common/tfformat.c: Provide prototype, remove unused
2325 reference to dump_stats, add braces in sprint_doubles.
2326 * stdio-common/tiformat.c: Likewise.
2328 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
2331 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2333 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
2335 * shadow/putspent.c: Don't write colon after flag field.
2337 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
2339 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
2340 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2341 * sysdeps/unix/sysv/linux/Dist: Mention new files.
2343 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
2345 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
2346 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
2348 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
2349 by using __libc_enable_secure variable.
2351 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2353 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
2354 null, don't attempt mach_port_mod_refs.
2356 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2358 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
2359 sysdeps/unix/pipestream.c.
2361 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
2362 from sysdeps/mach/hurd/readdir.c.
2364 * stdio/freopen.c: Complete de-ansideclification.
2365 * stdio/fgets.c (fgets): Likewise.
2366 * stdio/getdelim.c (__getdelim): Likewise.
2367 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
2370 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2371 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2373 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
2374 STAT_LOC without error.
2376 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
2378 * posix/getopt.c: Add casts to prevent warnings.
2379 * posix/regex.c: Likewise.
2381 * math/Makefile (long-m-routines, long-m-yes): Define to correct
2382 values to make `long double' functions available.
2383 (distribute): Add $(long-m-yes:=.c).
2385 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
2386 Use long double instruction.
2388 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
2389 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
2390 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
2392 * sysdeps/libm-ieee754/e_coshl.c: New file.
2394 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
2395 for `long double' version as alias.
2396 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2397 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
2398 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
2399 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
2400 * sysdeps/libm-ieee754/s_cos.c: Likewise.
2401 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2402 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2403 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
2404 * sysdeps/libm-ieee754/s_finite.c: Likewise.
2405 * sysdeps/libm-ieee754/s_floor.c: Likewise.
2406 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
2407 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
2408 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
2409 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2410 * sysdeps/libm-ieee754/s_logb.c: Likewise.
2411 * sysdeps/libm-ieee754/s_modf.c: Likewise.
2412 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
2413 * sysdeps/libm-ieee754/s_rint.c: Likewise.
2414 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
2415 * sysdeps/libm-ieee754/s_significand.c: Likewise.
2416 * sysdeps/libm-ieee754/s_sin.c: Likewise.
2417 * sysdeps/libm-ieee754/s_tan.c: Likewise.
2418 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
2419 * sysdeps/libm-ieee754/w_acos.c: Likewise.
2420 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
2421 * sysdeps/libm-ieee754/w_sin.c: Likewise.
2422 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
2423 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
2424 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
2425 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
2426 * sysdeps/libm-ieee754/w_drem.c: Likewise.
2427 * sysdeps/libm-ieee754/w_exp.c: Likewise.
2428 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
2429 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
2430 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
2431 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
2432 * sysdeps/libm-ieee754/w_j0.c: Likewise.
2433 * sysdeps/libm-ieee754/w_j1.c: Likewise.
2434 * sysdeps/libm-ieee754/w_jn.c: Likewise.
2435 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
2436 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
2437 * sysdeps/libm-ieee754/w_log.c: Likewise.
2438 * sysdeps/libm-ieee754/w_log10.c: Likewise.
2439 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2440 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
2441 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
2442 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
2443 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
2445 Stub files for missing long double math functions.
2446 * sysdeps/stub/e_acoshl.c: New file.
2447 * sysdeps/stub/e_hypotl.c: New file.
2448 * sysdeps/stub/e_j0l.c: New file.
2449 * sysdeps/stub/e_j1l.c: New file.
2450 * sysdeps/stub/e_jnl.c: New file.
2451 * sysdeps/stub/e_lgammal_r.c: New file.
2452 * sysdeps/stub/e_powl.c: New file.
2453 * sysdeps/stub/e_rem_pio2l.c: New file.
2454 * sysdeps/stub/e_sinhl.c: New file.
2455 * sysdeps/stub/k_cosl.c: New file.
2456 * sysdeps/stub/k_rem_pio2l.c: New file.
2457 * sysdeps/stub/k_sinl.c: New file.
2458 * sysdeps/stub/k_tanl.c: New file.
2459 * sysdeps/stub/s_erfl.c: New file.
2460 * sysdeps/stub/s_expm1l.c: New file.
2462 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
2464 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2465 * sysdeps/i386/bsd-setjmp.S: Likewise.
2466 * sysdeps/i386/memchr.S: Likewise.
2467 * sysdeps/i386/memcmp.S: Likewise.
2468 * sysdeps/i386/setjmp.S: Likewise.
2469 * sysdeps/i386/stpcpy.S: Likewise.
2470 * sysdeps/i386/stpncpy.S: Likewise.
2471 * sysdeps/i386/strchr.S: Likewise.
2472 * sysdeps/i386/strcspn.S: Likewise.
2473 * sysdeps/i386/strpbrk.S: Likewise.
2474 * sysdeps/i386/strrchr.S: Likewise.
2475 * sysdeps/i386/strspn.S: Likewise.
2476 * sysdeps/i386/strtok.S: Likewise.
2477 * sysdeps/i386/i486/strcat.S: Likewise.
2478 * sysdeps/i386/i486/strlen.S: Likewise.
2479 * sysdeps/i386/i586/memset.S: Likewise.
2480 * sysdeps/i386/i586/strchr.S: Likewise.
2481 * sysdeps/i386/i586/strlen.S: Likewise.
2482 * sysdeps/libm-i387/e_acos.S: Likewise.
2483 * sysdeps/libm-i387/e_acosl.S: Likewise.
2484 * sysdeps/libm-i387/e_asin.S: Likewise.
2485 * sysdeps/libm-i387/e_asinl.S: Likewise.
2486 * sysdeps/libm-i387/e_atan2.S: Likewise.
2487 * sysdeps/libm-i387/e_atan2l.S: Likewise.
2488 * sysdeps/libm-i387/e_exp.S: Likewise.
2489 * sysdeps/libm-i387/e_expl.S: Likewise.
2490 * sysdeps/libm-i387/e_fmod.S: Likewise.
2491 * sysdeps/libm-i387/e_fmodl.S: Likewise.
2492 * sysdeps/libm-i387/e_log.S: Likewise.
2493 * sysdeps/libm-i387/e_log10.S: Likewise.
2494 * sysdeps/libm-i387/e_log10l.S: Likewise.
2495 * sysdeps/libm-i387/e_logl.S: Likewise.
2496 * sysdeps/libm-i387/e_remainder.S: Likewise.
2497 * sysdeps/libm-i387/e_remainderf.S: Likewise.
2498 * sysdeps/libm-i387/e_remainderl.S: Likewise.
2499 * sysdeps/libm-i387/e_scalb.S: Likewise.
2500 * sysdeps/libm-i387/e_scalbl.S: Likewise.
2501 * sysdeps/libm-i387/e_sqrt.S: Likewise.
2502 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
2503 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
2504 * sysdeps/libm-i387/s_atan.S: Likewise.
2505 * sysdeps/libm-i387/s_atanf.S: Likewise.
2506 * sysdeps/libm-i387/s_atanl.S: Likewise.
2507 * sysdeps/libm-i387/s_ceil.S: Likewise.
2508 * sysdeps/libm-i387/s_ceilf.S: Likewise.
2509 * sysdeps/libm-i387/s_ceill.S: Likewise.
2510 * sysdeps/libm-i387/s_copysign.S: Likewise.
2511 * sysdeps/libm-i387/s_copysignf.S: Likewise.
2512 * sysdeps/libm-i387/s_copysignl.S: Likewise.
2513 * sysdeps/libm-i387/s_cos.S: Likewise.
2514 * sysdeps/libm-i387/s_cosf.S: Likewise.
2515 * sysdeps/libm-i387/s_cosl.S: Likewise.
2516 * sysdeps/libm-i387/s_finite.S: Likewise.
2517 * sysdeps/libm-i387/s_finitef.S: Likewise.
2518 * sysdeps/libm-i387/s_finitel.S: Likewise.
2519 * sysdeps/libm-i387/s_floor.S: Likewise.
2520 * sysdeps/libm-i387/s_floorf.S: Likewise.
2521 * sysdeps/libm-i387/s_floorl.S: Likewise.
2522 * sysdeps/libm-i387/s_ilogb.S: Likewise.
2523 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2524 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
2525 * sysdeps/libm-i387/s_log1p.S: Likewise.
2526 * sysdeps/libm-i387/s_log1pf.S: Likewise.
2527 * sysdeps/libm-i387/s_log1pl.S: Likewise.
2528 * sysdeps/libm-i387/s_logb.S: Likewise.
2529 * sysdeps/libm-i387/s_logbf.S: Likewise.
2530 * sysdeps/libm-i387/s_logbl.S: Likewise.
2531 * sysdeps/libm-i387/s_rint.S: Likewise.
2532 * sysdeps/libm-i387/s_rintf.S: Likewise.
2533 * sysdeps/libm-i387/s_rintl.S: Likewise.
2534 * sysdeps/libm-i387/s_scalbn.S: Likewise.
2535 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2536 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2537 * sysdeps/libm-i387/s_significand.S: Likewise.
2538 * sysdeps/libm-i387/s_significandf.S: Likewise.
2539 * sysdeps/libm-i387/s_significandl.S: Likewise.
2540 * sysdeps/libm-i387/s_sin.S: Likewise.
2541 * sysdeps/libm-i387/s_sinf.S: Likewise.
2542 * sysdeps/libm-i387/s_sinl.S: Likewise.
2543 * sysdeps/libm-i387/s_tan.S: Likewise.
2544 * sysdeps/libm-i387/s_tanf.S: Likewise.
2545 * sysdeps/libm-i387/s_tanl.S: Likewise.
2547 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
2548 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
2549 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
2550 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
2552 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
2553 to provide .size directive on ELF systems.
2555 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
2556 <sigcontext.h> and rename parameter type to sigcontext.
2557 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
2559 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
2560 negative values might occur as positive results. Test against
2561 -125 to decide for error or not.
2562 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
2564 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2566 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
2567 whether this is a statically linked program. The latter is now
2570 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2572 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
2573 controlling terminals are allowed to send.
2575 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
2576 table is larger than the allowable address size, then return
2579 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
2583 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
2585 * po/fr.po: New file.
2587 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
2589 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
2591 Add support for MD5 crypt replacement.
2592 * Makefile (subdirs): Add crypt.
2593 * shlib-versions: Add entry for libcrypt.
2594 * crypt/md5-crypt.c: New file.
2595 * crypt/md5.c: New file.
2596 * crypt/md5.h: New file.
2597 * sysdeps/generic/crypt-entry.c: New file.
2598 * sysdeps/generic/crypt.h: New file.
2600 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2602 * dirent/tst-seekdir.c: Provide correct prototypes.
2603 * io/test-utime.c: Likewise.
2604 * malloc/mallocbug.c: Likewise.
2605 * posix/testfnm.c: Likewise.
2606 * stdio-common/xbug.c: Likewise.
2607 * sysdeps/posix/cuserid.c: Likewise.
2609 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
2611 Provide optimized string functions for Alpha processors.
2612 * sysdeps/alpha/bzero.S: New file.
2613 * sysdeps/alpha/memset.S: New file.
2614 * sysdeps/alpha/stpcpy.S: New file.
2615 * sysdeps/alpha/stpncpy.S: New file.
2616 * sysdeps/alpha/strcat.S: New file.
2617 * sysdeps/alpha/strchr.S: New file.
2618 * sysdeps/alpha/strcpy.S: New file.
2619 * sysdeps/alpha/strncat.S: New file.
2620 * sysdeps/alpha/strncpy.S: New file.
2621 * sysdeps/alpha/strrchr.S: New file.
2622 * sysdeps/alpha/stxcpy.S: New file.
2623 * sysdeps/alpha/stxncpy.S: New file.
2625 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
2626 stxncpy to sysdep_routines.
2629 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2631 * sysdeps/generic/gnu/types.h: Added __loff_t.
2632 Don't declare key_t here.
2634 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
2635 set errno (to ENOMEM).
2637 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
2639 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
2640 nothing is found. This guarantees all subsequent calls behave
2642 * sysdeps/generic/strtok_r.c: Likewise.
2644 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2646 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
2649 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
2651 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
2652 NULL immediately; we're going to get called one more time.
2653 * sysdeps/generic/strtok_r.c: Likewise.
2655 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
2657 * locale/programs/ld-time.c: Always write some bytes at the end of
2658 the file even if no `era's are specified.
2660 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
2663 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
2665 * libio/iofclose.c: Move unlocking to right position.
2667 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
2669 * misc/Makefile: Kill force-wrapper.
2670 * misc/force-wrapper.c: Delete.
2672 * elf/eval.c: Add <string.h>.
2674 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
2675 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
2676 and binary compatibility not at all. Better to do `char *foo'
2677 followed by `foo = ptr' as it is much cleaner.
2678 (struct gmon_hdr): Fix version.
2679 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
2680 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
2681 * gmon/gmon.c: De-ansidecl-ify.
2682 (write_hist): De-bcopy-fy.
2683 (write_call_graph): Likewise.
2685 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
2686 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
2687 * sysdeps/generic/machine-gmon.h: Likewise.
2689 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
2690 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
2691 * nss/nss_dns/dns-network.c: Likewise.
2692 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
2693 * resolv/getnetnamadr.c: Likewise.
2694 * resolv/res_debug.c: Likewise.
2695 * resolv/res_mkquery.c: Likewise.
2696 * resolv/res_query.c: Likewise.
2698 * libio/clearerr_u.c: It's not necessary to define __ protected
2699 function so don't do it.
2700 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
2701 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
2703 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
2704 the cleanup registrar.
2705 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
2706 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
2707 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
2708 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
2709 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
2710 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
2711 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
2714 * locale/programs/ld-ctype.c: Include <alloca.h>.
2716 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
2718 * posix/sys/types.h: Change #defines to typedefs. This is looking
2719 forward to more comprehensive namespace cleanups for C++.
2720 * posix/unistd.h: Likewise for ssize_t.
2722 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
2725 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
2726 `statement with no effect' warnings.
2727 * resolv/inet_neta.c: Include <string.h> for strlen.
2729 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
2730 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
2731 * stdio-common/vfprintf.c: Same for va_list.
2732 * stdio-common/vfscanf.c: Same.
2733 * stdio-common/reg-printf.c: Prototype the __ function.
2734 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
2735 _IO_vscanf declaration.
2737 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
2738 but to unsigned long for the health of 64-bit systems.
2740 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
2741 Many system's <sys/param.h> pulls this in.
2743 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
2746 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
2747 instead of defining it locally.
2749 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
2750 * sysdeps/stub/chflags.c: Prototype chflags.
2751 * sysdeps/stub/fchflags.c: Prototype fchflags.
2752 * sysdeps/stub/sstk.c: Prototype sstk.
2754 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
2755 variable to __errno. Update __syscall_error to store to both
2756 the global and per-thread variables.
2758 * sysdeps/unix/sysv/linux/init-first.c: Change include of
2759 init-first.h from "" to <> as "" does not search the include path.
2760 Prototype _dl_start.
2762 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2764 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
2765 pattern rule to get the right stem.
2767 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2769 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
2771 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2773 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
2775 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2777 * malloc/free.c (_free_internal): Don't call free recursively, use
2778 the internal functions instead.
2780 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2782 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
2783 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
2785 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2787 * catgets/gencat.c (main): Print version information on stdout,
2789 * db/makedb.c: Likewise.
2790 * locale/programs/locale.c: Likewise.
2791 * locale/programs/localedef.c: Likewise.
2793 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
2795 Add implementation of netgroup.
2796 * inet/Makefile (distributes): Add netgroup.h.
2797 (routines): Add getnetgrent.c and getnetgrent_r.c.
2798 * inet/getnetgrent.c: New file.
2799 * inet/getnetgrent_r.c: New file.
2800 * inet/netgroup.h: New file.
2801 * netgroup.h: New file.
2802 * nsswitch.h: New file.
2803 * nss/Makefile (databases): Add getgrp.
2804 * nss/databases.def: Add netgroup.
2805 * nss/db-Makefile: Add rules for netgroup.
2806 * nss/netgrp-lookup.c: New file.
2807 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
2808 always return without a check of the transition table.
2809 * nss/nsswitch.h (struct service_user): Extend actions array to
2811 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
2813 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
2814 to NSS_ACTION_RETURN.
2815 * nss/nss_db/db-netgrp.c: New file.
2816 * nss/nss_files/files-netgrp.c: New file.
2817 * nss/nsswitch.conf: Add entry for netgroup.
2818 * resolv/netdb.h: Add prototypes for netgroup functions.
2820 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
2823 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
2825 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
2826 _llseek to _llseek (not llseek).
2827 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
2829 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
2831 * inet/rcmd.c: Remove definition of MIN.
2833 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
2835 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
2836 * sysdeps/unix/readdir_r.c: New file.
2837 * sysdeps/unix/readdir.c: Remove check for correct parameter
2838 values. Let them simply die.
2839 * manual/filesys.texi: Document readdir_r.
2841 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
2842 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
2844 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
2846 * dirent/Makefile (routines): Add readdir_r.
2847 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
2848 * dirent/dirent.h: Add prototype for readdir_r.
2850 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
2851 to prevent warnings.
2853 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
2854 Initialize `result'.
2856 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
2858 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
2860 * string/string.h: Add prototype for __strsep.
2861 * misc/mntent_r.c: Use __strsep instead of strsep to keep
2864 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
2865 __nanosleep and nanosleep weak aliases.
2866 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
2868 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
2869 nanosleep to keep namespace clean.
2871 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
2872 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
2873 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2875 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
2878 * login/Makefile (headers): Add pty.h.
2879 * login/pty.h: New file.
2880 * sysdeps/generic/pty.h: Include <pty.h>.
2881 * login/pututline_r.c: Add cast to prevent warning.
2883 * gmon/gmon.c: Add prototype for __profile_frequency.
2884 (monstartup): Add cast to prevent warning.
2885 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
2887 * locale/programs/ld-time.c (time_output): Write `era' information
2890 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
2892 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
2894 Set caller for mlock, mlockall, mremap, munlock, and munlockall
2896 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
2898 1996-09-27 Paul Eggert <eggert@twinsun.com>
2900 * strftime.c (strftime): Output incomplete formats like %E
2903 1996-09-27 Paul Eggert <eggert@twinsun.com>
2905 * strftime.c (strftime): Add support for %EC and %Ey.
2906 Fix support for %EY. This uses the new _nl_get_era_entry function.
2908 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
2910 Security related patch by Elliot Lee <sopwith@redhat.com> and
2911 David Holland <dholland@eecs.harvard.edu>.
2913 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
2914 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
2916 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
2917 NULL when programs runs with SUID or SGID enabled.
2918 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
2919 * stdlib/stdlib.h: Add prototype for __secure_getenv.
2921 * locale/setlocale.c: Use __secure_getenv.
2922 * resolv/res_init.c: Likewise.
2923 * resolv/res_query.c: Likewise.
2924 * inet/ruserpass.c: Likewise.
2925 * sysdeps/posix/tempname.c: Likewise.
2926 * malloc/mtrace.c: Likewise.
2927 * catgets/catgets.c: Likewise.
2929 Make temporary file handling functions reentrant.
2931 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
2932 result to. The called __stdio_gen_tempname function must be
2934 * stdio-common/tmpnam_r.c: New file.
2935 * stdio/stdio.h: Add prototype for `tmpnam_r'.
2936 Change prototype for __stdio_gen_tempname.
2937 * stdio/libio.h: Likewise.
2938 * sysdeps/posix/tempname.c: Add new parameters and use them instead
2940 Don't reset `indeces' when PID changed between calls.
2941 Don't fail for long running programs when index counter once
2943 * sysdeps/stub/tempname.c: Likewise.
2944 * stdio-common/tempnam.c: Provide local buffer as extra argument
2945 to __stdio_gen_tempname. This makes this function reentrant.
2946 * stdio-common/tmpfile.c: Likewise.
2947 * stdio-common/temptest.c: Provide extra argument to
2948 __stdio_gen_tempname.
2949 * manual/filesys.texi: Describe tmpnam_r and add comments about
2950 reentrancy of the functions.
2952 * inet/rcmd.c: Fixed address length handling.
2954 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
2956 * time/strftime.c: Remove unused variables alt_digits and
2959 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
2960 for get_nprocs and get_nprocs_conf.
2961 * sysdeps/generic/sys/sysinfo.h: Likewise.
2963 * stdlib/test-canon.c: Finally do the right fix.
2965 * misc/Makefile: Only compile force-wrapper when compiling
2968 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
2970 Add support for cancelable system calls.
2972 * csu/initfini.c: Make in crti.o reference to symbol
2973 __libc_force_cancel_wrapper when compiling reentrant version.
2974 * misc/Makefile (routines): Add force-wrapper.
2975 * misc/force-wrapper.c: New file.
2977 * posix/system.c: Rename function to __libc_system and make system
2979 * sysdeps/stub/system.c: Likewise.
2980 * posix/wait.c: Rename function to __libc_wait and make __wait a
2981 weak alias. De-ANSI-fy.
2982 * sysdeps/standalone/read.c: Rename function to __libc_read and
2983 make __read a weak alias.
2984 * sysdeps/stub/read.c: Likewise.
2985 * sysdeps/standalone/write.c: Rename function to __libc_write and
2986 make __write a weak alias.
2987 * sysdeps/stub/write.c: Likewise.
2988 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
2989 make tcdrain a weak alias.
2990 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2991 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
2992 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2993 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
2994 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
2995 and make __wait a weak alias.
2996 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
2997 make __waitpid a weak alias.
2998 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
2999 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
3000 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
3001 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
3002 and make pause a weak alias. De-ANSI-fy.
3004 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
3005 lseek, open, read, and write to have __libc_ prefix and make old
3007 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
3008 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
3010 * io/creat.c: De-ANSI-fy.
3012 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
3014 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
3016 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
3017 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3019 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
3021 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
3023 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
3025 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
3027 * locale/programs/locfile.c (write_locale_data): Allocate room
3028 even for file name for LC_MESSAGES locale.
3029 (locafile_read): `tok_era' must be handled as a string list.
3030 * locale/programs/ld-time.c: Finish correction of handling `era'.
3031 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
3032 * locale/categories.def: Add postload function for LC_TIME.
3033 * locale/setlocale.c: Make lock global and rename to
3034 __libc_setlocale_lock.
3035 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
3036 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
3037 * locale/lc-time.c (_nl_postload_time): New function. Initialize
3039 (_nl_get_era_entry): New function. Return era entry which corresponds
3041 (_nl_get_alt_digit): New function. Return string with alternate
3042 digit representation for given number.
3044 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
3045 string representing alternate digit notation.
3047 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
3049 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
3050 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
3052 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
3053 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
3055 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
3057 * catgets/gencat.c (main): Change --version again because RMS wants
3058 the package name in parentheses.
3059 * db/makedb.c: Likewise.
3060 * locale/programs/locale.c: Likewise.
3061 * locale/programs/localedef.c: Likewise.
3063 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3065 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
3067 ($(objpfx)version-info.h): Depend on Banner files, command
3070 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
3072 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
3074 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
3076 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
3077 on the same device as the password file.
3078 * shadow/shadow.h (struct spwd): Change type of numeric fields
3079 to `long int' since there value are days, not seconds.
3080 * shadow/putspent.c: Change casts from time_t to `long int'.
3081 * shadow/sgetspent_r.c (LINE_READER): Likewise.
3083 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
3085 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
3086 sure the thread specific variable is set as well as the global
3088 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
3090 * sysdeps/stub/errnos.h: Likewise.
3091 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
3093 * shadow/putspent.c: Don't include <errno.h>.
3095 * dirent/scandir.c (scandir): Use __set_errno to set errno
3097 * elf/dl-load.c (open_path): Likewise.
3098 * inet/rcmd.c (rcmd): Likewise.
3099 (rresvport): Likewise.
3100 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
3101 (DCGETTEXT): Use __set_errno to set errno variable.
3102 * io/fts.c (fts_open): Likewise.
3103 (fts_close): Likewise.
3104 (fts_read): Likewise.
3105 (fts_set): Likewise.
3106 (fts_children): Likewise.
3107 (fts_build): Likewise.
3108 (fts_stat): Likewise.
3109 * io/ftw.c (ftw_dir): Likewise.
3111 * io/getwd.c (getwd): Likewise.
3112 * io/lockf.c (lockf): Likewise.
3113 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
3114 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
3115 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3116 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
3118 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3119 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
3120 * libio/ioftell.c (_IO_ftell): Likewise.
3121 * locale/loadlocale.c (_nl_load_locale): Likewise.
3122 * locale/nl_langinfo.c (nl_langinfo): Likewise.
3123 * locale/setlocale.c (ERROR_RETURN): Likewise.
3124 * login/getutid_r (__getutid_r): Likewise.
3125 * login/getutline_r (__getutline_r): Likewise.
3126 * login/login.c (tty_name): Likewise.
3127 * login/oututline_r.c (__pututline_r): Likewise.
3128 * malloc/malloc.c (morecore): Likewise.
3129 * misc/efgcvt_r.c (fcvt_r): Likewise.
3130 * misc/hsearch_r.c (hcreate_r): Likewise.
3131 (hdestroy_r): Likewise.
3132 (hsearch_r): Likewise.
3133 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
3134 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
3135 (_nss_dns_gethostbyaddr_r): Likewise.
3136 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3137 * nss/nss_files/files-parse.c (parse_list): Likewise.
3138 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
3139 * posix/execvp.c (execvp): Likewise.
3140 * posix/glob.c: Define __set_errno.
3141 (glob): Use __set_errno to set errno variable.
3142 (glob_in_dir): Likewise.
3143 * pwd/getpw.c: Likewise. De-ANSI-fy.
3144 * pwd/putpwent.c: Likewise.
3145 * resolv/inet_net_ntop.c: Likewise.
3146 * resolv/inet_net_pton.c: Likewise.
3147 * resolv/inet_neta.c: Likewise.
3148 * resolv/inet_ntop.c: Likewise.
3149 * resolv/inet_pton.c: Likewise.
3150 * resolv/res_query.c (res_search): Likewise.
3151 * resolv/res_send.c (Aerror): Likewise.
3153 (res_send): Likewise.
3154 * signal/sigaddset.c: Likewise. De-ANSI-fy.
3155 * signal/sigdelset.c: Likewise.
3156 * signal/sigempty.c: Likewise.
3157 * signal/sigfillset.c: Likewise.
3158 * signal/sigismem.c: Likewise.
3159 * stdio/fclose.c: Likewise.
3160 * stdio/feof.c: Likewise.
3161 * stdio/ferror.c: Likewise.
3162 * stdio/fflush.c: Likewise.
3163 * stdio/fgetc.c: Likewise.
3164 * stdio/fgetpos.c: Likewise.
3165 * stdio/fgets.c: Likewise.
3166 * stdio/fileno.c: Likewise.
3167 * stdio/fmemopen.c: Likewise.
3168 * stdio/fopen.c: Likewise.
3169 * stdio/fputc.c: Likewise.
3170 * stdio/fread.c: Likewise.
3171 * stdio/freopen.c: Likewise.
3172 * stdio/fseek.c: Likewise.
3173 * stdio/fsetpos.c: Likewise.
3174 * stdio/ftell.c: Likewise.
3175 * stdio/fwrite.c: Likewise.
3176 * stdio/getdelim.c: Likewise.
3177 * stdio/gets.c: Likewise.
3178 * stdio/glue.c: Likewise.
3179 * stdio/internals.c: Likewise.
3180 * stdio/memstream.c: Likewise.
3181 * stdio/setvbuf.c: Likewise.
3182 * stdio/ungetc.c: Likewise.
3183 * stdio/vsscanf.c: Likewise.
3184 * stdio-common/reg-printf.c: Likewise.
3185 * stdio-common/vfprintf.c: Likewise.
3186 * stdio-common/vfscanf.c: Likewise.
3187 * stdlib/canonicalize.c: Likewise.
3188 * stdlib/msort.c: Likewise.
3189 * stdlib/random_r.c: Likewise.
3190 * stdlib/strfmon.c: Likewise.
3191 * stdlib/strtod.c: Likewise.
3192 * stdlib/strtol.c: Likewise.
3193 * sunrpc/bindrsvprt.c: Likewise.
3194 * time/asctime.c: Likewise.
3195 * time/localtime.c: Likewise.
3196 * wcsmbs/mbrtowc.c: Likewise.
3197 * wcsmbs/mbsnrtowcs.c: Likewise.
3198 * wcsmbs/mbsrtowcs.c: Likewise.
3199 * wcsmbs/wcrtomb.c: Likewise.
3200 * wcsmbs/wcsnrtombs.c: Likewise.
3201 * wcsmbs/wcsrtombs.c: Likewise.
3202 * wcsmbs/wcstok.c: Likewise.
3203 * sysdeps/generic/ftime.c: Likewise.
3204 * sysdeps/generic/pty.c: Likewise.
3205 * sysdeps/generic/setenv.c: Likewise.
3206 * sysdeps/generic/speed.c: Likewise.
3207 * sysdeps/generic/sysd-stdio.c: Likewise.
3208 * sysdeps/generic/uname.c: Likewise.
3209 * sysdeps/generic/vlimit.c: Likewise.
3210 * sysdeps/libm-ieee754/k_standard.c: Likewise.
3211 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3212 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
3213 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
3214 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3215 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
3216 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
3217 * sysdeps/posix/dup2.c: Likewise.
3218 * sysdeps/posix/euidaccess.c: Likewise.
3219 * sysdeps/posix/fdopen.c: Likewise.
3220 * sysdeps/posix/flock.c: Likewise.
3221 * sysdeps/posix/fpathconf.c: Likewise.
3222 * sysdeps/posix/getcwd.c: Likewise.
3223 * sysdeps/posix/gettimeofday.c: Likewise.
3224 * sysdeps/posix/isatty.c: Likewise.
3225 * sysdeps/posix/isfdtype.c: Likewise.
3226 * sysdeps/posix/killpg.c: Likewise.
3227 * sysdeps/posix/mkstemp.c: Likewise.
3228 * sysdeps/posix/mktemp.c: Likewise.
3229 * sysdeps/posix/pathconf.c: Likewise.
3230 * sysdeps/posix/pipestream.c: Likewise.
3231 * sysdeps/posix/remove.c: Likewise.
3232 * sysdeps/posix/rename.c: Likewise.
3233 * sysdeps/posix/sigintr.c: Likewise.
3234 * sysdeps/posix/signal.c: Likewise.
3235 * sysdeps/posix/sigsuspend.c: Likewise.
3236 * sysdeps/posix/sigvec.c: Likewise.
3237 * sysdeps/posix/sleep.c: Likewise.
3238 * sysdeps/posix/sysconf.c: Likewise.
3239 * sysdeps/posix/system.c: Likewise.
3240 * sysdeps/posix/tempname.c: Likewise.
3241 * sysdeps/posix/truncate.c: Likewise.
3242 * sysdeps/posix/ttyname.c: Likewise.
3243 * sysdeps/posix/ttyname_r.c: Likewise.
3244 * sysdeps/posix/wait3.c: Likewise.
3245 * sysdeps/standalone/close.c: Likewise.
3246 * sysdeps/standalone/open.c: Likewise.
3247 * sysdeps/standalone/read.c: Likewise.
3248 * sysdeps/standalone/write.c: Likewise.
3249 * sysdeps/stub/__longjmp.c: Likewise.
3250 * sysdeps/stub/accept.c: Likewise.
3251 * sysdeps/stub/access.c: Likewise.
3252 * sysdeps/stub/acct.c: Likewise.
3253 * sysdeps/stub/adjtime.c: Likewise.
3254 * sysdeps/stub/alarm.c: Likewise.
3255 * sysdeps/stub/bind.c: Likewise.
3256 * sysdeps/stub/brk.c: Likewise.
3257 * sysdeps/stub/chdir.c: Likewise.
3258 * sysdeps/stub/chflags.c: Likewise.
3259 * sysdeps/stub/chmod.c: Likewise.
3260 * sysdeps/stub/chown.c: Likewise.
3261 * sysdeps/stub/chroot.c: Likewise.
3262 * sysdeps/stub/clock.c: Likewise.
3263 * sysdeps/stub/close.c: Likewise.
3264 * sysdeps/stub/closedir.c: Likewise.
3265 * sysdeps/stub/connect.c: Likewise.
3266 * sysdeps/stub/ctermid.c: Likewise.
3267 * sysdeps/stub/cuserid.c: Likewise.
3268 * sysdeps/stub/dirfd.c: Likewise.
3269 * sysdeps/stub/dup.c: Likewise.
3270 * sysdeps/stub/dup2.c: Likewise.
3271 * sysdeps/stub/euidaccess.c: Likewise.
3272 * sysdeps/stub/execve.c: Likewise.
3273 * sysdeps/stub/fchdir.c: Likewise.
3274 * sysdeps/stub/fchflags.c: Likewise.
3275 * sysdeps/stub/fchmod.c: Likewise.
3276 * sysdeps/stub/fchown.c: Likewise.
3277 * sysdeps/stub/fcntl.c: Likewise.
3278 * sysdeps/stub/fdopen.c: Likewise.
3279 * sysdeps/stub/fexecve.c: Likewise.
3280 * sysdeps/stub/flock.c: Likewise.
3281 * sysdeps/stub/fork.c: Likewise.
3282 * sysdeps/stub/fpathconf.c: Likewise.
3283 * sysdeps/stub/fstatfs.c: Likewise.
3284 * sysdeps/stub/fsync.c: Likewise.
3285 * sysdeps/stub/ftruncate.c: Likewise.
3286 * sysdeps/stub/fxstat.c: Likewise.
3287 * sysdeps/stub/getcwd.c: Likewise.
3288 * sysdeps/stub/getdents.c: Likewise.
3289 * sysdeps/stub/getdomain.c: Likewise.
3290 * sysdeps/stub/getdtsz.c: Likewise.
3291 * sysdeps/stub/getegid.c: Likewise.
3292 * sysdeps/stub/getenv.c: Likewise.
3293 * sysdeps/stub/geteuid.c: Likewise.
3294 * sysdeps/stub/getgid.c: Likewise.
3295 * sysdeps/stub/getgroups.c: Likewise.
3296 * sysdeps/stub/gethostid.c: Likewise.
3297 * sysdeps/stub/gethostname.c: Likewise.
3298 * sysdeps/stub/getitimer.c: Likewise.
3299 * sysdeps/stub/getlogin.c: Likewise.
3300 * sysdeps/stub/getlogin_r.c: Likewise.
3301 * sysdeps/stub/getpagesize.c: Likewise.
3302 * sysdeps/stub/getpeername.c: Likewise.
3303 * sysdeps/stub/getpid.c: Likewise.
3304 * sysdeps/stub/getppid.c: Likewise.
3305 * sysdeps/stub/getpriority.c: Likewise.
3306 * sysdeps/stub/getrlimit.c: Likewise.
3307 * sysdeps/stub/getrusage.c: Likewise.
3308 * sysdeps/stub/getsid.c: Likewise.
3309 * sysdeps/stub/getsockname.c: Likewise.
3310 * sysdeps/stub/getsockopt.c: Likewise.
3311 * sysdeps/stub/getsysstats.c: Likewise.
3312 * sysdeps/stub/gettimeofday.c: Likewise.
3313 * sysdeps/stub/getuid.c: Likewise.
3314 * sysdeps/stub/gtty.c: Likewise.
3315 * sysdeps/stub/ioctl.c: Likewise.
3316 * sysdeps/stub/isatty.c: Likewise.
3317 * sysdeps/stub/isfdtype.c: Likewise.
3318 * sysdeps/stub/kill.c: Likewise.
3319 * sysdeps/stub/killpg.c: Likewise.
3320 * sysdeps/stub/link.c: Likewise.
3321 * sysdeps/stub/listen.c: Likewise.
3322 * sysdeps/stub/lseek.c: Likewise.
3323 * sysdeps/stub/lxstat.c: Likewise.
3324 * sysdeps/stub/madvice.c: Likewise.
3325 * sysdeps/stub/mkdir.c: Likewise.
3326 * sysdeps/stub/mkfifo.c: Likewise.
3327 * sysdeps/stub/mkstemp.c: Likewise.
3328 * sysdeps/stub/mktemp.c: Likewise.
3329 * sysdeps/stub/mmap.c: Likewise.
3330 * sysdeps/stub/morecore.c: Likewise.
3331 * sysdeps/stub/mprotect.c: Likewise.
3332 * sysdeps/stub/msgctl.c: Likewise.
3333 * sysdeps/stub/msgget.c: Likewise.
3334 * sysdeps/stub/msgrcv.c: Likewise.
3335 * sysdeps/stub/msgsnd.c: Likewise.
3336 * sysdeps/stub/msync.c: Likewise.
3337 * sysdeps/stub/munmap.c: Likewise.
3338 * sysdeps/stub/nanosleep.c: Likewise.
3339 * sysdeps/stub/nice.c: Likewise.
3340 * sysdeps/stub/nlist.c: Likewise.
3341 * sysdeps/stub/open.c: Likewise.
3342 * sysdeps/stub/opendir.c: Likewise.
3343 * sysdeps/stub/pathconf.c: Likewise.
3344 * sysdeps/stub/pause.c: Likewise.
3345 * sysdeps/stub/pipe.c: Likewise.
3346 * sysdeps/stub/pipestream.c: Likewise.
3347 * sysdeps/stub/poll.c: Likewise.
3348 * sysdeps/stub/profil.c: Likewise.
3349 * sysdeps/stub/ptrace.c: Likewise.
3350 * sysdeps/stub/putenv.c: Likewise.
3351 * sysdeps/stub/raise.c: Likewise.
3352 * sysdeps/stub/read.c: Likewise.
3353 * sysdeps/stub/readdir.c: Likewise.
3354 * sysdeps/stub/readlink.c: Likewise.
3355 * sysdeps/stub/readv.c: Likewise.
3356 * sysdeps/stub/reboot.c: Likewise.
3357 * sysdeps/stub/recv.c: Likewise.
3358 * sysdeps/stub/recvfrom.c: Likewise.
3359 * sysdeps/stub/recvmsg.c: Likewise.
3360 * sysdeps/stub/remove.c: Likewise.
3361 * sysdeps/stub/rename.c: Likewise.
3362 * sysdeps/stub/revoke.c: Likewise.
3363 * sysdeps/stub/rewinddir.c: Likewise.
3364 * sysdeps/stub/rmdir.c: Likewise.
3365 * sysdeps/stub/sbrk.c: Likewise.
3366 * sysdeps/stub/sched_getp.c: Likewise.
3367 * sysdeps/stub/sched_gets.c: Likewise.
3368 * sysdeps/stub/sched_primax.c: Likewise.
3369 * sysdeps/stub/sched_primin.c: Likewise.
3370 * sysdeps/stub/sched_rr_gi.c: Likewise.
3371 * sysdeps/stub/sched_setp.c: Likewise.
3372 * sysdeps/stub/sched_sets.c: Likewise.
3373 * sysdeps/stub/sched_yield.c: Likewise.
3374 * sysdeps/stub/seekdir.c: Likewise.
3375 * sysdeps/stub/select.c: Likewise.
3376 * sysdeps/stub/semctl.c: Likewise.
3377 * sysdeps/stub/semget.c: Likewise.
3378 * sysdeps/stub/semop.c: Likewise.
3379 * sysdeps/stub/send.c: Likewise.
3380 * sysdeps/stub/sendmsg.c: Likewise.
3381 * sysdeps/stub/sendto.c: Likewise.
3382 * sysdeps/stub/setdomain.c: Likewise.
3383 * sysdeps/stub/setegid.c: Likewise.
3384 * sysdeps/stub/setenv.c: Likewise.
3385 * sysdeps/stub/seteuid.c: Likewise.
3386 * sysdeps/stub/setgid.c: Likewise.
3387 * sysdeps/stub/setgroups.c: Likewise.
3388 * sysdeps/stub/sethostid.c: Likewise.
3389 * sysdeps/stub/sethostname.c: Likewise.
3390 * sysdeps/stub/setitimer.c: Likewise.
3391 * sysdeps/stub/setjmp.c: Likewise.
3392 * sysdeps/stub/setlogin.c: Likewise.
3393 * sysdeps/stub/setpgid.c: Likewise.
3394 * sysdeps/stub/setpriority.c: Likewise.
3395 * sysdeps/stub/setregid.c: Likewise.
3396 * sysdeps/stub/setreuid.c: Likewise.
3397 * sysdeps/stub/setrlimit.c: Likewise.
3398 * sysdeps/stub/setsid.c: Likewise.
3399 * sysdeps/stub/setsockopt.c: Likewise.
3400 * sysdeps/stub/settimeofday.c: Likewise.
3401 * sysdeps/stub/setuid.c: Likewise.
3402 * sysdeps/stub/shmat.c: Likewise.
3403 * sysdeps/stub/shmctl.c: Likewise.
3404 * sysdeps/stub/shmdt.c: Likewise.
3405 * sysdeps/stub/shmget.c: Likewise.
3406 * sysdeps/stub/shutdown.c: Likewise.
3407 * sysdeps/stub/sigaction.c: Likewise.
3408 * sysdeps/stub/sigaltstack.c: Likewise.
3409 * sysdeps/stub/sigblock.c: Likewise.
3410 * sysdeps/stub/sigintr.c: Likewise.
3411 * sysdeps/stub/signal.c: Likewise.
3412 * sysdeps/stub/sigpause.c: Likewise.
3413 * sysdeps/stub/sigpending.c: Likewise.
3414 * sysdeps/stub/sigprocmask.c: Likewise.
3415 * sysdeps/stub/sigreturn.c: Likewise.
3416 * sysdeps/stub/sigsetmask.c: Likewise.
3417 * sysdeps/stub/sigstack.c: Likewise.
3418 * sysdeps/stub/sigsuspend.c: Likewise.
3419 * sysdeps/stub/sigvec.c: Likewise.
3420 * sysdeps/stub/sleep.c: Likewise.
3421 * sysdeps/stub/socket.c: Likewise.
3422 * sysdeps/stub/socketpair.c: Likewise.
3423 * sysdeps/stub/sstk.c: Likewise.
3424 * sysdeps/stub/statfs.c: Likewise.
3425 * sysdeps/stub/stime.c: Likewise.
3426 * sysdeps/stub/stty.c: Likewise.
3427 * sysdeps/stub/swapoff.c: Likewise.
3428 * sysdeps/stub/swapon.c: Likewise.
3429 * sysdeps/stub/symlink.c: Likewise.
3430 * sysdeps/stub/sync.c: Likewise.
3431 * sysdeps/stub/syscall.c: Likewise.
3432 * sysdeps/stub/sysconf.c: Likewise.
3433 * sysdeps/stub/sysd-stdio.c: Likewise.
3434 * sysdeps/stub/system.c: Likewise.
3435 * sysdeps/stub/tcdrain.c: Likewise.
3436 * sysdeps/stub/tcflow.c: Likewise.
3437 * sysdeps/stub/tcflush.c: Likewise.
3438 * sysdeps/stub/tcgetattr.c: Likewise.
3439 * sysdeps/stub/tcgetpgrp.c: Likewise.
3440 * sysdeps/stub/tcsendbrk.c: Likewise.
3441 * sysdeps/stub/tcsetattr.c: Likewise.
3442 * sysdeps/stub/tcsetpgrp.c: Likewise.
3443 * sysdeps/stub/telldir.c: Likewise.
3444 * sysdeps/stub/tempname.c: Likewise.
3445 * sysdeps/stub/time.c: Likewise.
3446 * sysdeps/stub/times.c: Likewise.
3447 * sysdeps/stub/truncate.c: Likewise.
3448 * sysdeps/stub/ttyname.c: Likewise.
3449 * sysdeps/stub/ttyname_r.c: Likewise.
3450 * sysdeps/stub/ualarm.c: Likewise.
3451 * sysdeps/stub/ulimit.c: Likewise.
3452 * sysdeps/stub/umask.c: Likewise.
3453 * sysdeps/stub/unlink.c: Likewise.
3454 * sysdeps/stub/usleep.c: Likewise.
3455 * sysdeps/stub/ustat.c: Likewise.
3456 * sysdeps/stub/utime.c: Likewise.
3457 * sysdeps/stub/utimes.c: Likewise.
3458 * sysdeps/stub/vhangup.c: Likewise.
3459 * sysdeps/stub/wait.c: Likewise.
3460 * sysdeps/stub/wait3.c: Likewise.
3461 * sysdeps/stub/wait4.c: Likewise.
3462 * sysdeps/stub/waitpid.c: Likewise.
3463 * sysdeps/stub/write.c: Likewise.
3464 * sysdeps/stub/writev.c: Likewise.
3465 * sysdeps/stub/xmknod.c: Likewise.
3466 * sysdeps/stub/xstat.c: Likewise.
3467 * sysdeps/unix/closedir.c: Likewise.
3468 * sysdeps/unix/fxstat.c: Likewise.
3469 * sysdeps/unix/getlogin.c: Likewise.
3470 * sysdeps/unix/getlogin_r.c: Likewise.
3471 * sysdeps/unix/mkdir.c: Likewise.
3472 * sysdeps/unix/nice.c: Likewise.
3473 * sysdeps/unix/nlist.c: Likewise.
3474 * sysdeps/unix/opendir.c: Likewise.
3475 * sysdeps/unix/readdir.c: Likewise.
3476 * sysdeps/unix/rmdir.c: Likewise.
3477 * sysdeps/unix/stime.c: Likewise.
3478 * sysdeps/unix/xmknod.c: Likewise.
3479 * sysdeps/unix/xstat.c: Likewise.
3480 * sysdeps/unix/bsd/isatty.c: Likewise.
3481 * sysdeps/unix/bsd/setegid.c: Likewise.
3482 * sysdeps/unix/bsd/seteuid.c: Likewise.
3483 * sysdeps/unix/bsd/setsid.c: Likewise.
3484 * sysdeps/unix/bsd/sigaction.c: Likewise.
3485 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3486 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3487 * sysdeps/unix/bsd/tcflow.c: Likewise.
3488 * sysdeps/unix/bsd/tcflush.c: Likewise.
3489 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3490 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3491 * sysdeps/unix/bsd/times.c: Likewise.
3492 * sysdeps/unix/bsd/ulimit.c: Likewise.
3493 * sysdeps/unix/common/lxstat.c: Likewise.
3494 * sysdeps/unix/common/tcsendbrk.c: Likewise.
3495 * sysdeps/unix/sysv/setrlimit.c: Likewise.
3496 * sysdeps/unix/sysv/settimeofday.c: Likewise.
3497 * sysdeps/unix/sysv/sigaction.c: Likewise.
3498 * sysdeps/unix/sysv/tcflow.c: Likewise.
3499 * sysdeps/unix/sysv/tcflush.c: Likewise.
3500 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3501 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3502 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3503 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
3504 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
3505 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
3506 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3507 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3508 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
3509 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3510 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3511 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3512 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3513 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
3514 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
3515 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
3516 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
3517 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
3518 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
3519 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
3520 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3521 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3522 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
3524 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
3525 * sunrpc/clnt_udp.c: Likewise.
3526 * sunrpc/bindrsvprt.c: Likewise.
3527 * sunrpc/pm_getmaps.c: Likewise.
3528 * sunrpc/pmap_rmt.c: Likewise.
3529 * sunrpc/svc.c: Likewise.
3530 * sunrpc/svc_run.c: Likewise.
3531 * sunrpc/svc_tcp.c: Likewise.
3532 * sunrpc/svc_udp.c: Likewise.
3534 * sysdeps/generic/strtok.c: Don't check argument, just crash.
3535 * sysdeps/generic/strtok_r.c: Likewise.
3537 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
3538 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
3539 * sysdeps/unix/sparc/start.c: Likewise.
3540 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
3541 * sysdeps/unix/sysv/irix4/start.c: Likewise.
3542 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
3543 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
3544 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3546 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
3548 * catgets/gencat.c (main): Put package name in --version message
3549 in parantheses. Reported by Jim Meyering.
3550 * db/makedb.c: Likewise.
3551 * locale/programs/locale.c: Likewise.
3552 * locale/programs/localedef.c: Likewise.
3554 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
3555 two registers. Patch by John Bowman.
3557 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3559 * sysdeps/mach/libc-lock.h: Fix comment.
3560 * sysdeps/stubs/libc-lock.h: Likewise.
3562 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3564 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
3565 to lock when passing it to __libc_lock_init macro.
3566 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
3567 when passing it to __libc_lock_fini macro.
3569 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3571 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
3572 [_LIBC_REENTRANT]: Add missing semicolon.
3574 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
3575 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
3576 Use the ENTRY macro.
3578 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3580 * libio/Makefile: Make `all' the default target.
3581 * po/Makefile: Likewise.
3583 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
3585 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
3586 I applied it incorrectly.
3587 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3588 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
3589 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
3591 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
3593 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
3594 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
3596 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
3599 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
3600 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
3602 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
3603 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
3604 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
3605 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
3606 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
3608 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3610 * hurd/Makefile (installed-sunrpc-headers): New variable.
3611 (sunrpc-headers): New variable.
3612 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
3613 not just <rpc/netdb.h>.
3614 ($(installed-sunrpc-headers)): Provide rule for all of these.
3616 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3618 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
3619 variable `top_srcdir' in libc; use $(..) instead.
3621 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
3622 definition. It was a *Mistake*. (With a capital M.)
3624 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
3626 (__get_nprocs_conf): Renamed from __get_nproc_conf.
3628 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
3630 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
3631 `_dl_start' so that linking fails if this file should ever be used
3634 * catgets/gencat.c (main): Change --version message according to
3635 RMS' last standard revision.
3636 * db/makedb.c: Likewise.
3637 * locale/programs/locale.c: Likewise.
3638 * locale/programs/localedef.c: Likewise.
3640 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3642 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
3643 (__get_nproc_conf): New function.
3645 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
3647 * resolv/resolv.h: Update to bind-4.9.5-T4B.
3648 * resolv/base64.c: Likewise.
3649 * resolv/res_debug.c: Likewise.
3650 * resolv/res_query.c: Likewise.
3651 * resolv/gethnamaddr.c: Likewise.
3652 * nss/nss_dns/dns-host.c: Likewise.
3653 * resolv/res_comp.c: Likewise.
3654 * resolv/res_send.c: Likewise.
3655 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
3658 * resolv/Banner: New file.
3659 * resolv/Makefile (distribute): Add Banner.
3661 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
3663 * sysdeps/stub/getsysstats.c: New file.
3664 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
3666 * misc/Makefile (headers): Add sys/sysinfo.h.
3667 (routines): Add getsysstats.
3668 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
3669 (sysdep_headers): Remove sys/sysinfo.h.
3670 * sysdeps/generic/sys/sysinfo.h: New file.
3671 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
3672 get_phys_pages, and get_avphys_pages.
3674 * misc/Makefile (routines): Add mntent_r.
3675 * misc/mntent_r.c: New file.
3676 * misc/mntent.c: Remove all functions but getmntent and use
3678 * misc/mntent.h: Add prototype for __getmntent_r.
3679 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
3680 This will not clobber the state in getmntent.
3682 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
3683 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
3684 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
3685 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
3686 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
3687 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
3688 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
3689 * sysdeps/posix/sysconf.c: Likewise.
3690 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
3691 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
3693 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
3695 * version.h (VERSION): Bump to 1.95.
3697 * Make-dist (+tsrcs): Don't filter out files in subdirs which
3698 match files in the sysdeps hierachy (welcome back,
3701 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
3703 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
3705 * locale/loadlocale.c (_nl_free_locale): Remove function.
3706 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
3707 * locale/setlocale.c (setlocale): Don't free locale data of
3708 categories which succeeded to load after a wrong or missing data
3711 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
3712 that it works even when the locale data is not used.
3714 * stdlib/random_r.c: Fix typo in comment.
3715 * stdlib/drand48-iter.c: Likewise.
3716 * stdlib/drand48.c: Likewise.
3717 * stdlib/erand48.c: Likewise.
3718 * stdlib/jrand48.c: Likewise.
3719 * stdlib/lcong48.c: Likewise.
3720 * stdlib/lrand48.c: Likewise.
3721 * stdlib/mrand48.c: Likewise.
3722 * stdlib/nrand48.c: Likewise.
3723 * stdlib/random.c: Likewise.
3724 * stdlib/seed48.c: Likewise.
3725 * stdlib/srand48.c: Likewise.
3726 * misc/search.h: Likewise.
3727 * misc/hsearch.c: Likewise.
3728 * misc/hsearch_r.c: Likewise.
3730 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3732 * sysdeps/mach/getsysstats.c: New file.
3734 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
3735 binary distribution.
3737 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
3738 definition to override dangerous one in Makeconfig.
3740 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
3741 ($(includedir)/rpc/netdb.h): New rule.
3742 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
3745 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3747 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
3748 to guarantee link errors if this is included in ld.so.
3750 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3752 * hurd/hurdinit.c (__libc_argv): Provide common decl.
3753 (_hurd_setproc): Don't declare __libc_argv here.
3755 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3757 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
3758 for actual modifications to global state.
3760 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3762 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
3763 * sysdeps/mach/hurd/Makefile (includes): Add
3764 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
3766 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
3767 struct sched_params.
3768 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
3769 sched_params -> struct sched_param.
3770 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
3771 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
3773 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3775 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
3778 * stdio-common/Makefile: Put lockfile in routines
3781 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
3782 this always, not just if _LIBC_REENTRANT.
3783 (__funlockfile): Don't use weak_extern for this one;
3784 __libc_cleanup_region_end might be defined and the use of
3785 __funlockfile can't be protected the way the use of __flockfile
3788 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
3790 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
3791 instead of localtime.
3792 Reported by Matthias Urlichs.
3794 * shlib-versions: Remove version number for libcrypt.
3795 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
3796 * libc-symbols.h: Define _REENTRANT while compiling libc.
3798 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
3799 Define even if !_LIBC_REENTRANT.
3800 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
3803 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
3806 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
3807 * po/header.pot: Correct title line.
3810 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
3812 * Makeconfig (soversions.mk): Prefer shared lib version numbers
3813 is add ons over version in libc itself.
3815 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
3816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
3819 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
3820 _IO_flockfile and _IO_funlockfile resp.
3822 * locale/categories.def: Partly support for correct `era' handling
3823 in LC_TIME category.
3824 * locale/langinfo.h: Likewise.
3825 * locale/programs/ld-time.c: Likewise.
3826 * locale/localeinfo.h: Change comment a bit.
3828 * malloc/memalign.c: Don't use goto, not necessary anymore.
3830 1996-09-18 Paul Eggert <eggert@twinsun.com>
3832 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
3833 is negative, or if time_t is unsigned.
3834 * time/strftime.c (tm_diff): Work correctly even if tm_year
3837 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3839 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
3840 all three versions of the math function.
3841 (__inline_mathopf, __inline_mathopl): Removed.
3842 (__inline_functions): New temporary definition containing all
3843 non-trivial inline functions.
3845 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
3847 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
3849 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
3851 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
3854 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
3856 * sysdeps/stub/fpu_control.h: Correct end of file comment.
3858 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
3860 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
3861 stdio-common/test-popen.c: Remove temporary files after test.
3862 * stdio-common/bug5.c: Use `system' instead of `execlp'.
3863 Patches by Andreas Jaeger.
3865 * stdio-common/bug5.c: Create string for `system' argument to
3866 make sure the input and output file names are really correct.
3868 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3870 * configure.in: If $os contains a hyphen add the part before the
3873 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3875 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
3876 __ieee754_powl): Rename local variable i to __i.
3877 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
3879 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
3880 sysdeps/m68k/fpu/e_atan2l.c: New files.
3882 1996-09-15 Paul Eggert <eggert@twinsun.com>
3884 * manual/time.texi: Change `range X to Y' to `range X through
3885 Y', to avoid ambiguity in English.
3887 (strftime): Numbers that do not have a range indicated are not padded.
3888 Describe E and O modifiers.
3889 %g, %G, %u: New formats.
3890 %C, %y, %Y: Describe behavior on negative years.
3891 %e: Fix typo (was labeled %d).
3892 %l, %V: Fix typo in range.
3893 %M, %S, %U, %w, %W: Give ranges.
3894 %p: Clarify how noon and midnight are handled for AM and PM.
3895 %s: Clarify leap second handling.
3896 %r: Now locale-defined.
3897 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
3898 %z: Say that it is a GNU extension.
3901 * time/strftime.c: (strftime):
3902 %V: Fix mishandling of week numbers near year boundaries.
3903 %g, %G: New formats (suggested by Arthur David Olson).
3904 %U, %W: Use inline expression instead of `week' function.
3905 %C, %y: Handle negative years portably.
3906 %C, %Y: Use width 1, since values can be arbitrarily wide.
3907 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
3908 %u: New Posix.2 format.
3909 %w: Width is 1, not 2.
3910 (iso_week_days): New function, for %V, %G, %g.
3911 (week): Remove; it didn't handle %V correctly.
3912 (__isleap): New macro.
3913 (mbsinit): Use arg, to pacify GCC -Wall.
3915 1996-09-13 Paul Eggert <eggert@twinsun.com>
3917 * time/strftime.c (strftime):
3918 If using the GNU C library, do not bother to check for
3919 multibyte encodings, since they're safe in formats. Otherwise:
3920 - Check for multibyte encodings when encountering any character that
3921 is not in the basic execution character set of the C Standard.
3922 - Use mbrlen (if available) instead of mblen, to avoid modifying
3923 mblen's internal state.
3924 - Do not assume that '%' cannot appear as the first character of a
3925 multibyte character sequence, since this is possible when not in the
3926 initial shift state.
3927 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
3928 (DO_MULTIBYTE): New macro.
3929 (<ctype.h>): Do not include.
3930 (<wchar.h>): Include if HAVE_MBRLEN.
3931 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
3932 (mbstate_zero): New constant.
3934 1996-09-12 Paul Eggert <eggert@twinsun.com>
3936 * time/strftime.c (strftime):
3937 Use an empty zone if it can't be determined; POSIX.2 requires this.
3938 Use plain `int' for pad and modifier (which now contain char value).
3939 Use plain `int' for number_value, to print negative values correctly.
3940 Use plain `int' for digits; there was no need to make it unsigned.
3941 Initialize subfmt consistently.
3942 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
3943 For %O, if there is no alternate digit, output Ascii instead of "".
3944 Output the `%' of an unknown format; this is most likely the right
3945 thing to do if a multibyte string has been misparsed.
3947 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3949 * stdio-common/scanf7.c (main): Remove extra conversion from
3950 printf format string.
3952 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3954 * stdlib/test-canon.c (tests): Rename structure member from errno
3955 to error, all uses changed.
3957 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3959 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
3961 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3962 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
3964 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3965 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
3966 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
3968 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
3969 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
3971 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
3972 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
3974 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3976 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
3977 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
3979 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3981 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
3982 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
3984 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3986 * inet/herrno.c (__h_errno_location): Fix return type.
3988 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3990 * hurd/hurdinit.c (__libc_argv): Provide common decl.
3991 (_hurd_setproc): Don't declare __libc_argv here.
3993 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
3995 * sched.h: New file. Helper to access posix/sched.h.
3996 * posix/sched.h: Change `sched_params' to `sched_param' to follow
3999 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
4001 * db/makedb.c (usage): Print bug report address separately to
4002 ease translators task.
4003 * catgets/gencat.c (usage): Likewise.
4004 * locale/locale.c (usage): Likewise.
4005 * locale/localedef.c (usage): Likewise.
4007 1996-09-12 Paul Eggert <eggert@twinsun.com>
4009 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
4010 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
4011 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
4013 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
4015 * crypt/Makefile: Include Makeconfig and add crypt object dir to
4016 rpath-link so that running the check finds the new library.
4017 * crypt/cert.c: provide correct prototypes to prevent warnings.
4018 Reported by Andreas Jaeger.
4020 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
4021 old and new value must be glued using `:'.
4022 Reported by Marcus Daniels.
4024 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4026 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
4027 accidentally added on.
4029 * sysdeps/stub/intr-msg.h: New file.
4031 * stdio-common/vfprintf.c: Include <libc-lock.h>.
4032 * stdio-common/vfscanf.c: Include <libc-lock.h>.
4034 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
4036 (__libc_cleanup_region_end): New macro.
4038 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4040 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
4041 accidentally added on.
4043 * sysdeps/stub/intr-msg.h: New file.
4045 * stdio-common/vfprintf.c: Include <libc-lock.h>.
4046 * stdio-common/vfscanf.c: Include <libc-lock.h>.
4048 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
4050 (__libc_cleanup_region_end): New macro.
4052 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
4054 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
4055 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4056 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
4058 1996-09-11 Paul Eggert <eggert@twinsun.com>
4060 * strftime.c (strftime):
4061 Handle E and O modifiers, required for POSIX.2 and XPG4.
4062 Don't use sprintf to format numbers; this way, we can handle time_t
4063 correctly regardless of whether it's signed.
4064 Don't dump core if format ends in %.
4065 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
4067 Use tm_gmtoff if available.
4068 Output nothing if tm_isdst is negative.
4069 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
4070 Don't assume that UTC offset is less than 24 hours;
4071 Posix requires support for 24 hours, and there's no point
4073 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
4074 (CHAR_BIT): Define if <limits.h> doesn't.
4075 (tm_diff): New function.
4076 (fmt, <stdio.h>): Remove; no longer used.
4078 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
4080 * db/Makefile: Add extra-libs-others variable so that shared
4081 library is built in `others' pass.
4082 * elf/Makefile: Likewise.
4083 * math/Makefile: Likewise.
4084 * resolv/Makefile: Likewise.
4086 * Makefile (generated): Add version.info.h.
4088 * time/checktab.awk: New file. From ADO 96k.
4089 * time/iso3166.tab: Likewise.
4090 * time/tzselect.ksh: Likewise.
4091 * time/zone.tab: Likewise.
4093 * stdio-common/vfprintf.c: Correct cleanup registration. We
4096 1996-09-11 Paul Eggert <eggert@twinsun.com>
4098 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
4099 __USE_BSD; this is required for ANSI C compatibility.
4100 * manual/time.texi: Replace GMT by UTC, daylight savings by
4101 daylight saving, timezone by time zone.
4102 Rewrite description of %V to match ISO 8601.
4103 Fix TZ Posix string example for US Eastern time.
4104 Explain tzname[1] when DST isn't used.
4105 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
4106 Explain that timezone's sign is opposite from tm_gmtoff, and that
4107 timezone lacks DST adjustment whereas tm_gmtoff has it.
4108 Deprecate tzname and timezone.
4110 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4112 Implement Roland McGrath's idea of how to put an .interp into
4114 * interp.c: New file.
4115 * Makerules (interp-obj): New object, linked into every shared
4117 (common-generated): Add interp.so.
4118 (CFLAGS-interp.c): Pass name of interpreter.
4120 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4122 * db/Makefile: Fix typo.
4124 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4126 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
4127 occurences of the same uid, and only generate a mapping for the
4130 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4132 * sysdeps/unix/sysv/linux/system.c: New file, to override
4133 sysdeps/unix/system.c.
4135 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4137 * Makefile (before-compile): Add version-info.h, needed to build
4140 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4142 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
4143 EWOULDBLOCK, never true on Linux.
4144 (__errno_location): New function.
4145 [_LIBC_REENTRANT]: Set errno using __errno_location function.
4146 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
4147 syscall_error handler for reentrant libc.
4149 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4151 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
4153 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
4155 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
4157 * time/tzfile.c (compute_tzname_max): Likewise.
4159 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
4161 * configure.in: Quote $add_ons argument in loop to generated
4164 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
4166 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
4168 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4170 * elf/dl-cache.c: Rename to ...
4171 * sysdeps/generic/dl-cache.c: ... here.
4172 * sysdeps/mach/hurd/dl-cache.c: New file.
4174 * mach/Makefile (distribute): Add `errsystems.awk'.
4175 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
4176 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
4177 * hurd/intr-rpc.awk: Likewise.
4178 * hurd/invoke-trans.c: Likewise.
4179 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
4180 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
4181 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
4182 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
4183 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
4184 * sysdeps/stub/init-fault.c: Likewise.
4185 * sysdeps/stub/longjmp-ctx.c: Likewise.
4187 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
4189 * inet/herrno.c: Initialize `h_errno' so that we can provide
4192 * Makefile (version-info.h): Fix typo in shell script.
4194 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
4195 * sysdeps/i386/i586/strchr.S: Likewise.
4197 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
4199 * version.c (banner): Report to bug-glibc@prep not @gnu.
4200 Reported by Andreas Jaeger.
4202 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
4204 [__USE_REENTRANT]: Don't define
4206 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
4208 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
4209 when it is the third byte in the string. Reported by
4211 * string/tester.c: Add tests for above bug to strlen, strchr, and
4214 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4216 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
4217 "math_private.h" to get prototype.
4218 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4219 * sysdeps/m68k/fpu/k_cos.c: Likewise.
4220 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4221 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4223 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
4225 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4227 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4229 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
4230 instead of __NO_MATH_INLINES.
4231 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
4232 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
4233 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4234 * sysdeps/m68k/fpu/k_cos.c: Likewise.
4235 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4236 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4237 * sysdeps/m68k/fpu/s_atan.c: Likewise.
4238 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4239 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4240 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4241 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
4242 * sysdeps/m68k/fpu/s_modf.c: Likewise.
4243 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
4244 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4245 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4247 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
4249 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
4250 available character before converting number and return with
4251 error if none is available.
4253 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4255 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
4256 implementation for architectures where parameters are passed on
4258 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
4259 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
4261 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4263 * configure.in: Remove unneeded sysnames frobbing.
4265 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
4267 * time/zic.c: Update from ADO 96l.
4268 * time/africa: Update from ADO 96k.
4269 * time/antarctica: Likewise.
4270 * time/asia: Likewise.
4271 * time/australia: Likewise.
4272 * time/europe: Likewise.
4273 * time/northamerica: Likewise.
4274 * time/southamerica: Likewise.
4276 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4278 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
4279 gcc <= 2.7.2.1 which optimizes away address operations on weak
4282 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
4283 Like INT_FIELD but also accept non-existing field.
4284 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
4285 for last four fields.
4286 * shadow/putspent.c (putspent): Print `:' after numeric value.
4288 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
4290 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
4292 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
4294 * Make-dist: Filter out $(add-ons) from $(subdirs).
4295 Don't distribute TAGS files.
4296 ($(tardir).tar): Remove dist.tar when all is done.
4297 * manual/Makefile (distribute): Add libc.info*.
4298 * libio/Makefile (distribute): Add Banner.
4299 * inet/Makefile (headers): Add netinet/tcp.h.
4301 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
4303 * crypt-README: Removed.
4304 * gnu-stabs.h: Removed.
4306 * sysdeps/alpha/copysign.S: Renamed to...
4307 * sysdeps/alpha/s_copysign.S: ...this.
4308 * sysdeps/alpha/fabs.S: Renamed to...
4309 * sysdeps/alpha/s_fabs.S: ...this.
4311 * sysdeps/m68k/isinfl.c: Renamed to...
4312 * sysdeps/m68k/s_isinfl.c: ...this.
4313 * sysdeps/m68k/isnanl.c: Renamed to...
4314 * sysdeps/m68k/s_isnanl.c: ...this.
4316 * sysdeps/sparc/sqrt.c: Renamed to...
4317 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
4320 * sysdeps/generic/get_str.c: Removed.
4322 * sysdeps/ieee754/cbrt.c: Removed.
4323 * sysdeps/ieee754/drem.c: Removed.
4324 * sysdeps/ieee754/logb.c: Removed.
4325 * sysdeps/ieee754/sqrt.c: Removed.
4327 * sysdeps/stub/cbrt.c: Removed.
4328 * sysdeps/stub/cos.c: Removed.
4329 * sysdeps/stub/drem.c: Removed.
4330 * sysdeps/stub/isinf.c: Removed.
4331 * sysdeps/stub/isinfl.c: Removed.
4332 * sysdeps/stub/isnanl.c: Removed.
4333 * sysdeps/stub/logb.c: Removed.
4334 * sysdeps/stub/sin.c: Removed.
4335 * sysdeps/stub/sqrt.c: Removed.
4337 * sysdeps/tahoe/log10.c: Removed.
4339 * sysdeps/vax/index.s: Removed.
4340 * sysdeps/vax/rindex.s: Removed.
4341 * sysdeps/vax/bcmp.s: Removed.
4342 * sysdeps/vax/log10.c: Removed.
4343 * sysdeps/vax/infnan.c: Removed.
4344 * sysdeps/vax/Dist: Add fl.h.
4346 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
4348 * inet/rcmd.c (rcmd): Make messages more uniform.
4350 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
4355 * po/pl.po: New file.
4356 * po/nl.po: New file.
4358 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
4360 * Makeconfig (+link): Filter out start, pre & postinit from the
4361 generic depenancies as well.
4362 * Rules: Add start, pre & postinit to the dependancies of
4363 $(others) and $(tests).
4365 * configure.in: elf_dirs missing "sysdeps" component.
4367 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
4369 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
4370 This is consistent with all other GNU packages. We shouldn't
4371 take care for a possible clash. Nobody will name the domain
4372 of a package libc if it is not the libc itself.
4373 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
4374 * po/Makefile (domainname): Change to libc.
4375 (distribute): Now ship libc.pot.
4376 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
4377 version information banner.
4378 Change bug report address to bug-glibc@prep not @gnu.
4379 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
4380 (main): Use `PACKAGE' for package name in version information
4382 Change bug report address to bug-glibc@prep not @gnu.
4383 * locale/programs/locale.c (main): Use `PACKAGE' for package name
4384 in version information banner.
4385 Change bug report address to bug-glibc@prep not @gnu.
4386 * locale/programs/localedef.c (main): Likewise.
4388 * version.h (VERSION): Bump to 1.94.
4390 * locale/Makefile (distribute): Add locale.c and localedef.c.
4392 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
4394 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
4395 instead of sizeof(nl_catd) (which is just a pointer!).
4397 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
4399 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
4400 * version.c (banner): Add contents of version-info.h to string.
4402 * Makerules: If $($(subdir)-version) is available name versioned
4403 shared library according to this value instead of glibc's version.
4405 * libio/Banner: New file.
4407 * elf/eval.c (funcall): Write error message in case function is
4409 (eval): Recognize `_' in names.
4411 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
4413 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
4414 * libio/iofopen: Likewise.
4415 * libio/iofopncook.c: Likewise.
4416 * libio/iopopen.c: Likewise.
4417 * libio/iovsprintf.c: Likewise.
4418 * libio/iovsscanf.c: Likewise.
4419 * libio/memstream.c: Likewise.
4420 * libio/vasprintf.c: Likewise.
4421 * libio/vdprintf.c: Likewise.
4422 * libio/vsnprintf.c: Likewise.
4424 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
4426 * Makeconfig (soversions.mk): Also use shlib-versions files
4427 in add-on directories.
4428 * config.make.in (config-defines): Remove. Not used anymore.
4429 (defines): New variable. Initiliazed by @DEFINES@.
4430 * configure.in: Add AC_SUBST(DEFINES).
4432 * libio/Makefile (routines): When compiling reentrant libc add
4433 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
4434 iofflush_u, putc_u, putchar_u, ioflockfile.
4435 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
4437 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
4438 and __libc_cleanup_region_end.
4440 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
4441 using __errno_location function.
4442 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
4443 using __errno_location function.
4444 (__errno_location): New function.
4445 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
4446 syscall_error handler for reentrant libc.
4448 * sysdeps/unix/opendir.c: Remove unneeded `;'.
4450 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
4451 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
4453 * libioP.h: Include <libc-lock.h>.
4454 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
4457 * libio/clearerr.c: Use _IO_ protected versions of flockfile
4458 and funlockfile to be namespace clean.
4460 * libio/genops.c: Use __libc_lock_* macros for handling lock.
4462 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
4463 * libio/iofopen: Likewise.
4464 * libio/iofopncook.c: Likewise.
4465 * libio/iopopen.c: Likewise.
4466 * libio/iovsprintf.c: Likewise.
4467 * libio/iovsscanf.c: Likewise.
4468 * libio/memstream.c: Likewise.
4469 * libio/vasprintf.c: Likewise.
4470 * libio/vdprintf.c: Likewise.
4471 * libio/vsnprintf.c: Likewise.
4473 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
4475 * libio/fputc.c: Likewise.
4476 * libio/freopen.c: Likewise.
4477 * libio/fseek.c: Likewise.
4478 * libio/getc.c: Likewise.
4479 * libio/getchar.c: Likewise.
4480 * libio/iofclose.c: Likewise.
4481 * libio/iofflush.c: Likewise.
4482 * libio/iofgetpos.c: Likewise.
4483 * libio/iofgets.c: Likewise.
4484 * libio/iofputs.c: Likewise.
4485 * libio/iofread.c: Likewise.
4486 * libio/iofsetpos.c: Likewise.
4487 * libio/ioftell.c: Likewise.
4488 * libio/iofwrite.c: Likewise.
4489 * libio/iogetdelim.c: Likewise.
4490 * libio/iogets.c: Likewise.
4491 * libio/ioputs.c: Likewise.
4492 * libio/iosetbuffer.c: Likewise.
4493 * libio/iosetvbuf.c: Likewise.
4494 * libio/ioungetc.c: Likewise.
4495 * libio/putc.c: Likewise.
4496 * libio/putchar.c: Likewise.
4497 * libio/rewind.c: Likewise.
4498 * stdio-common/vfprintf.c: Likewise.
4499 * stdio-common/vfscanf.c: Likewise.
4501 * libio/clearerr_u.c: Correct alias name.
4502 * libio/ferror_u.c: Likewise.
4503 * libio/fileno.c: Likewise.
4504 * libio/fputc_u.c: Likewise.
4505 * libio/getc.c: Likewise.
4506 * libio/getc_u.c: Likewise.
4507 * libio/getchar.c: Likewise.
4508 * libio/getchar_u.c: Likewise.
4509 * libio/putc.c: Likewise.
4510 * libio/putchar.c: Likewise.
4512 * libio/feof_u.c: Undefine macro with name of function before
4513 definition of function itself.
4515 * libio/ioflockfile.c: New file. Implementation of flockfile and
4518 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
4520 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
4523 * malloc/free.c: Include <libc-lock.h>.
4524 * malloc/realloc.c: Likewise.
4525 * malloc/malloc-find.c: Likewise.
4526 * malloc/malloc-size.c: Likewise.
4527 * malloc/malloc-walk.c: Likewise.
4528 * malloc/memalign.c: Likewise.
4529 * malloc/malloc.c: Likewise.
4531 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
4533 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
4535 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
4536 and __libc_lock_critical_end as empty macros.
4538 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
4540 * malloc/free.c: Include <libc-lock.h>.
4541 * malloc/malloc-find.c: Likewise.
4542 * malloc/malloc-size.c: Likewise.
4543 * malloc/malloc-walk.c: Likewise.
4544 * malloc/malloc.c: Likewise.
4545 * malloc/memalign.c: Likewise.
4546 * malloc/realloc.c: Likewise.
4548 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
4551 * extra-lib.mk: Likewise.
4552 * manual/Makefile: Likewise.
4554 * db/Makefile (makedb): Choose dependecies based on build-shared.
4555 Patch by Andres Schwab.
4557 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
4558 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
4560 * sysdeps/unix/sysv/linux/errnos.h: New file.
4561 * sysdeps/unix/sysv/linux/schedbits.h: New file.
4562 * sysdeps/unix/sysv/linux/waitflags.h: New file.
4564 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
4566 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4568 * rpm/template: Fix typo in %build section.
4570 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
4572 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
4573 building libc without thread support.
4574 * resolv/netdb.h: Likewise for h_errno macro.
4576 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
4578 * libc-symbols.h: Add new macro weak_const_function. It's like
4579 weak_function, but the function is additionally marked as const.
4580 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
4582 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
4584 * inet/herrno.c (__h_errno_location): New function.
4585 (h_errno): Make strong_alias __h_errno so that we can access
4586 the variable even if `h_errno' is a macro.
4587 * resolv/netdb.h: Define macro h_errno to access thread specific
4588 version of h_errno variable. Declare alias __h_errno for h_errno.
4589 * resolv/res_query (h_errno): Remove definition.
4590 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
4591 Add macro `errno' to get thread specific variable.
4592 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
4593 __errno_location function.
4594 (__errno_location): New function.
4596 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
4598 * posix/gnu/types.h: Remove definition of key_t.
4599 * sysdeps/generic/gnu/types.h: Move it to here.
4600 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
4601 definition of key_t.
4603 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
4605 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
4606 clone prototypes and associated flags.
4608 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4610 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
4612 (init1): Initialize them.
4613 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
4614 available, pass __libc_argv in call to __proc_set_arg_locations.
4616 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
4618 (hertz): Delete function.
4619 * gmon/Makefile (routines): Add `prof-freq'.
4620 * sysdeps/generic/prof-freq.c: New file.
4621 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
4622 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
4623 (update_waiter): Store frequency in profile_tick.
4624 (__profile_frequency): New function.
4626 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
4629 * Rules (generated): Restore reference to $(generated).
4631 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
4634 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
4636 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
4637 * malloc/realloc.c: Likewise.
4638 * malloc/malloc-find.c: Likewise.
4639 * malloc/malloc-size.c: Likewise.
4640 * malloc/malloc-walk.c: Likewise.
4641 * malloc/memalign.c: Likewise.
4643 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
4645 * sysdeps/alpha/elf/start.S: Make _start global again.
4647 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
4649 Change configuration and Makefiles to allow add-ons to have a
4650 sysdeps/ directory hierachy.
4651 * configure.in: Test for sysdeps/ directory in add-ons. Before
4652 all test and searches in these hierachies, too.
4653 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
4654 Extend with $(..) if not absolute path.
4655 Use $(full-config-subdirs) where $(config-sysdirs) was used.
4656 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
4657 * MakeTAGS: Use $(full-config-subdirs).
4658 * Makerules: Change comment to libc.so link script.
4659 (sysdirs): Define based on $(full-config-subdirs).
4660 (sysd-Makefile): Define using config-sysdirs.
4661 (sysd-rules): Likewise.
4662 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
4663 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
4665 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4667 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
4668 * sysdeps/m68k/fpu/k_sin.c: Likewise.
4669 * sysdeps/m68k/fpu/k_tan.c: Likewise.
4671 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
4673 * malloc/free.c (free): Protect by using __libc_malloc_lock.
4674 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
4675 * malloc/malloc-size.c (malloc_usable_size): Likewise.
4676 * malloc/malloc-walk.c (malloc_walk): Likewise.
4677 * malloc/memalign.c (memalign): Likewise.
4678 * malloc/realloc.c (realloc): Likewise.
4679 * malloc/malloc.c: Define __libc_malloc_lock.
4680 (_malloc_internal): Don't use `malloc'. Instead look for
4681 `__malloc_hook' or call `_malloc_internal'.
4682 (malloc): Protect by using `__libc_malloc_lock'.
4683 * malloc/malloc.h: Declare `__libc_malloc_lock'.
4685 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
4687 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
4688 instead of the hard definition.
4690 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
4691 _start and _dl_start_user.
4693 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
4694 Make _dl_starting_up weak. Add type info for NAME.
4696 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
4698 * Makefile (all): Add extra_solibs pass.
4699 (+subdir_targets): Same.
4700 * Rules (extra_solibs): New phony empty target for subdirs without
4702 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
4703 * manual/Makefile: Add dummy extra_solibs target.
4705 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
4707 * Makeconfig (+link): Add $(link-extra-libs).
4708 (link-extra-libs): New variable which expands to the full paths of
4709 the other libraries needed by a program, as controled by LDLIBS-$(@F).
4710 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
4711 the later attempts to install the library before linking it.
4713 * sysdeps/unix/alpha/sysdep.S: Align errno.
4715 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
4717 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
4718 (_hae_shift): New function.
4719 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
4720 for the bus query functions.
4722 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
4724 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
4725 can be NULL when unloading a library.
4727 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
4728 to the library .init function.
4730 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
4731 part of the COPY reloc processing earlier, omit the rest now --
4732 we'll get into less trouble later when some fool does use a COPY.
4734 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
4735 parameters. Move all argc and __libc_multiple_libcs calculation out
4736 to init-first.h. Use __environ not __libc_envp.
4737 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
4738 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
4740 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4742 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
4743 signal settings when profiling was already turned on.
4745 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
4748 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
4750 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
4751 0 < return value < -4096 and not < 0 to decide about failure.
4752 Reported by Andreas Jaeger.
4754 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
4756 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
4759 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
4761 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
4764 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
4766 * version.c: Add missing newline character in banner.
4768 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
4769 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
4771 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
4773 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
4774 case, so don't prepend uppercase `ISO' for only numeric arg.
4776 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
4778 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
4779 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
4781 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
4783 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
4784 call to __libc_lock_lock.
4786 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
4787 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
4789 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
4791 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
4793 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
4795 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
4796 Reported by Erik Troan.
4798 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
4800 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
4801 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
4803 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4805 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
4807 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4809 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
4812 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
4814 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
4817 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4819 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
4820 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
4822 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
4823 $(common-objpfx) is good enough.
4824 * Rules (common-generated): Provide default (empty) value.
4825 (dummy.o, dummy.c, empty.o, empty.c): Put these in
4826 $(common-generated), not $(generated), and without $(..).
4827 (subdir_echo-distinfo): Treat $(common-generated) just like
4829 (generated): Depend on the (suitably mutated) $(common-generated)
4831 * Makerules (common-clean): Remove common-generated files too.
4832 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
4834 (common-generated): Do put errnos.d and stamp-errnos here.
4835 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
4837 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
4838 auth to following rule to get it built.
4840 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
4842 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
4843 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4844 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
4846 * version.c: Add comment about where to report bugs to.
4847 * catgets/gencat.c (usage): Likewise.
4848 * db/makedb.c (usage): Likewise.
4849 * locale/programs/locale.c (usage): Likewise.
4850 * locale/programs/localedef.c (usage): Likewise.
4852 * manual/socket.texi: A little bit better wording.
4854 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
4856 * Makerules: Make sure directory exists before generating stamp file.
4857 (BUILD_CFLAGS): Always refer to using $(..).
4858 * manual/Makefile: Make sure directory exists before generating
4860 (make-target-directory): Add macro definition.
4861 * sysdeps/generic/Makefile: Make sure directory exists before
4862 generating stamp file.
4864 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
4866 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4868 When compiling in separate directory put objects into
4869 subdirectories matching the source layout.
4870 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
4871 When looking for configparms try in $(common-objpfx).
4872 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
4874 * Makerules: Add $(objpfx) to vpath list.
4875 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
4876 more than once. All uses in dependency lists changed.
4877 (+make-deps): Make target directory.
4878 (sed-remove-objpfx): Substitute $(common-objpfx).
4879 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
4880 $(objpfx) instead of $(objdir) for cd command.
4881 (O%-lib): Always find libc relative to $(..).
4882 (subdir-stamps): Collect stamp files from subdirs.
4883 (common-mostlyclean): Remove stub file in $(common-objpfx).
4884 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
4885 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
4887 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
4888 $(common-objpfx). All uses in dependency lists changed.
4889 (generated): Prepend $(..) to names.
4890 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
4892 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
4893 Use $(common-objpfx) instead of $(..) in dependencies.
4894 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
4895 $(common-objpfx) instead of $(..) and (objpfx).
4896 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
4897 (rpath-link): Likewise.
4898 (rpcuserlibs): Likewise.
4899 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
4900 errlist.c in $(objpfx), not $(common-objpfx).
4901 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
4903 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
4904 s-proto.d in $(common-objpfx), not $(objpfx).
4906 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
4908 * nss/nsswitch.c (nss_dlerror_run): Free returned error
4911 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
4913 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
4915 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
4916 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
4917 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
4918 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
4919 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
4920 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
4921 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
4922 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
4924 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4926 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
4927 spelling error of _hurd_itimerval.
4929 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
4930 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
4931 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
4933 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
4935 * stdio/fseek.c (fseek): Don't assume we know the file position;
4936 other handles may have changed it. So set STREAM.__offset to -1
4937 before calling __stdio_check_offset to make sure we have a correct
4940 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
4942 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
4943 `decimal' char is 0.
4945 * C-numeric.c (not_available): New constant.
4946 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
4948 * nss/nsswitch.conf: Example configuration file.
4949 * nss/db-Makefile: Example Makefile for generation of databases
4951 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
4953 1996-08-28 Paul Eggert <eggert@twinsun.com>
4955 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
4956 noexpr to "^[nN]"; this conforms to POSIX.2.
4958 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
4961 1996-08-28 Paul Eggert <eggert@twinsun.com>
4963 * C-monetary.c (not_available): New constant.
4964 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
4965 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
4966 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
4967 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
4969 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
4971 * nss/nss_db/db-XXX.c: Correct function names. They must be
4972 `_nss_db_*' instead of `_nss_files_*'.
4973 (lookup): `parse_line' returns 1 if succesful.
4974 * nss/nss_files/files-service.c (servbyname): Key for database
4975 must also contain protocol names.
4976 (servbypt): Likewise.
4977 Test must also check for protocol. Add `proto' argument.
4979 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4981 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
4984 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
4986 * Makerules: Add some test for correct version of GNU Make.
4988 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
4989 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
4991 * sysdeps/generic/dl-sysdep.c: Initialize break address to
4992 avoid overwriting last page (OK, Roland).
4994 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
4996 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
4997 * resolv/arpa/nameser.h: Likewise.
4998 * resolv/res_init.c: Likewise.
4999 * resolv/res_debug.c: Likewise.
5000 * resolv/res_mkquery.c: Likewise.
5002 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
5004 * elf/dl-error.c (catch): Define errstring element not as const.
5005 (_dl_catch_error): ERRSTRING argument is not const pointer.
5006 Initialize *ERRSTRING and *OBJNAME separately.
5007 * elf/link.h: Change prototype for `_dl_catch_error'.
5009 * elf/dl-load.c (_dl_map_object): Use separate variable for
5010 copied NAME to avoid `const' warning.
5012 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
5014 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
5015 provides preloading even for SUID binaries.
5016 Add some more casts to avoid signed<->unsigned warnings.
5018 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5020 * posix/sys/types.h: Define loff_t.
5021 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
5023 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
5025 * io/fcntl.h: Add definition for BSD F* macros.
5027 * misc/init-misc.c (__init_misc): Make static.
5028 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
5030 * configure.in: Add test for -fno-exception option of gcc.
5031 * config.make.in: Add definition of have-no-exceptions.
5032 * Makerules: Define no-exceptions based on have-no-exceptions.
5033 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
5034 This is necessary for gcc >= ss-960816.
5036 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
5038 * sysdeps/alpha/dl-machine.h: Clear startup flag.
5040 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5042 * Makerules (o-iterator-doit): Simplify reference to autolock
5045 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5047 * sysdeps/mach/hurd/getcwd.c
5048 (_hurd_canonicalize_directory_name_internal): After resizing the
5049 buffer move the current contents to the end. Correctly relocate
5050 file name pointer to upper half of the buffer.
5052 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
5054 * rtld.c (dl_main): Remove code to call ld.so initializer. This
5055 was introduced for compatibility with Linux ld.so and would not
5056 be used anymore. Now we don't have any good values to use as the
5057 parameters to the initializer so simply remove it.
5059 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5061 * gmon/gmon.c (ERR): Don't write the terminating NUL.
5063 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
5065 (profil_count): Use 64 bit arithmethic to avoid overflow.
5067 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
5069 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5071 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
5072 being null; in that case don't touch the timer at all (but do
5073 return something in OLD if necessary).
5075 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5077 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
5079 * sysdeps/i386/init-first.c: Likewise.
5080 * sysdeps/stub/init-first.c: Likewise.
5082 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
5084 * elf/dl-open.c (_dl_open): Call library initializer with
5085 correct command line arguments and environment information.
5086 * elf/rtld.c (dl_main): Provide arguments to initializer of
5089 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
5091 * shadow/Makefile (routines): Add lckpwdf.
5092 * shadow/lckpwdf.c: New file.
5094 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
5095 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
5097 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
5099 * configure.in: Add definition for `__eh_pc' and `__throw' in
5100 test for --no-whole-archive. The compiler generates dependencies
5101 for this but none of the standard librares and startup files
5102 are used. Necessary for gcc >= ss-960816.
5104 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
5106 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
5107 return string since string might be on stack.
5108 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
5109 Wed Aug 21 10:14:59 1996.
5110 * elf/dlerror.c (dlerror): Free error string after printing.
5111 (_dlerror_run): If error string was not printed since last error
5113 * rtld.c (dl_main): Free error string in case of error.
5115 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
5117 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
5118 this changes the global state for `localtime' and `gmtime'. Use
5119 `__localtime_r'/`__gmtime_r' instead.
5120 * resolv/res_debug.c (__p_secstodate): Likewise.
5121 * sysdeps/generic/ftime.c: Likewise.
5122 * sysdeps/posix/gettimeofday.c: Likewise.
5123 Reported by Paul Eggert.
5125 * time/gmtime.c: De-ANSI-fy.
5126 * time/strftime.c: Don't call non-reentrant functions which change
5129 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
5131 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
5132 than putting it on the stack.
5134 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
5136 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
5137 don't find .plt entries.
5139 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5141 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
5144 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
5146 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
5148 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
5150 * login/pututline_r.c (__pututline_r): Fix handling of case where
5151 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
5153 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
5155 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
5156 for "Jensen" so _bus_base() returns 0 on that platform. Use
5157 _bus_base_sparse() to determine base address of sparse memory.
5159 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
5160 and declarations in __BEGIN_DECLS/__END_DECLS.
5162 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
5164 * err.h: New file. Wrapper around misc/err.h.
5166 Correct solution of multiple initialization problem by
5168 * csu/initfini.c: Remove global variable __libc_is_static.
5169 * elf/rtld.c: Introduce new global variable _dl_starting_up.
5170 It's nonzero during the startup.
5171 * elf/dl-open.c (_dl_open): When _dl_start function is not
5172 available (i.e., if in static libc) set `__libc_multiple_libcs'
5174 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
5175 New global variable.
5176 (init): Undo change of Fri Aug 2 03:12:40 1996.
5177 Initialize `__libc_multiple_libcs' to nonzero only if this is
5178 a shared lib called from a statically linked program and don't
5179 call `personality' and `setfpucw' in this case either.
5180 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
5181 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
5182 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
5183 before jumping to user code.
5184 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5186 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
5188 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
5189 Thu Aug 8 12:40:20 1996.
5190 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
5191 -fkeep-inline-functions flag instead.
5193 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5195 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
5196 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
5197 like ECONNREFUSED already does.
5198 (_nss_dns_gethostbyaddr_r): Likewise.
5199 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5200 (_nss_dns_getnetbyaddr_r): Likewise.
5202 * sysdeps/mach/hurd/socket.c (socket): For message transmission
5203 and RPC errors that indicate that the socket server is not really
5204 present and able to do its job, turn the error into EPFNOSUPPORT.
5206 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
5208 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
5209 name dynamically. Reported by Alan Cox.
5210 Uncomment warnings and mark as translatable.
5212 * time/strftime (strftime): Add implementation for %s and %z
5213 format. Change behaviour for unknown format character: now
5214 simply print it. This matches the behaviour of printf.
5215 Reported by Jim Meyering.
5216 * manual/time.texi: Document all formats and flags of strftime.
5218 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
5220 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
5223 * misc/sys/select.h: Define fd_set using typedef, not #define.
5224 Proposed by David Mosberger-Tang.
5226 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
5228 * po/header.pot: Use real description line.
5230 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
5232 * elf/rtld.c (dl_main): When started with --verify prevent
5233 any warning. Just exit with an error.
5234 * elf/ldd.sh.in: Don't run given object directly. This fails for
5235 libraries. Instead use $RTLD again.
5237 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
5239 * manual/nss.texi: New file. Document NSS.
5240 * manual/nsswitch.texi: New file. Example configuration.
5242 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
5243 * manual/example/strdupa.c: New file. Example for strdupa.
5245 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
5247 * stdlib/strtod.c (STRTOD): Correct assertion about size of
5248 wint_t and wchar_t. Reported by David Mosberger-Tang.
5250 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5252 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
5253 RELOC_ADDR and make NOPLT a set of flags. All callers
5254 changed. Delete condition that checks for resolving to the
5255 location being filled in. Add condition to skip the
5256 executable's symbols if requested.
5257 * elf/link.h: Change declaration of _dl_lookup_symbol
5259 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
5260 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
5262 * elf/dl-runtime.c (RESOLVE): Likewise.
5263 * elf/rtld.c (RESOLVE): Likewise.
5264 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
5265 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
5266 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
5267 reloc, zero otherwise.
5268 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5270 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5272 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
5274 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
5275 * po/header.pot: Add empty line at end.
5277 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5279 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
5280 are now in $P/stdio-common.pot.
5281 (XGETTEXTFLAGS-errlist.pot): Variable removed.
5283 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5285 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
5286 script at run time, not configure time.
5287 * config.make.in, configure.in: Undo previous change.
5289 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
5291 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
5292 on stack as argument for `_exit'. Reported by Andreas Schwab.
5294 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5296 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
5298 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
5300 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
5301 (_dl_map_object_from_fd): Free name on error.
5303 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
5305 * string/strdup.c: Use result of memcpy to avoid reloading.
5307 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5309 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
5310 the other way round.
5312 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
5314 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
5317 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
5319 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
5321 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
5324 Update from bind-4.9.5-T1A.
5325 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
5326 inet_net_pton, inet_net.
5328 * resolv/gethnamaddr.c: Include <sys/types.h>.
5329 * resolv/getnetnamadr.c: Likewise.
5330 * resolv/herror.c: Likewise.
5331 * resolv/inet_addr.c: Likewise.
5332 * resolv/nsap_addr.c: Likewise.
5333 * resolv/res_comp.c: Likewise.
5334 * resolv/res_data.c: Likewise.
5335 * resolv/res_init.c: Likewise.
5336 * resolv/res_mkquery.c: Likewise.
5337 * resolv/res_query.c: Likewise.
5338 * resolv/res_send.c: Likewise.
5340 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
5342 * resolv/inet_ntop.c: Likewise.
5344 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
5345 Remove prototype of gethostbyname_ipv4.
5347 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
5348 functions instead of BSD `b*' functions.
5350 * resolv/nsap_addr.c: Add copyright message.
5352 * resolv/res_comp.c: Remove comment explaining label format.
5353 (res_mailok): Correct check.
5355 * resolv/res_debug: Include missing headers.
5356 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
5357 (__p_fqnname): New function to print FQDN from compressed name.
5358 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
5359 correctly. Add handling of T_KEY and T_SIG.
5360 Handle class and type names by using name arrays instead of
5361 explicit `switch'es.
5362 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
5363 (__dn_count_labels, __p_secstodate): New functions.
5365 * resolv/resolv.h (__RES): Update version number.
5366 (res_sym): New type.
5367 Add #defines for new functions.
5368 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
5369 __p_secstodate, dn_count_labels.
5371 * resolv/arpa/nameser.h (__BIND): Update version number.
5372 Add KEYFLAG_* and ALGORITHM_* symbols.
5373 (HEADER): Add `ad' and `cd' flags.
5375 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
5378 * manual/maint.texi: Document that we use bind-4.9.5.
5381 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
5383 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
5385 * mach/Makefile (mach/mach_host.uh): Depend on
5386 $(objpfx)/mach-syscalls.mk.
5387 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
5388 (This fixes a make loop; thanks to Marcus Daniels
5389 <marcus@sysc.pdx.edu> for the patch.)
5391 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
5393 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
5394 buffer is any longer than the amount necessary to hold the
5395 filename; the Hurd getcwd uses the *entire* contents of the
5396 buffer, however long it is specified to be.
5398 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
5400 * nss/nsswitch.c (__nss_database_lookup): Always release locks
5401 before returning. Reported by Miles Bader.
5403 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
5405 * nss/nsswitch.c (__nss_configure_lookup): New function.
5406 Allows to specify services.
5407 * nss/XXX-lookup.h: Rename database variable and make global.
5408 * nss/databases.def: New file. Real names of all databases.
5410 * nss/nss.h: New file. Contains declaration useful for users
5411 and service developers.
5412 * nss/nsswitch.h: Move some declarations to nss/nss.h.
5413 * nss.h: New file. Wrapper around nss/nss.h.
5415 * nss/Makefile (headers): Add nss.h.
5416 (distributes): Add databases.def.
5418 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
5420 Help the poor people with fast machines by making sure only
5421 one `ar' commands works on the library.
5422 * autolock.sh: New file. Written by Tom Tromey.
5423 * Makerules (do-ar): Call autolock.sh shell script instead of
5424 directly using `ar'.
5425 * config.make.in: Make configuration variable AUTOLOCK which
5426 gets initialized by configure.
5427 * configure.in: Define variable AUTOLOCK to point to autolock.sh
5428 script and mark it to substitute.
5430 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
5432 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
5433 always only if in static libc or if statically linked program
5436 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
5437 always only if in static libc or if statically linked program
5440 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
5442 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
5443 startup by moving Icache flush from here ...
5444 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
5445 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
5447 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
5448 calling conventions. The code is already correct.
5450 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
5452 * string/Makefile: Compile tester with -fno-builtin as we want to
5453 test our implementations, not gcc's.
5455 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
5457 * shadow.h: New file.
5459 * sysdeps/unix/sysv/linux/netinet/in.h: Move
5460 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
5463 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
5464 g++ 2.7.2 (and earlier) has no transparent unions support.
5466 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
5468 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
5469 function to determine the base address of sparse bus memory.
5470 (APECS_*): Rename to CIA_*.
5471 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
5472 (platform): Add sparse_bus_memory_base member and initialize.
5473 (sparse_bus_memory_base): New variable.
5475 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
5477 * sysdeps/posix/ttyname_r.c (ttyname_r),
5478 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
5479 !__isatty(fd) (POSIX.1 says so.)
5481 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
5482 This is not a gross hack, after all---for compatibility,
5483 getlogin() really should check fd 0 only and not try to base its
5484 operation on the controlling tty.
5486 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
5488 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
5489 change utmp_data from static to auto.
5491 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
5493 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
5494 Reported by David Mosberger-Tang.
5496 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
5498 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
5499 alias to `__isnanl'.
5501 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
5503 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
5504 get `struct timeval'.
5505 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
5506 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
5507 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
5508 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
5509 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
5510 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
5512 * io/fts.h: Include <sys/types.h> to get dev_t.
5513 Reported by Matthias Urlichs.
5515 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
5516 _IO_file_flags. It's the same as _flags.
5517 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
5519 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5521 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
5523 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
5525 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
5526 * pwd/getpwent_r.c: Likewise.
5527 * pwd/getpwnam.c: Likewise.
5528 * pwd/getpwnam_r.c: Likewise.
5529 * pwd/getpwuid.c: Likewise.
5530 * pwd/getpwuid_r.c: Likewise.
5532 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
5533 * grp/getgrent_r.c: Likewise.
5534 * grp/getgrgid.c: Likewise.
5535 * grp/getgrgid_r.c: Likewise.
5536 * grp/getgrnam.c: Likewise.
5538 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
5539 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
5540 * pwd/Makefile (routines): Add fgetpwent_r.
5541 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
5543 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
5544 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
5545 * grp/Makefile (routines): Add fgetgrent_r.
5546 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
5548 Implement shadow password lookup functions. This is no complete
5549 shadow password suite.
5550 * shadow/Makefile: New file.
5551 * shadow/fgetspent.c: New file.
5552 * shadow/fgetspent_r.c: New file.
5553 * shadow/getspent.c: New file.
5554 * shadow/getspent_r.c: New file.
5555 * shadow/getspnam.c: New file.
5556 * shadow/getspnam_r.c: New file.
5557 * shadow/putspent.c: New file.
5558 * shadow/sgetspent.c: New file.
5559 * shadow/sgetspent_r.c: New file.
5560 * shadow/shadow.h: New file.
5561 * shadow/spwd-lookup.c: New file.
5562 * shadow/nss_files/files-spwd.c: New file.
5564 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
5566 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
5567 call is only a stub.
5568 Reported by Matthias Urlichs.
5570 * Makeconfig [!default_cflags]: Change default value from `-g'
5573 * configure.in: Recognize i686.
5574 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
5576 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
5578 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
5579 value of CFLAGS-.o, not CFLAGS-o.
5581 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
5582 pointer to ourself. Otherwise `gcc -O3' optimized init away.
5584 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
5586 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
5587 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
5589 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
5591 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
5592 to 0x137f to allow long double operations.
5594 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
5598 * nss/nsswitch.c (_res): Remove redundant variable definition.
5599 The real one is in resolve/res_init.c, and having both prevents
5600 using -fno-common when building the shared library.
5601 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
5603 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
5604 a .bss object not a COMMON symbol.
5606 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
5607 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
5611 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
5612 main loop for better dual-issue on EV5. Rearrange binary search to
5613 pipeline better and trim one instruction.
5617 * time/localtime.c (localtime_r): Move lock declaration back next to
5618 the comment where it was before the 960724 change.
5620 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
5621 The second word is supposed to be the hardware manufacturer.
5623 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
5624 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
5626 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
5628 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
5629 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
5630 Same cleanups as with EV4 GMP stuff.
5632 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
5634 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
5635 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
5636 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
5638 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
5640 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
5643 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
5645 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
5647 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
5650 * socket/sys/socket.h (send, __send, sendto): Declare buffer
5653 * string/tester.c (main): Test stpncpy.
5655 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
5656 segfault when called with an N that is not a multiple of four and
5659 * misc/syslog.c (LogType): New variable.
5660 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
5661 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
5663 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
5664 terminator as a record-delimiter. If __send(LogFile) fails,
5665 call closelog() so logfile gets re-opened next time.
5667 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
5669 * elf/dl-open (_dl_open): Add cast to avoid warning.
5671 * manual/memory.texi: Improve some examples to give readers better
5672 advice: Use `stpcpy' instead of `strcat' if possible.
5673 * manual/string.texi: Document `strtok_r' and `strtok'.
5675 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
5677 [$(cross-compiling)=no]: Change test before making librpcsvc
5678 to this from $(cross-compile).
5679 Reported by Andreas Schwab.
5681 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
5683 * elf/Makefile (routines): Move dl-sysdep to here...
5684 (rtld-routines): ...from here. This should make static linking
5687 * locale/setlocale.c: Add local variable `lock' and add code to
5688 `setlocale' to avoid simultaneous changing of global data.
5690 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
5691 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
5692 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
5693 of unprotected names.
5695 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
5697 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
5698 This requires to rename several functions to use __ protected
5700 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
5702 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
5703 and make old name a weak alias.
5704 * sysdeps/mach/hurd/getrlimit.c: Likewise.
5705 * sysdeps/mach/hurd/opendir.c: Likewise.
5706 * sysdeps/mach/hurd/readdir.c: Likewise.
5707 * sysdeps/stub/closedir.c: Likewise.
5708 * sysdeps/stub/opendir.c: Likewise.
5709 * sysdeps/stub/readdir.c: Likewise.
5710 * sysdeps/unix/closedir.c: Likewise.
5711 * sysdeps/unix/opendir.c: Likewise.
5712 * sysdeps/unix/readdir.c: Likewise.
5714 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
5716 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
5717 `__closedir' instead of unprotected names.
5719 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
5720 instead of `isatty' since later is not part of ISO C.
5721 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
5722 `open' since later is not part of ISO C.
5724 * login/endutent.c (endutent): Call `__endutent_r', not
5726 * login/endutent_r.c: Rename defined function to `__endutent_r',
5727 make `endutent_r' weak alias.
5728 * login/getutent.c (getutent): Call `__getutent_r', not
5730 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
5731 * login/getutid_r.c: Rename defined function to `__getutent_r',
5732 make `getutent_r' weak alias.
5733 * login/getutline.c (getutline): Call `__getutline_r', not
5735 * login/getutline_r.c: Rename defined function to `__getutline_r',
5736 make `getutline_r' weak alias.
5737 * login/pututline_r.c: Rename defined function to `__pututline_r',
5738 make `pututline_r' weak alias.
5739 * login/setutent.c (setutent): Call `__setutline_r', not
5741 * login/setutent_r.c: Rename defined function to `__setutline_r',
5742 make `setutline_r' weak alias.
5743 Rename `utmpname' to `__utmpname' and make former weak alias.
5744 (__utmpname): Call `__strdup', not `strdup'.
5745 * login/utmp.h: Add prototypes for name space clean reentrant
5747 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
5748 and `__endutent_r' instead of unprotected names.
5750 * math/math.h: Add prototype for `__matherr'.
5751 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
5754 * nss/getXXbyYY.c: Call __ protected reentrant function.
5755 * nss/getXXent.c: Likewise.
5756 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
5757 name. Make usual name a weak alias.
5758 * nss/getXXent_r.c: Likewise.
5760 * posix/unistd.h: Add prototype for `__ttyname_r'.
5761 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
5762 and make `ttyname_r' a weak alias.
5764 * resource/sys/resource.h: Add prototype for `__getrlimit'.
5765 * sysdeps/stub/getrlimit.c: Prepend function name with __
5766 and make old name a weak alias.
5767 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
5768 and make `getrlimit' weak alias.
5770 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
5771 * libc/stdio/vscanf.c: De-ANSI-fy.
5772 Rename function to `__vscanf' and make `vscanf' a weak alias.
5773 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
5776 * stdio-common/reg-printf.c: De-ANSI-fy.
5777 Rename function to `__register_printf_function' and make
5778 `register_printf_function' weak alias.
5780 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
5783 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
5784 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
5785 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
5786 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
5787 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
5789 * wcsmbs/mbsrtowcs.c: Likewise.
5790 * wcsmbs/wcrtomb.c: Likewise.
5791 * wcsmbs/wcsrtombs.c: Likewise.
5792 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
5794 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
5795 instead of `sigprocmask'.
5798 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
5799 version getgrent_r, getgrgid_r, and getgrnam_r.
5800 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
5801 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
5803 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
5806 * misc/error.c (private_strerror): Translate messages from table,
5809 * io/fcntl.h: Pretty printing.
5810 * misc/fstab.h: Likewise.
5811 * misc/ttyent.h: Likewise.
5812 * resource/sys/resource.h: Likewise.
5813 * string/argz.h: Likewise.
5814 * string/envz.h: Likewise.
5816 Add support for symbols from POSIX.1c (POSIX threads).
5817 * posix/getconf.c: Handle new sysconf symbols.
5818 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
5819 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
5820 * sysdeps/generic/confname.h: Define new symbols.
5821 * sysdeps/posix/sysconf.c: Handle new symbols.
5822 * sysdeps/stub/sysconf.c: Ditto.
5823 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
5826 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
5827 have real prototype.
5829 * sysdeps/generic/resourcebits.h: Add macro definition for
5830 RLIMIT_* values. Some sources test using #ifdef whether specific
5832 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
5833 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
5834 separate files for the architectures.
5835 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
5836 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
5837 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
5838 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
5840 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
5841 and only default on `OPEN_MAX'.
5842 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
5845 * time/Makefile (routines): Add ctime_r.
5846 * time/asctime.c: Add implementation of `asctime_r'. Make
5847 `asctime' implementation based on reentrant version.
5848 * time/ctime_r.c: New file.
5849 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
5852 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5854 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
5855 (_nl_C_LC_CTYPE): Fix ordering.
5856 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
5859 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
5861 * csu/initfini.c: Discover the maximum alignment generated by the
5862 compiler when emitting a function.
5863 (_init): Make sure the end of the crti fragment is aligned.
5866 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
5868 * initfini.c: (__libc_is_static): New variable. Will be
5869 initialized in init-first.c. Some actions in the libc work
5870 different when libc is static or dynamic.
5872 * sysdeps/unix/sysv/linux/init-first.c (init): Use
5873 `__libc_is_static' variable to determine whether call to
5874 `personality' and `setfpucw' is necessary. When done set variable
5875 to +-1 depending on library type.
5877 * locale/setlocale.c (setlocale): Use global variable
5878 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
5879 determine whether it's a SET[UG]ID program.
5881 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
5883 * Version 1.93 test release.
5885 * manual/Makefile: Use -include for chapters-incl too.
5887 * Makeconfig (+link): Add back start.o, mistakenly removed in last
5890 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5892 * nss/Makefile (generated): Add db-*.c.
5894 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
5895 using #include_next.
5897 * configure.in (--enable-add-ons): Quote m4 macro args.
5899 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
5901 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
5903 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
5905 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
5907 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
5910 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
5911 warning when inline function is elided.
5912 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
5913 (elf_machine_runtime_setup): Likewise.
5914 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
5915 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
5916 (elf_machine_load_address): Likewise.
5918 * catgets/gencat.c: Include <locale.h>.
5920 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
5922 * login/logwtmp.c (logwtmp): Call time, not __time.
5924 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
5925 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
5926 * login/logwtmp.c (logwtmp): Likewise.
5928 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
5929 comparing ioctl macro values.
5931 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
5933 * manual/Makefile: Use -include for chapters to suppress warning.
5935 * sysdeps/stub/socket.c: Fix type of TYPE arg.
5936 * sysdeps/stub/socketpair.c: Likewise.
5938 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
5940 * sysdeps/generic/sysdep.h: New file, broken out of ...
5941 * sysdeps/unix/sysdep.h: ... here.
5942 (C_LABEL): Moved out.
5944 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
5945 stick to sed. Do `exit 0' at end because while returns nonzero.
5947 * sysdeps/i386/sysdep.h: New file, broken out of ...
5948 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
5950 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
5951 They are defined unconditionally in libio/stdio.h.
5953 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
5954 * elf/dl-cache.c: Likewise.
5956 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
5958 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
5959 (sysdep_headers): Add sys/sysmacros.h.
5960 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
5962 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
5964 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
5965 tcgetattr. We have weak aliases now.
5966 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
5967 "optimizations" for random functions.
5969 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5971 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
5972 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
5973 redefinition warning.
5975 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5977 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
5980 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5982 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
5985 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
5987 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
5989 Reported by Richard Henderson <rth@tamu.edu>.
5991 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5993 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
5996 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
5998 * locale/setlocale.c (setlocale): Don't try to free C locale
6000 Reported by Matthias Urlichs.
6002 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
6004 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
6005 (open_file): New function, contents mostly from __open.
6006 (_dl_sysdep_read_whole_file): New function.
6008 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
6010 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
6011 `..' dots in sed search string.
6013 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6015 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
6018 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6020 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
6021 in those directories.
6022 * config.make.in (add-ons): New varaible, set from @subdirs@.
6023 * Makefile (subdirs): Added $(add-ons) at the end.
6025 * time/strftime.c (strftime: do_number): Initialize PRINTED to
6026 MAXDIGITS in case P is null and so sprintf is never actually called.
6028 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
6030 Add support for the to-be-written internationalized regexp.
6031 This code must be able to use collation symbols and collation
6033 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
6034 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
6035 New global variables for collation classes.
6036 * locale/categories.def: Add new descriptions for collation symbols
6037 and collation classes.
6038 * locale/langinfo.h: Add constants for collation symbols and
6040 * locale/lc-collate.c: Add new global variables for collation symbols
6041 and collation classes.
6042 (_nl_postload_collate): Initialize new variables.
6043 * locale/programs/ld-collate.c: Add code to emit tables for
6044 collation symbols and collation classes.
6045 * locale/programs/locales.h: Change prototype for `collate_output'.
6046 * locale/programs/locfile.c (write_all_categories): Call
6047 `collate_output' with new argument.
6048 * locale/localeinfo.h: Add declaration for new global vars.
6049 (union locale_data_value): New member wstr for `wchar_t' strings.
6050 * locale/programs/locale-spec.c: Handle `collate-classes'
6051 keyword and print information about available collation classes.
6052 * locale/strlen-hash.h: New file. Simple hashing function which
6053 takes a string with known length.
6054 * locale/Makefile (distribute): Add strlen-hash.h.
6055 (locale-modules): New var. Additional files for `locale' program.
6057 * locale/C-ctype.c: Rewrite to avoid using string for giving values
6058 which are of type `u_int32_t'.
6059 Correct entry for EOF in toupper and tolower tables.
6061 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
6064 * locale/programs/ld-ctype.c (ctype_output): Add code to make
6065 sure that all tables in binary file are word-aligned.
6067 * locale/programs/locfile.c (write_locale_data): Correct handling
6068 of LC_MESSAGES locale. Create directory if necessary.
6070 * locale/setlocale.c (setlocale): Add cast to avoid warning.
6072 * string/string.h: Add prototype for `__strndup'.
6074 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6076 * wcsmbs/mbrtowc.c: Remove unused variable.
6078 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6080 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
6081 2.0.10; some problems were reported with an earlier version, and this
6082 one is known to work.
6084 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
6085 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6087 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
6089 * elf/rtld.c (dl_main): Ignore arguments when environment variable
6090 LD_TRACE_LOADED_OBJECTS is set.
6092 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6094 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
6095 __libc_enable_secure instead of _dl_secure.
6096 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6097 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
6099 * elf/Makefile (routines): Add enbl-secure.
6100 (elide-routines.so): Here too.
6101 * sysdeps/generic/enbl-secure.c: New file.
6102 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
6103 * elf/dl-support.c (_dl_secure): Variable removed.
6104 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
6106 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
6108 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6109 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
6110 compiler doesn't elide it.
6111 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
6113 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6115 * elf/rtld.c (dl_main): Take new option --verify when run directly.
6116 In verify mode, exit with status zero iff the argument object's
6117 PT_INTERP matches argv[0].
6118 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
6119 exits with zero status. This makes `ldd' secure again.
6121 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
6123 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
6124 environment variable handling. This makes the dynamic linker
6125 only print loaded libraries and quit.
6127 * elf/ldd.sh.in: Don't use `rtld --list' but instead
6128 LD_TRACE_LOADED_OBJECTS environment variable to print needed
6131 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6133 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
6134 after printing version until after doing usage for --help.
6135 (long_options, main, usage): Rename -l/--lowercase option to
6136 -f/--fold-case (-f matches sort).
6138 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
6140 * db/makedb.c: New file. Implement program to create simple <db.h>
6141 database from textual input. This will be used for nss_db.
6143 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6145 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
6146 * sunrpc/rpc/pmap_clnt.h: Likewise.
6147 * sunrpc/rpc/auth.h: Likewise.
6148 * sunrpc/rpc/pmap_rmt.h: Likewise.
6149 * sunrpc/rpc/rpc_msg.h: Likewise.
6151 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
6153 * string/string.h (strndupa): Change to use return value of
6154 `memcpy' for more performance.
6155 * string/strndup.c: Likewise.
6157 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
6158 This might lead to problems.
6159 (strndupa): Likewise.
6161 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
6163 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
6164 and change K&R prototypes to ANSI prototypes.
6165 * sunrpc/rpc/auth_unix.h: Ditto.
6166 * sunrpc/rpc/clnt.h: Ditto.
6167 * sunrpc/rpc/pmap_clnt.h: Ditto.
6168 * sunrpc/rpc/pmap_prot.h: Ditto.
6169 * sunrpc/rpc/pmap_rmt.h: Ditto.
6170 * sunrpc/rpc/rpc_msg.h: Ditto.
6171 * sunrpc/rpc/svc.h: Ditto.
6172 * sunrpc/rpc/svc_auth.h: Ditto.
6173 * sunrpc/rpc/xdr.h: Ditto.
6175 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6177 * ctype/test_ctype.c: Test EOF too.
6179 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
6181 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
6182 * sunrpc/rpc/auth_unix.h: Likewise.
6183 * sunrpc/rpc/clnt.h: Likewise.
6184 * sunrpc/rpc/netdb.h: Likewise.
6185 * sunrpc/rpc/pmap_clnt.h: Likewise.
6186 * sunrpc/rpc/pmap_prot.h: Likewise.
6187 * sunrpc/rpc/rpc_msg.h: Likewise.
6188 * sunrpc/rpc/svc.h: Likewise.
6189 * sunrpc/rpc/svc_auth.h: Likewise.
6190 * sunrpc/rpc/xdr.h: Likewise.
6192 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
6194 * sunrpc/pmap_rmt.c: ...here.
6196 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
6198 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
6200 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
6203 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6205 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
6206 <kkojima@info.kanagawa-u.ac.jp>.
6208 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
6210 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
6211 defined, not __OPTIMIZED.
6212 (_nl_msg_cat_cntr): Move declaration outside macro definition
6213 to prevent "nested extern" warning.
6214 (dcgettext): Rename local variable `result' to `__result'.
6216 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6218 * locale/programs/localedef.c (__progname): Remove decl.
6219 (main): Use program_invocation_short_name instead of __progname.
6220 (usage): Use program_invocation_name instead of __progname.
6222 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
6224 * catgets/gencat.c: Use "libc" instead of PACKAGE.
6225 * locale/localedef.c: Ditto.
6226 * locale/locale.c: Ditto.
6228 * locale/findlocale.c (_nl_find_locale): Little optimization.
6229 Use new function `strndup'.
6231 * locale/loadlocale.c: Little optimization. Use constant value
6232 from `_nl_category_num_items' instead of byte-order dependend
6235 * locale/programs/ld-time.c (time_add): Correct string constant.
6237 * locale/programs/locale-spec.c: New file.
6238 * locale/programs/locale.c: Call `locale_special' function if
6239 no other field matches.
6241 * locale/programs/localedef.c: No need to define `program_name'.
6242 Use global variable `__progname'.
6244 * locale/programs/locfile.c (write_locale_data): Always write
6245 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
6246 necessary since message catalogs are also installed in the
6247 LC_MESSAGES/ directory.
6249 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
6250 function instead of writing single bytes.
6251 (encode_char): Also handle little endian.
6253 * locale/setlocale.c (new_composite_name): Little optimization.
6254 Use return value of `memcpy'.
6256 * misc/ttyent.h: Pretty print prototypes, add missing parameter
6257 names, prepend parameter names with __ and use `__const' instead
6259 * posix/unistd.h: Ditto.
6260 * stdlib/stdlib.h: Ditto.
6261 * string/string.h: Ditto.
6263 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
6264 Use `error' function instead of doing it by hand.
6265 * sysdeps/posix/sysconf.c: De-ANSI-fy.
6266 Handle _SC_COLL_WEIGHTS_MAX.
6267 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
6268 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
6269 since these do not depend on the platform.
6270 Add POSIX.4 symbols.
6272 * posix/posix2_lim.h: Add missing definition of
6273 _POSIX2_COLL_WEIGHTS_MAX.
6274 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
6275 to high values since we have no fixed limit.
6277 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
6278 _SC_PAGESIZE for buggy systems (= HP UX) out there.
6280 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
6281 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
6282 * wcsmbs/wcsnrtombs.c: Ditto.
6283 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
6286 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
6288 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
6290 * nss/getXXent_r.c: Likewise.
6291 * nss/nsswitch.c: Likewise.
6292 * nss/nss_files/files-XXX.c: Likewise.
6293 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
6294 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
6295 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
6297 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6299 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
6300 macro, now put the needed Linux version just once, here; update to
6301 needing linux-2.0.3 headers.
6302 (libc_cv_linuxVER): New macro derived from that.
6303 (kernel header check): Use those macros and some m4 magic to replace
6304 hard-coded `201' and `2.0.1' in several places.
6306 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
6308 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
6310 * time/localtime.c: Move lock variable declaration to end of
6311 variable declarations since if is a dummy macro the ; at the
6312 end terminates the variable section of the function.
6314 * time/tzset.c: Undefine `tzset' before function declaration.
6315 Use `weak_function' macro instead of `weak_symbol'.
6317 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
6319 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
6322 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
6324 * locale/C-ctype.c: Increment number of fields after change
6325 from Wed Jun 19 03:24:58 1996.
6327 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6329 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
6330 ($(common-objpfx)libc.so): Move deps into that, use it.
6331 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
6332 $(rpcuserlibs:.so=_pic.a).
6333 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
6336 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6338 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
6339 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
6341 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
6343 * locale/iso-4217.def: Add India to comment for symbol "INR ".
6344 Reported by Raja R Harinath <harinath@cs.umn.edu>.
6346 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6348 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
6351 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6353 * time/tzset.c: Include <libc-lock.h>.
6354 (__tzset_lock): New lock variable.
6355 (tzset): New function (weak defn), no longer weak alias for __tzset.
6356 Call __tzset while holding __tzset_lock.
6357 * time/localtime.c: Include <libc-lock.h>.
6358 (__localtime_r): Hold __tzset_lock while doing the work.
6360 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
6361 from [!HAVE_GNU_LD] to [!_LIBC].
6362 [_LIBC]: Include <libc-lock.h> and define a lock.
6363 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
6364 (setenv, unsetenv): Use them.
6366 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
6368 * locale/programs/locfile.c (write_locale_data): Deal with missing
6371 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
6372 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
6374 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6376 Win32 hacks from <Rob_Tulloh@tivoli.com>.
6377 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
6378 use void * for my_realloc; include <malloc.h> for alloca.
6379 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
6380 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
6381 * posix/glob.h: Likewise.
6383 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
6385 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
6386 call __io_select unless there's only a single descriptor, as each
6387 descriptor now has its own reply port.
6388 If there is only a single descriptor, just use its reply port for
6389 everything and don't bother creating the port set.
6391 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
6392 <unistd.h>: New include.
6394 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
6397 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6399 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
6400 from the USA any software that even makes it easy to drop in an
6401 encryption module of foreign origin.
6402 * Makerules (cryptobjdir): Variable removed.
6403 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
6404 * Makefile (subdirs): Remove crypt.
6406 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
6408 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
6409 operator to yesexpr and noexpr string.
6411 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
6413 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
6414 old code would have failed on a big-endian 64-bit architecture).
6415 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
6417 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
6418 (xdr_u_long): Use switch instead of chain of if-statements.
6419 Remove gratitous parentheses around return expressions.
6420 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
6422 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
6424 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
6427 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6429 * dlfcn.h, db.h: New wrapper headers.
6431 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
6432 for `struct stat;' forward decl.
6434 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
6436 * locale/iso-4217.def: Add some more standardized currency
6439 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6441 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
6443 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
6445 * Rules (dummy.o, empty.o): Targets removed.
6446 (dummy.c, empty.c): New targets replace them.
6448 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6450 * crypt/Makefile (lib-noranlib): Depend on
6451 $(objpfx)libcrypt.so$(libcrypt.so-version).
6454 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
6456 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
6457 check. mib's clueless hacking broke it.
6459 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6461 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
6463 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
6465 * misc/sys/ustat.h: New file.
6466 * misc/ustat.h: Ditto.
6467 * sysdeps/generic/ustatbits.h: Ditto.
6468 * sysdeps/stub/ustat.c: Ditto.
6469 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
6470 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
6472 (routines): Mention ustat.
6474 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
6475 * sysdeps/alpha/elf/start.S: here.
6477 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
6478 alphabetically correct place. Mention ustat.
6480 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
6481 common symbol (makes errno accessible from gdb).
6483 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
6486 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
6487 record always gets appended at end of file (wtmp is a log file,
6488 after all). Set ut_type to DEAD_PROCESS if name is empty.
6490 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
6491 separate loop from search for UT_ID. Fix code so it is in
6492 sync with Unix man page.
6494 * login/getutline_r.c (getutline_r): Stop searching only if
6495 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
6497 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
6499 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
6500 avoid duplicate declarations.
6502 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
6504 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
6505 and alpha-gnu-linuxecoff targets.
6507 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
6509 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
6511 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
6513 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
6516 * resolv/res_comp.c (res_hnok): Use empty statement in place
6517 of NULL (which generates a "useless expression" warning in
6520 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
6522 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
6523 with $(..) in output.
6525 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6527 * elf/Makefile (dl-routines): Add dl-cache.
6528 * elf/dl-cache.c: New file.
6529 * elf/dl-load.c (_dl_map_object): Check cache before default path.
6531 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
6533 * stdio-common/vfscanf.c: Major change. Now read character
6534 from stream only if needed. Before it was read after the
6535 previous character was used.
6536 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
6538 * stdio-common/tstscanf.c: Change test program so that return
6539 value is != 0 if one test failed.
6541 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6543 * sysdeps/m68k/Makefile (crypt): Variable removed.
6544 * sysdeps/sparc/Makefile: Likewise.
6546 * version.h (VERSION): Update to 1.93.
6548 * Makerules ($(libdir)/libc.so): Depend on
6549 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
6551 * crypt/nocrypt.c: New file.
6552 * Makefile (subdirs): Add crypt.
6553 * crypt/Makefile: New file.
6555 * Makerules (soversions.mk): Move this target, include of it, and
6556 include of version.mk to ...
6557 * Makeconfig: ... here.
6558 (soversions.mk): Depend on Makeconfig instead of Makerules.
6560 * shlib-versions (*-*-*): Set libcrypt=0.
6562 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
6564 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
6565 word extends right up to rmargin.
6567 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
6568 output the wrap margin, set point_col to wmargin.
6569 Use negative point_col to deal with a wmargin of 0.
6570 (line_wrap_point): Return 0 for a negative point_col.
6571 (line_wrap_stream): Make wmargin ssize_t.
6572 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
6574 (line_wrap_stream): Make wmargin ssize_t.
6575 (line_wrap_point): Return 0 for a negative point_col.
6577 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6579 * shlib-versions (*-*-gnu*): Set libc=0.0
6581 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6583 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
6584 sysdeps/i386/dl-machine.h.
6586 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
6588 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
6589 to fiddle __put_limit in conjunction with __linebuf_active.
6591 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6593 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
6594 to the strong name, not the file name.
6596 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6598 * csu/initfini.c: More magic. Detect if .end is produced and put it
6599 in the output iff the compiler does.
6601 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
6602 because that is broken on alpha.
6604 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
6607 * Makerules (make-link): Install the new link with atomic mv -f in
6608 case ln itself requires the library being installed.
6610 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
6612 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
6613 i386/dl-machine.h of 960713.
6615 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
6616 (_dl_sysdep_read_whole_file): Fix result variable declaration.
6618 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6620 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
6623 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
6625 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
6626 with pointer to local variable instead of NULL.
6628 1996-07-15 Paul Eggert <eggert@twinsun.com>
6630 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
6632 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6634 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
6635 that are already added by other means.
6637 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
6638 caller column to get those syscalls added automagically.
6640 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
6642 * login/logout.c (logout): Initialize DATA to a state that will
6643 make setutent_r happy.
6645 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6647 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
6648 instead of setting the DT_DEBUG pointer.
6650 * csu/initfini.c (_init, _fini): Generate .end directives after
6651 standalone prologues and filter them out from epilogues.
6653 * Makeconfig (rtld-installed-name): Set to ld.so.1.
6654 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
6657 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
6659 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
6661 * MakeTAGS (extract): Pass --add-comments=TRANS.
6662 * sysdeps/gnu/errlist.awk: Write comments into the output with the
6663 descriptive paragraphs from the manual preceded by TRANS.
6665 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
6666 (_dl_start): Move RESOLVE defn inside this function and #include
6667 "dynamic-link.h" a second time there.
6668 [RTLD_START]: Move use of this after _dl_start function.
6670 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
6672 * elf/rtld.c: Include <string.h>.
6674 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
6675 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
6676 Conditionalize defns on [RESOLVE].
6677 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6678 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6679 Instead use RESOLVE macro with same args.
6680 (elf_machine_rel): Conditionalize defn on [RESOLVE].
6681 * elf/dl-reloc.c (RESOLVE): New macro, define before including
6682 "dynamic-link.h". It replaces `resolve' local function.
6683 * elf/dl-runtime.c: Likewise.
6684 * elf/rtld.c: Likewise.
6686 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
6688 * elf/dl-open.c (_dl_open): Force an indirect call for
6689 _dl_relocate_object so there is no chance a PLT fixup will be done
6690 and clobber _dl_global_scope before our call happens.
6692 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
6693 to =t; must operate on top of fp reg stack, not second from top.
6694 Correct input constraint to 0 from t; must be explicit when input and
6695 output are the same register.
6696 (floor): Use __volatile instead of volatile.
6699 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
6702 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6704 * manual/Makefile (lib): New phony target. Depend on stamp files.
6705 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
6707 1996-07-13 Paul Eggert <eggert@twinsun.com>
6709 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
6710 to match Emacs format-time-string specification.
6711 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
6713 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6715 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
6716 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
6717 between MAP and its deps.
6718 * elf/link.h: Fix decl.
6719 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
6720 colon-separated list of names, map those and pass vector of ptrs as
6721 PRELOADS list to _dl_map_object_deps.
6722 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
6723 _dl_map_object_deps with empty preload list.
6724 * elf/dl-open.c (_dl_open): Likewise.
6726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
6728 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
6729 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
6730 Conditionalize defn on [! MAP_ANON].
6731 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
6733 * elf/rtld.c (dl_main): Likewise.
6734 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
6735 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
6737 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
6739 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
6741 * stdlib/random.c (__random): Declare as int32_t to be in sync
6744 * socket/Makefile (headers): Add socketbits.h.
6746 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
6749 * grp/initgroups.c (initgroups): Add groups that user is a member
6750 of, not the ones he is _not_ a member of.
6752 * nss/nsswitch.c (known_compare): Make known_compare() a static
6753 instead of a local function. The latter are difficult to debug
6754 and slow to execute on certain platforms.
6756 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
6757 place of sizeof (dev). The size of a literal string includes the
6760 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
6762 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
6764 * misc/mntent.c (addmntent): Seek to end of file before writing
6765 entry. Return 1 on error, not -1.
6767 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
6769 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
6772 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
6774 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
6775 shift amount for Jensen must be 5 not 4.
6777 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6779 * socket/sys/socket.h (struct osockaddr): New type.
6781 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
6783 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
6784 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
6785 and `long double' versions can be generated.
6786 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
6787 so that included efgcvt{,_r}.c file generate `long double'
6789 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
6792 * manual/startup.texi: Document new getsubopt function.
6793 * manual/examples/subopt.c: New example program for documenting
6796 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
6798 * stdlib/Makefile (routines): Add getsubopt.
6799 * stdlib/stdlib.h: Add prototype for getsubopt.
6800 * stdlib/getsubopt.c: New file. Implement getsubopt function
6801 to handle suboption parsing.
6803 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6805 * inet/getnetent_r.c: Define NEED_H_ERRNO.
6806 * inet/getnetbynm_r.c: Likewise.
6807 * inet/getnetent.c: Likewise.
6808 * inet/getnetbyad_r.c: Likewise.
6809 * inet/getnetbyad.c: Likewise.
6810 * inet/getnetbynm.c: Likewise.
6812 * sysdeps/generic/pselect.c: Include <sys/time.h>.
6814 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
6817 * math/Makefile (calls): Add s_frexp, s_ldexp.
6818 (routines): Remove them and &f from here.
6820 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
6822 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
6825 * nss/nss_files/files-XXX.c: Comment fix.
6827 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
6829 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
6830 of reentrant function.
6831 (setup): Pass additional argument with function name we are
6833 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
6834 new argument {SET,END,GET}FUNC_NAME_STRING.
6836 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
6837 we return a pointer.
6839 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6841 * nss/nss_files/files-parse.c: Add comment about things to #define.
6843 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
6845 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
6846 terminator char as an error.
6848 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
6850 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
6852 * catgets/gencat.c (write_out): Move code to determine new
6853 best size out of inner loop.
6855 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
6857 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
6858 implementation of frexp() function.
6859 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
6860 implementation of ldexp() function.
6862 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
6865 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
6867 * misc/mntent.c: Include <sys/types.h>.
6868 (endmntent): Return 1 one success, 0 on failure.
6869 (getmntent): Chop newline and ignore empty lines.
6871 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6873 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
6874 differently based on [RTLD_BOOTSTRAP].
6875 (elf_machine_rela): Use it instead of the fn ptr arg directly.
6877 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6879 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
6880 __glob_closedir_hook): Remove decls.
6882 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
6884 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
6885 for send and connect syscalls.
6887 * socket/sys/socket.h: New file, taken from non-sysdep parts of
6888 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
6889 Declare __ names for send and connect.
6890 * sysdeps/generic/socketbits.h: New file.
6891 * sysdeps/unix/sysv/linux/socketbits.h: New file.
6892 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
6893 * sysdeps/generic/sys/socket.h: File removed.
6895 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
6896 * sysdeps/mach/hurd/send.c: Likewise.
6898 * sysdeps/mach/libc-lock.h: New file.
6899 * sysdeps/unix/readdir.c: Do locking.
6900 * sysdeps/unix/seekdir.c: Likewise.
6901 * sysdeps/unix/rewinddir.c: Likewise.
6902 * sysdeps/unix/closedir.c: Likewise.
6903 * sysdeps/unix/bsd/telldir.c: Likewise.
6904 * sysdeps/mach/hurd/seekdir.c: Likewise.
6905 * sysdeps/mach/hurd/readdir.c: Likewise.
6906 * sysdeps/mach/hurd/closedir.c: Likewise.
6907 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
6908 * sysdeps/unix/opendir.c: Likewise.
6909 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
6910 (struct __dirstream): Add lock member using __libc_lock_define.
6911 * sysdeps/unix/dirstream.h: Likewise.
6913 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
6915 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
6917 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
6919 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
6921 * locale/programs/stringtrans.c: Fix typo in copyright.
6923 * stdio-common/printf-prs.c: Add casts to prevent
6924 signed<->unsigned warnings.
6926 * stdio-common/printf-parse.h: Initialize state variable before
6928 * stdio-common/printf-prs.c: Don't initialize state variable here.
6929 * stdio-common/vfprintf.c: Don't initialize state variable.
6930 (vfprintf): While determining length of multibyte string don't
6931 try to be clever in determining characters to use for first
6934 Add real implementation of multibyte<->wide char conversion
6935 functions. The functions always convert between the fixed wide
6936 char format (ISO 10646 in UCS4) and the UTF8 representation of
6937 this character set. Conversion between the currently used
6938 8bit character set and ISO 10646 will not take place. This is
6939 what iconv() is for.
6940 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
6942 Add optimized version of `mbrlen' function.
6943 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
6945 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
6947 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
6948 This is needed in the wchar.h header.
6949 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
6950 encoded character to UCS4.
6951 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
6952 element of `mbstate_t' for initial state.
6953 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
6954 encoded string to UCS4 string.
6955 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
6956 character to UTF8 encoded form.
6957 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
6958 encoded string to UTF8 encoded form.
6960 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6962 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
6963 variable name, so new a libc with new requirements won't fail to
6964 notice an insufficient Linux version.
6966 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
6968 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
6969 instead of 2.0 headers.
6971 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
6973 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
6974 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
6976 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
6977 before using it in lhs of weak_alias.
6979 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
6980 Call __nss_lookup when not setting STARTP.
6981 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
6982 function-calling loop.
6984 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
6986 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
6987 PENDIN, NOFLSH): Undefine these at start if they are already
6988 defined to avoid collision with termbits.h.
6989 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
6990 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
6992 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6994 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
6995 already defined to float, long double. Use those macros for _Mdouble_
6996 defns when including mathcalls.h.
6997 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
6998 -D_Mlong_double_=double.
7000 Add more -lm functions to -lc because ldexp uses them.
7001 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
7002 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
7003 ldexp have both f and l code, and those have f though not l code.
7005 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
7007 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
7008 error is 0. The "placeholder" entries recently added to
7009 errno.texi convert to zero since `???/' is at the front of them.
7010 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
7012 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
7013 __const to conform with unistd.h.
7015 * stdlib/stdlib.h (random): Declare return type to be int32_t.
7017 * string/argz-delete.c (argz_delete): Use memmove instead of
7018 memcpy for possibly overlapping strings.
7020 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7022 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
7023 storage class. GCC gives an error for non-extern data defns with the
7026 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
7028 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
7029 memmove instead of memcpy for possible overlapping strings.
7031 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7033 * libc-symbols.h (weak_function): New macro.
7034 For GCC 2.7+ define as __attribute__ ((weak)).
7035 * elf/dl-minimal.c: Use weak_function as keyword in function defns
7036 instead of weak_symbol (NAME) after the defn.
7037 * stdlib/strtol.c: Likewise.
7038 * stdlib/strtod.c: Likewise.
7039 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7041 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
7042 If this is defined, don't declare _dl_rtld_map as weak, and
7043 don't check for MAP pointing to it. RESOLVE is always null in this
7044 case, so test with #ifdef instead of if.
7046 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
7048 * csu/initfini.c (_init): Likewise.
7049 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
7050 * misc/efgcvt_r.c: Likewise.
7051 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7052 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7054 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
7055 It was not used in any assembler code.
7056 (weak_symbol_asm): Renamed to weak_extern_asm.
7057 (weak_extern): New macro replaces weak_symbol for weak extern refs;
7058 define to weak_extern_asm for [!ASSEMBLER].
7060 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7062 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
7063 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
7064 define those now as aliases.
7065 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
7066 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
7067 after GCC weak attribute decl.
7069 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
7070 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
7071 (element printer): Check for elt in ALIAS, instead of special case
7074 * io/Makefile (headers): Add sys/vfs.h.
7075 * io/sys/vfs.h: New file.
7077 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
7078 critical section lock before unlinking dying active resources.
7079 The unlock just before return is right (i.e. old code unlocked twice).
7081 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
7083 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
7084 Use memmove instead of memcpy where overlap is possible (not
7085 necessary using current implementation of memcpy, but...).
7086 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
7088 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
7090 * stdio/linewrap.c (lwupdate): New function, mostly was
7091 __line_wrap_update. Use POINT_COL field instead of POINT.
7092 (__line_wrap_output): Use lwupdate.
7093 (__line_wrap_update): New function.
7094 (ensure_unwrapped, ensure_wrapped): New functions.
7095 (line_wrap_set_lmargin, line_wrap_set_rmargin,
7096 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
7098 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
7099 POINT_COL. Add POINT_OFFS field.
7100 (__line_wrap_update): New decl.
7101 (line_wrap_set_lmargin, line_wrap_set_rmargin,
7102 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
7104 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
7106 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
7108 * login/pututline_r.c (pututline_r): Since we assign RESULT from
7109 lseek now, check that it's >= 0, not == 0.
7111 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
7113 * login/login.c (login): Make a copy of *UT, fill in various
7114 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
7117 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
7118 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
7120 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7122 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
7123 signal during critical section doing interruptible RPC, if
7124 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
7125 before thread_resume. If in critical section, pass 0 for SIGNO to
7126 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
7128 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
7130 * sysdeps/unix/sysv/linux/sys/user.h: New file.
7131 * sysdeps/unix/sysv/linux/Dist: Add it.
7132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
7134 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
7135 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
7136 itself, no need to skip past a NUL.
7138 * nss/nsswitch.h (known_function): Comment fix.
7139 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
7140 directly. Do the lookup and insertion with a single call, and fill in
7141 the tree node afterwards if new.
7142 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
7144 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
7145 (struct timeval): Add bodiless decl for scope.
7147 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
7148 Move struct timespec defn outside [_TIME_H] so it can be got with
7149 #define __need_timespec.
7151 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
7152 for `struct timespec' member names.
7153 (TIMESPEC_TO_TIMEVAL): Likewise.
7155 * nss/Makefile (extra-libs-others): New variable.
7157 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
7158 $(lib) in $(extra-libs-others).
7159 * sunrpc/Makefile (extra-libs-others): New variable.
7160 (librpcsvc-no-lib-dep): Variable removed.
7162 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
7163 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
7165 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
7166 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
7167 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
7168 _dl_rtld_map weak only here.
7170 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
7172 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
7174 * login/utmp.h: Fix typos.
7176 * misc/syslog.c (vsyslog): Use __send instead of send and
7177 __connect instead of connect to avoid name-space collisions (e.g.,
7180 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7182 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
7184 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
7186 * malloc/malloc-size.c (malloc_usable_size): Renamed from
7187 malloc_object_allocation_size.
7188 * malloc/malloc.h: Fix decl.
7190 * sys/select.h: New file, wrapper header.
7192 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
7193 fd_set, associated macros, and select decl.
7195 * sysdeps/posix/isfdtype.c: New file.
7197 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
7199 The latest Japanese proposal for POSIX locales renames the
7200 CHARMAP keyword in locale definition files to CHARCONV.
7201 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
7202 function ctype_is_charmap to ctype_is_charconv.
7203 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
7205 * locale/programs/locfile-token.h: Add definition of token
7207 * locale/programs/locfile.c: Recognize charconv keyword. Rename
7208 lables according to this.
7210 * locale/weight.h (get_weight): Cast constants to prevent
7213 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
7214 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
7217 New stuff described in P1003.1g.
7218 * misc/Makefile (headers): Add sys/select.h.
7219 (routines): Add pselect.
7220 * misc/sys/select.h: New file. Declare select functions and
7221 needed data types and macros.
7222 * sysdeps/generic/pselect.c: New file. Add generic implementation
7223 of pselect() function which uses select().
7225 * posix/getconf.c: Recognize new variables from P1003.1g.
7226 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
7227 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
7228 * posix/unistd.h: Add description of the P1003.1g variables.
7229 * sysdeps/generic/confname.h: Define _SC_* values for new
7231 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
7233 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
7234 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
7236 * sysdeps/stub/sysconf.c (sysconf): Ditto.
7237 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
7238 _POSIX_SELECT since Linux has this.
7240 * socket/Makefile (routines): Add isfdtype.
7241 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
7242 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
7245 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
7247 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7249 * elf/Makefile (LDFLAGS-dl.so): New variable.
7250 (libdl.so): Depend on eval.so.
7251 (distribute): Add eval.c.
7252 * elf/eval.c: New file.
7254 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
7255 in case it wrote fewer than MAXDIGITS chars.
7257 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
7258 newline from flushing full buffer in loop, fix test so no fflush is
7259 done when last byte written exactly fills the buffer.
7261 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
7263 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
7264 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
7266 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
7267 extracting _dl_rtld_map.l_addr.
7269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
7271 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7273 * shlib-versions (*-*-*): Set libnss_db=1.
7275 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7277 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
7279 * rpm/template (%build): Use @prefix@ instead of always /usr.
7280 Set up configparms only if @prefix@ is in fact /usr.
7281 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
7283 * elf/Makefile: Add missing endif.
7285 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
7287 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
7288 (DATABASE): Define this instead of DATAFILE.
7289 * nss/nss_files/files-hosts.c: Likewise.
7290 (hostbyname): Use LOOKUP_NAME macro.
7292 * nss/nss_db/db-XXX.c: New file.
7293 * nss/Makefile (services): Add db.
7294 (libnss_db-inhibit-o): New variable.
7295 (libnss_db-routines): New variable.
7296 (distribute): Append db-XXX.c.
7297 (libnss_db.so): Depend on libdb.so and libnss_files.so.
7298 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
7300 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
7302 (DATAFILE): New macro.
7303 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
7305 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
7306 Pass db key args to DB_LOOKUP.
7307 (DATAFILE): Macro removed.
7308 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
7309 * nss/nss_files/files-service.c: Likewise.
7310 * nss/nss_files/files-pwd.c: Likewise.
7311 * nss/nss_files/files-proto.c: Likewise.
7312 * nss/nss_files/files-grp.c: Likewise.
7313 * nss/nss_files/files-ethers.c: Likewise.
7315 * elf/linux-compat.c: File removed.
7316 * elf/Makefile (distribute): Remove linux-compat.c.
7317 (ld-linux.so.1): Remove target and associated variables.
7319 * sunrpc/xdr.c: Remove malloc decl.
7320 * sunrpc/portmap.c: Likewise.
7322 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
7323 casting abort to fn returning bool_t.
7325 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
7326 the parser function.
7327 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
7328 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
7329 * nss/nss_files/files-grp.c: Likewise.
7331 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
7333 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
7335 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
7336 of ld.so so lookups for that soname find it.
7338 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
7339 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
7341 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
7342 define parse_line function.
7343 (parse_line): #define to _nss_files_parse_pwent and
7344 add extern decl for that.
7346 * nss/nss_files/files-XXX.c (internal_getent): Return
7347 NSS_STATUS_TRYAGAIN for ERANGE error.
7349 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
7350 of null, so next round returns null again instead of bombing. Fix
7353 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
7354 Remove ; after `ENTDATA_DECL (data)'.
7355 Truncate line at strpbrk (line, EOLSET "\n").
7356 (ENTDATA_DECL): Put ; at end.
7357 (MIDLINE_COMMENTS): Macro removed.
7358 * nss/nss_files/files-ethers.c: Pass new argument.
7359 * nss/nss_files/files-hosts.c: Likewise.
7360 * nss/nss_files/files-network.c: Likewise.
7361 * nss/nss_files/files-parse.c: Likewise.
7362 * nss/nss_files/files-proto.c: Likewise.
7363 * nss/nss_files/files-rpc.c: Likewise.
7364 * nss/nss_files/files-service.c: Likewise.
7365 * grp/fgetgrent.c: Likewise.
7366 * pwd/fgetpwent.c: Likewise.
7367 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
7368 fgetpwent.c already defines it.
7369 * nss/nss_files/files-grp.c: Likewise.
7371 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
7372 as well as any matching with l_libname. Fix DT_SONAME lookup to use
7373 string table properly.
7375 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
7376 invoked directly, and l_libname from that if PT_INTERP missing.
7377 Set l_name from l_libname only if not set from argv.
7379 * time/europe, time/northamerica: Updated from ADO 96i.
7381 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7383 * stdio-common/tst-ungetc.c: Include unistd.h.
7385 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
7387 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
7389 * hurd/report-wait.c (describe_number): Make I unsigned long.
7391 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
7392 actually found any entry.
7394 * login/pututline_r.c (pututline_r): If not located after any
7395 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
7396 Lock the file before stating.
7398 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7400 * nss/Makefile (databases): Change host to hosts.
7401 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
7403 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
7405 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
7407 * string/string.h (strndupa): Pass missing arg to strnlen.
7409 * inet/getnetbypt_r.c: Renamed to ...
7410 * inet/getnetbyad_r.c: this; fixed function name.
7411 * inet/getnetbypt.c: Renamed to ...
7412 * inet/getnetbyad.c: this; fixed function name.
7414 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7416 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
7419 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
7421 * login/login.c (login): Initialize DATA so that setutent_r will
7422 actually do something.
7424 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
7426 * resolv/res_hconf.c (strndup): Remove function.
7428 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
7429 using ElfW() instead of Elf32_*.
7431 * sysdeps/unix/sysv/linux/alpha/init-first.h,
7432 sysdeps/unix/sysv/linux/m68k/init-first.h,
7433 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
7434 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
7435 init-first.h to make abstract machine dependent parts of
7438 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
7439 error handling. It's safer that way.
7441 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
7442 Fix by Richard Henderson.
7444 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
7445 typo/extraneous whitespace.
7447 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
7448 determine what integer sizes we're dealing with.
7450 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
7452 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
7453 check for signal zero, repair logical sense of test by
7454 parenthesizing correctly.
7456 * hurd/hurdsig.c (_hurd_internal_post_signal): In
7457 check-for-pending signals code, release _hurd_siglock before
7458 jumping to deliver_pending.
7460 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
7462 * configure.in (config_machine): Make ELF the default even for
7463 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
7466 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7468 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
7469 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
7470 member only #ifdef ENTDATA.
7471 (ENTDATA_DECL): New macro.
7472 (LINE_PARSER): Use it for entdata decl.
7473 (parse_list): Find the space for LIST from DATA->linebuffer instead of
7474 from the input LINE, which might not be writable buffer space.
7475 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
7476 [ENTDATA] (parser_stclass): #define to `static inline'.
7477 [!ENDATA] (parser_stclass): #define to empty.
7478 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
7479 function is exported to -lnss_files users.
7481 * string/strndup.c: Add missing arg.
7483 * string/string.h (strndupa): Likewise.
7484 * string/strndup.c (strndup): Always terminate the string.
7486 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7488 * stdio/Makefile (routines): Add vscanf.
7489 * stdio-common/Makefile (routines): Remove vscanf.
7490 * stdio-common/vscanf.c: Move to ...
7491 * stdio/vscanf.c: here.
7493 * rpm/Makefile (headers, install-lib, install-lib.so,
7494 versioned, install-bin, install-sbin, install-data,
7495 install-others): Add $(-VARIABLE).
7497 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7499 * nss/Makefile (databases): New variable.
7500 (routines, libnss_files-routines): Use it.
7501 (subdir-dirs): Compute from $(services).
7503 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
7504 init_module, klogctl): Use EXTRA in the "caller" column so these get
7505 added to unix-extra-syscalls and thus compiled in misc.
7507 * string/Makefile (routines): Add strndup.
7508 * string/strndup.c: New file.
7509 * string/string.h: Declare strndup.
7510 (strndupa): New macro.
7512 * string/string.h: Declare __strdup.
7513 * string/strdup.c: Deansideclized. Define __ name and weak alias.
7515 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
7517 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
7519 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
7521 * grp/initgroups.c (initgroups): De-ansi-fy.
7522 Move declaration of NGROUPS and GROUPS outside #if so that
7523 the code compiles for NGROUPS_MAX != 0.
7525 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
7526 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
7527 ether_ntoa, ether_ntoa_r, and ether_ntoh.
7528 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
7529 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
7530 inet/ether_ntoh.c: New files. Implementation of functions to
7531 handle Ethernet address to host mapping.
7532 * inet/netinet/ether.h: New file. Declare ether_* functions.
7533 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
7535 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
7536 * nss/Makefile (routines): Add ethers-lookup.
7537 (libnss_files-routines): Add files-ethers.
7539 * nss/getXXent_r.c: Don't define set*ent and end*ent function
7542 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
7543 KEEP_STREAM every time called.
7544 (_nss_files_end): Reset KEEP_STREAM here instead.
7545 (internal_getent): If STREAM == NULL try to open instead of
7547 Use cast to prevent warning.
7548 Terminate read line in case the buffer is too small.
7550 * nss/nss_files/files-ethers.c: New file. Implementation of
7551 Ethernet adress<->hostname lookup through files interface.
7553 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
7554 * stdlib/mbtowc.c: Define based on mbrtowc().
7555 * stdlib/wcstombs.c: Define based on wcsrtombs().
7556 * stdlib/wctomb.c: Define based on wcrtomb().
7558 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
7559 unexpected_sizes_in_xdr_u_int.
7561 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
7562 of `struct ether_addr'.
7563 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
7564 declaration of `struct ether_addr'.
7566 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
7567 * wcsmbs/mbsrtowcs.c: Ditto.
7568 * wcsmbs/wcrtomb.c: Ditto.
7569 * wcsmbs/wcsrtombs.c: Ditto.
7571 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
7573 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
7575 * hurd/get-host.c <fcntl.h>: New include.
7576 * hurd/set-host.c <fcntl.h>: New include.
7577 (_hurd_set_host_config): Include NEW in args to dir_link.
7578 Return NWROTE, not NREAD.
7580 * sysdeps/mach/hurd/getcwd.c
7581 (_hurd_canonicalize_directory_name_internal): Don't deallocate
7582 DOTID & DOTDEVID until we're finished with them (we need to keep
7583 them at least until we've fetched the next level of id ports, so
7584 that mach will be able to use the same name if they're the same).
7585 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
7586 jumps to errlose, for those places where such cleanup is needed.
7588 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7590 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
7592 Move DB code into separate -ldb library.
7593 * db/Makefile (extra-libs): New variable, list libdb.
7594 (routines): Renamed to libdb-routines.
7595 * shlib-versions: Add libdb=2.
7597 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
7598 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
7600 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
7601 of strncasecmp. Extend syntax to grok [!foo=bar].
7603 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
7605 * string/string.h: Declare __strncasecmp.
7607 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
7608 (service_alias): Variable removed.
7609 (nss_parse_service_list): New function, broken out of nss_getline.
7610 Remove alias conversion; we will just use symlinks.
7611 (__nss_database_lookup): Take new string arg DEFCONFIG.
7612 If no entry exists, make one with service list parsed from that.
7613 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
7614 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
7615 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
7617 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
7620 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
7622 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
7624 * locale/programs/locale.c (long_options): Short form of
7625 --version option is `-V'.
7626 (main): Recognize `-V' as option, not `-v'.
7627 Call `usage' instead of printing error message for illegal
7629 (usage): Document `-V'.
7631 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
7633 * sysdeps/mach/hurd/getcwd.c
7634 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
7635 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
7637 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7639 * inet/getrpcent.c: Fix macros.
7640 * inet/getrpcent_r.c: Fix macros.
7642 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
7644 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
7646 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
7648 * catgets/gencat.c (write_out): Use %Zu to print variables of type
7650 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
7651 cast it to (unsigned long) to make it work both on 32 and 64
7654 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7656 * locale/Makefile (distribute): Add `programs/' prefix to all
7657 files in that directory.
7659 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
7662 * MakeTAGS (sources, headers): Make them simply expanded variables
7663 so that all-dist is expanded before it is changed.
7665 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7667 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
7668 * Makefile (subdirs): Remove crypt.
7669 * crypt: Directory removed. It will be made an independent library
7672 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
7674 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
7676 * inet/getrpcbynumber.c (BUFLEN): New macro.
7678 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
7680 * Makefile (headers): Add libc-lock.h.
7681 * sysdeps/stub/libc-lock.h: New file.
7683 * inet/getrpcbynumber.c: Remove _r typo.
7685 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
7687 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
7690 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
7691 or doesn't mention DATABASE, use an internal default equivalent to
7692 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
7693 (nss_lookup_function): Call nss_new_service as needed.
7694 (nss_parse_file): Don't bother calling nss_new_service here.
7696 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
7697 * pwd/fgetpwent.c: Likewise.
7699 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
7700 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
7701 * malloc/malloc-size.c: New file.
7702 * malloc/malloc-walk.c: New file.
7704 * malloc/malloc-find.c (malloc_find_object_address): Return null if
7705 PTR is outside the heap.
7707 * elf/dl-load.c (_dl_map_object): If the requested name matches the
7708 soname of a loaded object, use that object.
7710 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7712 * Makefile (subdirs): Add nss.
7714 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
7715 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
7716 * inet/getrpcbynumber_r.c: New file.
7717 * inet/getrpcbynumber.c: New file.
7718 * inet/getrpcbyname.c: New file.
7719 * inet/getrpcbyname_r.c: New file.
7720 * inet/getrpcent_r.c: New file.
7721 * inet/getrpcent.c: New file.
7722 * nss/rpc-lookup.c: New file.
7723 * nss/nss_files/files-rpc.c: New file.
7724 * nss/Makefile (routines): Add rpc-lookup.
7725 (libnss_files-routines): Add files-rpc.
7726 * sunrpc/Makefile (routines): Remove getrpcent.
7727 * sunrpc/getrpcent.c: File removed.
7729 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
7732 * Makeconfig (rpath-link): Add $(nssobjdir).
7733 (nssobjdir): New variable.
7735 * Makerules: Move shared library building before objects rules, so
7736 versions are known before extra-lib.mk gets included.
7737 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
7739 * pwd/getpwuid.c: Rewritten using nss.
7740 * pwd/getpwnam.c: Likewise.
7741 * pwd/getpwent.c: Likewise.
7742 * grp/getgrnam.c: Likewise.
7743 * grp/getgrgid.c: Likewise.
7744 * grp/getgrent.c: Likewise.
7745 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
7746 * pwd/getpwent_r.c: New file.
7747 * pwd/getpwnam_r.c: New file.
7748 * pwd/getpwuid_r.c: New file.
7749 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
7750 * grp/getgrnam_r.c: New file.
7751 * grp/getgrgid_r.c: New file.
7752 * grp/getgrent_r.c: New file.
7753 * grp/Makefile (routines): Remove grpopen, grpread.
7754 * pwd/Makefile (routines): Remove pwdopen, pwdread.
7755 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
7757 * pwd/fgetpwent.c: Rewritten using files-parse.c.
7758 * grp/fgetgrent.c: Likewise.
7760 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
7761 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
7762 * nss/nss_files/files-grp.c: New file.
7763 * nss/nss_files/files-pwd.c: New file.
7765 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
7767 * nss/nss_files/files-parse.c: New file.
7768 * nss/nss_files/files-XXX.c: New file.
7769 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
7770 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
7771 Rewritten using them.
7773 * nss/Makefile (libnss_files-routines): Remove files-host.
7774 Add files-hosts, files-grp, files-pwd.
7776 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
7778 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
7780 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7781 A .plt entry now loads the .rela.plt offset directly rather
7782 than making us calculate it.
7784 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7786 * time/Makefile ($(installed-localtime-file) rule): Do
7787 $(make-target-directory) first.
7789 * resolv.h: Fix wrapper for resolv/resolv.h.
7791 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
7792 Compile dummy file and pass -nostdlib -nostartfiles so as not to
7793 require installed libraries.
7795 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
7798 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
7800 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
7801 and mapv4v6hostent.h.
7802 (routines): Move res* and gethnamaddr into libresolv-routines.
7803 (libresolv-routines): New variable, put them there.
7804 (extra-libs): New variable, list libresolv.
7805 (CPPFLAGS): Add -D for get*by* to res_get*by*.
7807 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
7809 * inet/herrno.c: New file.
7811 * resolv/res_init.c: Remove res_hconf calls.
7813 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
7814 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
7815 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
7816 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
7817 nss/service-lookup.c: New files. Implementation of name
7818 service switch, following the approach in Solaris.
7819 Interface specification and general structure inspired by Peter
7820 Eriksson <pen@lysator.liu.se>.
7821 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
7822 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
7823 Implementation of libnss_files.so module for file based databases
7825 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
7826 if libnss_dns.so module for DNS name lookup in NSS service.
7828 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
7829 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
7830 Changed to serve as interface to NSS.
7831 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
7832 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
7833 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
7834 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
7835 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
7836 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
7837 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
7838 interfaces to NSS, including reentrant functions.
7840 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
7841 resolv/sethostent.c: Removed: Obsoleted by NSS.
7843 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
7844 gethnamaddr.c. These private functions are now used in more
7847 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
7849 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7851 * rpm/Makefile ($(config)): Make sure the word list in the for
7852 loop is syntactically non-empty.
7854 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7856 * Version 1.92 test release.
7858 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
7860 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
7861 to klogctl to match prototype in sys/klog.h.
7863 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
7864 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
7866 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
7867 Remove. Code is now part of __getcwd again. The old function
7868 never really worked for anything but THISDIR==".".
7870 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
7871 only when building ELF version of library.
7873 * libio/libioP.h (_IO_vscanf): Add prototype.
7875 * posix/unistd.h (syscall): Change sysno arg and return value
7878 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7880 * version.h (VERSION): Updated to 1.92.
7882 * misc/Makefile (headers): Add ar.h.
7883 * misc/ar.h: New file.
7885 * config.make.in (BUILD_CC): New variable.
7886 * configure.in: Check for BUILD_CC if $host != $build.
7888 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
7890 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
7891 (stamp$o files): New targets, create them empty, no deps.
7893 * rpm/template (Source): New field.
7894 (%prep, %build, %install): New sections.
7895 (%files): Add %doc FAQ NEWS NOTES README.
7896 * rpm/rpmrc (builddir): Removed.
7898 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7900 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
7901 guessing to not assume p_vaddr of first load cmd is zero.
7903 * sysdeps/sparc/elf/start.S: New file.
7904 * sysdeps/sparc/dl-machine.h: New file.
7906 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
7907 only for ?s, not for *s. Fix from Chet Ramey.
7909 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
7910 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
7911 Use __{BEGIN,END}_DECLS.
7912 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
7913 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
7914 New macros, moved here from sysdeps/gnu/utmpbits.h.
7915 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
7916 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
7917 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
7918 Use sizeof instead of UT_*SIZE.
7919 * login/logwtmp.c: Likewise.
7921 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
7923 * version.c (banner): Add trailing newline.
7925 * login/utmp.h: Declare login_tty.
7927 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
7929 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
7930 Changed to a 12-byte PLT entry to remove dependency on $gp.
7931 Take a new got_addr parameter.
7932 (elf_machine_rela): Pass the new parameter.
7933 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
7934 (RTLD_START): Do normal linkage with program entry.
7936 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
7938 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
7940 * hurd/getuids.c (getuids): New weak link to __getuids.
7942 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
7944 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
7945 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
7947 Rename nested function lookup to lookup_op.
7948 (__file_name_lookup, __file_name_lookup_under):
7949 Pass 0 for lookup arg to __hurd_file_name_lookup.
7950 (__file_name_split): Likewise for __hurd_file_name_split.
7951 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
7952 Rename nested function lookup to scan_lookup.
7953 (file_name_path_lookup): Pass 0 for lookup arg to
7954 hurd_file_name_path_lookup.
7955 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
7956 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
7957 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
7958 Add LOOKUP argument.
7959 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
7960 __hurd_file_name_lookup.
7962 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7964 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
7965 up a huge list just to discard most of it.
7967 * configure.in (sysnames): Avoid fgrep by using the case shell
7970 * Makeconfig (config.status): Fix dependency on Implies files.
7972 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7974 * math/Makefile (distribute): Add ieee-math.c.
7976 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
7978 * locale/codeset_name.c: New file. Provide function for information
7979 about currently used character set.
7980 * locale/Makefile (routines): Add codeset_name.
7981 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
7982 * locale/localeinfo.h: Change magic number because of incompatible
7984 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
7985 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
7987 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
7988 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
7990 * locale/setlocale.c (setlocale): Initialize local variables to
7993 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
7995 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
7997 * locale/programs/locale.c: Include string.h.
7999 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
8000 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
8001 appropriate sign-extension is performed on machines with
8004 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
8005 sizeof(int)<sizeof(long), we need to go through a temporary
8008 * locale/programs/ld-numeric.c: Include <alloca.h>
8010 * libio/stdio.h (__libc_fatal): Add prototype.
8012 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
8015 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
8016 volatile to avoid "might get clobbered by longjmp" warning.
8018 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
8019 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
8020 probability is a sure loser).
8021 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
8023 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
8024 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
8026 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
8027 to be Linux FSSTND compliant.
8029 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
8031 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
8033 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
8034 sysdeps/unix/sysv/linux/alpha/brk.S,
8035 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
8036 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
8037 sysdeps/unix/sysv/linux/alpha/llseek.S,
8038 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
8039 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
8040 __syscall_error to avoid intruding application name space.
8042 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
8043 to SYS_get?id so that syscall stubs in sysdeps/unix define
8044 these syscalls in terms of getxpid/getxuid/getxgid.
8046 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
8047 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
8048 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
8049 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
8051 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
8052 (PSEUDO_END): Rename END() to PSEUDO_END().
8054 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
8055 to PSEUDO_END to improve branch-prediction. Include .frame
8056 directive to make syscalls debugabble.
8057 (PSEUDO_END): New macro.
8059 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
8060 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
8061 latter is illegal under DEC Unix.
8063 * sysdeps/unix/alpha/sysdep.S: Renamed from
8064 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
8066 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
8067 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
8068 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
8070 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
8071 address register in the .frame directive.
8073 * sysdeps/alpha/copysign.c: Remove.
8075 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
8076 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
8078 * errno.h: Move __END_DECLS to correct place to make file
8079 compilable under c++.
8081 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
8082 d_ino only if <direntry.h> hasn't defined d_fileno.
8084 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
8085 arguments to weakext to make .weakext detection work on ECOFF systems.
8087 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
8088 that _validuser() has been replaced by __ivaliduser().
8090 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
8092 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
8093 as unsigned long, not as int (to avoid incorrect int->long
8098 See ChangeLog.5 for earlier changes.