1 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
3 * signal/Makefile (routines): Add sigwait.
4 * signal/signal.h: Add prototype for sigwait.
5 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
6 function from POSIX.1c.
7 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
9 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
11 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
12 but don't bother going farther than sizeof(float)==sizeof(int).
13 (xdr_double): Handle little-endian machines! Handle sizeof(double)
14 != 2*sizeof(long), though again don't bother with more than int.
16 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
18 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
21 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
23 * Makerules: Create symbolic links for linking in $(libdir).
24 (make-link): Use absolute path for destination if this is not in
27 * elf/rtld.c (dl_main): When verifying don't check the name of
30 * shlib-versions: Change entries for Hurd specific libs from
31 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
34 * assert/assert.h: Reformat copyright.
35 Change reference to ANSI into reference to ISO C.
36 * ctype/ctype.h: Likewise.
39 * math/math.h: Likewise.
40 * setjmp/setjmp.h: Likewise.
41 * stdio/stdio.h: Likewise.
42 * libio/stdio.h: Likewise.
43 * stdlib/stdlib.h: Likewise.
44 * string/string.h: Likewise.
45 * time/time.h: Likewise.
47 * string/argz.h: Use __const is definitions.
49 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
50 * misc/err.h: Likewise.
52 * wctype/wctype.h (wctrans_t): Use __const instead of const.
54 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
55 sonames for versioned libraries.
56 * Makefile: Remove code to generate libc-version.h.
57 Generate gnu/lib-names.h with info from soversions.mk.
58 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
60 * dirent/tst-seekdir.c: Initialize save3.
61 * grp/testgrp.c: Initialize my_group.
63 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
64 * grp/grp.h: Likewise.
65 * nss/getXXbyYY.c: Likewise.
66 * nss/getXXbyYY_r.c: Likewise.
67 * nss/getXXent.c: Likewise.
68 * nss/getXXent_r.c: Likewise.
69 * pwd/fgetpwent_r.c: Likewise.
70 * pwd/pwd.h: Likewise.
71 * shadow/fgetspent_r.c: Likewise.
72 * shadow/sgetspent.c: Likewise.
73 * shadow/sgetspent_r.c: Likewise.
74 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
75 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
76 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
77 * resolv/netdb.h: Adapt prototypes for reentrant functions to
79 * sunrpc/rpc/netdb.h: Likewise,
80 * shadow/shadow.h: Likewise.
82 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
84 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
86 * inet/herrno.c: Don't define __h_errno. Only h_errno otherwise the
87 ELF aliasing creates strange situations.
88 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
90 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
91 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
93 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
96 * locale/programs/charmap.c: Add casts to prevent warnings.
97 * locale/programs/linereader.h: Likewise.
98 * locale/programs/ld-collate.c: Likewise.
99 * locale/programs/stringtrans.c: Likewise.
100 Change types for various variables to prevent warnings.
101 * locale/programs/ld-ctype.c: Likewise.
102 * locale/programs/linereader.h (lr_ungetc): Likewise.
103 * locale/programs/charset.h (struct charset): Use `unsigned int'
104 as type for width_default.
105 * posix/regex.c: Change type of `this_reg' variables.
106 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
107 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
109 * stdio-common/printf_fp.c: Initialize to_shift.
110 * stdio-common/test_rdwr.c: Add cast.
111 * stdio-common/vfprintf.c: Add casts and use correct types to
113 * stdio-common/vfscanf.c: Initialize str and strptr.
114 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
115 * sysdeps/libm-ieee754/e_pow.c: Likewise.
116 * sysdeps/libm-ieee754/e_powf.c: Likewise.
117 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
118 * time/test-tz.c: Likewise.
120 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
121 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
122 libc.cp index. This must be fixed.
123 * manual/nss.texi: Adapt for correct POSIX.1c interface of
125 * manual/users.texi: Document netgroup functions.
130 * posix/fnmatch.c: Change to match libit version.
132 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
133 * sysdep/posix/ttyname_r.c: Likewise.
135 * stdlib/atexit.h (__new_exitfn): Add internal locking.
136 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
137 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
138 * stdlib/random.c (__srandom): Add internal locking.
139 (__initstate): Likewise.
140 (__setstate): Likewise.
141 (__random): Likewise.
143 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
145 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
147 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
148 * sysdeps/generic/uname.c: Likewise.
149 * sysdeps/posix/rename.c: Likewise.
150 * sysdeps/stub/setrlimit.c: Likewise.
152 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
154 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
156 * locale/programs/ld-collate.c (collate_order_elem): Fix format
158 (collate_element_to): Cast field width argument to `int' for
160 (collate_symbol): Likewise.
161 (collate_order_elem): Likewise.
162 (collate_weight_bsymbol): Likewise.
163 (collate_simple_weight): Likewise.
165 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
167 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
168 argument for format string.
169 (ctype_map_newP): Likewise.
170 (set_class_defaults): Fix format string.
172 * locale/programs/localedef.c (construct_output_path): Putting an
173 explicit \0 into the format string does not work, use %c.
175 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
177 * Makerules: Install all shared libraries in $(slibdir).
179 * login/Makefile: Build libutil.so in others pass after
182 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
184 * string/stratcliff.c: Allocate 3 pages instead of one, then use
185 mprotect so that we know that the adjacent pages are inaccessible.
187 * resource/sys/resource.h: Move all structures and enums to ...
188 * sysdeps/generic/resourcebits.h: ... here ...
189 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
190 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
191 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
192 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
193 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
194 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
195 header for RLIMIT_* definitions. The members of struct rlimit
199 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
201 * MakeTAGS (sysdep-dirs): Fix typo.
203 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
205 * hurd/hurdsig.c (write_corefile): If we can't create the core
206 file, still call crash_dump_task with a null FILE arg. Maybe it
207 won't actually need the file.
209 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
211 * Makefile (headers): Don't mention libc-version.h.
212 (install-others): ...but here.
214 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
216 * version.h: Bump version number to 1.97.
218 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
219 Include libc-version.h.
220 * features.h.in: Removed.
221 * Makefile: Change rules to generate libc-version.h instead of
224 * malloc/free.c: Add cast to prevent warning.
225 * malloc/malloc-walk.c: Likewise.
226 * malloc/ralloc.c: Likewise.
227 * malloc/realloc.c: Likewise.
229 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
231 * pwd/fgetpwent_r.c: Likewise.
232 * nss/nss_files/files-grp.c: Don't accept entries with names starting
233 with + or - in lookup functions.
234 * nss/nss_files/files-pwd.c: Likewise.
236 * Makerules: Call autolock.sh using $(SHELL).
238 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
240 * elf/dl-minimal.c: Don't define `dgettext' replacement but
241 `dcgettext'. When optimizing the macros in <libintl.h> define
242 `dgettext' as a macro and so this function will never be called.
244 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
246 * sysdeps/i386/sysdep.h: Define END to use .size when available.
247 (PSEUDO_END): Use END.
248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
249 define SYSCALL_ERROR_HANDLER before using END.
250 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
251 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
252 and .size directive but PSEUDO_END.
253 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
254 * sysdeps/unix/sysv/linux/socket.S: Likewise.
255 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
256 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
257 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
258 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
259 * sysdeps/i386/bsd-_setjmp.S: Likewise.
260 * sysdeps/i386/bsd-setjmp.S: Likewise.
261 * sysdeps/i386/memchr.S: Likewise.
262 * sysdeps/i386/memcmp.S: Likewise.
263 * sysdeps/i386/setjmp.S: Likewise.
264 * sysdeps/i386/stpcpy.S: Likewise.
265 * sysdeps/i386/stpncpy.S: Likewise.
266 * sysdeps/i386/strchr.S: Likewise.
267 * sysdeps/i386/strcspn.S: Likewise.
268 * sysdeps/i386/strpbrk.S: Likewise.
269 * sysdeps/i386/strrchr.S: Likewise.
270 * sysdeps/i386/strspn.S: Likewise.
271 * sysdeps/i386/strtok.S: Likewise.
272 * sysdeps/i386/i486/strcat.S: Likewise.
273 * sysdeps/i386/i486/strlen.S: Likewise.
274 * sysdeps/i386/i586/memset.S: Likewise.
275 * sysdeps/i386/i586/strchr.S: Likewise.
276 * sysdeps/i386/i586/strlen.S: Likewise.
278 * sysdeps/i386/strlen.c: De-ANSI-fy.
280 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
281 Define dgettext if not defined to use dcgettext.
282 * sysdeps/mach/_strerror.c: Likewise.
284 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
285 __syscall_error defined..
287 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
289 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
290 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
291 now provided by PSEUDO_END.
292 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
293 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
294 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
295 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
296 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
298 * sysdeps/generic/sysdep.h (END): Provide default empty
300 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
302 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
303 (PSEUDO_END): Include it here instead.
304 (SYSCALL_ERROR_HANDLER): Remove type directive.
305 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
306 * sysdeps/m68k/bsd-setjmp.S: Likewise.
307 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
308 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
309 (__syscall_error): Can't use ENTRY macro.
311 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
313 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
316 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
318 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
319 to beginning of function. So libc functions can use this flag.
320 * sysdeps/generic/_strerror.c: Don't use dgettext for message
321 translation while `_dl_starting_up' is nonzero.
323 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
325 Pass parameter value to _dl_map_object.
326 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
327 If TRACE_MODE is nonzero don#t signal error when shared lib
328 is not found. Instead create fake entry for link map.
329 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
330 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
331 argument to _dl_map_object_deps.
332 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
333 _dl_map_object and _dl_map_object_deps.
334 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
335 and _dl_map_object_deps.
336 When mode == trace test for l_opencount == 0 before printing
337 link information since this means the lib is not found.
339 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
341 * rpm/template: Add INSTALL to %doc line to follow copyright
342 restrictions which demand the distribution of the copyright
343 messages in INSTALL even for binary distributions.
345 * features.h: Rename to...
346 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
347 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
348 and __GNU_LIBRARY_INTERFACE__.
349 * Makefile ($(objpfx)features.h): New rule to generate features.h
350 from template features.h.in.
352 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
354 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
356 * locale/programs/linereader.c (lr_open): Cast away const before free.
357 (lr_close): Likewise.
359 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
360 * misc/paths.h: Move to ...
361 * sysdeps/generic/paths.h: ... here.
363 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
364 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
366 * nss/nss_db/db-netgrp.h: Include <string.h>.
368 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
369 _sys_siglist, which result in the "Unknown signal" message.
370 * string/strsignal.c: Likewise.
371 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
372 don't auto-generate siglist.c.
373 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
374 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
375 autogenerate makes bootstrapping and cross-compiling much easier.
376 * sysdeps/unix/sysv/linux/siglist.h: New file.
378 * stdlib/longlong.h: Prototype __udiv_qrnnd.
380 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
381 sys/io.h. It is already added in .../linux/Makefile.
383 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
384 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
385 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
387 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
389 Add implementation of POSIX.1g function getaddrinfo.
390 * posix/Makefile (routines): Add getaddrinfo.
391 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
393 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
394 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
395 related constants and structures.
397 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
399 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
400 Make all old names weak alises so that they can be replaced
403 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
405 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
406 __flockfile and __funlockfile.
407 Reported by NIIBE Yutaka.
409 * crypt/md5.c: Change form of copyright message according to GNITS
411 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
412 and `md5_read_ctx' function.
413 * crypt/md5.h: Likewise.
415 * grp/testgrp.c: Don't use perror for error cases since getgr* and
416 getpw* functions do not return usable error codes.
418 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
420 * crypt/md5.c (md5_process_bytes): Used casting for pointer
423 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
425 * sunrpc/Makefile (others): Remove portmap here, too.
427 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
429 * intl/locale.alias: Language for entry `czech' is `cs'.
431 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
433 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
435 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
437 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
438 buggy and more competent people work on a usable version which is
439 distributed separately.
440 * sunrpc/portmap.c: Removed.
441 Suggested by Thorsten Kukuk.
443 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
445 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
448 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
450 * string/Makefile (tests): Add stratcliff.
451 * string/stratcliff.c: New file. Test for string function at
452 the edge of the usable memory.
454 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
456 * Makerules ($(libdir)/libc.so): Fix typo.
458 * elf/ldd.sh.in: Test whether given file really exist and give
459 better message if it is not available.
461 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
463 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
466 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
468 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
469 output to $@T and move to $@ later since the new rpcgen will not
470 overwrite existing files.
472 * po/Makefile (libc.pot): Fix typo.
474 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
476 Update rpcgen program to TI-rpc code.
477 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
478 (distribute): Add proto.h.
479 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
480 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
481 * sunrpc/rpc_cout.c: Likewise.
482 * sunrpc/rpc_hout.c: Likewise.
483 * sunrpc/rpc_main.c: Likewise.
484 * sunrpc/rpc_parse.c: Likewise.
485 * sunrpc/rpc_parse.h: Likewise.
486 * sunrpc/rpc_scan.c: Likewise.
487 * sunrpc/rpc_scan.h: Likewise.
488 * sunrpc/rpc_svcout.c: Likewise.
489 * sunrpc/rpc_util.c: Likewise.
490 * sunrpc/rpc_util.h: Likewise.
492 * sunrpc/rpc_tblout.c: New file.
493 * sunrpc/rpc_sample.c: Likewise.
495 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
497 * sysdeps/unix/opendir.c: Add semicolon for consistency.
499 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
501 * locale/programs/localedef.c (main): Test with -1 to find out
504 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
506 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
509 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
511 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
513 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
515 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
516 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
517 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
518 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
519 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
521 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
522 Correct generation of system call.
524 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
526 * Makerules (sysd-Makefile): Fix command so that it works in the
528 (BUILD_CFLAGS): Change back using $(..) instead of
529 $(common-objpfx), the latter fails in the toplevel directory when
530 $(objdir) is relative.
531 (common-objdir-compile): Run compiler in $(objdir).
532 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
534 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
536 * string/string.h [__USE_SVID]: Add prototype for swab.
537 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
538 Reported by Andreas Jaeger.
540 The available nlist implementation is not generally usable.
541 Especially on the currently supported ELF systems the nlist
542 function comes with the libelf.
543 * misc/Makefile (headers): Remove nlist.h.
544 (routines): Remove nlist.
546 * Makefile ($(objpfx)version-info.h): Include information about
547 system the libc is built on in version-info.h file.
549 * po/Makefile (distribute): Add header.pot.
551 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
553 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
554 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
555 * misc/error.c: Likewise.
557 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
559 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
561 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
563 * crypt/Makefiel (rpath-link): Extend search path to current directory.
565 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
567 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
570 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
572 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
574 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
576 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
578 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
581 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
583 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
586 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
588 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
590 (PSEUDO_END): Provide definition to use .size directive.
591 (PSEUDO): Don't interpret negative return values less than -128 as
593 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
595 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
597 * sysdeps/m68k/bsd-setjmp.S: Likewise.
598 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
599 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
600 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
601 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
602 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
603 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
604 explicit .size directive.
606 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
608 * shlib-versions: Add version number/name for ld.so.
609 * Makeconfig: Move definition of rtld-installed-name after
610 inclusion of soversions.mk.
611 Don't add . before version number from shlib-versions file when
612 when name does not start with digit. This is needed for ld.so.
614 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
616 * libio/iogets.c: Warn when gets is used.
617 * stdio/gets.c: Strengthen the warning.
619 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
621 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
622 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
623 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
624 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
625 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
627 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
628 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
629 appropriate values according to __USE_REENTRANT.
630 * libio/stdio.h: Add prototype for ftrylockfile.
631 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
632 getc, getchar, putc, and putchar using _IO_* names.
633 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
634 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
635 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
636 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
637 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
638 * libio/peekc.c: New file.
640 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
643 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
645 * crypt/Makefile (tests): Add md5test and md5c-test.
646 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
647 is called, the buffer limit is honoured and a loop in a inner
649 * crypt/md5.h (struct md5_ctx): Add new fields.
650 Add prototypes for new functions.
651 * crypt/md5.c (md5_init_ctx): Initialize new fields.
652 (md5_finish_ctx): New function. Like md5_read_ctx but before
653 perform correct finalization.
654 (md5_process_bytes): New function. Similar to md5_proces_block,
655 but does not require input size to be multiple of 64.
656 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
657 (md5_buffer): Likewise.
658 (md5_process_block): Count number of bytes.
659 * crypt/md5test.c: New file. Test program for MD5 functions.
660 * crypt/md5c-test.c: New file: Test program for MD5 crypt
665 * time/strptime.c: Recognize %s, %u, %g, and %G format.
667 * posix/getopt.c: Add some more casts and initializations to
670 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
672 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
673 an extra function to provide this functionality.
674 (cfgetospeed): Simply return masked value.
675 (cfsetospeed): Don't use speeds array and so we can simply test
676 the value of SPEED for illegal values.
677 * termios/cfsetspeed.c: Rewrite. We convert here between the
678 real values and the B* constants.
679 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
681 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
683 * locale/programs/xstrdup.c: Define prototypes.
684 * locale/programs/xmalloc.c: Likewise.
686 * stdio-common/xbug.c (main): Change definition to avoid warning.
688 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
690 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
692 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
694 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
695 "$(i18ndir)/charmaps".
697 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
699 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
700 to get definition of FPU description struct.
702 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
703 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
704 net/if_arp.h, and net/route.h.
705 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
706 * sysdeps/unix/sysv/linux/net/route.h: New file.
708 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
710 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
711 * sysdeps/stub/e_acosl.c: Likewise.
712 * sysdeps/stub/e_asinl.c: Likewise.
713 * sysdeps/stub/e_atan2l.c: Likewise.
714 * sysdeps/stub/e_expl.c: Likewise.
715 * sysdeps/stub/e_fmodl.c: Likewise.
716 * sysdeps/stub/e_log10l.c: Likewise.
717 * sysdeps/stub/e_logl.c: Likewise.
718 * sysdeps/stub/e_sqrtl.c: Likewise.
719 * sysdeps/stub/s_atanl.c: Likewise.
720 * sysdeps/stub/s_log1pl.c: Likewise.
722 * Makefile (distribute): Add nsswitch.h and netgroup.h.
724 * nss/Makefile (generated): db-netgrp.c is not generated.
726 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
728 * Make-dist (+out): Add $(dont_distribute).
730 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
732 * stdio-common/Makefile (routines): Add tmpnam_r.
734 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
736 * version.h: Bump version to 1.96.
738 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
740 * stdio-common/tst-printf.c: Some more cleanups.
742 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
744 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
745 * resolv/resolv.h: Likewise.
746 * resolv/gethnamaddr.c: Likewise.
747 * resolv/res_comp.c: Likewise.
748 * resolv/res_debug.c: Likewise.
749 * resolv/res_init.c: Likewise.
750 * resolv/res_send.c: Likewise.
751 * resolv/Banner: Update version number.
753 * nss/nss_dns/dns-host.c: Update according to change in
754 resolv/gethnamaddr.c.
756 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
758 * crypt/md5.c (md5_stream): When reading the block in several
759 pieces append to instead of replace previously read data.
761 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
763 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
764 last-byte-written bit for source word misalignment.
765 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
768 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
770 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
771 comes with glibc-nis.
772 * sunrpc/rpcsvc/yp.x: Removed.
774 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
775 for *CURSOR to be NULL and dump a core if yes.
777 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
779 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
780 including <errnos.h> to get error numbers.
782 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
784 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
785 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
786 Alpha people find a correct file.
787 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
788 an alias of __cabs since the structures have different names.
789 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
790 Reported by Matthew Jacob <mjacob@feral.com>.
792 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
794 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
795 so that it still works right if we happen to get called in a
796 subdir it still works.
798 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
799 as file name translation flags.
800 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
801 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
804 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
805 name (changed according to libc-name) to avoid getting the
806 Hurd-ish linker script for libc.a when we only want the archive
809 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
811 * time/strftime.c: Allow old K&R compilers compile this file.
813 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
815 * posix/execlp.c: Add first argument parameter to be compliant
816 with POSIX. Rearrange body to start vararg counter after
819 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
821 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
822 simply a wrapper around the <linux/elfcore.h> file since the
823 kernel header is not clean enough. We provide the definitions
824 in this file instead.
826 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
828 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
829 get?id calls by using __libc_enable_secure.
831 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
833 * inet/getnetgrent_r.c: Correct netgroup implementation. A
834 specification of a netgroup can also name another netgroup.
835 * nss/nss_files/files-netgrp.c: Likewise.
836 * inet/netgroup.h: Add fields to hold additional information.
838 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
840 * posix/getopt.c: Implement POSIX -W option handling. When the
841 option string contains "W;" -W foo is handled like --foo.
843 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
845 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
846 inclusing <errnos.h> so we really get error symbols defined.
847 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
848 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
850 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
851 size array for getgroups call. Instead get maximal number via
852 sysconf. But discard list to NGRPS elements before calling XDR
853 function since Sun's code cannot handle longer lists.
854 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
856 * sysdeps/stub/e_j0l.c: Define y0l as well.
857 * sysdeps/stub/e_j1l.c: Define y1l as well.
858 * sysdeps/stub/e_jnl.c: Define ynl as well.
860 * posix/unistd.h: Correct prototype for execlp.
862 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
864 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
866 * Makeconfig (sysdep-library-path): New variable.
867 (built-program-cmd): Use it here to properly build a colon
868 separated library path.
870 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
872 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
873 within comparison. Fix comments.
874 (md5_crypt): Fix comment.
876 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
878 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
879 when _ERRNO_H is defined.
880 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
881 Should there ever be a Linux port where the numeric values are
882 not 33 and 34 this file must change.
884 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
886 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
889 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
891 * string/tst-strlen.c (main): Provide prototype.
892 * malloc/mallocbug.c: Likewise.
893 * io/test-utime.c: Likewise.
895 * sysdeps/generic/crypt-entry.c: Correct typo.
897 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
899 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
900 test for libc.a. Checking _DYNAMIC is of no worth here.
901 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
903 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
904 EXTERN_PARSER is defined.
906 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
908 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
910 * crypt/md5-crypt.c: Fix typos in comments.
912 * gmon/gmon.c: Provide prototypes.
913 * db/makedb.c: Likewise.
914 * locale/programs/xmalloc.c: Likewise.
915 * stdio-common/bug11.c (main): Likewise.
916 * stdio-common/bug7.c (main): Likewise.
917 * stdio-common/bug8.c (main): Likewise.
918 * stdio-common/bug9.c (main): Likewise.
919 * stdio-common/scanf1.c (main): Likewise.
920 * stdio-common/scanf2.c (main): Likewise.
921 * stdio-common/scanf5.c (main): Likewise.
922 * stdio-common/scanf6.c (main): Likewise.
923 * stdio-common/scanf7.c (main): Likewise.
924 * stdio-common/scanf8.c (main): Likewise.
925 * stdio-common/temptest.c (main): Likewise.
926 * stdio-common/test-fwrite.c (main): Likewise.
927 * stdio-common/tst-printf.c: Likewise.
928 * stdio-common/tstdiomisc.c: Likewise.
929 * stdio-common/tstgetln.c (main): Likewise.
930 * stdlib/testmb.c (main): Likewise.
932 * stdio-common/scanf4.c (main): Correct prototype, remove unused
935 * stdio-common/scanf3.c (main): Correct prototype, change
936 declaration of s to reduce warnings.
937 * stdio-common/bug10.c (main): Likewise.
939 * stdio-common/tfformat.c: Provide prototype, remove unused
940 reference to dump_stats, add braces in sprint_doubles.
941 * stdio-common/tiformat.c: Likewise.
943 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
946 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
948 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
950 * shadow/putspent.c: Don't write colon after flag field.
952 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
954 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
955 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
956 * sysdeps/unix/sysv/linux/Dist: Mention new files.
958 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
960 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
961 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
963 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
964 by using __libc_enable_secure variable.
966 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
968 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
969 null, don't attempt mach_port_mod_refs.
971 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
973 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
974 sysdeps/unix/pipestream.c.
976 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
977 from sysdeps/mach/hurd/readdir.c.
979 * stdio/freopen.c: Complete de-ansideclification.
980 * stdio/fgets.c (fgets): Likewise.
981 * stdio/getdelim.c (__getdelim): Likewise.
982 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
985 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
986 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
988 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
989 STAT_LOC without error.
991 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
993 * posix/getopt.c: Add casts to prevent warnings.
994 * posix/regex.c: Likewise.
996 * math/Makefile (long-m-routines, long-m-yes): Define to correct
997 values to make `long double' functions available.
998 (distribute): Add $(long-m-yes:=.c).
1000 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
1001 Use long double instruction.
1003 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
1004 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
1005 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
1007 * sysdeps/libm-ieee754/e_coshl.c: New file.
1009 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
1010 for `long double' version as alias.
1011 * sysdeps/libm-ieee754/s_atan.c: Likewise.
1012 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
1013 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
1014 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
1015 * sysdeps/libm-ieee754/s_cos.c: Likewise.
1016 * sysdeps/libm-ieee754/s_erf.c: Likewise.
1017 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1018 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
1019 * sysdeps/libm-ieee754/s_finite.c: Likewise.
1020 * sysdeps/libm-ieee754/s_floor.c: Likewise.
1021 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
1022 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
1023 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
1024 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1025 * sysdeps/libm-ieee754/s_logb.c: Likewise.
1026 * sysdeps/libm-ieee754/s_modf.c: Likewise.
1027 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
1028 * sysdeps/libm-ieee754/s_rint.c: Likewise.
1029 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
1030 * sysdeps/libm-ieee754/s_significand.c: Likewise.
1031 * sysdeps/libm-ieee754/s_sin.c: Likewise.
1032 * sysdeps/libm-ieee754/s_tan.c: Likewise.
1033 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
1034 * sysdeps/libm-ieee754/w_acos.c: Likewise.
1035 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
1036 * sysdeps/libm-ieee754/w_sin.c: Likewise.
1037 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
1038 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
1039 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
1040 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
1041 * sysdeps/libm-ieee754/w_drem.c: Likewise.
1042 * sysdeps/libm-ieee754/w_exp.c: Likewise.
1043 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
1044 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1045 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
1046 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
1047 * sysdeps/libm-ieee754/w_j0.c: Likewise.
1048 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1049 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1050 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1051 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
1052 * sysdeps/libm-ieee754/w_log.c: Likewise.
1053 * sysdeps/libm-ieee754/w_log10.c: Likewise.
1054 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1055 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
1056 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
1057 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
1058 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
1060 Stub files for missing long double math functions.
1061 * sysdeps/stub/e_acoshl.c: New file.
1062 * sysdeps/stub/e_hypotl.c: New file.
1063 * sysdeps/stub/e_j0l.c: New file.
1064 * sysdeps/stub/e_j1l.c: New file.
1065 * sysdeps/stub/e_jnl.c: New file.
1066 * sysdeps/stub/e_lgammal_r.c: New file.
1067 * sysdeps/stub/e_powl.c: New file.
1068 * sysdeps/stub/e_rem_pio2l.c: New file.
1069 * sysdeps/stub/e_sinhl.c: New file.
1070 * sysdeps/stub/k_cosl.c: New file.
1071 * sysdeps/stub/k_rem_pio2l.c: New file.
1072 * sysdeps/stub/k_sinl.c: New file.
1073 * sysdeps/stub/k_tanl.c: New file.
1074 * sysdeps/stub/s_erfl.c: New file.
1075 * sysdeps/stub/s_expm1l.c: New file.
1077 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
1079 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1080 * sysdeps/i386/bsd-setjmp.S: Likewise.
1081 * sysdeps/i386/memchr.S: Likewise.
1082 * sysdeps/i386/memcmp.S: Likewise.
1083 * sysdeps/i386/setjmp.S: Likewise.
1084 * sysdeps/i386/stpcpy.S: Likewise.
1085 * sysdeps/i386/stpncpy.S: Likewise.
1086 * sysdeps/i386/strchr.S: Likewise.
1087 * sysdeps/i386/strcspn.S: Likewise.
1088 * sysdeps/i386/strpbrk.S: Likewise.
1089 * sysdeps/i386/strrchr.S: Likewise.
1090 * sysdeps/i386/strspn.S: Likewise.
1091 * sysdeps/i386/strtok.S: Likewise.
1092 * sysdeps/i386/i486/strcat.S: Likewise.
1093 * sysdeps/i386/i486/strlen.S: Likewise.
1094 * sysdeps/i386/i586/memset.S: Likewise.
1095 * sysdeps/i386/i586/strchr.S: Likewise.
1096 * sysdeps/i386/i586/strlen.S: Likewise.
1097 * sysdeps/libm-i387/e_acos.S: Likewise.
1098 * sysdeps/libm-i387/e_acosl.S: Likewise.
1099 * sysdeps/libm-i387/e_asin.S: Likewise.
1100 * sysdeps/libm-i387/e_asinl.S: Likewise.
1101 * sysdeps/libm-i387/e_atan2.S: Likewise.
1102 * sysdeps/libm-i387/e_atan2l.S: Likewise.
1103 * sysdeps/libm-i387/e_exp.S: Likewise.
1104 * sysdeps/libm-i387/e_expl.S: Likewise.
1105 * sysdeps/libm-i387/e_fmod.S: Likewise.
1106 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1107 * sysdeps/libm-i387/e_log.S: Likewise.
1108 * sysdeps/libm-i387/e_log10.S: Likewise.
1109 * sysdeps/libm-i387/e_log10l.S: Likewise.
1110 * sysdeps/libm-i387/e_logl.S: Likewise.
1111 * sysdeps/libm-i387/e_remainder.S: Likewise.
1112 * sysdeps/libm-i387/e_remainderf.S: Likewise.
1113 * sysdeps/libm-i387/e_remainderl.S: Likewise.
1114 * sysdeps/libm-i387/e_scalb.S: Likewise.
1115 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1116 * sysdeps/libm-i387/e_sqrt.S: Likewise.
1117 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
1118 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
1119 * sysdeps/libm-i387/s_atan.S: Likewise.
1120 * sysdeps/libm-i387/s_atanf.S: Likewise.
1121 * sysdeps/libm-i387/s_atanl.S: Likewise.
1122 * sysdeps/libm-i387/s_ceil.S: Likewise.
1123 * sysdeps/libm-i387/s_ceilf.S: Likewise.
1124 * sysdeps/libm-i387/s_ceill.S: Likewise.
1125 * sysdeps/libm-i387/s_copysign.S: Likewise.
1126 * sysdeps/libm-i387/s_copysignf.S: Likewise.
1127 * sysdeps/libm-i387/s_copysignl.S: Likewise.
1128 * sysdeps/libm-i387/s_cos.S: Likewise.
1129 * sysdeps/libm-i387/s_cosf.S: Likewise.
1130 * sysdeps/libm-i387/s_cosl.S: Likewise.
1131 * sysdeps/libm-i387/s_finite.S: Likewise.
1132 * sysdeps/libm-i387/s_finitef.S: Likewise.
1133 * sysdeps/libm-i387/s_finitel.S: Likewise.
1134 * sysdeps/libm-i387/s_floor.S: Likewise.
1135 * sysdeps/libm-i387/s_floorf.S: Likewise.
1136 * sysdeps/libm-i387/s_floorl.S: Likewise.
1137 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1138 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1139 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
1140 * sysdeps/libm-i387/s_log1p.S: Likewise.
1141 * sysdeps/libm-i387/s_log1pf.S: Likewise.
1142 * sysdeps/libm-i387/s_log1pl.S: Likewise.
1143 * sysdeps/libm-i387/s_logb.S: Likewise.
1144 * sysdeps/libm-i387/s_logbf.S: Likewise.
1145 * sysdeps/libm-i387/s_logbl.S: Likewise.
1146 * sysdeps/libm-i387/s_rint.S: Likewise.
1147 * sysdeps/libm-i387/s_rintf.S: Likewise.
1148 * sysdeps/libm-i387/s_rintl.S: Likewise.
1149 * sysdeps/libm-i387/s_scalbn.S: Likewise.
1150 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
1151 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
1152 * sysdeps/libm-i387/s_significand.S: Likewise.
1153 * sysdeps/libm-i387/s_significandf.S: Likewise.
1154 * sysdeps/libm-i387/s_significandl.S: Likewise.
1155 * sysdeps/libm-i387/s_sin.S: Likewise.
1156 * sysdeps/libm-i387/s_sinf.S: Likewise.
1157 * sysdeps/libm-i387/s_sinl.S: Likewise.
1158 * sysdeps/libm-i387/s_tan.S: Likewise.
1159 * sysdeps/libm-i387/s_tanf.S: Likewise.
1160 * sysdeps/libm-i387/s_tanl.S: Likewise.
1162 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
1163 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
1164 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
1165 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
1167 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
1168 to provide .size directive on ELF systems.
1170 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
1171 <sigcontext.h> and rename parameter type to sigcontext.
1172 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
1174 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
1175 negative values might occur as positive results. Test against
1176 -125 to decide for error or not.
1177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
1179 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1181 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
1182 whether this is a statically linked program. The latter is now
1185 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1187 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
1188 controlling terminals are allowed to send.
1190 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
1191 table is larger than the allowable address size, then return
1194 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
1198 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
1200 * po/fr.po: New file.
1202 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
1204 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
1206 Add support for MD5 crypt replacement.
1207 * Makefile (subdirs): Add crypt.
1208 * shlib-versions: Add entry for libcrypt.
1209 * crypt/md5-crypt.c: New file.
1210 * crypt/md5.c: New file.
1211 * crypt/md5.h: New file.
1212 * sysdeps/generic/crypt-entry.c: New file.
1213 * sysdeps/generic/crypt.h: New file.
1215 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1217 * dirent/tst-seekdir.c: Provide correct prototypes.
1218 * io/test-utime.c: Likewise.
1219 * malloc/mallocbug.c: Likewise.
1220 * posix/testfnm.c: Likewise.
1221 * stdio-common/xbug.c: Likewise.
1222 * sysdeps/posix/cuserid.c: Likewise.
1224 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
1226 Provide optimized string functions for Alpha processors.
1227 * sysdeps/alpha/bzero.S: New file.
1228 * sysdeps/alpha/memset.S: New file.
1229 * sysdeps/alpha/stpcpy.S: New file.
1230 * sysdeps/alpha/stpncpy.S: New file.
1231 * sysdeps/alpha/strcat.S: New file.
1232 * sysdeps/alpha/strchr.S: New file.
1233 * sysdeps/alpha/strcpy.S: New file.
1234 * sysdeps/alpha/strncat.S: New file.
1235 * sysdeps/alpha/strncpy.S: New file.
1236 * sysdeps/alpha/strrchr.S: New file.
1237 * sysdeps/alpha/stxcpy.S: New file.
1238 * sysdeps/alpha/stxncpy.S: New file.
1240 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
1241 stxncpy to sysdep_routines.
1244 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1246 * sysdeps/generic/gnu/types.h: Added __loff_t.
1247 Don't declare key_t here.
1249 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
1250 set errno (to ENOMEM).
1252 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
1254 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
1255 nothing is found. This guarantees all subsequent calls behave
1257 * sysdeps/generic/strtok_r.c: Likewise.
1259 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1261 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
1264 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
1266 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
1267 NULL immediately; we're going to get called one more time.
1268 * sysdeps/generic/strtok_r.c: Likewise.
1270 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
1272 * locale/programs/ld-time.c: Always write some bytes at the end of
1273 the file even if no `era's are specified.
1275 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
1278 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
1280 * libio/iofclose.c: Move unlocking to right position.
1282 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
1284 * misc/Makefile: Kill force-wrapper.
1285 * misc/force-wrapper.c: Delete.
1287 * elf/eval.c: Add <string.h>.
1289 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
1290 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
1291 and binary compatibility not at all. Better to do `char *foo'
1292 followed by `foo = ptr' as it is much cleaner.
1293 (struct gmon_hdr): Fix version.
1294 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
1295 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
1296 * gmon/gmon.c: De-ansidecl-ify.
1297 (write_hist): De-bcopy-fy.
1298 (write_call_graph): Likewise.
1300 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
1301 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
1302 * sysdeps/generic/machine-gmon.h: Likewise.
1304 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
1305 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
1306 * nss/nss_dns/dns-network.c: Likewise.
1307 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
1308 * resolv/getnetnamadr.c: Likewise.
1309 * resolv/res_debug.c: Likewise.
1310 * resolv/res_mkquery.c: Likewise.
1311 * resolv/res_query.c: Likewise.
1313 * libio/clearerr_u.c: It's not necessary to define __ protected
1314 function so don't do it.
1315 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
1316 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
1318 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
1319 the cleanup registrar.
1320 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
1321 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
1322 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
1323 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
1324 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
1325 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
1326 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
1329 * locale/programs/ld-ctype.c: Include <alloca.h>.
1331 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
1333 * posix/sys/types.h: Change #defines to typedefs. This is looking
1334 forward to more comprehensive namespace cleanups for C++.
1335 * posix/unistd.h: Likewise for ssize_t.
1337 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
1340 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
1341 `statement with no effect' warnings.
1342 * resolv/inet_neta.c: Include <string.h> for strlen.
1344 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
1345 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
1346 * stdio-common/vfprintf.c: Same for va_list.
1347 * stdio-common/vfscanf.c: Same.
1348 * stdio-common/reg-printf.c: Prototype the __ function.
1349 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
1350 _IO_vscanf declaration.
1352 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
1353 but to unsigned long for the health of 64-bit systems.
1355 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
1356 Many system's <sys/param.h> pulls this in.
1358 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
1361 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
1362 instead of defining it locally.
1364 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
1365 * sysdeps/stub/chflags.c: Prototype chflags.
1366 * sysdeps/stub/fchflags.c: Prototype fchflags.
1367 * sysdeps/stub/sstk.c: Prototype sstk.
1369 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
1370 variable to __errno. Update __syscall_error to store to both
1371 the global and per-thread variables.
1373 * sysdeps/unix/sysv/linux/init-first.c: Change include of
1374 init-first.h from "" to <> as "" does not search the include path.
1375 Prototype _dl_start.
1377 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1379 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
1380 pattern rule to get the right stem.
1382 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1384 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
1386 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1388 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
1390 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1392 * malloc/free.c (_free_internal): Don't call free recursively, use
1393 the internal functions instead.
1395 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1397 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
1398 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
1400 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1402 * catgets/gencat.c (main): Print version information on stdout,
1404 * db/makedb.c: Likewise.
1405 * locale/programs/locale.c: Likewise.
1406 * locale/programs/localedef.c: Likewise.
1408 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
1410 Add implementation of netgroup.
1411 * inet/Makefile (distributes): Add netgroup.h.
1412 (routines): Add getnetgrent.c and getnetgrent_r.c.
1413 * inet/getnetgrent.c: New file.
1414 * inet/getnetgrent_r.c: New file.
1415 * inet/netgroup.h: New file.
1416 * netgroup.h: New file.
1417 * nsswitch.h: New file.
1418 * nss/Makefile (databases): Add getgrp.
1419 * nss/databases.def: Add netgroup.
1420 * nss/db-Makefile: Add rules for netgroup.
1421 * nss/netgrp-lookup.c: New file.
1422 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
1423 always return without a check of the transition table.
1424 * nss/nsswitch.h (struct service_user): Extend actions array to
1426 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
1428 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
1429 to NSS_ACTION_RETURN.
1430 * nss/nss_db/db-netgrp.c: New file.
1431 * nss/nss_files/files-netgrp.c: New file.
1432 * nss/nsswitch.conf: Add entry for netgroup.
1433 * resolv/netdb.h: Add prototypes for netgroup functions.
1435 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
1438 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
1440 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
1441 _llseek to _llseek (not llseek).
1442 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
1444 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
1446 * inet/rcmd.c: Remove definition of MIN.
1448 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
1450 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
1451 * sysdeps/unix/readdir_r.c: New file.
1452 * sysdeps/unix/readdir.c: Remove check for correct parameter
1453 values. Let them simply die.
1454 * manual/filesys.texi: Document readdir_r.
1456 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
1457 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
1459 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
1461 * dirent/Makefile (routines): Add readdir_r.
1462 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
1463 * dirent/dirent.h: Add prototype for readdir_r.
1465 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
1466 to prevent warnings.
1468 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1469 Initialize `result'.
1471 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
1473 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
1475 * string/string.h: Add prototype for __strsep.
1476 * misc/mntent_r.c: Use __strsep instead of strsep to keep
1479 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
1480 __nanosleep and nanosleep weak aliases.
1481 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
1483 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
1484 nanosleep to keep namespace clean.
1486 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
1487 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
1488 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1490 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
1493 * login/Makefile (headers): Add pty.h.
1494 * login/pty.h: New file.
1495 * sysdeps/generic/pty.h: Include <pty.h>.
1496 * login/pututline_r.c: Add cast to prevent warning.
1498 * gmon/gmon.c: Add prototype for __profile_frequency.
1499 (monstartup): Add cast to prevent warning.
1500 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
1502 * locale/programs/ld-time.c (time_output): Write `era' information
1505 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
1507 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
1509 Set caller for mlock, mlockall, mremap, munlock, and munlockall
1511 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
1513 1996-09-27 Paul Eggert <eggert@twinsun.com>
1515 * strftime.c (strftime): Output incomplete formats like %E
1518 1996-09-27 Paul Eggert <eggert@twinsun.com>
1520 * strftime.c (strftime): Add support for %EC and %Ey.
1521 Fix support for %EY. This uses the new _nl_get_era_entry function.
1523 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
1525 Security related patch by Elliot Lee <sopwith@redhat.com> and
1526 David Holland <dholland@eecs.harvard.edu>.
1528 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
1529 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
1531 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
1532 NULL when programs runs with SUID or SGID enabled.
1533 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
1534 * stdlib/stdlib.h: Add prototype for __secure_getenv.
1536 * locale/setlocale.c: Use __secure_getenv.
1537 * resolv/res_init.c: Likewise.
1538 * resolv/res_query.c: Likewise.
1539 * inet/ruserpass.c: Likewise.
1540 * sysdeps/posix/tempname.c: Likewise.
1541 * malloc/mtrace.c: Likewise.
1542 * catgets/catgets.c: Likewise.
1544 Make temporary file handling functions reentrant.
1546 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
1547 result to. The called __stdio_gen_tempname function must be
1549 * stdio-common/tmpnam_r.c: New file.
1550 * stdio/stdio.h: Add prototype for `tmpnam_r'.
1551 Change prototype for __stdio_gen_tempname.
1552 * stdio/libio.h: Likewise.
1553 * sysdeps/posix/tempname.c: Add new parameters and use them instead
1555 Don't reset `indeces' when PID changed between calls.
1556 Don't fail for long running programs when index counter once
1558 * sysdeps/stub/tempname.c: Likewise.
1559 * stdio-common/tempnam.c: Provide local buffer as extra argument
1560 to __stdio_gen_tempname. This makes this function reentrant.
1561 * stdio-common/tmpfile.c: Likewise.
1562 * stdio-common/temptest.c: Provide extra argument to
1563 __stdio_gen_tempname.
1564 * manual/filesys.texi: Describe tmpnam_r and add comments about
1565 reentrancy of the functions.
1567 * inet/rcmd.c: Fixed address length handling.
1569 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
1571 * time/strftime.c: Remove unused variables alt_digits and
1574 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
1575 for get_nprocs and get_nprocs_conf.
1576 * sysdeps/generic/sys/sysinfo.h: Likewise.
1578 * stdlib/test-canon.c: Finally do the right fix.
1580 * misc/Makefile: Only compile force-wrapper when compiling
1583 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
1585 Add support for cancelable system calls.
1587 * csu/initfini.c: Make in crti.o reference to symbol
1588 __libc_force_cancel_wrapper when compiling reentrant version.
1589 * misc/Makefile (routines): Add force-wrapper.
1590 * misc/force-wrapper.c: New file.
1592 * posix/system.c: Rename function to __libc_system and make system
1594 * sysdeps/stub/system.c: Likewise.
1595 * posix/wait.c: Rename function to __libc_wait and make __wait a
1596 weak alias. De-ANSI-fy.
1597 * sysdeps/standalone/read.c: Rename function to __libc_read and
1598 make __read a weak alias.
1599 * sysdeps/stub/read.c: Likewise.
1600 * sysdeps/standalone/write.c: Rename function to __libc_write and
1601 make __write a weak alias.
1602 * sysdeps/stub/write.c: Likewise.
1603 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
1604 make tcdrain a weak alias.
1605 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1606 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
1607 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1608 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
1609 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
1610 and make __wait a weak alias.
1611 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
1612 make __waitpid a weak alias.
1613 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
1614 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
1615 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
1616 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
1617 and make pause a weak alias. De-ANSI-fy.
1619 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
1620 lseek, open, read, and write to have __libc_ prefix and make old
1622 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
1623 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
1625 * io/creat.c: De-ANSI-fy.
1627 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
1629 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
1631 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
1632 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
1634 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
1636 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
1638 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
1640 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
1642 * locale/programs/locfile.c (write_locale_data): Allocate room
1643 even for file name for LC_MESSAGES locale.
1644 (locafile_read): `tok_era' must be handled as a string list.
1645 * locale/programs/ld-time.c: Finish correction of handling `era'.
1646 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
1647 * locale/categories.def: Add postload function for LC_TIME.
1648 * locale/setlocale.c: Make lock global and rename to
1649 __libc_setlocale_lock.
1650 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
1651 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
1652 * locale/lc-time.c (_nl_postload_time): New function. Initialize
1654 (_nl_get_era_entry): New function. Return era entry which corresponds
1656 (_nl_get_alt_digit): New function. Return string with alternate
1657 digit representation for given number.
1659 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
1660 string representing alternate digit notation.
1662 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
1664 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
1665 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
1667 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
1668 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
1670 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
1672 * catgets/gencat.c (main): Change --version again because RMS wants
1673 the package name in parentheses.
1674 * db/makedb.c: Likewise.
1675 * locale/programs/locale.c: Likewise.
1676 * locale/programs/localedef.c: Likewise.
1678 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1680 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
1682 ($(objpfx)version-info.h): Depend on Banner files, command
1685 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
1687 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
1689 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
1691 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
1692 on the same device as the password file.
1693 * shadow/shadow.h (struct spwd): Change type of numeric fields
1694 to `long int' since there value are days, not seconds.
1695 * shadow/putspent.c: Change casts from time_t to `long int'.
1696 * shadow/sgetspent_r.c (LINE_READER): Likewise.
1698 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
1700 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
1701 sure the thread specific variable is set as well as the global
1703 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
1705 * sysdeps/stub/errnos.h: Likewise.
1706 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
1708 * shadow/putspent.c: Don't include <errno.h>.
1710 * dirent/scandir.c (scandir): Use __set_errno to set errno
1712 * elf/dl-load.c (open_path): Likewise.
1713 * inet/rcmd.c (rcmd): Likewise.
1714 (rresvport): Likewise.
1715 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
1716 (DCGETTEXT): Use __set_errno to set errno variable.
1717 * io/fts.c (fts_open): Likewise.
1718 (fts_close): Likewise.
1719 (fts_read): Likewise.
1720 (fts_set): Likewise.
1721 (fts_children): Likewise.
1722 (fts_build): Likewise.
1723 (fts_stat): Likewise.
1724 * io/ftw.c (ftw_dir): Likewise.
1726 * io/getwd.c (getwd): Likewise.
1727 * io/lockf.c (lockf): Likewise.
1728 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
1729 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
1730 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1731 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
1733 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1734 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
1735 * libio/ioftell.c (_IO_ftell): Likewise.
1736 * locale/loadlocale.c (_nl_load_locale): Likewise.
1737 * locale/nl_langinfo.c (nl_langinfo): Likewise.
1738 * locale/setlocale.c (ERROR_RETURN): Likewise.
1739 * login/getutid_r (__getutid_r): Likewise.
1740 * login/getutline_r (__getutline_r): Likewise.
1741 * login/login.c (tty_name): Likewise.
1742 * login/oututline_r.c (__pututline_r): Likewise.
1743 * malloc/malloc.c (morecore): Likewise.
1744 * misc/efgcvt_r.c (fcvt_r): Likewise.
1745 * misc/hsearch_r.c (hcreate_r): Likewise.
1746 (hdestroy_r): Likewise.
1747 (hsearch_r): Likewise.
1748 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
1749 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
1750 (_nss_dns_gethostbyaddr_r): Likewise.
1751 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1752 * nss/nss_files/files-parse.c (parse_list): Likewise.
1753 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
1754 * posix/execvp.c (execvp): Likewise.
1755 * posix/glob.c: Define __set_errno.
1756 (glob): Use __set_errno to set errno variable.
1757 (glob_in_dir): Likewise.
1758 * pwd/getpw.c: Likewise. De-ANSI-fy.
1759 * pwd/putpwent.c: Likewise.
1760 * resolv/inet_net_ntop.c: Likewise.
1761 * resolv/inet_net_pton.c: Likewise.
1762 * resolv/inet_neta.c: Likewise.
1763 * resolv/inet_ntop.c: Likewise.
1764 * resolv/inet_pton.c: Likewise.
1765 * resolv/res_query.c (res_search): Likewise.
1766 * resolv/res_send.c (Aerror): Likewise.
1768 (res_send): Likewise.
1769 * signal/sigaddset.c: Likewise. De-ANSI-fy.
1770 * signal/sigdelset.c: Likewise.
1771 * signal/sigempty.c: Likewise.
1772 * signal/sigfillset.c: Likewise.
1773 * signal/sigismem.c: Likewise.
1774 * stdio/fclose.c: Likewise.
1775 * stdio/feof.c: Likewise.
1776 * stdio/ferror.c: Likewise.
1777 * stdio/fflush.c: Likewise.
1778 * stdio/fgetc.c: Likewise.
1779 * stdio/fgetpos.c: Likewise.
1780 * stdio/fgets.c: Likewise.
1781 * stdio/fileno.c: Likewise.
1782 * stdio/fmemopen.c: Likewise.
1783 * stdio/fopen.c: Likewise.
1784 * stdio/fputc.c: Likewise.
1785 * stdio/fread.c: Likewise.
1786 * stdio/freopen.c: Likewise.
1787 * stdio/fseek.c: Likewise.
1788 * stdio/fsetpos.c: Likewise.
1789 * stdio/ftell.c: Likewise.
1790 * stdio/fwrite.c: Likewise.
1791 * stdio/getdelim.c: Likewise.
1792 * stdio/gets.c: Likewise.
1793 * stdio/glue.c: Likewise.
1794 * stdio/internals.c: Likewise.
1795 * stdio/memstream.c: Likewise.
1796 * stdio/setvbuf.c: Likewise.
1797 * stdio/ungetc.c: Likewise.
1798 * stdio/vsscanf.c: Likewise.
1799 * stdio-common/reg-printf.c: Likewise.
1800 * stdio-common/vfprintf.c: Likewise.
1801 * stdio-common/vfscanf.c: Likewise.
1802 * stdlib/canonicalize.c: Likewise.
1803 * stdlib/msort.c: Likewise.
1804 * stdlib/random_r.c: Likewise.
1805 * stdlib/strfmon.c: Likewise.
1806 * stdlib/strtod.c: Likewise.
1807 * stdlib/strtol.c: Likewise.
1808 * sunrpc/bindrsvprt.c: Likewise.
1809 * time/asctime.c: Likewise.
1810 * time/localtime.c: Likewise.
1811 * wcsmbs/mbrtowc.c: Likewise.
1812 * wcsmbs/mbsnrtowcs.c: Likewise.
1813 * wcsmbs/mbsrtowcs.c: Likewise.
1814 * wcsmbs/wcrtomb.c: Likewise.
1815 * wcsmbs/wcsnrtombs.c: Likewise.
1816 * wcsmbs/wcsrtombs.c: Likewise.
1817 * wcsmbs/wcstok.c: Likewise.
1818 * sysdeps/generic/ftime.c: Likewise.
1819 * sysdeps/generic/pty.c: Likewise.
1820 * sysdeps/generic/setenv.c: Likewise.
1821 * sysdeps/generic/speed.c: Likewise.
1822 * sysdeps/generic/sysd-stdio.c: Likewise.
1823 * sysdeps/generic/uname.c: Likewise.
1824 * sysdeps/generic/vlimit.c: Likewise.
1825 * sysdeps/libm-ieee754/k_standard.c: Likewise.
1826 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
1827 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
1828 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
1829 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
1830 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
1831 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
1832 * sysdeps/posix/dup2.c: Likewise.
1833 * sysdeps/posix/euidaccess.c: Likewise.
1834 * sysdeps/posix/fdopen.c: Likewise.
1835 * sysdeps/posix/flock.c: Likewise.
1836 * sysdeps/posix/fpathconf.c: Likewise.
1837 * sysdeps/posix/getcwd.c: Likewise.
1838 * sysdeps/posix/gettimeofday.c: Likewise.
1839 * sysdeps/posix/isatty.c: Likewise.
1840 * sysdeps/posix/isfdtype.c: Likewise.
1841 * sysdeps/posix/killpg.c: Likewise.
1842 * sysdeps/posix/mkstemp.c: Likewise.
1843 * sysdeps/posix/mktemp.c: Likewise.
1844 * sysdeps/posix/pathconf.c: Likewise.
1845 * sysdeps/posix/pipestream.c: Likewise.
1846 * sysdeps/posix/remove.c: Likewise.
1847 * sysdeps/posix/rename.c: Likewise.
1848 * sysdeps/posix/sigintr.c: Likewise.
1849 * sysdeps/posix/signal.c: Likewise.
1850 * sysdeps/posix/sigsuspend.c: Likewise.
1851 * sysdeps/posix/sigvec.c: Likewise.
1852 * sysdeps/posix/sleep.c: Likewise.
1853 * sysdeps/posix/sysconf.c: Likewise.
1854 * sysdeps/posix/system.c: Likewise.
1855 * sysdeps/posix/tempname.c: Likewise.
1856 * sysdeps/posix/truncate.c: Likewise.
1857 * sysdeps/posix/ttyname.c: Likewise.
1858 * sysdeps/posix/ttyname_r.c: Likewise.
1859 * sysdeps/posix/wait3.c: Likewise.
1860 * sysdeps/standalone/close.c: Likewise.
1861 * sysdeps/standalone/open.c: Likewise.
1862 * sysdeps/standalone/read.c: Likewise.
1863 * sysdeps/standalone/write.c: Likewise.
1864 * sysdeps/stub/__longjmp.c: Likewise.
1865 * sysdeps/stub/accept.c: Likewise.
1866 * sysdeps/stub/access.c: Likewise.
1867 * sysdeps/stub/acct.c: Likewise.
1868 * sysdeps/stub/adjtime.c: Likewise.
1869 * sysdeps/stub/alarm.c: Likewise.
1870 * sysdeps/stub/bind.c: Likewise.
1871 * sysdeps/stub/brk.c: Likewise.
1872 * sysdeps/stub/chdir.c: Likewise.
1873 * sysdeps/stub/chflags.c: Likewise.
1874 * sysdeps/stub/chmod.c: Likewise.
1875 * sysdeps/stub/chown.c: Likewise.
1876 * sysdeps/stub/chroot.c: Likewise.
1877 * sysdeps/stub/clock.c: Likewise.
1878 * sysdeps/stub/close.c: Likewise.
1879 * sysdeps/stub/closedir.c: Likewise.
1880 * sysdeps/stub/connect.c: Likewise.
1881 * sysdeps/stub/ctermid.c: Likewise.
1882 * sysdeps/stub/cuserid.c: Likewise.
1883 * sysdeps/stub/dirfd.c: Likewise.
1884 * sysdeps/stub/dup.c: Likewise.
1885 * sysdeps/stub/dup2.c: Likewise.
1886 * sysdeps/stub/euidaccess.c: Likewise.
1887 * sysdeps/stub/execve.c: Likewise.
1888 * sysdeps/stub/fchdir.c: Likewise.
1889 * sysdeps/stub/fchflags.c: Likewise.
1890 * sysdeps/stub/fchmod.c: Likewise.
1891 * sysdeps/stub/fchown.c: Likewise.
1892 * sysdeps/stub/fcntl.c: Likewise.
1893 * sysdeps/stub/fdopen.c: Likewise.
1894 * sysdeps/stub/fexecve.c: Likewise.
1895 * sysdeps/stub/flock.c: Likewise.
1896 * sysdeps/stub/fork.c: Likewise.
1897 * sysdeps/stub/fpathconf.c: Likewise.
1898 * sysdeps/stub/fstatfs.c: Likewise.
1899 * sysdeps/stub/fsync.c: Likewise.
1900 * sysdeps/stub/ftruncate.c: Likewise.
1901 * sysdeps/stub/fxstat.c: Likewise.
1902 * sysdeps/stub/getcwd.c: Likewise.
1903 * sysdeps/stub/getdents.c: Likewise.
1904 * sysdeps/stub/getdomain.c: Likewise.
1905 * sysdeps/stub/getdtsz.c: Likewise.
1906 * sysdeps/stub/getegid.c: Likewise.
1907 * sysdeps/stub/getenv.c: Likewise.
1908 * sysdeps/stub/geteuid.c: Likewise.
1909 * sysdeps/stub/getgid.c: Likewise.
1910 * sysdeps/stub/getgroups.c: Likewise.
1911 * sysdeps/stub/gethostid.c: Likewise.
1912 * sysdeps/stub/gethostname.c: Likewise.
1913 * sysdeps/stub/getitimer.c: Likewise.
1914 * sysdeps/stub/getlogin.c: Likewise.
1915 * sysdeps/stub/getlogin_r.c: Likewise.
1916 * sysdeps/stub/getpagesize.c: Likewise.
1917 * sysdeps/stub/getpeername.c: Likewise.
1918 * sysdeps/stub/getpid.c: Likewise.
1919 * sysdeps/stub/getppid.c: Likewise.
1920 * sysdeps/stub/getpriority.c: Likewise.
1921 * sysdeps/stub/getrlimit.c: Likewise.
1922 * sysdeps/stub/getrusage.c: Likewise.
1923 * sysdeps/stub/getsid.c: Likewise.
1924 * sysdeps/stub/getsockname.c: Likewise.
1925 * sysdeps/stub/getsockopt.c: Likewise.
1926 * sysdeps/stub/getsysstats.c: Likewise.
1927 * sysdeps/stub/gettimeofday.c: Likewise.
1928 * sysdeps/stub/getuid.c: Likewise.
1929 * sysdeps/stub/gtty.c: Likewise.
1930 * sysdeps/stub/ioctl.c: Likewise.
1931 * sysdeps/stub/isatty.c: Likewise.
1932 * sysdeps/stub/isfdtype.c: Likewise.
1933 * sysdeps/stub/kill.c: Likewise.
1934 * sysdeps/stub/killpg.c: Likewise.
1935 * sysdeps/stub/link.c: Likewise.
1936 * sysdeps/stub/listen.c: Likewise.
1937 * sysdeps/stub/lseek.c: Likewise.
1938 * sysdeps/stub/lxstat.c: Likewise.
1939 * sysdeps/stub/madvice.c: Likewise.
1940 * sysdeps/stub/mkdir.c: Likewise.
1941 * sysdeps/stub/mkfifo.c: Likewise.
1942 * sysdeps/stub/mkstemp.c: Likewise.
1943 * sysdeps/stub/mktemp.c: Likewise.
1944 * sysdeps/stub/mmap.c: Likewise.
1945 * sysdeps/stub/morecore.c: Likewise.
1946 * sysdeps/stub/mprotect.c: Likewise.
1947 * sysdeps/stub/msgctl.c: Likewise.
1948 * sysdeps/stub/msgget.c: Likewise.
1949 * sysdeps/stub/msgrcv.c: Likewise.
1950 * sysdeps/stub/msgsnd.c: Likewise.
1951 * sysdeps/stub/msync.c: Likewise.
1952 * sysdeps/stub/munmap.c: Likewise.
1953 * sysdeps/stub/nanosleep.c: Likewise.
1954 * sysdeps/stub/nice.c: Likewise.
1955 * sysdeps/stub/nlist.c: Likewise.
1956 * sysdeps/stub/open.c: Likewise.
1957 * sysdeps/stub/opendir.c: Likewise.
1958 * sysdeps/stub/pathconf.c: Likewise.
1959 * sysdeps/stub/pause.c: Likewise.
1960 * sysdeps/stub/pipe.c: Likewise.
1961 * sysdeps/stub/pipestream.c: Likewise.
1962 * sysdeps/stub/poll.c: Likewise.
1963 * sysdeps/stub/profil.c: Likewise.
1964 * sysdeps/stub/ptrace.c: Likewise.
1965 * sysdeps/stub/putenv.c: Likewise.
1966 * sysdeps/stub/raise.c: Likewise.
1967 * sysdeps/stub/read.c: Likewise.
1968 * sysdeps/stub/readdir.c: Likewise.
1969 * sysdeps/stub/readlink.c: Likewise.
1970 * sysdeps/stub/readv.c: Likewise.
1971 * sysdeps/stub/reboot.c: Likewise.
1972 * sysdeps/stub/recv.c: Likewise.
1973 * sysdeps/stub/recvfrom.c: Likewise.
1974 * sysdeps/stub/recvmsg.c: Likewise.
1975 * sysdeps/stub/remove.c: Likewise.
1976 * sysdeps/stub/rename.c: Likewise.
1977 * sysdeps/stub/revoke.c: Likewise.
1978 * sysdeps/stub/rewinddir.c: Likewise.
1979 * sysdeps/stub/rmdir.c: Likewise.
1980 * sysdeps/stub/sbrk.c: Likewise.
1981 * sysdeps/stub/sched_getp.c: Likewise.
1982 * sysdeps/stub/sched_gets.c: Likewise.
1983 * sysdeps/stub/sched_primax.c: Likewise.
1984 * sysdeps/stub/sched_primin.c: Likewise.
1985 * sysdeps/stub/sched_rr_gi.c: Likewise.
1986 * sysdeps/stub/sched_setp.c: Likewise.
1987 * sysdeps/stub/sched_sets.c: Likewise.
1988 * sysdeps/stub/sched_yield.c: Likewise.
1989 * sysdeps/stub/seekdir.c: Likewise.
1990 * sysdeps/stub/select.c: Likewise.
1991 * sysdeps/stub/semctl.c: Likewise.
1992 * sysdeps/stub/semget.c: Likewise.
1993 * sysdeps/stub/semop.c: Likewise.
1994 * sysdeps/stub/send.c: Likewise.
1995 * sysdeps/stub/sendmsg.c: Likewise.
1996 * sysdeps/stub/sendto.c: Likewise.
1997 * sysdeps/stub/setdomain.c: Likewise.
1998 * sysdeps/stub/setegid.c: Likewise.
1999 * sysdeps/stub/setenv.c: Likewise.
2000 * sysdeps/stub/seteuid.c: Likewise.
2001 * sysdeps/stub/setgid.c: Likewise.
2002 * sysdeps/stub/setgroups.c: Likewise.
2003 * sysdeps/stub/sethostid.c: Likewise.
2004 * sysdeps/stub/sethostname.c: Likewise.
2005 * sysdeps/stub/setitimer.c: Likewise.
2006 * sysdeps/stub/setjmp.c: Likewise.
2007 * sysdeps/stub/setlogin.c: Likewise.
2008 * sysdeps/stub/setpgid.c: Likewise.
2009 * sysdeps/stub/setpriority.c: Likewise.
2010 * sysdeps/stub/setregid.c: Likewise.
2011 * sysdeps/stub/setreuid.c: Likewise.
2012 * sysdeps/stub/setrlimit.c: Likewise.
2013 * sysdeps/stub/setsid.c: Likewise.
2014 * sysdeps/stub/setsockopt.c: Likewise.
2015 * sysdeps/stub/settimeofday.c: Likewise.
2016 * sysdeps/stub/setuid.c: Likewise.
2017 * sysdeps/stub/shmat.c: Likewise.
2018 * sysdeps/stub/shmctl.c: Likewise.
2019 * sysdeps/stub/shmdt.c: Likewise.
2020 * sysdeps/stub/shmget.c: Likewise.
2021 * sysdeps/stub/shutdown.c: Likewise.
2022 * sysdeps/stub/sigaction.c: Likewise.
2023 * sysdeps/stub/sigaltstack.c: Likewise.
2024 * sysdeps/stub/sigblock.c: Likewise.
2025 * sysdeps/stub/sigintr.c: Likewise.
2026 * sysdeps/stub/signal.c: Likewise.
2027 * sysdeps/stub/sigpause.c: Likewise.
2028 * sysdeps/stub/sigpending.c: Likewise.
2029 * sysdeps/stub/sigprocmask.c: Likewise.
2030 * sysdeps/stub/sigreturn.c: Likewise.
2031 * sysdeps/stub/sigsetmask.c: Likewise.
2032 * sysdeps/stub/sigstack.c: Likewise.
2033 * sysdeps/stub/sigsuspend.c: Likewise.
2034 * sysdeps/stub/sigvec.c: Likewise.
2035 * sysdeps/stub/sleep.c: Likewise.
2036 * sysdeps/stub/socket.c: Likewise.
2037 * sysdeps/stub/socketpair.c: Likewise.
2038 * sysdeps/stub/sstk.c: Likewise.
2039 * sysdeps/stub/statfs.c: Likewise.
2040 * sysdeps/stub/stime.c: Likewise.
2041 * sysdeps/stub/stty.c: Likewise.
2042 * sysdeps/stub/swapoff.c: Likewise.
2043 * sysdeps/stub/swapon.c: Likewise.
2044 * sysdeps/stub/symlink.c: Likewise.
2045 * sysdeps/stub/sync.c: Likewise.
2046 * sysdeps/stub/syscall.c: Likewise.
2047 * sysdeps/stub/sysconf.c: Likewise.
2048 * sysdeps/stub/sysd-stdio.c: Likewise.
2049 * sysdeps/stub/system.c: Likewise.
2050 * sysdeps/stub/tcdrain.c: Likewise.
2051 * sysdeps/stub/tcflow.c: Likewise.
2052 * sysdeps/stub/tcflush.c: Likewise.
2053 * sysdeps/stub/tcgetattr.c: Likewise.
2054 * sysdeps/stub/tcgetpgrp.c: Likewise.
2055 * sysdeps/stub/tcsendbrk.c: Likewise.
2056 * sysdeps/stub/tcsetattr.c: Likewise.
2057 * sysdeps/stub/tcsetpgrp.c: Likewise.
2058 * sysdeps/stub/telldir.c: Likewise.
2059 * sysdeps/stub/tempname.c: Likewise.
2060 * sysdeps/stub/time.c: Likewise.
2061 * sysdeps/stub/times.c: Likewise.
2062 * sysdeps/stub/truncate.c: Likewise.
2063 * sysdeps/stub/ttyname.c: Likewise.
2064 * sysdeps/stub/ttyname_r.c: Likewise.
2065 * sysdeps/stub/ualarm.c: Likewise.
2066 * sysdeps/stub/ulimit.c: Likewise.
2067 * sysdeps/stub/umask.c: Likewise.
2068 * sysdeps/stub/unlink.c: Likewise.
2069 * sysdeps/stub/usleep.c: Likewise.
2070 * sysdeps/stub/ustat.c: Likewise.
2071 * sysdeps/stub/utime.c: Likewise.
2072 * sysdeps/stub/utimes.c: Likewise.
2073 * sysdeps/stub/vhangup.c: Likewise.
2074 * sysdeps/stub/wait.c: Likewise.
2075 * sysdeps/stub/wait3.c: Likewise.
2076 * sysdeps/stub/wait4.c: Likewise.
2077 * sysdeps/stub/waitpid.c: Likewise.
2078 * sysdeps/stub/write.c: Likewise.
2079 * sysdeps/stub/writev.c: Likewise.
2080 * sysdeps/stub/xmknod.c: Likewise.
2081 * sysdeps/stub/xstat.c: Likewise.
2082 * sysdeps/unix/closedir.c: Likewise.
2083 * sysdeps/unix/fxstat.c: Likewise.
2084 * sysdeps/unix/getlogin.c: Likewise.
2085 * sysdeps/unix/getlogin_r.c: Likewise.
2086 * sysdeps/unix/mkdir.c: Likewise.
2087 * sysdeps/unix/nice.c: Likewise.
2088 * sysdeps/unix/nlist.c: Likewise.
2089 * sysdeps/unix/opendir.c: Likewise.
2090 * sysdeps/unix/readdir.c: Likewise.
2091 * sysdeps/unix/rmdir.c: Likewise.
2092 * sysdeps/unix/stime.c: Likewise.
2093 * sysdeps/unix/xmknod.c: Likewise.
2094 * sysdeps/unix/xstat.c: Likewise.
2095 * sysdeps/unix/bsd/isatty.c: Likewise.
2096 * sysdeps/unix/bsd/setegid.c: Likewise.
2097 * sysdeps/unix/bsd/seteuid.c: Likewise.
2098 * sysdeps/unix/bsd/setsid.c: Likewise.
2099 * sysdeps/unix/bsd/sigaction.c: Likewise.
2100 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2101 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2102 * sysdeps/unix/bsd/tcflow.c: Likewise.
2103 * sysdeps/unix/bsd/tcflush.c: Likewise.
2104 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2105 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2106 * sysdeps/unix/bsd/times.c: Likewise.
2107 * sysdeps/unix/bsd/ulimit.c: Likewise.
2108 * sysdeps/unix/common/lxstat.c: Likewise.
2109 * sysdeps/unix/common/tcsendbrk.c: Likewise.
2110 * sysdeps/unix/sysv/setrlimit.c: Likewise.
2111 * sysdeps/unix/sysv/settimeofday.c: Likewise.
2112 * sysdeps/unix/sysv/sigaction.c: Likewise.
2113 * sysdeps/unix/sysv/tcflow.c: Likewise.
2114 * sysdeps/unix/sysv/tcflush.c: Likewise.
2115 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2116 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2117 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2118 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
2119 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
2120 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
2121 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2122 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2123 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
2124 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2125 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2126 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2127 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2128 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
2129 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
2130 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
2131 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
2132 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
2133 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
2134 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
2135 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
2136 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2137 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
2139 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
2140 * sunrpc/clnt_udp.c: Likewise.
2141 * sunrpc/bindrsvprt.c: Likewise.
2142 * sunrpc/pm_getmaps.c: Likewise.
2143 * sunrpc/pmap_rmt.c: Likewise.
2144 * sunrpc/svc.c: Likewise.
2145 * sunrpc/svc_run.c: Likewise.
2146 * sunrpc/svc_tcp.c: Likewise.
2147 * sunrpc/svc_udp.c: Likewise.
2149 * sysdeps/generic/strtok.c: Don't check argument, just crash.
2150 * sysdeps/generic/strtok_r.c: Likewise.
2152 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
2153 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
2154 * sysdeps/unix/sparc/start.c: Likewise.
2155 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
2156 * sysdeps/unix/sysv/irix4/start.c: Likewise.
2157 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
2158 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
2159 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2161 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
2163 * catgets/gencat.c (main): Put package name in --version message
2164 in parantheses. Reported by Jim Meyering.
2165 * db/makedb.c: Likewise.
2166 * locale/programs/locale.c: Likewise.
2167 * locale/programs/localedef.c: Likewise.
2169 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
2170 two registers. Patch by John Bowman.
2172 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2174 * sysdeps/mach/libc-lock.h: Fix comment.
2175 * sysdeps/stubs/libc-lock.h: Likewise.
2177 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2179 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
2180 to lock when passing it to __libc_lock_init macro.
2181 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
2182 when passing it to __libc_lock_fini macro.
2184 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2186 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
2187 [_LIBC_REENTRANT]: Add missing semicolon.
2189 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
2190 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
2191 Use the ENTRY macro.
2193 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2195 * libio/Makefile: Make `all' the default target.
2196 * po/Makefile: Likewise.
2198 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
2200 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
2201 I applied it incorrectly.
2202 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2203 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
2204 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
2206 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
2208 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
2209 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
2211 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
2214 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
2215 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
2217 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
2218 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
2219 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
2220 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
2221 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2223 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2225 * hurd/Makefile (installed-sunrpc-headers): New variable.
2226 (sunrpc-headers): New variable.
2227 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
2228 not just <rpc/netdb.h>.
2229 ($(installed-sunrpc-headers)): Provide rule for all of these.
2231 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2233 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
2234 variable `top_srcdir' in libc; use $(..) instead.
2236 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
2237 definition. It was a *Mistake*. (With a capital M.)
2239 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
2241 (__get_nprocs_conf): Renamed from __get_nproc_conf.
2243 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
2245 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
2246 `_dl_start' so that linking fails if this file should ever be used
2249 * catgets/gencat.c (main): Change --version message according to
2250 RMS' last standard revision.
2251 * db/makedb.c: Likewise.
2252 * locale/programs/locale.c: Likewise.
2253 * locale/programs/localedef.c: Likewise.
2255 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2257 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
2258 (__get_nproc_conf): New function.
2260 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
2262 * resolv/resolv.h: Update to bind-4.9.5-T4B.
2263 * resolv/base64.c: Likewise.
2264 * resolv/res_debug.c: Likewise.
2265 * resolv/res_query.c: Likewise.
2266 * resolv/gethnamaddr.c: Likewise.
2267 * nss/nss_dns/dns-host.c: Likewise.
2268 * resolv/res_comp.c: Likewise.
2269 * resolv/res_send.c: Likewise.
2270 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
2273 * resolv/Banner: New file.
2274 * resolv/Makefile (distribute): Add Banner.
2276 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
2278 * sysdeps/stub/getsysstats.c: New file.
2279 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
2281 * misc/Makefile (headers): Add sys/sysinfo.h.
2282 (routines): Add getsysstats.
2283 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
2284 (sysdep_headers): Remove sys/sysinfo.h.
2285 * sysdeps/generic/sys/sysinfo.h: New file.
2286 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
2287 get_phys_pages, and get_avphys_pages.
2289 * misc/Makefile (routines): Add mntent_r.
2290 * misc/mntent_r.c: New file.
2291 * misc/mntent.c: Remove all functions but getmntent and use
2293 * misc/mntent.h: Add prototype for __getmntent_r.
2294 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
2295 This will not clobber the state in getmntent.
2297 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
2298 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
2299 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
2300 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
2301 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
2302 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
2303 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
2304 * sysdeps/posix/sysconf.c: Likewise.
2305 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
2306 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
2308 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
2310 * version.h (VERSION): Bump to 1.95.
2312 * Make-dist (+tsrcs): Don't filter out files in subdirs which
2313 match files in the sysdeps hierachy (welcome back,
2316 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
2318 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
2320 * locale/loadlocale.c (_nl_free_locale): Remove function.
2321 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
2322 * locale/setlocale.c (setlocale): Don't free locale data of
2323 categories which succeeded to load after a wrong or missing data
2326 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
2327 that it works even when the locale data is not used.
2329 * stdlib/random_r.c: Fix typo in comment.
2330 * stdlib/drand48-iter.c: Likewise.
2331 * stdlib/drand48.c: Likewise.
2332 * stdlib/erand48.c: Likewise.
2333 * stdlib/jrand48.c: Likewise.
2334 * stdlib/lcong48.c: Likewise.
2335 * stdlib/lrand48.c: Likewise.
2336 * stdlib/mrand48.c: Likewise.
2337 * stdlib/nrand48.c: Likewise.
2338 * stdlib/random.c: Likewise.
2339 * stdlib/seed48.c: Likewise.
2340 * stdlib/srand48.c: Likewise.
2341 * misc/search.h: Likewise.
2342 * misc/hsearch.c: Likewise.
2343 * misc/hsearch_r.c: Likewise.
2345 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2347 * sysdeps/mach/getsysstats.c: New file.
2349 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
2350 binary distribution.
2352 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
2353 definition to override dangerous one in Makeconfig.
2355 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
2356 ($(includedir)/rpc/netdb.h): New rule.
2357 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
2360 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2362 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
2363 to guarantee link errors if this is included in ld.so.
2365 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2367 * hurd/hurdinit.c (__libc_argv): Provide common decl.
2368 (_hurd_setproc): Don't declare __libc_argv here.
2370 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2372 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
2373 for actual modifications to global state.
2375 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2377 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
2378 * sysdeps/mach/hurd/Makefile (includes): Add
2379 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
2381 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
2382 struct sched_params.
2383 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
2384 sched_params -> struct sched_param.
2385 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
2386 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
2388 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2390 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
2393 * stdio-common/Makefile: Put lockfile in routines
2396 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
2397 this always, not just if _LIBC_REENTRANT.
2398 (__funlockfile): Don't use weak_extern for this one;
2399 __libc_cleanup_region_end might be defined and the use of
2400 __funlockfile can't be protected the way the use of __flockfile
2403 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
2405 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
2406 instead of localtime.
2407 Reported by Matthias Urlichs.
2409 * shlib-versions: Remove version number for libcrypt.
2410 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
2411 * libc-symbols.h: Define _REENTRANT while compiling libc.
2413 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
2414 Define even if !_LIBC_REENTRANT.
2415 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2418 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
2421 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
2422 * po/header.pot: Correct title line.
2425 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
2427 * Makeconfig (soversions.mk): Prefer shared lib version numbers
2428 is add ons over version in libc itself.
2430 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
2431 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
2434 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
2435 _IO_flockfile and _IO_funlockfile resp.
2437 * locale/categories.def: Partly support for correct `era' handling
2438 in LC_TIME category.
2439 * locale/langinfo.h: Likewise.
2440 * locale/programs/ld-time.c: Likewise.
2441 * locale/localeinfo.h: Change comment a bit.
2443 * malloc/memalign.c: Don't use goto, not necessary anymore.
2445 1996-09-18 Paul Eggert <eggert@twinsun.com>
2447 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
2448 is negative, or if time_t is unsigned.
2449 * time/strftime.c (tm_diff): Work correctly even if tm_year
2452 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2454 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
2455 all three versions of the math function.
2456 (__inline_mathopf, __inline_mathopl): Removed.
2457 (__inline_functions): New temporary definition containing all
2458 non-trivial inline functions.
2460 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
2462 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
2464 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
2466 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
2469 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
2471 * sysdeps/stub/fpu_control.h: Correct end of file comment.
2473 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
2475 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
2476 stdio-common/test-popen.c: Remove temporary files after test.
2477 * stdio-common/bug5.c: Use `system' instead of `execlp'.
2478 Patches by Andreas Jaeger.
2480 * stdio-common/bug5.c: Create string for `system' argument to
2481 make sure the input and output file names are really correct.
2483 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2485 * configure.in: If $os contains a hyphen add the part before the
2488 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2490 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
2491 __ieee754_powl): Rename local variable i to __i.
2492 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
2494 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
2495 sysdeps/m68k/fpu/e_atan2l.c: New files.
2497 1996-09-15 Paul Eggert <eggert@twinsun.com>
2499 * manual/time.texi: Change `range X to Y' to `range X through
2500 Y', to avoid ambiguity in English.
2502 (strftime): Numbers that do not have a range indicated are not padded.
2503 Describe E and O modifiers.
2504 %g, %G, %u: New formats.
2505 %C, %y, %Y: Describe behavior on negative years.
2506 %e: Fix typo (was labeled %d).
2507 %l, %V: Fix typo in range.
2508 %M, %S, %U, %w, %W: Give ranges.
2509 %p: Clarify how noon and midnight are handled for AM and PM.
2510 %s: Clarify leap second handling.
2511 %r: Now locale-defined.
2512 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
2513 %z: Say that it is a GNU extension.
2516 * time/strftime.c: (strftime):
2517 %V: Fix mishandling of week numbers near year boundaries.
2518 %g, %G: New formats (suggested by Arthur David Olson).
2519 %U, %W: Use inline expression instead of `week' function.
2520 %C, %y: Handle negative years portably.
2521 %C, %Y: Use width 1, since values can be arbitrarily wide.
2522 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
2523 %u: New Posix.2 format.
2524 %w: Width is 1, not 2.
2525 (iso_week_days): New function, for %V, %G, %g.
2526 (week): Remove; it didn't handle %V correctly.
2527 (__isleap): New macro.
2528 (mbsinit): Use arg, to pacify GCC -Wall.
2530 1996-09-13 Paul Eggert <eggert@twinsun.com>
2532 * time/strftime.c (strftime):
2533 If using the GNU C library, do not bother to check for
2534 multibyte encodings, since they're safe in formats. Otherwise:
2535 - Check for multibyte encodings when encountering any character that
2536 is not in the basic execution character set of the C Standard.
2537 - Use mbrlen (if available) instead of mblen, to avoid modifying
2538 mblen's internal state.
2539 - Do not assume that '%' cannot appear as the first character of a
2540 multibyte character sequence, since this is possible when not in the
2541 initial shift state.
2542 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
2543 (DO_MULTIBYTE): New macro.
2544 (<ctype.h>): Do not include.
2545 (<wchar.h>): Include if HAVE_MBRLEN.
2546 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
2547 (mbstate_zero): New constant.
2549 1996-09-12 Paul Eggert <eggert@twinsun.com>
2551 * time/strftime.c (strftime):
2552 Use an empty zone if it can't be determined; POSIX.2 requires this.
2553 Use plain `int' for pad and modifier (which now contain char value).
2554 Use plain `int' for number_value, to print negative values correctly.
2555 Use plain `int' for digits; there was no need to make it unsigned.
2556 Initialize subfmt consistently.
2557 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
2558 For %O, if there is no alternate digit, output Ascii instead of "".
2559 Output the `%' of an unknown format; this is most likely the right
2560 thing to do if a multibyte string has been misparsed.
2562 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2564 * stdio-common/scanf7.c (main): Remove extra conversion from
2565 printf format string.
2567 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2569 * stdlib/test-canon.c (tests): Rename structure member from errno
2570 to error, all uses changed.
2572 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2574 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
2576 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2577 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
2579 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
2580 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
2581 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
2583 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
2584 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
2586 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
2587 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
2589 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2591 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
2592 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
2594 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2596 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
2597 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
2599 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2601 * inet/herrno.c (__h_errno_location): Fix return type.
2603 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2605 * hurd/hurdinit.c (__libc_argv): Provide common decl.
2606 (_hurd_setproc): Don't declare __libc_argv here.
2608 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
2610 * sched.h: New file. Helper to access posix/sched.h.
2611 * posix/sched.h: Change `sched_params' to `sched_param' to follow
2614 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
2616 * db/makedb.c (usage): Print bug report address separately to
2617 ease translators task.
2618 * catgets/gencat.c (usage): Likewise.
2619 * locale/locale.c (usage): Likewise.
2620 * locale/localedef.c (usage): Likewise.
2622 1996-09-12 Paul Eggert <eggert@twinsun.com>
2624 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
2625 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
2626 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
2628 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
2630 * crypt/Makefile: Include Makeconfig and add crypt object dir to
2631 rpath-link so that running the check finds the new library.
2632 * crypt/cert.c: provide correct prototypes to prevent warnings.
2633 Reported by Andreas Jaeger.
2635 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
2636 old and new value must be glued using `:'.
2637 Reported by Marcus Daniels.
2639 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2641 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
2642 accidentally added on.
2644 * sysdeps/stub/intr-msg.h: New file.
2646 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2647 * stdio-common/vfscanf.c: Include <libc-lock.h>.
2649 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
2651 (__libc_cleanup_region_end): New macro.
2653 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2655 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
2656 accidentally added on.
2658 * sysdeps/stub/intr-msg.h: New file.
2660 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2661 * stdio-common/vfscanf.c: Include <libc-lock.h>.
2663 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
2665 (__libc_cleanup_region_end): New macro.
2667 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
2669 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
2670 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2671 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
2673 1996-09-11 Paul Eggert <eggert@twinsun.com>
2675 * strftime.c (strftime):
2676 Handle E and O modifiers, required for POSIX.2 and XPG4.
2677 Don't use sprintf to format numbers; this way, we can handle time_t
2678 correctly regardless of whether it's signed.
2679 Don't dump core if format ends in %.
2680 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
2682 Use tm_gmtoff if available.
2683 Output nothing if tm_isdst is negative.
2684 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
2685 Don't assume that UTC offset is less than 24 hours;
2686 Posix requires support for 24 hours, and there's no point
2688 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
2689 (CHAR_BIT): Define if <limits.h> doesn't.
2690 (tm_diff): New function.
2691 (fmt, <stdio.h>): Remove; no longer used.
2693 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
2695 * db/Makefile: Add extra-libs-others variable so that shared
2696 library is built in `others' pass.
2697 * elf/Makefile: Likewise.
2698 * math/Makefile: Likewise.
2699 * resolv/Makefile: Likewise.
2701 * Makefile (generated): Add version.info.h.
2703 * time/checktab.awk: New file. From ADO 96k.
2704 * time/iso3166.tab: Likewise.
2705 * time/tzselect.ksh: Likewise.
2706 * time/zone.tab: Likewise.
2708 * stdio-common/vfprintf.c: Correct cleanup registration. We
2711 1996-09-11 Paul Eggert <eggert@twinsun.com>
2713 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
2714 __USE_BSD; this is required for ANSI C compatibility.
2715 * manual/time.texi: Replace GMT by UTC, daylight savings by
2716 daylight saving, timezone by time zone.
2717 Rewrite description of %V to match ISO 8601.
2718 Fix TZ Posix string example for US Eastern time.
2719 Explain tzname[1] when DST isn't used.
2720 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
2721 Explain that timezone's sign is opposite from tm_gmtoff, and that
2722 timezone lacks DST adjustment whereas tm_gmtoff has it.
2723 Deprecate tzname and timezone.
2725 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2727 Implement Roland McGrath's idea of how to put an .interp into
2729 * interp.c: New file.
2730 * Makerules (interp-obj): New object, linked into every shared
2732 (common-generated): Add interp.so.
2733 (CFLAGS-interp.c): Pass name of interpreter.
2735 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2737 * db/Makefile: Fix typo.
2739 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2741 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
2742 occurences of the same uid, and only generate a mapping for the
2745 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2747 * sysdeps/unix/sysv/linux/system.c: New file, to override
2748 sysdeps/unix/system.c.
2750 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2752 * Makefile (before-compile): Add version-info.h, needed to build
2755 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2757 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
2758 EWOULDBLOCK, never true on Linux.
2759 (__errno_location): New function.
2760 [_LIBC_REENTRANT]: Set errno using __errno_location function.
2761 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
2762 syscall_error handler for reentrant libc.
2764 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2766 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
2768 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
2770 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
2772 * time/tzfile.c (compute_tzname_max): Likewise.
2774 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
2776 * configure.in: Quote $add_ons argument in loop to generated
2779 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
2781 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
2783 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2785 * elf/dl-cache.c: Rename to ...
2786 * sysdeps/generic/dl-cache.c: ... here.
2787 * sysdeps/mach/hurd/dl-cache.c: New file.
2789 * mach/Makefile (distribute): Add `errsystems.awk'.
2790 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
2791 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
2792 * hurd/intr-rpc.awk: Likewise.
2793 * hurd/invoke-trans.c: Likewise.
2794 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
2795 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
2796 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
2797 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
2798 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
2799 * sysdeps/stub/init-fault.c: Likewise.
2800 * sysdeps/stub/longjmp-ctx.c: Likewise.
2802 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
2804 * inet/herrno.c: Initialize `h_errno' so that we can provide
2807 * Makefile (version-info.h): Fix typo in shell script.
2809 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
2810 * sysdeps/i386/i586/strchr.S: Likewise.
2812 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
2814 * version.c (banner): Report to bug-glibc@prep not @gnu.
2815 Reported by Andreas Jaeger.
2817 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
2819 [__USE_REENTRANT]: Don't define
2821 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
2823 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
2824 when it is the third byte in the string. Reported by
2826 * string/tester.c: Add tests for above bug to strlen, strchr, and
2829 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2831 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
2832 "math_private.h" to get prototype.
2833 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2834 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2835 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2836 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2838 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
2840 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2842 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2844 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
2845 instead of __NO_MATH_INLINES.
2846 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
2847 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
2848 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2849 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2850 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2851 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2852 * sysdeps/m68k/fpu/s_atan.c: Likewise.
2853 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2854 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2855 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2856 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
2857 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2858 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
2859 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2860 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2862 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
2864 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
2865 available character before converting number and return with
2866 error if none is available.
2868 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2870 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
2871 implementation for architectures where parameters are passed on
2873 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
2874 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
2876 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2878 * configure.in: Remove unneeded sysnames frobbing.
2880 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
2882 * time/zic.c: Update from ADO 96l.
2883 * time/africa: Update from ADO 96k.
2884 * time/antarctica: Likewise.
2885 * time/asia: Likewise.
2886 * time/australia: Likewise.
2887 * time/europe: Likewise.
2888 * time/northamerica: Likewise.
2889 * time/southamerica: Likewise.
2891 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2893 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
2894 gcc <= 2.7.2.1 which optimizes away address operations on weak
2897 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
2898 Like INT_FIELD but also accept non-existing field.
2899 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
2900 for last four fields.
2901 * shadow/putspent.c (putspent): Print `:' after numeric value.
2903 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
2905 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
2907 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
2909 * Make-dist: Filter out $(add-ons) from $(subdirs).
2910 Don't distribute TAGS files.
2911 ($(tardir).tar): Remove dist.tar when all is done.
2912 * manual/Makefile (distribute): Add libc.info*.
2913 * libio/Makefile (distribute): Add Banner.
2914 * inet/Makefile (headers): Add netinet/tcp.h.
2916 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
2918 * crypt-README: Removed.
2919 * gnu-stabs.h: Removed.
2921 * sysdeps/alpha/copysign.S: Renamed to...
2922 * sysdeps/alpha/s_copysign.S: ...this.
2923 * sysdeps/alpha/fabs.S: Renamed to...
2924 * sysdeps/alpha/s_fabs.S: ...this.
2926 * sysdeps/m68k/isinfl.c: Renamed to...
2927 * sysdeps/m68k/s_isinfl.c: ...this.
2928 * sysdeps/m68k/isnanl.c: Renamed to...
2929 * sysdeps/m68k/s_isnanl.c: ...this.
2931 * sysdeps/sparc/sqrt.c: Renamed to...
2932 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
2935 * sysdeps/generic/get_str.c: Removed.
2937 * sysdeps/ieee754/cbrt.c: Removed.
2938 * sysdeps/ieee754/drem.c: Removed.
2939 * sysdeps/ieee754/logb.c: Removed.
2940 * sysdeps/ieee754/sqrt.c: Removed.
2942 * sysdeps/stub/cbrt.c: Removed.
2943 * sysdeps/stub/cos.c: Removed.
2944 * sysdeps/stub/drem.c: Removed.
2945 * sysdeps/stub/isinf.c: Removed.
2946 * sysdeps/stub/isinfl.c: Removed.
2947 * sysdeps/stub/isnanl.c: Removed.
2948 * sysdeps/stub/logb.c: Removed.
2949 * sysdeps/stub/sin.c: Removed.
2950 * sysdeps/stub/sqrt.c: Removed.
2952 * sysdeps/tahoe/log10.c: Removed.
2954 * sysdeps/vax/index.s: Removed.
2955 * sysdeps/vax/rindex.s: Removed.
2956 * sysdeps/vax/bcmp.s: Removed.
2957 * sysdeps/vax/log10.c: Removed.
2958 * sysdeps/vax/infnan.c: Removed.
2959 * sysdeps/vax/Dist: Add fl.h.
2961 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
2963 * inet/rcmd.c (rcmd): Make messages more uniform.
2965 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
2970 * po/pl.po: New file.
2971 * po/nl.po: New file.
2973 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
2975 * Makeconfig (+link): Filter out start, pre & postinit from the
2976 generic depenancies as well.
2977 * Rules: Add start, pre & postinit to the dependancies of
2978 $(others) and $(tests).
2980 * configure.in: elf_dirs missing "sysdeps" component.
2982 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
2984 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
2985 This is consistent with all other GNU packages. We shouldn't
2986 take care for a possible clash. Nobody will name the domain
2987 of a package libc if it is not the libc itself.
2988 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
2989 * po/Makefile (domainname): Change to libc.
2990 (distribute): Now ship libc.pot.
2991 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
2992 version information banner.
2993 Change bug report address to bug-glibc@prep not @gnu.
2994 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
2995 (main): Use `PACKAGE' for package name in version information
2997 Change bug report address to bug-glibc@prep not @gnu.
2998 * locale/programs/locale.c (main): Use `PACKAGE' for package name
2999 in version information banner.
3000 Change bug report address to bug-glibc@prep not @gnu.
3001 * locale/programs/localedef.c (main): Likewise.
3003 * version.h (VERSION): Bump to 1.94.
3005 * locale/Makefile (distribute): Add locale.c and localedef.c.
3007 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
3009 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
3010 instead of sizeof(nl_catd) (which is just a pointer!).
3012 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
3014 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
3015 * version.c (banner): Add contents of version-info.h to string.
3017 * Makerules: If $($(subdir)-version) is available name versioned
3018 shared library according to this value instead of glibc's version.
3020 * libio/Banner: New file.
3022 * elf/eval.c (funcall): Write error message in case function is
3024 (eval): Recognize `_' in names.
3026 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
3028 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
3029 * libio/iofopen: Likewise.
3030 * libio/iofopncook.c: Likewise.
3031 * libio/iopopen.c: Likewise.
3032 * libio/iovsprintf.c: Likewise.
3033 * libio/iovsscanf.c: Likewise.
3034 * libio/memstream.c: Likewise.
3035 * libio/vasprintf.c: Likewise.
3036 * libio/vdprintf.c: Likewise.
3037 * libio/vsnprintf.c: Likewise.
3039 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
3041 * Makeconfig (soversions.mk): Also use shlib-versions files
3042 in add-on directories.
3043 * config.make.in (config-defines): Remove. Not used anymore.
3044 (defines): New variable. Initiliazed by @DEFINES@.
3045 * configure.in: Add AC_SUBST(DEFINES).
3047 * libio/Makefile (routines): When compiling reentrant libc add
3048 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
3049 iofflush_u, putc_u, putchar_u, ioflockfile.
3050 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
3052 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
3053 and __libc_cleanup_region_end.
3055 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
3056 using __errno_location function.
3057 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
3058 using __errno_location function.
3059 (__errno_location): New function.
3060 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
3061 syscall_error handler for reentrant libc.
3063 * sysdeps/unix/opendir.c: Remove unneeded `;'.
3065 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
3066 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
3068 * libioP.h: Include <libc-lock.h>.
3069 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
3072 * libio/clearerr.c: Use _IO_ protected versions of flockfile
3073 and funlockfile to be namespace clean.
3075 * libio/genops.c: Use __libc_lock_* macros for handling lock.
3077 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
3078 * libio/iofopen: Likewise.
3079 * libio/iofopncook.c: Likewise.
3080 * libio/iopopen.c: Likewise.
3081 * libio/iovsprintf.c: Likewise.
3082 * libio/iovsscanf.c: Likewise.
3083 * libio/memstream.c: Likewise.
3084 * libio/vasprintf.c: Likewise.
3085 * libio/vdprintf.c: Likewise.
3086 * libio/vsnprintf.c: Likewise.
3088 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
3090 * libio/fputc.c: Likewise.
3091 * libio/freopen.c: Likewise.
3092 * libio/fseek.c: Likewise.
3093 * libio/getc.c: Likewise.
3094 * libio/getchar.c: Likewise.
3095 * libio/iofclose.c: Likewise.
3096 * libio/iofflush.c: Likewise.
3097 * libio/iofgetpos.c: Likewise.
3098 * libio/iofgets.c: Likewise.
3099 * libio/iofputs.c: Likewise.
3100 * libio/iofread.c: Likewise.
3101 * libio/iofsetpos.c: Likewise.
3102 * libio/ioftell.c: Likewise.
3103 * libio/iofwrite.c: Likewise.
3104 * libio/iogetdelim.c: Likewise.
3105 * libio/iogets.c: Likewise.
3106 * libio/ioputs.c: Likewise.
3107 * libio/iosetbuffer.c: Likewise.
3108 * libio/iosetvbuf.c: Likewise.
3109 * libio/ioungetc.c: Likewise.
3110 * libio/putc.c: Likewise.
3111 * libio/putchar.c: Likewise.
3112 * libio/rewind.c: Likewise.
3113 * stdio-common/vfprintf.c: Likewise.
3114 * stdio-common/vfscanf.c: Likewise.
3116 * libio/clearerr_u.c: Correct alias name.
3117 * libio/ferror_u.c: Likewise.
3118 * libio/fileno.c: Likewise.
3119 * libio/fputc_u.c: Likewise.
3120 * libio/getc.c: Likewise.
3121 * libio/getc_u.c: Likewise.
3122 * libio/getchar.c: Likewise.
3123 * libio/getchar_u.c: Likewise.
3124 * libio/putc.c: Likewise.
3125 * libio/putchar.c: Likewise.
3127 * libio/feof_u.c: Undefine macro with name of function before
3128 definition of function itself.
3130 * libio/ioflockfile.c: New file. Implementation of flockfile and
3133 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
3135 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
3138 * malloc/free.c: Include <libc-lock.h>.
3139 * malloc/realloc.c: Likewise.
3140 * malloc/malloc-find.c: Likewise.
3141 * malloc/malloc-size.c: Likewise.
3142 * malloc/malloc-walk.c: Likewise.
3143 * malloc/memalign.c: Likewise.
3144 * malloc/malloc.c: Likewise.
3146 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
3148 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
3150 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
3151 and __libc_lock_critical_end as empty macros.
3153 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
3155 * malloc/free.c: Include <libc-lock.h>.
3156 * malloc/malloc-find.c: Likewise.
3157 * malloc/malloc-size.c: Likewise.
3158 * malloc/malloc-walk.c: Likewise.
3159 * malloc/malloc.c: Likewise.
3160 * malloc/memalign.c: Likewise.
3161 * malloc/realloc.c: Likewise.
3163 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
3166 * extra-lib.mk: Likewise.
3167 * manual/Makefile: Likewise.
3169 * db/Makefile (makedb): Choose dependecies based on build-shared.
3170 Patch by Andres Schwab.
3172 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
3173 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
3175 * sysdeps/unix/sysv/linux/errnos.h: New file.
3176 * sysdeps/unix/sysv/linux/schedbits.h: New file.
3177 * sysdeps/unix/sysv/linux/waitflags.h: New file.
3179 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
3181 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3183 * rpm/template: Fix typo in %build section.
3185 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
3187 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
3188 building libc without thread support.
3189 * resolv/netdb.h: Likewise for h_errno macro.
3191 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
3193 * libc-symbols.h: Add new macro weak_const_function. It's like
3194 weak_function, but the function is additionally marked as const.
3195 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
3197 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
3199 * inet/herrno.c (__h_errno_location): New function.
3200 (h_errno): Make strong_alias __h_errno so that we can access
3201 the variable even if `h_errno' is a macro.
3202 * resolv/netdb.h: Define macro h_errno to access thread specific
3203 version of h_errno variable. Declare alias __h_errno for h_errno.
3204 * resolv/res_query (h_errno): Remove definition.
3205 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
3206 Add macro `errno' to get thread specific variable.
3207 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
3208 __errno_location function.
3209 (__errno_location): New function.
3211 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
3213 * posix/gnu/types.h: Remove definition of key_t.
3214 * sysdeps/generic/gnu/types.h: Move it to here.
3215 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
3216 definition of key_t.
3218 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
3220 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
3221 clone prototypes and associated flags.
3223 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3225 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
3227 (init1): Initialize them.
3228 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
3229 available, pass __libc_argv in call to __proc_set_arg_locations.
3231 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
3233 (hertz): Delete function.
3234 * gmon/Makefile (routines): Add `prof-freq'.
3235 * sysdeps/generic/prof-freq.c: New file.
3236 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
3237 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
3238 (update_waiter): Store frequency in profile_tick.
3239 (__profile_frequency): New function.
3241 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
3244 * Rules (generated): Restore reference to $(generated).
3246 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
3249 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
3251 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
3252 * malloc/realloc.c: Likewise.
3253 * malloc/malloc-find.c: Likewise.
3254 * malloc/malloc-size.c: Likewise.
3255 * malloc/malloc-walk.c: Likewise.
3256 * malloc/memalign.c: Likewise.
3258 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
3260 * sysdeps/alpha/elf/start.S: Make _start global again.
3262 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
3264 Change configuration and Makefiles to allow add-ons to have a
3265 sysdeps/ directory hierachy.
3266 * configure.in: Test for sysdeps/ directory in add-ons. Before
3267 all test and searches in these hierachies, too.
3268 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
3269 Extend with $(..) if not absolute path.
3270 Use $(full-config-subdirs) where $(config-sysdirs) was used.
3271 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
3272 * MakeTAGS: Use $(full-config-subdirs).
3273 * Makerules: Change comment to libc.so link script.
3274 (sysdirs): Define based on $(full-config-subdirs).
3275 (sysd-Makefile): Define using config-sysdirs.
3276 (sysd-rules): Likewise.
3277 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
3278 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
3280 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3282 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
3283 * sysdeps/m68k/fpu/k_sin.c: Likewise.
3284 * sysdeps/m68k/fpu/k_tan.c: Likewise.
3286 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
3288 * malloc/free.c (free): Protect by using __libc_malloc_lock.
3289 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
3290 * malloc/malloc-size.c (malloc_usable_size): Likewise.
3291 * malloc/malloc-walk.c (malloc_walk): Likewise.
3292 * malloc/memalign.c (memalign): Likewise.
3293 * malloc/realloc.c (realloc): Likewise.
3294 * malloc/malloc.c: Define __libc_malloc_lock.
3295 (_malloc_internal): Don't use `malloc'. Instead look for
3296 `__malloc_hook' or call `_malloc_internal'.
3297 (malloc): Protect by using `__libc_malloc_lock'.
3298 * malloc/malloc.h: Declare `__libc_malloc_lock'.
3300 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
3302 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
3303 instead of the hard definition.
3305 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
3306 _start and _dl_start_user.
3308 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
3309 Make _dl_starting_up weak. Add type info for NAME.
3311 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
3313 * Makefile (all): Add extra_solibs pass.
3314 (+subdir_targets): Same.
3315 * Rules (extra_solibs): New phony empty target for subdirs without
3317 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
3318 * manual/Makefile: Add dummy extra_solibs target.
3320 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
3322 * Makeconfig (+link): Add $(link-extra-libs).
3323 (link-extra-libs): New variable which expands to the full paths of
3324 the other libraries needed by a program, as controled by LDLIBS-$(@F).
3325 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
3326 the later attempts to install the library before linking it.
3328 * sysdeps/unix/alpha/sysdep.S: Align errno.
3330 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
3332 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
3333 (_hae_shift): New function.
3334 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
3335 for the bus query functions.
3337 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
3339 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
3340 can be NULL when unloading a library.
3342 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
3343 to the library .init function.
3345 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
3346 part of the COPY reloc processing earlier, omit the rest now --
3347 we'll get into less trouble later when some fool does use a COPY.
3349 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
3350 parameters. Move all argc and __libc_multiple_libcs calculation out
3351 to init-first.h. Use __environ not __libc_envp.
3352 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
3353 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
3355 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3357 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
3358 signal settings when profiling was already turned on.
3360 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
3363 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
3365 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
3366 0 < return value < -4096 and not < 0 to decide about failure.
3367 Reported by Andreas Jaeger.
3369 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
3371 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
3374 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
3376 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
3379 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
3381 * version.c: Add missing newline character in banner.
3383 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
3384 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3386 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
3388 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
3389 case, so don't prepend uppercase `ISO' for only numeric arg.
3391 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
3393 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
3394 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3396 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
3398 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
3399 call to __libc_lock_lock.
3401 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
3402 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3404 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
3406 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
3408 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
3410 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
3411 Reported by Erik Troan.
3413 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
3415 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
3416 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
3418 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3420 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
3422 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3424 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
3427 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
3429 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
3432 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3434 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
3435 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
3437 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
3438 $(common-objpfx) is good enough.
3439 * Rules (common-generated): Provide default (empty) value.
3440 (dummy.o, dummy.c, empty.o, empty.c): Put these in
3441 $(common-generated), not $(generated), and without $(..).
3442 (subdir_echo-distinfo): Treat $(common-generated) just like
3444 (generated): Depend on the (suitably mutated) $(common-generated)
3446 * Makerules (common-clean): Remove common-generated files too.
3447 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
3449 (common-generated): Do put errnos.d and stamp-errnos here.
3450 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
3452 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
3453 auth to following rule to get it built.
3455 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
3457 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
3458 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3459 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3461 * version.c: Add comment about where to report bugs to.
3462 * catgets/gencat.c (usage): Likewise.
3463 * db/makedb.c (usage): Likewise.
3464 * locale/programs/locale.c (usage): Likewise.
3465 * locale/programs/localedef.c (usage): Likewise.
3467 * manual/socket.texi: A little bit better wording.
3469 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
3471 * Makerules: Make sure directory exists before generating stamp file.
3472 (BUILD_CFLAGS): Always refer to using $(..).
3473 * manual/Makefile: Make sure directory exists before generating
3475 (make-target-directory): Add macro definition.
3476 * sysdeps/generic/Makefile: Make sure directory exists before
3477 generating stamp file.
3479 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
3481 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3483 When compiling in separate directory put objects into
3484 subdirectories matching the source layout.
3485 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
3486 When looking for configparms try in $(common-objpfx).
3487 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
3489 * Makerules: Add $(objpfx) to vpath list.
3490 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
3491 more than once. All uses in dependency lists changed.
3492 (+make-deps): Make target directory.
3493 (sed-remove-objpfx): Substitute $(common-objpfx).
3494 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
3495 $(objpfx) instead of $(objdir) for cd command.
3496 (O%-lib): Always find libc relative to $(..).
3497 (subdir-stamps): Collect stamp files from subdirs.
3498 (common-mostlyclean): Remove stub file in $(common-objpfx).
3499 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
3500 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
3502 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
3503 $(common-objpfx). All uses in dependency lists changed.
3504 (generated): Prepend $(..) to names.
3505 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
3507 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
3508 Use $(common-objpfx) instead of $(..) in dependencies.
3509 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
3510 $(common-objpfx) instead of $(..) and (objpfx).
3511 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
3512 (rpath-link): Likewise.
3513 (rpcuserlibs): Likewise.
3514 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
3515 errlist.c in $(objpfx), not $(common-objpfx).
3516 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
3518 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
3519 s-proto.d in $(common-objpfx), not $(objpfx).
3521 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
3523 * nss/nsswitch.c (nss_dlerror_run): Free returned error
3526 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
3528 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
3530 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
3531 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
3532 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
3533 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
3534 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
3535 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
3536 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3537 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
3539 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
3542 spelling error of _hurd_itimerval.
3544 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
3545 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
3546 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
3548 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
3550 * stdio/fseek.c (fseek): Don't assume we know the file position;
3551 other handles may have changed it. So set STREAM.__offset to -1
3552 before calling __stdio_check_offset to make sure we have a correct
3555 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
3557 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
3558 `decimal' char is 0.
3560 * C-numeric.c (not_available): New constant.
3561 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
3563 * nss/nsswitch.conf: Example configuration file.
3564 * nss/db-Makefile: Example Makefile for generation of databases
3566 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
3568 1996-08-28 Paul Eggert <eggert@twinsun.com>
3570 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
3571 noexpr to "^[nN]"; this conforms to POSIX.2.
3573 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
3576 1996-08-28 Paul Eggert <eggert@twinsun.com>
3578 * C-monetary.c (not_available): New constant.
3579 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
3580 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
3581 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
3582 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
3584 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
3586 * nss/nss_db/db-XXX.c: Correct function names. They must be
3587 `_nss_db_*' instead of `_nss_files_*'.
3588 (lookup): `parse_line' returns 1 if succesful.
3589 * nss/nss_files/files-service.c (servbyname): Key for database
3590 must also contain protocol names.
3591 (servbypt): Likewise.
3592 Test must also check for protocol. Add `proto' argument.
3594 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3596 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
3599 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
3601 * Makerules: Add some test for correct version of GNU Make.
3603 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
3604 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
3606 * sysdeps/generic/dl-sysdep.c: Initialize break address to
3607 avoid overwriting last page (OK, Roland).
3609 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
3611 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
3612 * resolv/arpa/nameser.h: Likewise.
3613 * resolv/res_init.c: Likewise.
3614 * resolv/res_debug.c: Likewise.
3615 * resolv/res_mkquery.c: Likewise.
3617 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
3619 * elf/dl-error.c (catch): Define errstring element not as const.
3620 (_dl_catch_error): ERRSTRING argument is not const pointer.
3621 Initialize *ERRSTRING and *OBJNAME separately.
3622 * elf/link.h: Change prototype for `_dl_catch_error'.
3624 * elf/dl-load.c (_dl_map_object): Use separate variable for
3625 copied NAME to avoid `const' warning.
3627 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
3629 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
3630 provides preloading even for SUID binaries.
3631 Add some more casts to avoid signed<->unsigned warnings.
3633 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3635 * posix/sys/types.h: Define loff_t.
3636 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
3638 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
3640 * io/fcntl.h: Add definition for BSD F* macros.
3642 * misc/init-misc.c (__init_misc): Make static.
3643 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
3645 * configure.in: Add test for -fno-exception option of gcc.
3646 * config.make.in: Add definition of have-no-exceptions.
3647 * Makerules: Define no-exceptions based on have-no-exceptions.
3648 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
3649 This is necessary for gcc >= ss-960816.
3651 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
3653 * sysdeps/alpha/dl-machine.h: Clear startup flag.
3655 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3657 * Makerules (o-iterator-doit): Simplify reference to autolock
3660 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3662 * sysdeps/mach/hurd/getcwd.c
3663 (_hurd_canonicalize_directory_name_internal): After resizing the
3664 buffer move the current contents to the end. Correctly relocate
3665 file name pointer to upper half of the buffer.
3667 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
3669 * rtld.c (dl_main): Remove code to call ld.so initializer. This
3670 was introduced for compatibility with Linux ld.so and would not
3671 be used anymore. Now we don't have any good values to use as the
3672 parameters to the initializer so simply remove it.
3674 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3676 * gmon/gmon.c (ERR): Don't write the terminating NUL.
3678 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
3680 (profil_count): Use 64 bit arithmethic to avoid overflow.
3682 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
3684 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3686 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
3687 being null; in that case don't touch the timer at all (but do
3688 return something in OLD if necessary).
3690 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3692 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
3694 * sysdeps/i386/init-first.c: Likewise.
3695 * sysdeps/stub/init-first.c: Likewise.
3697 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
3699 * elf/dl-open.c (_dl_open): Call library initializer with
3700 correct command line arguments and environment information.
3701 * elf/rtld.c (dl_main): Provide arguments to initializer of
3704 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
3706 * shadow/Makefile (routines): Add lckpwdf.
3707 * shadow/lckpwdf.c: New file.
3709 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
3710 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
3712 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
3714 * configure.in: Add definition for `__eh_pc' and `__throw' in
3715 test for --no-whole-archive. The compiler generates dependencies
3716 for this but none of the standard librares and startup files
3717 are used. Necessary for gcc >= ss-960816.
3719 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
3721 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
3722 return string since string might be on stack.
3723 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
3724 Wed Aug 21 10:14:59 1996.
3725 * elf/dlerror.c (dlerror): Free error string after printing.
3726 (_dlerror_run): If error string was not printed since last error
3728 * rtld.c (dl_main): Free error string in case of error.
3730 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
3732 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
3733 this changes the global state for `localtime' and `gmtime'. Use
3734 `__localtime_r'/`__gmtime_r' instead.
3735 * resolv/res_debug.c (__p_secstodate): Likewise.
3736 * sysdeps/generic/ftime.c: Likewise.
3737 * sysdeps/posix/gettimeofday.c: Likewise.
3738 Reported by Paul Eggert.
3740 * time/gmtime.c: De-ANSI-fy.
3741 * time/strftime.c: Don't call non-reentrant functions which change
3744 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
3746 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
3747 than putting it on the stack.
3749 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
3751 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
3752 don't find .plt entries.
3754 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3756 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
3759 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
3761 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
3763 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
3765 * login/pututline_r.c (__pututline_r): Fix handling of case where
3766 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
3768 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
3770 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
3771 for "Jensen" so _bus_base() returns 0 on that platform. Use
3772 _bus_base_sparse() to determine base address of sparse memory.
3774 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
3775 and declarations in __BEGIN_DECLS/__END_DECLS.
3777 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
3779 * err.h: New file. Wrapper around misc/err.h.
3781 Correct solution of multiple initialization problem by
3783 * csu/initfini.c: Remove global variable __libc_is_static.
3784 * elf/rtld.c: Introduce new global variable _dl_starting_up.
3785 It's nonzero during the startup.
3786 * elf/dl-open.c (_dl_open): When _dl_start function is not
3787 available (i.e., if in static libc) set `__libc_multiple_libcs'
3789 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
3790 New global variable.
3791 (init): Undo change of Fri Aug 2 03:12:40 1996.
3792 Initialize `__libc_multiple_libcs' to nonzero only if this is
3793 a shared lib called from a statically linked program and don't
3794 call `personality' and `setfpucw' in this case either.
3795 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
3796 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
3797 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
3798 before jumping to user code.
3799 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3801 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
3803 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
3804 Thu Aug 8 12:40:20 1996.
3805 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
3806 -fkeep-inline-functions flag instead.
3808 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3810 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
3811 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
3812 like ECONNREFUSED already does.
3813 (_nss_dns_gethostbyaddr_r): Likewise.
3814 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3815 (_nss_dns_getnetbyaddr_r): Likewise.
3817 * sysdeps/mach/hurd/socket.c (socket): For message transmission
3818 and RPC errors that indicate that the socket server is not really
3819 present and able to do its job, turn the error into EPFNOSUPPORT.
3821 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
3823 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
3824 name dynamically. Reported by Alan Cox.
3825 Uncomment warnings and mark as translatable.
3827 * time/strftime (strftime): Add implementation for %s and %z
3828 format. Change behaviour for unknown format character: now
3829 simply print it. This matches the behaviour of printf.
3830 Reported by Jim Meyering.
3831 * manual/time.texi: Document all formats and flags of strftime.
3833 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
3835 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
3838 * misc/sys/select.h: Define fd_set using typedef, not #define.
3839 Proposed by David Mosberger-Tang.
3841 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
3843 * po/header.pot: Use real description line.
3845 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
3847 * elf/rtld.c (dl_main): When started with --verify prevent
3848 any warning. Just exit with an error.
3849 * elf/ldd.sh.in: Don't run given object directly. This fails for
3850 libraries. Instead use $RTLD again.
3852 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
3854 * manual/nss.texi: New file. Document NSS.
3855 * manual/nsswitch.texi: New file. Example configuration.
3857 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
3858 * manual/example/strdupa.c: New file. Example for strdupa.
3860 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
3862 * stdlib/strtod.c (STRTOD): Correct assertion about size of
3863 wint_t and wchar_t. Reported by David Mosberger-Tang.
3865 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3867 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
3868 RELOC_ADDR and make NOPLT a set of flags. All callers
3869 changed. Delete condition that checks for resolving to the
3870 location being filled in. Add condition to skip the
3871 executable's symbols if requested.
3872 * elf/link.h: Change declaration of _dl_lookup_symbol
3874 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
3875 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
3877 * elf/dl-runtime.c (RESOLVE): Likewise.
3878 * elf/rtld.c (RESOLVE): Likewise.
3879 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
3880 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
3881 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
3882 reloc, zero otherwise.
3883 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3885 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3887 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
3889 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
3890 * po/header.pot: Add empty line at end.
3892 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3894 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
3895 are now in $P/stdio-common.pot.
3896 (XGETTEXTFLAGS-errlist.pot): Variable removed.
3898 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3900 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
3901 script at run time, not configure time.
3902 * config.make.in, configure.in: Undo previous change.
3904 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
3906 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
3907 on stack as argument for `_exit'. Reported by Andreas Schwab.
3909 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3911 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
3913 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
3915 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
3916 (_dl_map_object_from_fd): Free name on error.
3918 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
3920 * string/strdup.c: Use result of memcpy to avoid reloading.
3922 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3924 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
3925 the other way round.
3927 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
3929 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
3932 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
3934 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
3936 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
3939 Update from bind-4.9.5-T1A.
3940 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
3941 inet_net_pton, inet_net.
3943 * resolv/gethnamaddr.c: Include <sys/types.h>.
3944 * resolv/getnetnamadr.c: Likewise.
3945 * resolv/herror.c: Likewise.
3946 * resolv/inet_addr.c: Likewise.
3947 * resolv/nsap_addr.c: Likewise.
3948 * resolv/res_comp.c: Likewise.
3949 * resolv/res_data.c: Likewise.
3950 * resolv/res_init.c: Likewise.
3951 * resolv/res_mkquery.c: Likewise.
3952 * resolv/res_query.c: Likewise.
3953 * resolv/res_send.c: Likewise.
3955 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
3957 * resolv/inet_ntop.c: Likewise.
3959 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
3960 Remove prototype of gethostbyname_ipv4.
3962 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
3963 functions instead of BSD `b*' functions.
3965 * resolv/nsap_addr.c: Add copyright message.
3967 * resolv/res_comp.c: Remove comment explaining label format.
3968 (res_mailok): Correct check.
3970 * resolv/res_debug: Include missing headers.
3971 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
3972 (__p_fqnname): New function to print FQDN from compressed name.
3973 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
3974 correctly. Add handling of T_KEY and T_SIG.
3975 Handle class and type names by using name arrays instead of
3976 explicit `switch'es.
3977 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
3978 (__dn_count_labels, __p_secstodate): New functions.
3980 * resolv/resolv.h (__RES): Update version number.
3981 (res_sym): New type.
3982 Add #defines for new functions.
3983 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
3984 __p_secstodate, dn_count_labels.
3986 * resolv/arpa/nameser.h (__BIND): Update version number.
3987 Add KEYFLAG_* and ALGORITHM_* symbols.
3988 (HEADER): Add `ad' and `cd' flags.
3990 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
3993 * manual/maint.texi: Document that we use bind-4.9.5.
3996 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
3998 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
4000 * mach/Makefile (mach/mach_host.uh): Depend on
4001 $(objpfx)/mach-syscalls.mk.
4002 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
4003 (This fixes a make loop; thanks to Marcus Daniels
4004 <marcus@sysc.pdx.edu> for the patch.)
4006 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
4008 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
4009 buffer is any longer than the amount necessary to hold the
4010 filename; the Hurd getcwd uses the *entire* contents of the
4011 buffer, however long it is specified to be.
4013 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
4015 * nss/nsswitch.c (__nss_database_lookup): Always release locks
4016 before returning. Reported by Miles Bader.
4018 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
4020 * nss/nsswitch.c (__nss_configure_lookup): New function.
4021 Allows to specify services.
4022 * nss/XXX-lookup.h: Rename database variable and make global.
4023 * nss/databases.def: New file. Real names of all databases.
4025 * nss/nss.h: New file. Contains declaration useful for users
4026 and service developers.
4027 * nss/nsswitch.h: Move some declarations to nss/nss.h.
4028 * nss.h: New file. Wrapper around nss/nss.h.
4030 * nss/Makefile (headers): Add nss.h.
4031 (distributes): Add databases.def.
4033 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
4035 Help the poor people with fast machines by making sure only
4036 one `ar' commands works on the library.
4037 * autolock.sh: New file. Written by Tom Tromey.
4038 * Makerules (do-ar): Call autolock.sh shell script instead of
4039 directly using `ar'.
4040 * config.make.in: Make configuration variable AUTOLOCK which
4041 gets initialized by configure.
4042 * configure.in: Define variable AUTOLOCK to point to autolock.sh
4043 script and mark it to substitute.
4045 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
4047 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
4048 always only if in static libc or if statically linked program
4051 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
4052 always only if in static libc or if statically linked program
4055 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
4057 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
4058 startup by moving Icache flush from here ...
4059 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
4060 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
4062 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
4063 calling conventions. The code is already correct.
4065 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
4067 * string/Makefile: Compile tester with -fno-builtin as we want to
4068 test our implementations, not gcc's.
4070 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
4072 * shadow.h: New file.
4074 * sysdeps/unix/sysv/linux/netinet/in.h: Move
4075 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
4078 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
4079 g++ 2.7.2 (and earlier) has no transparent unions support.
4081 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
4083 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
4084 function to determine the base address of sparse bus memory.
4085 (APECS_*): Rename to CIA_*.
4086 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
4087 (platform): Add sparse_bus_memory_base member and initialize.
4088 (sparse_bus_memory_base): New variable.
4090 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
4092 * sysdeps/posix/ttyname_r.c (ttyname_r),
4093 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
4094 !__isatty(fd) (POSIX.1 says so.)
4096 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
4097 This is not a gross hack, after all---for compatibility,