1 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
4 and __errno_location to correct position.
6 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
8 * Makefile (distribute): Add rellns-sh.
10 * Makerules (make-link): Use rellns-sh.
11 * time/Makefile ($(installed-localtime-file)): Likewise.
13 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
15 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
16 (distribute): Add ldd.bash.in.
17 * elf/ldd.sh.in: Process --help and --version parameter.
19 * elf/ldd.bash.in: New file.
21 * stdlib/stdlib.h: Add prototype for clearenv.
22 * sysdeps/generic/setenv.c: Add implementation of clearenv.
23 (setenv): Handle __environ == NULL correctly.
24 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
27 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
28 * sysdeps/generic/setenv.c: Likewise.
29 * stdlib/strtol.h: Likewise.
31 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
32 Remove definition of struct timeval.
33 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
34 using `time_t' for members.
35 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
36 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
37 as old Linux specific version.
39 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
41 * signal/Makefile (routines): Add sigwait.
42 * signal/signal.h: Add prototype for sigwait.
43 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
44 function from POSIX.1c.
45 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
47 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
49 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
50 but don't bother going farther than sizeof(float)==sizeof(int).
51 (xdr_double): Handle little-endian machines! Handle sizeof(double)
52 != 2*sizeof(long), though again don't bother with more than int.
54 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
56 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
59 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
61 * Makerules: Create symbolic links for linking in $(libdir).
62 (make-link): Use absolute path for destination if this is not in
65 * elf/rtld.c (dl_main): When verifying don't check the name of
68 * shlib-versions: Change entries for Hurd specific libs from
69 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
72 * assert/assert.h: Reformat copyright.
73 Change reference to ANSI into reference to ISO C.
74 * ctype/ctype.h: Likewise.
77 * math/math.h: Likewise.
78 * setjmp/setjmp.h: Likewise.
79 * stdio/stdio.h: Likewise.
80 * libio/stdio.h: Likewise.
81 * stdlib/stdlib.h: Likewise.
82 * string/string.h: Likewise.
83 * time/time.h: Likewise.
85 * string/argz.h: Use __const in definitions.
87 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
88 * misc/err.h: Likewise.
90 * wctype/wctype.h (wctrans_t): Use __const instead of const.
92 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
93 sonames for versioned libraries.
94 * Makefile: Remove code to generate libc-version.h.
95 Generate gnu/lib-names.h with info from soversions.mk.
96 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
98 * dirent/tst-seekdir.c: Initialize save3.
99 * grp/testgrp.c: Initialize my_group.
101 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
102 * grp/grp.h: Likewise.
103 * nss/getXXbyYY.c: Likewise.
104 * nss/getXXbyYY_r.c: Likewise.
105 * nss/getXXent.c: Likewise.
106 * nss/getXXent_r.c: Likewise.
107 * pwd/fgetpwent_r.c: Likewise.
108 * pwd/pwd.h: Likewise.
109 * shadow/fgetspent_r.c: Likewise.
110 * shadow/sgetspent.c: Likewise.
111 * shadow/sgetspent_r.c: Likewise.
112 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
113 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
114 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
115 * resolv/netdb.h: Adapt prototypes for reentrant functions to
117 * sunrpc/rpc/netdb.h: Likewise,
118 * shadow/shadow.h: Likewise.
120 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
122 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
124 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
125 ELF aliasing creates strange situations.
126 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
128 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
129 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
131 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
134 * locale/programs/charmap.c: Add casts to prevent warnings.
135 * locale/programs/linereader.h: Likewise.
136 * locale/programs/ld-collate.c: Likewise.
137 * locale/programs/stringtrans.c: Likewise.
138 Change types for various variables to prevent warnings.
139 * locale/programs/ld-ctype.c: Likewise.
140 * locale/programs/linereader.h (lr_ungetc): Likewise.
141 * locale/programs/charset.h (struct charset): Use `unsigned int'
142 as type for width_default.
143 * posix/regex.c: Change type of `this_reg' variables.
144 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
145 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
147 * stdio-common/printf_fp.c: Initialize to_shift.
148 * stdio-common/test_rdwr.c: Add cast.
149 * stdio-common/vfprintf.c: Add casts and use correct types to
151 * stdio-common/vfscanf.c: Initialize str and strptr.
152 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
153 * sysdeps/libm-ieee754/e_pow.c: Likewise.
154 * sysdeps/libm-ieee754/e_powf.c: Likewise.
155 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
156 * time/test-tz.c: Likewise.
158 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
159 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
160 libc.cp index. This must be fixed.
161 * manual/nss.texi: Adapt for correct POSIX.1c interface of
163 * manual/users.texi: Document netgroup functions.
168 * posix/fnmatch.c: Change to match libit version.
170 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
171 * sysdep/posix/ttyname_r.c: Likewise.
173 * stdlib/atexit.h (__new_exitfn): Add internal locking.
174 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
175 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
176 * stdlib/random.c (__srandom): Add internal locking.
177 (__initstate): Likewise.
178 (__setstate): Likewise.
179 (__random): Likewise.
181 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
183 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
185 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
186 * sysdeps/generic/uname.c: Likewise.
187 * sysdeps/posix/rename.c: Likewise.
188 * sysdeps/stub/setrlimit.c: Likewise.
190 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
192 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
194 * locale/programs/ld-collate.c (collate_order_elem): Fix format
196 (collate_element_to): Cast field width argument to `int' for
198 (collate_symbol): Likewise.
199 (collate_order_elem): Likewise.
200 (collate_weight_bsymbol): Likewise.
201 (collate_simple_weight): Likewise.
203 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
205 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
206 argument for format string.
207 (ctype_map_newP): Likewise.
208 (set_class_defaults): Fix format string.
210 * locale/programs/localedef.c (construct_output_path): Putting an
211 explicit \0 into the format string does not work, use %c.
213 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
215 * Makerules: Install all shared libraries in $(slibdir).
217 * login/Makefile: Build libutil.so in others pass after
220 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
222 * string/stratcliff.c: Allocate 3 pages instead of one, then use
223 mprotect so that we know that the adjacent pages are inaccessible.
225 * resource/sys/resource.h: Move all structures and enums to ...
226 * sysdeps/generic/resourcebits.h: ... here ...
227 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
228 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
229 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
230 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
231 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
232 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
233 header for RLIMIT_* definitions. The members of struct rlimit
237 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
239 * MakeTAGS (sysdep-dirs): Fix typo.
241 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
243 * hurd/hurdsig.c (write_corefile): If we can't create the core
244 file, still call crash_dump_task with a null FILE arg. Maybe it
245 won't actually need the file.
247 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
249 * Makefile (headers): Don't mention libc-version.h.
250 (install-others): ...but here.
252 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
254 * version.h: Bump version number to 1.97.
256 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
257 Include libc-version.h.
258 * features.h.in: Removed.
259 * Makefile: Change rules to generate libc-version.h instead of
262 * malloc/free.c: Add cast to prevent warning.
263 * malloc/malloc-walk.c: Likewise.
264 * malloc/ralloc.c: Likewise.
265 * malloc/realloc.c: Likewise.
267 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
269 * pwd/fgetpwent_r.c: Likewise.
270 * nss/nss_files/files-grp.c: Don't accept entries with names starting
271 with + or - in lookup functions.
272 * nss/nss_files/files-pwd.c: Likewise.
274 * Makerules: Call autolock.sh using $(SHELL).
276 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
278 * elf/dl-minimal.c: Don't define `dgettext' replacement but
279 `dcgettext'. When optimizing the macros in <libintl.h> define
280 `dgettext' as a macro and so this function will never be called.
282 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
284 * sysdeps/i386/sysdep.h: Define END to use .size when available.
285 (PSEUDO_END): Use END.
286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
287 define SYSCALL_ERROR_HANDLER before using END.
288 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
289 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
290 and .size directive but PSEUDO_END.
291 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
292 * sysdeps/unix/sysv/linux/socket.S: Likewise.
293 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
294 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
295 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
296 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
297 * sysdeps/i386/bsd-_setjmp.S: Likewise.
298 * sysdeps/i386/bsd-setjmp.S: Likewise.
299 * sysdeps/i386/memchr.S: Likewise.
300 * sysdeps/i386/memcmp.S: Likewise.
301 * sysdeps/i386/setjmp.S: Likewise.
302 * sysdeps/i386/stpcpy.S: Likewise.
303 * sysdeps/i386/stpncpy.S: Likewise.
304 * sysdeps/i386/strchr.S: Likewise.
305 * sysdeps/i386/strcspn.S: Likewise.
306 * sysdeps/i386/strpbrk.S: Likewise.
307 * sysdeps/i386/strrchr.S: Likewise.
308 * sysdeps/i386/strspn.S: Likewise.
309 * sysdeps/i386/strtok.S: Likewise.
310 * sysdeps/i386/i486/strcat.S: Likewise.
311 * sysdeps/i386/i486/strlen.S: Likewise.
312 * sysdeps/i386/i586/memset.S: Likewise.
313 * sysdeps/i386/i586/strchr.S: Likewise.
314 * sysdeps/i386/i586/strlen.S: Likewise.
316 * sysdeps/i386/strlen.c: De-ANSI-fy.
318 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
319 Define dgettext if not defined to use dcgettext.
320 * sysdeps/mach/_strerror.c: Likewise.
322 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
323 __syscall_error defined.
325 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
327 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
328 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
329 now provided by PSEUDO_END.
330 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
331 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
332 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
333 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
334 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
336 * sysdeps/generic/sysdep.h (END): Provide default empty
338 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
340 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
341 (PSEUDO_END): Include it here instead.
342 (SYSCALL_ERROR_HANDLER): Remove type directive.
343 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
344 * sysdeps/m68k/bsd-setjmp.S: Likewise.
345 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
346 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
347 (__syscall_error): Can't use ENTRY macro.
349 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
351 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
354 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
356 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
357 to beginning of function. So libc functions can use this flag.
358 * sysdeps/generic/_strerror.c: Don't use dgettext for message
359 translation while `_dl_starting_up' is nonzero.
361 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
363 Pass parameter value to _dl_map_object.
364 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
365 If TRACE_MODE is nonzero don#t signal error when shared lib
366 is not found. Instead create fake entry for link map.
367 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
368 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
369 argument to _dl_map_object_deps.
370 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
371 _dl_map_object and _dl_map_object_deps.
372 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
373 and _dl_map_object_deps.
374 When mode == trace test for l_opencount == 0 before printing
375 link information since this means the lib is not found.
377 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
379 * rpm/template: Add INSTALL to %doc line to follow copyright
380 restrictions which demand the distribution of the copyright
381 messages in INSTALL even for binary distributions.
383 * features.h: Rename to...
384 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
385 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
386 and __GNU_LIBRARY_INTERFACE__.
387 * Makefile ($(objpfx)features.h): New rule to generate features.h
388 from template features.h.in.
390 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
392 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
394 * locale/programs/linereader.c (lr_open): Cast away const before free.
395 (lr_close): Likewise.
397 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
398 * misc/paths.h: Move to ...
399 * sysdeps/generic/paths.h: ... here.
401 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
402 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
404 * nss/nss_db/db-netgrp.h: Include <string.h>.
406 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
407 _sys_siglist, which result in the "Unknown signal" message.
408 * string/strsignal.c: Likewise.
409 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
410 don't auto-generate siglist.c.
411 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
412 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
413 autogenerate makes bootstrapping and cross-compiling much easier.
414 * sysdeps/unix/sysv/linux/siglist.h: New file.
416 * stdlib/longlong.h: Prototype __udiv_qrnnd.
418 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
419 sys/io.h. It is already added in .../linux/Makefile.
421 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
422 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
423 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
425 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
427 Add implementation of POSIX.1g function getaddrinfo.
428 * posix/Makefile (routines): Add getaddrinfo.
429 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
431 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
432 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
433 related constants and structures.
435 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
437 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
438 Make all old names weak alises so that they can be replaced
441 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
443 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
444 __flockfile and __funlockfile.
445 Reported by NIIBE Yutaka.
447 * crypt/md5.c: Change form of copyright message according to GNITS
449 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
450 and `md5_read_ctx' function.
451 * crypt/md5.h: Likewise.
453 * grp/testgrp.c: Don't use perror for error cases since getgr* and
454 getpw* functions do not return usable error codes.
456 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
458 * crypt/md5.c (md5_process_bytes): Used casting for pointer
461 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
463 * sunrpc/Makefile (others): Remove portmap here, too.
465 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
467 * intl/locale.alias: Language for entry `czech' is `cs'.
469 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
471 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
473 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
475 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
476 buggy and more competent people work on a usable version which is
477 distributed separately.
478 * sunrpc/portmap.c: Removed.
479 Suggested by Thorsten Kukuk.
481 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
483 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
486 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
488 * string/Makefile (tests): Add stratcliff.
489 * string/stratcliff.c: New file. Test for string function at
490 the edge of the usable memory.
492 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
494 * Makerules ($(libdir)/libc.so): Fix typo.
496 * elf/ldd.sh.in: Test whether given file really exist and give
497 better message if it is not available.
499 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
501 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
504 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
506 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
507 output to $@T and move to $@ later since the new rpcgen will not
508 overwrite existing files.
510 * po/Makefile (libc.pot): Fix typo.
512 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
514 Update rpcgen program to TI-rpc code.
515 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
516 (distribute): Add proto.h.
517 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
518 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
519 * sunrpc/rpc_cout.c: Likewise.
520 * sunrpc/rpc_hout.c: Likewise.
521 * sunrpc/rpc_main.c: Likewise.
522 * sunrpc/rpc_parse.c: Likewise.
523 * sunrpc/rpc_parse.h: Likewise.
524 * sunrpc/rpc_scan.c: Likewise.
525 * sunrpc/rpc_scan.h: Likewise.
526 * sunrpc/rpc_svcout.c: Likewise.
527 * sunrpc/rpc_util.c: Likewise.
528 * sunrpc/rpc_util.h: Likewise.
530 * sunrpc/rpc_tblout.c: New file.
531 * sunrpc/rpc_sample.c: Likewise.
533 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
535 * sysdeps/unix/opendir.c: Add semicolon for consistency.
537 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
539 * locale/programs/localedef.c (main): Test with -1 to find out
542 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
544 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
547 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
549 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
551 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
553 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
554 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
555 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
556 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
557 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
559 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
560 Correct generation of system call.
562 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
564 * Makerules (sysd-Makefile): Fix command so that it works in the
566 (BUILD_CFLAGS): Change back using $(..) instead of
567 $(common-objpfx), the latter fails in the toplevel directory when
568 $(objdir) is relative.
569 (common-objdir-compile): Run compiler in $(objdir).
570 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
572 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
574 * string/string.h [__USE_SVID]: Add prototype for swab.
575 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
576 Reported by Andreas Jaeger.
578 The available nlist implementation is not generally usable.
579 Especially on the currently supported ELF systems the nlist
580 function comes with the libelf.
581 * misc/Makefile (headers): Remove nlist.h.
582 (routines): Remove nlist.
584 * Makefile ($(objpfx)version-info.h): Include information about
585 system the libc is built on in version-info.h file.
587 * po/Makefile (distribute): Add header.pot.
589 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
591 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
592 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
593 * misc/error.c: Likewise.
595 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
597 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
599 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
601 * crypt/Makefiel (rpath-link): Extend search path to current directory.
603 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
605 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
608 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
610 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
612 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
614 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
616 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
619 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
621 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
624 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
626 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
628 (PSEUDO_END): Provide definition to use .size directive.
629 (PSEUDO): Don't interpret negative return values less than -128 as
631 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
633 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
635 * sysdeps/m68k/bsd-setjmp.S: Likewise.
636 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
637 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
638 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
639 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
640 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
641 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
642 explicit .size directive.
644 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
646 * shlib-versions: Add version number/name for ld.so.
647 * Makeconfig: Move definition of rtld-installed-name after
648 inclusion of soversions.mk.
649 Don't add . before version number from shlib-versions file when
650 when name does not start with digit. This is needed for ld.so.
652 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
654 * libio/iogets.c: Warn when gets is used.
655 * stdio/gets.c: Strengthen the warning.
657 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
659 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
660 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
661 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
662 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
663 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
665 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
666 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
667 appropriate values according to __USE_REENTRANT.
668 * libio/stdio.h: Add prototype for ftrylockfile.
669 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
670 getc, getchar, putc, and putchar using _IO_* names.
671 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
672 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
673 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
674 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
675 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
676 * libio/peekc.c: New file.
678 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
681 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
683 * crypt/Makefile (tests): Add md5test and md5c-test.
684 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
685 is called, the buffer limit is honoured and a loop in a inner
687 * crypt/md5.h (struct md5_ctx): Add new fields.
688 Add prototypes for new functions.
689 * crypt/md5.c (md5_init_ctx): Initialize new fields.
690 (md5_finish_ctx): New function. Like md5_read_ctx but before
691 perform correct finalization.
692 (md5_process_bytes): New function. Similar to md5_proces_block,
693 but does not require input size to be multiple of 64.
694 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
695 (md5_buffer): Likewise.
696 (md5_process_block): Count number of bytes.
697 * crypt/md5test.c: New file. Test program for MD5 functions.
698 * crypt/md5c-test.c: New file: Test program for MD5 crypt
703 * time/strptime.c: Recognize %s, %u, %g, and %G format.
705 * posix/getopt.c: Add some more casts and initializations to
708 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
710 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
711 an extra function to provide this functionality.
712 (cfgetospeed): Simply return masked value.
713 (cfsetospeed): Don't use speeds array and so we can simply test
714 the value of SPEED for illegal values.
715 * termios/cfsetspeed.c: Rewrite. We convert here between the
716 real values and the B* constants.
717 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
719 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
721 * locale/programs/xstrdup.c: Define prototypes.
722 * locale/programs/xmalloc.c: Likewise.
724 * stdio-common/xbug.c (main): Change definition to avoid warning.
726 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
728 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
730 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
732 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
733 "$(i18ndir)/charmaps".
735 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
737 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
738 to get definition of FPU description struct.
740 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
741 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
742 net/if_arp.h, and net/route.h.
743 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
744 * sysdeps/unix/sysv/linux/net/route.h: New file.
746 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
748 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
749 * sysdeps/stub/e_acosl.c: Likewise.
750 * sysdeps/stub/e_asinl.c: Likewise.
751 * sysdeps/stub/e_atan2l.c: Likewise.
752 * sysdeps/stub/e_expl.c: Likewise.
753 * sysdeps/stub/e_fmodl.c: Likewise.
754 * sysdeps/stub/e_log10l.c: Likewise.
755 * sysdeps/stub/e_logl.c: Likewise.
756 * sysdeps/stub/e_sqrtl.c: Likewise.
757 * sysdeps/stub/s_atanl.c: Likewise.
758 * sysdeps/stub/s_log1pl.c: Likewise.
760 * Makefile (distribute): Add nsswitch.h and netgroup.h.
762 * nss/Makefile (generated): db-netgrp.c is not generated.
764 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
766 * Make-dist (+out): Add $(dont_distribute).
768 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
770 * stdio-common/Makefile (routines): Add tmpnam_r.
772 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
774 * version.h: Bump version to 1.96.
776 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
778 * stdio-common/tst-printf.c: Some more cleanups.
780 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
782 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
783 * resolv/resolv.h: Likewise.
784 * resolv/gethnamaddr.c: Likewise.
785 * resolv/res_comp.c: Likewise.
786 * resolv/res_debug.c: Likewise.
787 * resolv/res_init.c: Likewise.
788 * resolv/res_send.c: Likewise.
789 * resolv/Banner: Update version number.
791 * nss/nss_dns/dns-host.c: Update according to change in
792 resolv/gethnamaddr.c.
794 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
796 * crypt/md5.c (md5_stream): When reading the block in several
797 pieces append to instead of replace previously read data.
799 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
801 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
802 last-byte-written bit for source word misalignment.
803 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
806 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
808 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
809 comes with glibc-nis.
810 * sunrpc/rpcsvc/yp.x: Removed.
812 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
813 for *CURSOR to be NULL and dump a core if yes.
815 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
817 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
818 including <errnos.h> to get error numbers.
820 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
822 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
823 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
824 Alpha people find a correct file.
825 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
826 an alias of __cabs since the structures have different names.
827 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
828 Reported by Matthew Jacob <mjacob@feral.com>.
830 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
832 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
833 so that it still works right if we happen to get called in a
834 subdir it still works.
836 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
837 as file name translation flags.
838 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
839 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
842 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
843 name (changed according to libc-name) to avoid getting the
844 Hurd-ish linker script for libc.a when we only want the archive
847 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
849 * time/strftime.c: Allow old K&R compilers compile this file.
851 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
853 * posix/execlp.c: Add first argument parameter to be compliant
854 with POSIX. Rearrange body to start vararg counter after
857 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
859 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
860 simply a wrapper around the <linux/elfcore.h> file since the
861 kernel header is not clean enough. We provide the definitions
862 in this file instead.
864 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
866 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
867 get?id calls by using __libc_enable_secure.
869 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
871 * inet/getnetgrent_r.c: Correct netgroup implementation. A
872 specification of a netgroup can also name another netgroup.
873 * nss/nss_files/files-netgrp.c: Likewise.
874 * inet/netgroup.h: Add fields to hold additional information.
876 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
878 * posix/getopt.c: Implement POSIX -W option handling. When the
879 option string contains "W;" -W foo is handled like --foo.
881 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
883 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
884 inclusing <errnos.h> so we really get error symbols defined.
885 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
886 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
888 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
889 size array for getgroups call. Instead get maximal number via
890 sysconf. But discard list to NGRPS elements before calling XDR
891 function since Sun's code cannot handle longer lists.
892 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
894 * sysdeps/stub/e_j0l.c: Define y0l as well.
895 * sysdeps/stub/e_j1l.c: Define y1l as well.
896 * sysdeps/stub/e_jnl.c: Define ynl as well.
898 * posix/unistd.h: Correct prototype for execlp.
900 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
902 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
904 * Makeconfig (sysdep-library-path): New variable.
905 (built-program-cmd): Use it here to properly build a colon
906 separated library path.
908 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
910 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
911 within comparison. Fix comments.
912 (md5_crypt): Fix comment.
914 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
916 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
917 when _ERRNO_H is defined.
918 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
919 Should there ever be a Linux port where the numeric values are
920 not 33 and 34 this file must change.
922 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
924 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
927 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
929 * string/tst-strlen.c (main): Provide prototype.
930 * malloc/mallocbug.c: Likewise.
931 * io/test-utime.c: Likewise.
933 * sysdeps/generic/crypt-entry.c: Correct typo.
935 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
937 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
938 test for libc.a. Checking _DYNAMIC is of no worth here.
939 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
941 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
942 EXTERN_PARSER is defined.
944 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
946 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
948 * crypt/md5-crypt.c: Fix typos in comments.
950 * gmon/gmon.c: Provide prototypes.
951 * db/makedb.c: Likewise.
952 * locale/programs/xmalloc.c: Likewise.
953 * stdio-common/bug11.c (main): Likewise.
954 * stdio-common/bug7.c (main): Likewise.
955 * stdio-common/bug8.c (main): Likewise.
956 * stdio-common/bug9.c (main): Likewise.
957 * stdio-common/scanf1.c (main): Likewise.
958 * stdio-common/scanf2.c (main): Likewise.
959 * stdio-common/scanf5.c (main): Likewise.
960 * stdio-common/scanf6.c (main): Likewise.
961 * stdio-common/scanf7.c (main): Likewise.
962 * stdio-common/scanf8.c (main): Likewise.
963 * stdio-common/temptest.c (main): Likewise.
964 * stdio-common/test-fwrite.c (main): Likewise.
965 * stdio-common/tst-printf.c: Likewise.
966 * stdio-common/tstdiomisc.c: Likewise.
967 * stdio-common/tstgetln.c (main): Likewise.
968 * stdlib/testmb.c (main): Likewise.
970 * stdio-common/scanf4.c (main): Correct prototype, remove unused
973 * stdio-common/scanf3.c (main): Correct prototype, change
974 declaration of s to reduce warnings.
975 * stdio-common/bug10.c (main): Likewise.
977 * stdio-common/tfformat.c: Provide prototype, remove unused
978 reference to dump_stats, add braces in sprint_doubles.
979 * stdio-common/tiformat.c: Likewise.
981 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
984 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
986 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
988 * shadow/putspent.c: Don't write colon after flag field.
990 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
992 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
993 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
994 * sysdeps/unix/sysv/linux/Dist: Mention new files.
996 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
998 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
999 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
1001 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
1002 by using __libc_enable_secure variable.
1004 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1006 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
1007 null, don't attempt mach_port_mod_refs.
1009 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1011 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
1012 sysdeps/unix/pipestream.c.
1014 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
1015 from sysdeps/mach/hurd/readdir.c.
1017 * stdio/freopen.c: Complete de-ansideclification.
1018 * stdio/fgets.c (fgets): Likewise.
1019 * stdio/getdelim.c (__getdelim): Likewise.
1020 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
1023 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
1024 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
1026 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
1027 STAT_LOC without error.
1029 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
1031 * posix/getopt.c: Add casts to prevent warnings.
1032 * posix/regex.c: Likewise.
1034 * math/Makefile (long-m-routines, long-m-yes): Define to correct
1035 values to make `long double' functions available.
1036 (distribute): Add $(long-m-yes:=.c).
1038 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
1039 Use long double instruction.
1041 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
1042 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
1043 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
1045 * sysdeps/libm-ieee754/e_coshl.c: New file.
1047 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
1048 for `long double' version as alias.
1049 * sysdeps/libm-ieee754/s_atan.c: Likewise.
1050 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
1051 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
1052 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
1053 * sysdeps/libm-ieee754/s_cos.c: Likewise.
1054 * sysdeps/libm-ieee754/s_erf.c: Likewise.
1055 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1056 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
1057 * sysdeps/libm-ieee754/s_finite.c: Likewise.
1058 * sysdeps/libm-ieee754/s_floor.c: Likewise.
1059 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
1060 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
1061 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
1062 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1063 * sysdeps/libm-ieee754/s_logb.c: Likewise.
1064 * sysdeps/libm-ieee754/s_modf.c: Likewise.
1065 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
1066 * sysdeps/libm-ieee754/s_rint.c: Likewise.
1067 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
1068 * sysdeps/libm-ieee754/s_significand.c: Likewise.
1069 * sysdeps/libm-ieee754/s_sin.c: Likewise.
1070 * sysdeps/libm-ieee754/s_tan.c: Likewise.
1071 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
1072 * sysdeps/libm-ieee754/w_acos.c: Likewise.
1073 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
1074 * sysdeps/libm-ieee754/w_sin.c: Likewise.
1075 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
1076 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
1077 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
1078 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
1079 * sysdeps/libm-ieee754/w_drem.c: Likewise.
1080 * sysdeps/libm-ieee754/w_exp.c: Likewise.
1081 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
1082 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1083 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
1084 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
1085 * sysdeps/libm-ieee754/w_j0.c: Likewise.
1086 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1087 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1088 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1089 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
1090 * sysdeps/libm-ieee754/w_log.c: Likewise.
1091 * sysdeps/libm-ieee754/w_log10.c: Likewise.
1092 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1093 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
1094 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
1095 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
1096 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
1098 Stub files for missing long double math functions.
1099 * sysdeps/stub/e_acoshl.c: New file.
1100 * sysdeps/stub/e_hypotl.c: New file.
1101 * sysdeps/stub/e_j0l.c: New file.
1102 * sysdeps/stub/e_j1l.c: New file.
1103 * sysdeps/stub/e_jnl.c: New file.
1104 * sysdeps/stub/e_lgammal_r.c: New file.
1105 * sysdeps/stub/e_powl.c: New file.
1106 * sysdeps/stub/e_rem_pio2l.c: New file.
1107 * sysdeps/stub/e_sinhl.c: New file.
1108 * sysdeps/stub/k_cosl.c: New file.
1109 * sysdeps/stub/k_rem_pio2l.c: New file.
1110 * sysdeps/stub/k_sinl.c: New file.
1111 * sysdeps/stub/k_tanl.c: New file.
1112 * sysdeps/stub/s_erfl.c: New file.
1113 * sysdeps/stub/s_expm1l.c: New file.
1115 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
1117 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1118 * sysdeps/i386/bsd-setjmp.S: Likewise.
1119 * sysdeps/i386/memchr.S: Likewise.
1120 * sysdeps/i386/memcmp.S: Likewise.
1121 * sysdeps/i386/setjmp.S: Likewise.
1122 * sysdeps/i386/stpcpy.S: Likewise.
1123 * sysdeps/i386/stpncpy.S: Likewise.
1124 * sysdeps/i386/strchr.S: Likewise.
1125 * sysdeps/i386/strcspn.S: Likewise.
1126 * sysdeps/i386/strpbrk.S: Likewise.
1127 * sysdeps/i386/strrchr.S: Likewise.
1128 * sysdeps/i386/strspn.S: Likewise.
1129 * sysdeps/i386/strtok.S: Likewise.
1130 * sysdeps/i386/i486/strcat.S: Likewise.
1131 * sysdeps/i386/i486/strlen.S: Likewise.
1132 * sysdeps/i386/i586/memset.S: Likewise.
1133 * sysdeps/i386/i586/strchr.S: Likewise.
1134 * sysdeps/i386/i586/strlen.S: Likewise.
1135 * sysdeps/libm-i387/e_acos.S: Likewise.
1136 * sysdeps/libm-i387/e_acosl.S: Likewise.
1137 * sysdeps/libm-i387/e_asin.S: Likewise.
1138 * sysdeps/libm-i387/e_asinl.S: Likewise.
1139 * sysdeps/libm-i387/e_atan2.S: Likewise.
1140 * sysdeps/libm-i387/e_atan2l.S: Likewise.
1141 * sysdeps/libm-i387/e_exp.S: Likewise.
1142 * sysdeps/libm-i387/e_expl.S: Likewise.
1143 * sysdeps/libm-i387/e_fmod.S: Likewise.
1144 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1145 * sysdeps/libm-i387/e_log.S: Likewise.
1146 * sysdeps/libm-i387/e_log10.S: Likewise.
1147 * sysdeps/libm-i387/e_log10l.S: Likewise.
1148 * sysdeps/libm-i387/e_logl.S: Likewise.
1149 * sysdeps/libm-i387/e_remainder.S: Likewise.
1150 * sysdeps/libm-i387/e_remainderf.S: Likewise.
1151 * sysdeps/libm-i387/e_remainderl.S: Likewise.
1152 * sysdeps/libm-i387/e_scalb.S: Likewise.
1153 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1154 * sysdeps/libm-i387/e_sqrt.S: Likewise.
1155 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
1156 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
1157 * sysdeps/libm-i387/s_atan.S: Likewise.
1158 * sysdeps/libm-i387/s_atanf.S: Likewise.
1159 * sysdeps/libm-i387/s_atanl.S: Likewise.
1160 * sysdeps/libm-i387/s_ceil.S: Likewise.
1161 * sysdeps/libm-i387/s_ceilf.S: Likewise.
1162 * sysdeps/libm-i387/s_ceill.S: Likewise.
1163 * sysdeps/libm-i387/s_copysign.S: Likewise.
1164 * sysdeps/libm-i387/s_copysignf.S: Likewise.
1165 * sysdeps/libm-i387/s_copysignl.S: Likewise.
1166 * sysdeps/libm-i387/s_cos.S: Likewise.
1167 * sysdeps/libm-i387/s_cosf.S: Likewise.
1168 * sysdeps/libm-i387/s_cosl.S: Likewise.
1169 * sysdeps/libm-i387/s_finite.S: Likewise.
1170 * sysdeps/libm-i387/s_finitef.S: Likewise.
1171 * sysdeps/libm-i387/s_finitel.S: Likewise.
1172 * sysdeps/libm-i387/s_floor.S: Likewise.
1173 * sysdeps/libm-i387/s_floorf.S: Likewise.
1174 * sysdeps/libm-i387/s_floorl.S: Likewise.
1175 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1176 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1177 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
1178 * sysdeps/libm-i387/s_log1p.S: Likewise.
1179 * sysdeps/libm-i387/s_log1pf.S: Likewise.
1180 * sysdeps/libm-i387/s_log1pl.S: Likewise.
1181 * sysdeps/libm-i387/s_logb.S: Likewise.
1182 * sysdeps/libm-i387/s_logbf.S: Likewise.
1183 * sysdeps/libm-i387/s_logbl.S: Likewise.
1184 * sysdeps/libm-i387/s_rint.S: Likewise.
1185 * sysdeps/libm-i387/s_rintf.S: Likewise.
1186 * sysdeps/libm-i387/s_rintl.S: Likewise.
1187 * sysdeps/libm-i387/s_scalbn.S: Likewise.
1188 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
1189 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
1190 * sysdeps/libm-i387/s_significand.S: Likewise.
1191 * sysdeps/libm-i387/s_significandf.S: Likewise.
1192 * sysdeps/libm-i387/s_significandl.S: Likewise.
1193 * sysdeps/libm-i387/s_sin.S: Likewise.
1194 * sysdeps/libm-i387/s_sinf.S: Likewise.
1195 * sysdeps/libm-i387/s_sinl.S: Likewise.
1196 * sysdeps/libm-i387/s_tan.S: Likewise.
1197 * sysdeps/libm-i387/s_tanf.S: Likewise.
1198 * sysdeps/libm-i387/s_tanl.S: Likewise.
1200 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
1201 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
1202 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
1203 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
1205 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
1206 to provide .size directive on ELF systems.
1208 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
1209 <sigcontext.h> and rename parameter type to sigcontext.
1210 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
1212 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
1213 negative values might occur as positive results. Test against
1214 -125 to decide for error or not.
1215 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
1217 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1219 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
1220 whether this is a statically linked program. The latter is now
1223 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1225 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
1226 controlling terminals are allowed to send.
1228 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
1229 table is larger than the allowable address size, then return
1232 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
1236 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
1238 * po/fr.po: New file.
1240 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
1242 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
1244 Add support for MD5 crypt replacement.
1245 * Makefile (subdirs): Add crypt.
1246 * shlib-versions: Add entry for libcrypt.
1247 * crypt/md5-crypt.c: New file.
1248 * crypt/md5.c: New file.
1249 * crypt/md5.h: New file.
1250 * sysdeps/generic/crypt-entry.c: New file.
1251 * sysdeps/generic/crypt.h: New file.
1253 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1255 * dirent/tst-seekdir.c: Provide correct prototypes.
1256 * io/test-utime.c: Likewise.
1257 * malloc/mallocbug.c: Likewise.
1258 * posix/testfnm.c: Likewise.
1259 * stdio-common/xbug.c: Likewise.
1260 * sysdeps/posix/cuserid.c: Likewise.
1262 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
1264 Provide optimized string functions for Alpha processors.
1265 * sysdeps/alpha/bzero.S: New file.
1266 * sysdeps/alpha/memset.S: New file.
1267 * sysdeps/alpha/stpcpy.S: New file.
1268 * sysdeps/alpha/stpncpy.S: New file.
1269 * sysdeps/alpha/strcat.S: New file.
1270 * sysdeps/alpha/strchr.S: New file.
1271 * sysdeps/alpha/strcpy.S: New file.
1272 * sysdeps/alpha/strncat.S: New file.
1273 * sysdeps/alpha/strncpy.S: New file.
1274 * sysdeps/alpha/strrchr.S: New file.
1275 * sysdeps/alpha/stxcpy.S: New file.
1276 * sysdeps/alpha/stxncpy.S: New file.
1278 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
1279 stxncpy to sysdep_routines.
1282 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1284 * sysdeps/generic/gnu/types.h: Added __loff_t.
1285 Don't declare key_t here.
1287 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
1288 set errno (to ENOMEM).
1290 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
1292 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
1293 nothing is found. This guarantees all subsequent calls behave
1295 * sysdeps/generic/strtok_r.c: Likewise.
1297 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1299 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
1302 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
1304 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
1305 NULL immediately; we're going to get called one more time.
1306 * sysdeps/generic/strtok_r.c: Likewise.
1308 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
1310 * locale/programs/ld-time.c: Always write some bytes at the end of
1311 the file even if no `era's are specified.
1313 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
1316 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
1318 * libio/iofclose.c: Move unlocking to right position.
1320 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
1322 * misc/Makefile: Kill force-wrapper.
1323 * misc/force-wrapper.c: Delete.
1325 * elf/eval.c: Add <string.h>.
1327 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
1328 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
1329 and binary compatibility not at all. Better to do `char *foo'
1330 followed by `foo = ptr' as it is much cleaner.
1331 (struct gmon_hdr): Fix version.
1332 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
1333 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
1334 * gmon/gmon.c: De-ansidecl-ify.
1335 (write_hist): De-bcopy-fy.
1336 (write_call_graph): Likewise.
1338 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
1339 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
1340 * sysdeps/generic/machine-gmon.h: Likewise.
1342 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
1343 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
1344 * nss/nss_dns/dns-network.c: Likewise.
1345 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
1346 * resolv/getnetnamadr.c: Likewise.
1347 * resolv/res_debug.c: Likewise.
1348 * resolv/res_mkquery.c: Likewise.
1349 * resolv/res_query.c: Likewise.
1351 * libio/clearerr_u.c: It's not necessary to define __ protected
1352 function so don't do it.
1353 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
1354 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
1356 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
1357 the cleanup registrar.
1358 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
1359 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
1360 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
1361 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
1362 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
1363 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
1364 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
1367 * locale/programs/ld-ctype.c: Include <alloca.h>.
1369 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
1371 * posix/sys/types.h: Change #defines to typedefs. This is looking
1372 forward to more comprehensive namespace cleanups for C++.
1373 * posix/unistd.h: Likewise for ssize_t.
1375 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
1378 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
1379 `statement with no effect' warnings.
1380 * resolv/inet_neta.c: Include <string.h> for strlen.
1382 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
1383 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
1384 * stdio-common/vfprintf.c: Same for va_list.
1385 * stdio-common/vfscanf.c: Same.
1386 * stdio-common/reg-printf.c: Prototype the __ function.
1387 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
1388 _IO_vscanf declaration.
1390 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
1391 but to unsigned long for the health of 64-bit systems.
1393 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
1394 Many system's <sys/param.h> pulls this in.
1396 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
1399 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
1400 instead of defining it locally.
1402 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
1403 * sysdeps/stub/chflags.c: Prototype chflags.
1404 * sysdeps/stub/fchflags.c: Prototype fchflags.
1405 * sysdeps/stub/sstk.c: Prototype sstk.
1407 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
1408 variable to __errno. Update __syscall_error to store to both
1409 the global and per-thread variables.
1411 * sysdeps/unix/sysv/linux/init-first.c: Change include of
1412 init-first.h from "" to <> as "" does not search the include path.
1413 Prototype _dl_start.
1415 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1417 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
1418 pattern rule to get the right stem.
1420 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1422 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
1424 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1426 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
1428 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1430 * malloc/free.c (_free_internal): Don't call free recursively, use
1431 the internal functions instead.
1433 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1435 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
1436 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
1438 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1440 * catgets/gencat.c (main): Print version information on stdout,
1442 * db/makedb.c: Likewise.
1443 * locale/programs/locale.c: Likewise.
1444 * locale/programs/localedef.c: Likewise.
1446 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
1448 Add implementation of netgroup.
1449 * inet/Makefile (distributes): Add netgroup.h.
1450 (routines): Add getnetgrent.c and getnetgrent_r.c.
1451 * inet/getnetgrent.c: New file.
1452 * inet/getnetgrent_r.c: New file.
1453 * inet/netgroup.h: New file.
1454 * netgroup.h: New file.
1455 * nsswitch.h: New file.
1456 * nss/Makefile (databases): Add getgrp.
1457 * nss/databases.def: Add netgroup.
1458 * nss/db-Makefile: Add rules for netgroup.
1459 * nss/netgrp-lookup.c: New file.
1460 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
1461 always return without a check of the transition table.
1462 * nss/nsswitch.h (struct service_user): Extend actions array to
1464 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
1466 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
1467 to NSS_ACTION_RETURN.
1468 * nss/nss_db/db-netgrp.c: New file.
1469 * nss/nss_files/files-netgrp.c: New file.
1470 * nss/nsswitch.conf: Add entry for netgroup.
1471 * resolv/netdb.h: Add prototypes for netgroup functions.
1473 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
1476 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
1478 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
1479 _llseek to _llseek (not llseek).
1480 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
1482 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
1484 * inet/rcmd.c: Remove definition of MIN.
1486 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
1488 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
1489 * sysdeps/unix/readdir_r.c: New file.
1490 * sysdeps/unix/readdir.c: Remove check for correct parameter
1491 values. Let them simply die.
1492 * manual/filesys.texi: Document readdir_r.
1494 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
1495 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
1497 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
1499 * dirent/Makefile (routines): Add readdir_r.
1500 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
1501 * dirent/dirent.h: Add prototype for readdir_r.
1503 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
1504 to prevent warnings.
1506 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1507 Initialize `result'.
1509 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
1511 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
1513 * string/string.h: Add prototype for __strsep.
1514 * misc/mntent_r.c: Use __strsep instead of strsep to keep
1517 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
1518 __nanosleep and nanosleep weak aliases.
1519 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
1521 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
1522 nanosleep to keep namespace clean.
1524 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
1525 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
1526 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1528 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
1531 * login/Makefile (headers): Add pty.h.
1532 * login/pty.h: New file.
1533 * sysdeps/generic/pty.h: Include <pty.h>.
1534 * login/pututline_r.c: Add cast to prevent warning.
1536 * gmon/gmon.c: Add prototype for __profile_frequency.
1537 (monstartup): Add cast to prevent warning.
1538 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
1540 * locale/programs/ld-time.c (time_output): Write `era' information
1543 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
1545 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
1547 Set caller for mlock, mlockall, mremap, munlock, and munlockall
1549 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
1551 1996-09-27 Paul Eggert <eggert@twinsun.com>
1553 * strftime.c (strftime): Output incomplete formats like %E
1556 1996-09-27 Paul Eggert <eggert@twinsun.com>
1558 * strftime.c (strftime): Add support for %EC and %Ey.
1559 Fix support for %EY. This uses the new _nl_get_era_entry function.
1561 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
1563 Security related patch by Elliot Lee <sopwith@redhat.com> and
1564 David Holland <dholland@eecs.harvard.edu>.
1566 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
1567 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
1569 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
1570 NULL when programs runs with SUID or SGID enabled.
1571 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
1572 * stdlib/stdlib.h: Add prototype for __secure_getenv.
1574 * locale/setlocale.c: Use __secure_getenv.
1575 * resolv/res_init.c: Likewise.
1576 * resolv/res_query.c: Likewise.
1577 * inet/ruserpass.c: Likewise.
1578 * sysdeps/posix/tempname.c: Likewise.
1579 * malloc/mtrace.c: Likewise.
1580 * catgets/catgets.c: Likewise.
1582 Make temporary file handling functions reentrant.
1584 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
1585 result to. The called __stdio_gen_tempname function must be
1587 * stdio-common/tmpnam_r.c: New file.
1588 * stdio/stdio.h: Add prototype for `tmpnam_r'.
1589 Change prototype for __stdio_gen_tempname.
1590 * stdio/libio.h: Likewise.
1591 * sysdeps/posix/tempname.c: Add new parameters and use them instead
1593 Don't reset `indeces' when PID changed between calls.
1594 Don't fail for long running programs when index counter once
1596 * sysdeps/stub/tempname.c: Likewise.
1597 * stdio-common/tempnam.c: Provide local buffer as extra argument
1598 to __stdio_gen_tempname. This makes this function reentrant.
1599 * stdio-common/tmpfile.c: Likewise.
1600 * stdio-common/temptest.c: Provide extra argument to
1601 __stdio_gen_tempname.
1602 * manual/filesys.texi: Describe tmpnam_r and add comments about
1603 reentrancy of the functions.
1605 * inet/rcmd.c: Fixed address length handling.
1607 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
1609 * time/strftime.c: Remove unused variables alt_digits and
1612 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
1613 for get_nprocs and get_nprocs_conf.
1614 * sysdeps/generic/sys/sysinfo.h: Likewise.
1616 * stdlib/test-canon.c: Finally do the right fix.
1618 * misc/Makefile: Only compile force-wrapper when compiling
1621 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
1623 Add support for cancelable system calls.
1625 * csu/initfini.c: Make in crti.o reference to symbol
1626 __libc_force_cancel_wrapper when compiling reentrant version.
1627 * misc/Makefile (routines): Add force-wrapper.
1628 * misc/force-wrapper.c: New file.
1630 * posix/system.c: Rename function to __libc_system and make system
1632 * sysdeps/stub/system.c: Likewise.
1633 * posix/wait.c: Rename function to __libc_wait and make __wait a
1634 weak alias. De-ANSI-fy.
1635 * sysdeps/standalone/read.c: Rename function to __libc_read and
1636 make __read a weak alias.
1637 * sysdeps/stub/read.c: Likewise.
1638 * sysdeps/standalone/write.c: Rename function to __libc_write and
1639 make __write a weak alias.
1640 * sysdeps/stub/write.c: Likewise.
1641 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
1642 make tcdrain a weak alias.
1643 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1644 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
1645 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1646 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
1647 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
1648 and make __wait a weak alias.
1649 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
1650 make __waitpid a weak alias.
1651 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
1652 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
1653 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
1654 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
1655 and make pause a weak alias. De-ANSI-fy.
1657 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
1658 lseek, open, read, and write to have __libc_ prefix and make old
1660 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
1661 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
1663 * io/creat.c: De-ANSI-fy.
1665 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
1667 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
1669 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
1670 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
1672 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
1674 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
1676 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
1678 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
1680 * locale/programs/locfile.c (write_locale_data): Allocate room
1681 even for file name for LC_MESSAGES locale.
1682 (locafile_read): `tok_era' must be handled as a string list.
1683 * locale/programs/ld-time.c: Finish correction of handling `era'.
1684 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
1685 * locale/categories.def: Add postload function for LC_TIME.
1686 * locale/setlocale.c: Make lock global and rename to
1687 __libc_setlocale_lock.
1688 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
1689 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
1690 * locale/lc-time.c (_nl_postload_time): New function. Initialize
1692 (_nl_get_era_entry): New function. Return era entry which corresponds
1694 (_nl_get_alt_digit): New function. Return string with alternate
1695 digit representation for given number.
1697 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
1698 string representing alternate digit notation.
1700 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
1702 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
1703 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
1705 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
1706 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
1708 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
1710 * catgets/gencat.c (main): Change --version again because RMS wants
1711 the package name in parentheses.
1712 * db/makedb.c: Likewise.
1713 * locale/programs/locale.c: Likewise.
1714 * locale/programs/localedef.c: Likewise.
1716 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1718 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
1720 ($(objpfx)version-info.h): Depend on Banner files, command
1723 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
1725 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
1727 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
1729 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
1730 on the same device as the password file.
1731 * shadow/shadow.h (struct spwd): Change type of numeric fields
1732 to `long int' since there value are days, not seconds.
1733 * shadow/putspent.c: Change casts from time_t to `long int'.
1734 * shadow/sgetspent_r.c (LINE_READER): Likewise.
1736 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
1738 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
1739 sure the thread specific variable is set as well as the global
1741 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
1743 * sysdeps/stub/errnos.h: Likewise.
1744 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
1746 * shadow/putspent.c: Don't include <errno.h>.
1748 * dirent/scandir.c (scandir): Use __set_errno to set errno
1750 * elf/dl-load.c (open_path): Likewise.
1751 * inet/rcmd.c (rcmd): Likewise.
1752 (rresvport): Likewise.
1753 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
1754 (DCGETTEXT): Use __set_errno to set errno variable.
1755 * io/fts.c (fts_open): Likewise.
1756 (fts_close): Likewise.
1757 (fts_read): Likewise.
1758 (fts_set): Likewise.
1759 (fts_children): Likewise.
1760 (fts_build): Likewise.
1761 (fts_stat): Likewise.
1762 * io/ftw.c (ftw_dir): Likewise.
1764 * io/getwd.c (getwd): Likewise.
1765 * io/lockf.c (lockf): Likewise.
1766 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
1767 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
1768 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1769 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
1771 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1772 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
1773 * libio/ioftell.c (_IO_ftell): Likewise.
1774 * locale/loadlocale.c (_nl_load_locale): Likewise.
1775 * locale/nl_langinfo.c (nl_langinfo): Likewise.
1776 * locale/setlocale.c (ERROR_RETURN): Likewise.
1777 * login/getutid_r (__getutid_r): Likewise.
1778 * login/getutline_r (__getutline_r): Likewise.
1779 * login/login.c (tty_name): Likewise.
1780 * login/oututline_r.c (__pututline_r): Likewise.
1781 * malloc/malloc.c (morecore): Likewise.
1782 * misc/efgcvt_r.c (fcvt_r): Likewise.
1783 * misc/hsearch_r.c (hcreate_r): Likewise.
1784 (hdestroy_r): Likewise.
1785 (hsearch_r): Likewise.
1786 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
1787 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
1788 (_nss_dns_gethostbyaddr_r): Likewise.
1789 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1790 * nss/nss_files/files-parse.c (parse_list): Likewise.
1791 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
1792 * posix/execvp.c (execvp): Likewise.
1793 * posix/glob.c: Define __set_errno.
1794 (glob): Use __set_errno to set errno variable.
1795 (glob_in_dir): Likewise.
1796 * pwd/getpw.c: Likewise. De-ANSI-fy.
1797 * pwd/putpwent.c: Likewise.
1798 * resolv/inet_net_ntop.c: Likewise.
1799 * resolv/inet_net_pton.c: Likewise.
1800 * resolv/inet_neta.c: Likewise.
1801 * resolv/inet_ntop.c: Likewise.
1802 * resolv/inet_pton.c: Likewise.
1803 * resolv/res_query.c (res_search): Likewise.
1804 * resolv/res_send.c (Aerror): Likewise.
1806 (res_send): Likewise.
1807 * signal/sigaddset.c: Likewise. De-ANSI-fy.
1808 * signal/sigdelset.c: Likewise.
1809 * signal/sigempty.c: Likewise.
1810 * signal/sigfillset.c: Likewise.
1811 * signal/sigismem.c: Likewise.
1812 * stdio/fclose.c: Likewise.
1813 * stdio/feof.c: Likewise.
1814 * stdio/ferror.c: Likewise.
1815 * stdio/fflush.c: Likewise.
1816 * stdio/fgetc.c: Likewise.
1817 * stdio/fgetpos.c: Likewise.
1818 * stdio/fgets.c: Likewise.
1819 * stdio/fileno.c: Likewise.
1820 * stdio/fmemopen.c: Likewise.
1821 * stdio/fopen.c: Likewise.
1822 * stdio/fputc.c: Likewise.
1823 * stdio/fread.c: Likewise.
1824 * stdio/freopen.c: Likewise.
1825 * stdio/fseek.c: Likewise.
1826 * stdio/fsetpos.c: Likewise.
1827 * stdio/ftell.c: Likewise.
1828 * stdio/fwrite.c: Likewise.
1829 * stdio/getdelim.c: Likewise.
1830 * stdio/gets.c: Likewise.
1831 * stdio/glue.c: Likewise.
1832 * stdio/internals.c: Likewise.
1833 * stdio/memstream.c: Likewise.
1834 * stdio/setvbuf.c: Likewise.
1835 * stdio/ungetc.c: Likewise.
1836 * stdio/vsscanf.c: Likewise.
1837 * stdio-common/reg-printf.c: Likewise.
1838 * stdio-common/vfprintf.c: Likewise.
1839 * stdio-common/vfscanf.c: Likewise.
1840 * stdlib/canonicalize.c: Likewise.
1841 * stdlib/msort.c: Likewise.
1842 * stdlib/random_r.c: Likewise.
1843 * stdlib/strfmon.c: Likewise.
1844 * stdlib/strtod.c: Likewise.
1845 * stdlib/strtol.c: Likewise.
1846 * sunrpc/bindrsvprt.c: Likewise.
1847 * time/asctime.c: Likewise.
1848 * time/localtime.c: Likewise.
1849 * wcsmbs/mbrtowc.c: Likewise.
1850 * wcsmbs/mbsnrtowcs.c: Likewise.
1851 * wcsmbs/mbsrtowcs.c: Likewise.
1852 * wcsmbs/wcrtomb.c: Likewise.
1853 * wcsmbs/wcsnrtombs.c: Likewise.
1854 * wcsmbs/wcsrtombs.c: Likewise.
1855 * wcsmbs/wcstok.c: Likewise.
1856 * sysdeps/generic/ftime.c: Likewise.
1857 * sysdeps/generic/pty.c: Likewise.
1858 * sysdeps/generic/setenv.c: Likewise.
1859 * sysdeps/generic/speed.c: Likewise.
1860 * sysdeps/generic/sysd-stdio.c: Likewise.
1861 * sysdeps/generic/uname.c: Likewise.
1862 * sysdeps/generic/vlimit.c: Likewise.
1863 * sysdeps/libm-ieee754/k_standard.c: Likewise.
1864 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
1865 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
1866 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
1867 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
1868 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
1869 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
1870 * sysdeps/posix/dup2.c: Likewise.
1871 * sysdeps/posix/euidaccess.c: Likewise.
1872 * sysdeps/posix/fdopen.c: Likewise.
1873 * sysdeps/posix/flock.c: Likewise.
1874 * sysdeps/posix/fpathconf.c: Likewise.
1875 * sysdeps/posix/getcwd.c: Likewise.
1876 * sysdeps/posix/gettimeofday.c: Likewise.
1877 * sysdeps/posix/isatty.c: Likewise.
1878 * sysdeps/posix/isfdtype.c: Likewise.
1879 * sysdeps/posix/killpg.c: Likewise.
1880 * sysdeps/posix/mkstemp.c: Likewise.
1881 * sysdeps/posix/mktemp.c: Likewise.
1882 * sysdeps/posix/pathconf.c: Likewise.
1883 * sysdeps/posix/pipestream.c: Likewise.
1884 * sysdeps/posix/remove.c: Likewise.
1885 * sysdeps/posix/rename.c: Likewise.
1886 * sysdeps/posix/sigintr.c: Likewise.
1887 * sysdeps/posix/signal.c: Likewise.
1888 * sysdeps/posix/sigsuspend.c: Likewise.
1889 * sysdeps/posix/sigvec.c: Likewise.
1890 * sysdeps/posix/sleep.c: Likewise.
1891 * sysdeps/posix/sysconf.c: Likewise.
1892 * sysdeps/posix/system.c: Likewise.
1893 * sysdeps/posix/tempname.c: Likewise.
1894 * sysdeps/posix/truncate.c: Likewise.
1895 * sysdeps/posix/ttyname.c: Likewise.
1896 * sysdeps/posix/ttyname_r.c: Likewise.
1897 * sysdeps/posix/wait3.c: Likewise.
1898 * sysdeps/standalone/close.c: Likewise.
1899 * sysdeps/standalone/open.c: Likewise.
1900 * sysdeps/standalone/read.c: Likewise.
1901 * sysdeps/standalone/write.c: Likewise.
1902 * sysdeps/stub/__longjmp.c: Likewise.
1903 * sysdeps/stub/accept.c: Likewise.
1904 * sysdeps/stub/access.c: Likewise.
1905 * sysdeps/stub/acct.c: Likewise.
1906 * sysdeps/stub/adjtime.c: Likewise.
1907 * sysdeps/stub/alarm.c: Likewise.
1908 * sysdeps/stub/bind.c: Likewise.
1909 * sysdeps/stub/brk.c: Likewise.
1910 * sysdeps/stub/chdir.c: Likewise.
1911 * sysdeps/stub/chflags.c: Likewise.
1912 * sysdeps/stub/chmod.c: Likewise.
1913 * sysdeps/stub/chown.c: Likewise.
1914 * sysdeps/stub/chroot.c: Likewise.
1915 * sysdeps/stub/clock.c: Likewise.
1916 * sysdeps/stub/close.c: Likewise.
1917 * sysdeps/stub/closedir.c: Likewise.
1918 * sysdeps/stub/connect.c: Likewise.
1919 * sysdeps/stub/ctermid.c: Likewise.
1920 * sysdeps/stub/cuserid.c: Likewise.
1921 * sysdeps/stub/dirfd.c: Likewise.
1922 * sysdeps/stub/dup.c: Likewise.
1923 * sysdeps/stub/dup2.c: Likewise.
1924 * sysdeps/stub/euidaccess.c: Likewise.
1925 * sysdeps/stub/execve.c: Likewise.
1926 * sysdeps/stub/fchdir.c: Likewise.
1927 * sysdeps/stub/fchflags.c: Likewise.
1928 * sysdeps/stub/fchmod.c: Likewise.
1929 * sysdeps/stub/fchown.c: Likewise.
1930 * sysdeps/stub/fcntl.c: Likewise.
1931 * sysdeps/stub/fdopen.c: Likewise.
1932 * sysdeps/stub/fexecve.c: Likewise.
1933 * sysdeps/stub/flock.c: Likewise.
1934 * sysdeps/stub/fork.c: Likewise.
1935 * sysdeps/stub/fpathconf.c: Likewise.
1936 * sysdeps/stub/fstatfs.c: Likewise.
1937 * sysdeps/stub/fsync.c: Likewise.
1938 * sysdeps/stub/ftruncate.c: Likewise.
1939 * sysdeps/stub/fxstat.c: Likewise.
1940 * sysdeps/stub/getcwd.c: Likewise.
1941 * sysdeps/stub/getdents.c: Likewise.
1942 * sysdeps/stub/getdomain.c: Likewise.
1943 * sysdeps/stub/getdtsz.c: Likewise.
1944 * sysdeps/stub/getegid.c: Likewise.
1945 * sysdeps/stub/getenv.c: Likewise.
1946 * sysdeps/stub/geteuid.c: Likewise.
1947 * sysdeps/stub/getgid.c: Likewise.
1948 * sysdeps/stub/getgroups.c: Likewise.
1949 * sysdeps/stub/gethostid.c: Likewise.
1950 * sysdeps/stub/gethostname.c: Likewise.
1951 * sysdeps/stub/getitimer.c: Likewise.
1952 * sysdeps/stub/getlogin.c: Likewise.
1953 * sysdeps/stub/getlogin_r.c: Likewise.
1954 * sysdeps/stub/getpagesize.c: Likewise.
1955 * sysdeps/stub/getpeername.c: Likewise.
1956 * sysdeps/stub/getpid.c: Likewise.
1957 * sysdeps/stub/getppid.c: Likewise.
1958 * sysdeps/stub/getpriority.c: Likewise.
1959 * sysdeps/stub/getrlimit.c: Likewise.
1960 * sysdeps/stub/getrusage.c: Likewise.
1961 * sysdeps/stub/getsid.c: Likewise.
1962 * sysdeps/stub/getsockname.c: Likewise.
1963 * sysdeps/stub/getsockopt.c: Likewise.
1964 * sysdeps/stub/getsysstats.c: Likewise.
1965 * sysdeps/stub/gettimeofday.c: Likewise.
1966 * sysdeps/stub/getuid.c: Likewise.
1967 * sysdeps/stub/gtty.c: Likewise.
1968 * sysdeps/stub/ioctl.c: Likewise.
1969 * sysdeps/stub/isatty.c: Likewise.
1970 * sysdeps/stub/isfdtype.c: Likewise.
1971 * sysdeps/stub/kill.c: Likewise.
1972 * sysdeps/stub/killpg.c: Likewise.
1973 * sysdeps/stub/link.c: Likewise.
1974 * sysdeps/stub/listen.c: Likewise.
1975 * sysdeps/stub/lseek.c: Likewise.
1976 * sysdeps/stub/lxstat.c: Likewise.
1977 * sysdeps/stub/madvice.c: Likewise.
1978 * sysdeps/stub/mkdir.c: Likewise.
1979 * sysdeps/stub/mkfifo.c: Likewise.
1980 * sysdeps/stub/mkstemp.c: Likewise.
1981 * sysdeps/stub/mktemp.c: Likewise.
1982 * sysdeps/stub/mmap.c: Likewise.
1983 * sysdeps/stub/morecore.c: Likewise.
1984 * sysdeps/stub/mprotect.c: Likewise.
1985 * sysdeps/stub/msgctl.c: Likewise.
1986 * sysdeps/stub/msgget.c: Likewise.
1987 * sysdeps/stub/msgrcv.c: Likewise.
1988 * sysdeps/stub/msgsnd.c: Likewise.
1989 * sysdeps/stub/msync.c: Likewise.
1990 * sysdeps/stub/munmap.c: Likewise.
1991 * sysdeps/stub/nanosleep.c: Likewise.
1992 * sysdeps/stub/nice.c: Likewise.
1993 * sysdeps/stub/nlist.c: Likewise.
1994 * sysdeps/stub/open.c: Likewise.
1995 * sysdeps/stub/opendir.c: Likewise.
1996 * sysdeps/stub/pathconf.c: Likewise.
1997 * sysdeps/stub/pause.c: Likewise.
1998 * sysdeps/stub/pipe.c: Likewise.
1999 * sysdeps/stub/pipestream.c: Likewise.
2000 * sysdeps/stub/poll.c: Likewise.
2001 * sysdeps/stub/profil.c: Likewise.
2002 * sysdeps/stub/ptrace.c: Likewise.
2003 * sysdeps/stub/putenv.c: Likewise.
2004 * sysdeps/stub/raise.c: Likewise.
2005 * sysdeps/stub/read.c: Likewise.
2006 * sysdeps/stub/readdir.c: Likewise.
2007 * sysdeps/stub/readlink.c: Likewise.
2008 * sysdeps/stub/readv.c: Likewise.
2009 * sysdeps/stub/reboot.c: Likewise.
2010 * sysdeps/stub/recv.c: Likewise.
2011 * sysdeps/stub/recvfrom.c: Likewise.
2012 * sysdeps/stub/recvmsg.c: Likewise.
2013 * sysdeps/stub/remove.c: Likewise.
2014 * sysdeps/stub/rename.c: Likewise.
2015 * sysdeps/stub/revoke.c: Likewise.
2016 * sysdeps/stub/rewinddir.c: Likewise.
2017 * sysdeps/stub/rmdir.c: Likewise.
2018 * sysdeps/stub/sbrk.c: Likewise.
2019 * sysdeps/stub/sched_getp.c: Likewise.
2020 * sysdeps/stub/sched_gets.c: Likewise.
2021 * sysdeps/stub/sched_primax.c: Likewise.
2022 * sysdeps/stub/sched_primin.c: Likewise.
2023 * sysdeps/stub/sched_rr_gi.c: Likewise.
2024 * sysdeps/stub/sched_setp.c: Likewise.
2025 * sysdeps/stub/sched_sets.c: Likewise.
2026 * sysdeps/stub/sched_yield.c: Likewise.
2027 * sysdeps/stub/seekdir.c: Likewise.
2028 * sysdeps/stub/select.c: Likewise.
2029 * sysdeps/stub/semctl.c: Likewise.
2030 * sysdeps/stub/semget.c: Likewise.
2031 * sysdeps/stub/semop.c: Likewise.
2032 * sysdeps/stub/send.c: Likewise.
2033 * sysdeps/stub/sendmsg.c: Likewise.
2034 * sysdeps/stub/sendto.c: Likewise.
2035 * sysdeps/stub/setdomain.c: Likewise.
2036 * sysdeps/stub/setegid.c: Likewise.
2037 * sysdeps/stub/setenv.c: Likewise.
2038 * sysdeps/stub/seteuid.c: Likewise.
2039 * sysdeps/stub/setgid.c: Likewise.
2040 * sysdeps/stub/setgroups.c: Likewise.
2041 * sysdeps/stub/sethostid.c: Likewise.
2042 * sysdeps/stub/sethostname.c: Likewise.
2043 * sysdeps/stub/setitimer.c: Likewise.
2044 * sysdeps/stub/setjmp.c: Likewise.
2045 * sysdeps/stub/setlogin.c: Likewise.
2046 * sysdeps/stub/setpgid.c: Likewise.
2047 * sysdeps/stub/setpriority.c: Likewise.
2048 * sysdeps/stub/setregid.c: Likewise.
2049 * sysdeps/stub/setreuid.c: Likewise.
2050 * sysdeps/stub/setrlimit.c: Likewise.
2051 * sysdeps/stub/setsid.c: Likewise.
2052 * sysdeps/stub/setsockopt.c: Likewise.
2053 * sysdeps/stub/settimeofday.c: Likewise.
2054 * sysdeps/stub/setuid.c: Likewise.
2055 * sysdeps/stub/shmat.c: Likewise.
2056 * sysdeps/stub/shmctl.c: Likewise.
2057 * sysdeps/stub/shmdt.c: Likewise.
2058 * sysdeps/stub/shmget.c: Likewise.
2059 * sysdeps/stub/shutdown.c: Likewise.
2060 * sysdeps/stub/sigaction.c: Likewise.
2061 * sysdeps/stub/sigaltstack.c: Likewise.
2062 * sysdeps/stub/sigblock.c: Likewise.
2063 * sysdeps/stub/sigintr.c: Likewise.
2064 * sysdeps/stub/signal.c: Likewise.
2065 * sysdeps/stub/sigpause.c: Likewise.
2066 * sysdeps/stub/sigpending.c: Likewise.
2067 * sysdeps/stub/sigprocmask.c: Likewise.
2068 * sysdeps/stub/sigreturn.c: Likewise.
2069 * sysdeps/stub/sigsetmask.c: Likewise.
2070 * sysdeps/stub/sigstack.c: Likewise.
2071 * sysdeps/stub/sigsuspend.c: Likewise.
2072 * sysdeps/stub/sigvec.c: Likewise.
2073 * sysdeps/stub/sleep.c: Likewise.
2074 * sysdeps/stub/socket.c: Likewise.
2075 * sysdeps/stub/socketpair.c: Likewise.
2076 * sysdeps/stub/sstk.c: Likewise.
2077 * sysdeps/stub/statfs.c: Likewise.
2078 * sysdeps/stub/stime.c: Likewise.
2079 * sysdeps/stub/stty.c: Likewise.
2080 * sysdeps/stub/swapoff.c: Likewise.
2081 * sysdeps/stub/swapon.c: Likewise.
2082 * sysdeps/stub/symlink.c: Likewise.
2083 * sysdeps/stub/sync.c: Likewise.
2084 * sysdeps/stub/syscall.c: Likewise.
2085 * sysdeps/stub/sysconf.c: Likewise.
2086 * sysdeps/stub/sysd-stdio.c: Likewise.
2087 * sysdeps/stub/system.c: Likewise.
2088 * sysdeps/stub/tcdrain.c: Likewise.
2089 * sysdeps/stub/tcflow.c: Likewise.
2090 * sysdeps/stub/tcflush.c: Likewise.
2091 * sysdeps/stub/tcgetattr.c: Likewise.
2092 * sysdeps/stub/tcgetpgrp.c: Likewise.
2093 * sysdeps/stub/tcsendbrk.c: Likewise.
2094 * sysdeps/stub/tcsetattr.c: Likewise.
2095 * sysdeps/stub/tcsetpgrp.c: Likewise.
2096 * sysdeps/stub/telldir.c: Likewise.
2097 * sysdeps/stub/tempname.c: Likewise.
2098 * sysdeps/stub/time.c: Likewise.
2099 * sysdeps/stub/times.c: Likewise.
2100 * sysdeps/stub/truncate.c: Likewise.
2101 * sysdeps/stub/ttyname.c: Likewise.
2102 * sysdeps/stub/ttyname_r.c: Likewise.
2103 * sysdeps/stub/ualarm.c: Likewise.
2104 * sysdeps/stub/ulimit.c: Likewise.
2105 * sysdeps/stub/umask.c: Likewise.
2106 * sysdeps/stub/unlink.c: Likewise.
2107 * sysdeps/stub/usleep.c: Likewise.
2108 * sysdeps/stub/ustat.c: Likewise.
2109 * sysdeps/stub/utime.c: Likewise.
2110 * sysdeps/stub/utimes.c: Likewise.
2111 * sysdeps/stub/vhangup.c: Likewise.
2112 * sysdeps/stub/wait.c: Likewise.
2113 * sysdeps/stub/wait3.c: Likewise.
2114 * sysdeps/stub/wait4.c: Likewise.
2115 * sysdeps/stub/waitpid.c: Likewise.
2116 * sysdeps/stub/write.c: Likewise.
2117 * sysdeps/stub/writev.c: Likewise.
2118 * sysdeps/stub/xmknod.c: Likewise.
2119 * sysdeps/stub/xstat.c: Likewise.
2120 * sysdeps/unix/closedir.c: Likewise.
2121 * sysdeps/unix/fxstat.c: Likewise.
2122 * sysdeps/unix/getlogin.c: Likewise.
2123 * sysdeps/unix/getlogin_r.c: Likewise.
2124 * sysdeps/unix/mkdir.c: Likewise.
2125 * sysdeps/unix/nice.c: Likewise.
2126 * sysdeps/unix/nlist.c: Likewise.
2127 * sysdeps/unix/opendir.c: Likewise.
2128 * sysdeps/unix/readdir.c: Likewise.
2129 * sysdeps/unix/rmdir.c: Likewise.
2130 * sysdeps/unix/stime.c: Likewise.
2131 * sysdeps/unix/xmknod.c: Likewise.
2132 * sysdeps/unix/xstat.c: Likewise.
2133 * sysdeps/unix/bsd/isatty.c: Likewise.
2134 * sysdeps/unix/bsd/setegid.c: Likewise.
2135 * sysdeps/unix/bsd/seteuid.c: Likewise.
2136 * sysdeps/unix/bsd/setsid.c: Likewise.
2137 * sysdeps/unix/bsd/sigaction.c: Likewise.
2138 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2139 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2140 * sysdeps/unix/bsd/tcflow.c: Likewise.
2141 * sysdeps/unix/bsd/tcflush.c: Likewise.
2142 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2143 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2144 * sysdeps/unix/bsd/times.c: Likewise.
2145 * sysdeps/unix/bsd/ulimit.c: Likewise.
2146 * sysdeps/unix/common/lxstat.c: Likewise.
2147 * sysdeps/unix/common/tcsendbrk.c: Likewise.
2148 * sysdeps/unix/sysv/setrlimit.c: Likewise.
2149 * sysdeps/unix/sysv/settimeofday.c: Likewise.
2150 * sysdeps/unix/sysv/sigaction.c: Likewise.
2151 * sysdeps/unix/sysv/tcflow.c: Likewise.
2152 * sysdeps/unix/sysv/tcflush.c: Likewise.
2153 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2154 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2155 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2156 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
2157 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
2158 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
2159 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2160 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2161 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
2162 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2163 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2164 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2165 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2166 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
2167 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
2168 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
2169 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
2170 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
2171 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
2172 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
2173 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
2174 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2175 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
2177 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
2178 * sunrpc/clnt_udp.c: Likewise.
2179 * sunrpc/bindrsvprt.c: Likewise.
2180 * sunrpc/pm_getmaps.c: Likewise.
2181 * sunrpc/pmap_rmt.c: Likewise.
2182 * sunrpc/svc.c: Likewise.
2183 * sunrpc/svc_run.c: Likewise.
2184 * sunrpc/svc_tcp.c: Likewise.
2185 * sunrpc/svc_udp.c: Likewise.
2187 * sysdeps/generic/strtok.c: Don't check argument, just crash.
2188 * sysdeps/generic/strtok_r.c: Likewise.
2190 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
2191 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
2192 * sysdeps/unix/sparc/start.c: Likewise.
2193 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
2194 * sysdeps/unix/sysv/irix4/start.c: Likewise.
2195 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
2196 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
2197 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2199 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
2201 * catgets/gencat.c (main): Put package name in --version message
2202 in parantheses. Reported by Jim Meyering.
2203 * db/makedb.c: Likewise.
2204 * locale/programs/locale.c: Likewise.
2205 * locale/programs/localedef.c: Likewise.
2207 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
2208 two registers. Patch by John Bowman.
2210 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2212 * sysdeps/mach/libc-lock.h: Fix comment.
2213 * sysdeps/stubs/libc-lock.h: Likewise.
2215 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2217 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
2218 to lock when passing it to __libc_lock_init macro.
2219 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
2220 when passing it to __libc_lock_fini macro.
2222 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2224 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
2225 [_LIBC_REENTRANT]: Add missing semicolon.
2227 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
2228 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
2229 Use the ENTRY macro.
2231 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2233 * libio/Makefile: Make `all' the default target.
2234 * po/Makefile: Likewise.
2236 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
2238 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
2239 I applied it incorrectly.
2240 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2241 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
2242 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
2244 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
2246 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
2247 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
2249 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
2252 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
2253 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
2255 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
2256 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
2257 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
2258 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
2259 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2261 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2263 * hurd/Makefile (installed-sunrpc-headers): New variable.
2264 (sunrpc-headers): New variable.
2265 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
2266 not just <rpc/netdb.h>.
2267 ($(installed-sunrpc-headers)): Provide rule for all of these.
2269 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2271 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
2272 variable `top_srcdir' in libc; use $(..) instead.
2274 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
2275 definition. It was a *Mistake*. (With a capital M.)
2277 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
2279 (__get_nprocs_conf): Renamed from __get_nproc_conf.
2281 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
2283 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
2284 `_dl_start' so that linking fails if this file should ever be used
2287 * catgets/gencat.c (main): Change --version message according to
2288 RMS' last standard revision.
2289 * db/makedb.c: Likewise.
2290 * locale/programs/locale.c: Likewise.
2291 * locale/programs/localedef.c: Likewise.
2293 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2295 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
2296 (__get_nproc_conf): New function.
2298 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
2300 * resolv/resolv.h: Update to bind-4.9.5-T4B.
2301 * resolv/base64.c: Likewise.
2302 * resolv/res_debug.c: Likewise.
2303 * resolv/res_query.c: Likewise.
2304 * resolv/gethnamaddr.c: Likewise.
2305 * nss/nss_dns/dns-host.c: Likewise.
2306 * resolv/res_comp.c: Likewise.
2307 * resolv/res_send.c: Likewise.
2308 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
2311 * resolv/Banner: New file.
2312 * resolv/Makefile (distribute): Add Banner.
2314 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
2316 * sysdeps/stub/getsysstats.c: New file.
2317 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
2319 * misc/Makefile (headers): Add sys/sysinfo.h.
2320 (routines): Add getsysstats.
2321 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
2322 (sysdep_headers): Remove sys/sysinfo.h.
2323 * sysdeps/generic/sys/sysinfo.h: New file.
2324 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
2325 get_phys_pages, and get_avphys_pages.
2327 * misc/Makefile (routines): Add mntent_r.
2328 * misc/mntent_r.c: New file.
2329 * misc/mntent.c: Remove all functions but getmntent and use
2331 * misc/mntent.h: Add prototype for __getmntent_r.
2332 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
2333 This will not clobber the state in getmntent.
2335 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
2336 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
2337 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
2338 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
2339 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
2340 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
2341 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
2342 * sysdeps/posix/sysconf.c: Likewise.
2343 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
2344 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
2346 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
2348 * version.h (VERSION): Bump to 1.95.
2350 * Make-dist (+tsrcs): Don't filter out files in subdirs which
2351 match files in the sysdeps hierachy (welcome back,
2354 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
2356 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
2358 * locale/loadlocale.c (_nl_free_locale): Remove function.
2359 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
2360 * locale/setlocale.c (setlocale): Don't free locale data of
2361 categories which succeeded to load after a wrong or missing data
2364 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
2365 that it works even when the locale data is not used.
2367 * stdlib/random_r.c: Fix typo in comment.
2368 * stdlib/drand48-iter.c: Likewise.
2369 * stdlib/drand48.c: Likewise.
2370 * stdlib/erand48.c: Likewise.
2371 * stdlib/jrand48.c: Likewise.
2372 * stdlib/lcong48.c: Likewise.
2373 * stdlib/lrand48.c: Likewise.
2374 * stdlib/mrand48.c: Likewise.
2375 * stdlib/nrand48.c: Likewise.
2376 * stdlib/random.c: Likewise.
2377 * stdlib/seed48.c: Likewise.
2378 * stdlib/srand48.c: Likewise.
2379 * misc/search.h: Likewise.
2380 * misc/hsearch.c: Likewise.
2381 * misc/hsearch_r.c: Likewise.
2383 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2385 * sysdeps/mach/getsysstats.c: New file.
2387 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
2388 binary distribution.
2390 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
2391 definition to override dangerous one in Makeconfig.
2393 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
2394 ($(includedir)/rpc/netdb.h): New rule.
2395 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
2398 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2400 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
2401 to guarantee link errors if this is included in ld.so.
2403 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2405 * hurd/hurdinit.c (__libc_argv): Provide common decl.
2406 (_hurd_setproc): Don't declare __libc_argv here.
2408 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2410 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
2411 for actual modifications to global state.
2413 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2415 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
2416 * sysdeps/mach/hurd/Makefile (includes): Add
2417 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
2419 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
2420 struct sched_params.
2421 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
2422 sched_params -> struct sched_param.
2423 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
2424 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
2426 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2428 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
2431 * stdio-common/Makefile: Put lockfile in routines
2434 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
2435 this always, not just if _LIBC_REENTRANT.
2436 (__funlockfile): Don't use weak_extern for this one;
2437 __libc_cleanup_region_end might be defined and the use of
2438 __funlockfile can't be protected the way the use of __flockfile
2441 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
2443 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
2444 instead of localtime.
2445 Reported by Matthias Urlichs.
2447 * shlib-versions: Remove version number for libcrypt.
2448 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
2449 * libc-symbols.h: Define _REENTRANT while compiling libc.
2451 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
2452 Define even if !_LIBC_REENTRANT.
2453 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
2456 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
2459 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
2460 * po/header.pot: Correct title line.
2463 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
2465 * Makeconfig (soversions.mk): Prefer shared lib version numbers
2466 is add ons over version in libc itself.
2468 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
2469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
2472 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
2473 _IO_flockfile and _IO_funlockfile resp.
2475 * locale/categories.def: Partly support for correct `era' handling
2476 in LC_TIME category.
2477 * locale/langinfo.h: Likewise.
2478 * locale/programs/ld-time.c: Likewise.
2479 * locale/localeinfo.h: Change comment a bit.
2481 * malloc/memalign.c: Don't use goto, not necessary anymore.
2483 1996-09-18 Paul Eggert <eggert@twinsun.com>
2485 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
2486 is negative, or if time_t is unsigned.
2487 * time/strftime.c (tm_diff): Work correctly even if tm_year
2490 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2492 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
2493 all three versions of the math function.
2494 (__inline_mathopf, __inline_mathopl): Removed.
2495 (__inline_functions): New temporary definition containing all
2496 non-trivial inline functions.
2498 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
2500 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
2502 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
2504 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
2507 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
2509 * sysdeps/stub/fpu_control.h: Correct end of file comment.
2511 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
2513 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
2514 stdio-common/test-popen.c: Remove temporary files after test.
2515 * stdio-common/bug5.c: Use `system' instead of `execlp'.
2516 Patches by Andreas Jaeger.
2518 * stdio-common/bug5.c: Create string for `system' argument to
2519 make sure the input and output file names are really correct.
2521 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2523 * configure.in: If $os contains a hyphen add the part before the
2526 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2528 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
2529 __ieee754_powl): Rename local variable i to __i.
2530 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
2532 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
2533 sysdeps/m68k/fpu/e_atan2l.c: New files.
2535 1996-09-15 Paul Eggert <eggert@twinsun.com>
2537 * manual/time.texi: Change `range X to Y' to `range X through
2538 Y', to avoid ambiguity in English.
2540 (strftime): Numbers that do not have a range indicated are not padded.
2541 Describe E and O modifiers.
2542 %g, %G, %u: New formats.
2543 %C, %y, %Y: Describe behavior on negative years.
2544 %e: Fix typo (was labeled %d).
2545 %l, %V: Fix typo in range.
2546 %M, %S, %U, %w, %W: Give ranges.
2547 %p: Clarify how noon and midnight are handled for AM and PM.
2548 %s: Clarify leap second handling.
2549 %r: Now locale-defined.
2550 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
2551 %z: Say that it is a GNU extension.
2554 * time/strftime.c: (strftime):
2555 %V: Fix mishandling of week numbers near year boundaries.
2556 %g, %G: New formats (suggested by Arthur David Olson).
2557 %U, %W: Use inline expression instead of `week' function.
2558 %C, %y: Handle negative years portably.
2559 %C, %Y: Use width 1, since values can be arbitrarily wide.
2560 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
2561 %u: New Posix.2 format.
2562 %w: Width is 1, not 2.
2563 (iso_week_days): New function, for %V, %G, %g.
2564 (week): Remove; it didn't handle %V correctly.
2565 (__isleap): New macro.
2566 (mbsinit): Use arg, to pacify GCC -Wall.
2568 1996-09-13 Paul Eggert <eggert@twinsun.com>
2570 * time/strftime.c (strftime):
2571 If using the GNU C library, do not bother to check for
2572 multibyte encodings, since they're safe in formats. Otherwise:
2573 - Check for multibyte encodings when encountering any character that
2574 is not in the basic execution character set of the C Standard.
2575 - Use mbrlen (if available) instead of mblen, to avoid modifying
2576 mblen's internal state.
2577 - Do not assume that '%' cannot appear as the first character of a
2578 multibyte character sequence, since this is possible when not in the
2579 initial shift state.
2580 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
2581 (DO_MULTIBYTE): New macro.
2582 (<ctype.h>): Do not include.
2583 (<wchar.h>): Include if HAVE_MBRLEN.
2584 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
2585 (mbstate_zero): New constant.
2587 1996-09-12 Paul Eggert <eggert@twinsun.com>
2589 * time/strftime.c (strftime):
2590 Use an empty zone if it can't be determined; POSIX.2 requires this.
2591 Use plain `int' for pad and modifier (which now contain char value).
2592 Use plain `int' for number_value, to print negative values correctly.
2593 Use plain `int' for digits; there was no need to make it unsigned.
2594 Initialize subfmt consistently.
2595 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
2596 For %O, if there is no alternate digit, output Ascii instead of "".
2597 Output the `%' of an unknown format; this is most likely the right
2598 thing to do if a multibyte string has been misparsed.
2600 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2602 * stdio-common/scanf7.c (main): Remove extra conversion from
2603 printf format string.
2605 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2607 * stdlib/test-canon.c (tests): Rename structure member from errno
2608 to error, all uses changed.
2610 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2612 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
2614 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2615 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
2617 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
2618 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
2619 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
2621 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
2622 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
2624 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
2625 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
2627 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2629 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
2630 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
2632 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2634 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
2635 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
2637 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2639 * inet/herrno.c (__h_errno_location): Fix return type.
2641 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2643 * hurd/hurdinit.c (__libc_argv): Provide common decl.
2644 (_hurd_setproc): Don't declare __libc_argv here.
2646 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
2648 * sched.h: New file. Helper to access posix/sched.h.
2649 * posix/sched.h: Change `sched_params' to `sched_param' to follow
2652 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
2654 * db/makedb.c (usage): Print bug report address separately to
2655 ease translators task.
2656 * catgets/gencat.c (usage): Likewise.
2657 * locale/locale.c (usage): Likewise.
2658 * locale/localedef.c (usage): Likewise.
2660 1996-09-12 Paul Eggert <eggert@twinsun.com>
2662 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
2663 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
2664 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
2666 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
2668 * crypt/Makefile: Include Makeconfig and add crypt object dir to
2669 rpath-link so that running the check finds the new library.
2670 * crypt/cert.c: provide correct prototypes to prevent warnings.
2671 Reported by Andreas Jaeger.
2673 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
2674 old and new value must be glued using `:'.
2675 Reported by Marcus Daniels.
2677 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2679 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
2680 accidentally added on.
2682 * sysdeps/stub/intr-msg.h: New file.
2684 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2685 * stdio-common/vfscanf.c: Include <libc-lock.h>.
2687 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
2689 (__libc_cleanup_region_end): New macro.
2691 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2693 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
2694 accidentally added on.
2696 * sysdeps/stub/intr-msg.h: New file.
2698 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2699 * stdio-common/vfscanf.c: Include <libc-lock.h>.
2701 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
2703 (__libc_cleanup_region_end): New macro.
2705 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
2707 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
2708 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2709 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
2711 1996-09-11 Paul Eggert <eggert@twinsun.com>
2713 * strftime.c (strftime):
2714 Handle E and O modifiers, required for POSIX.2 and XPG4.
2715 Don't use sprintf to format numbers; this way, we can handle time_t
2716 correctly regardless of whether it's signed.
2717 Don't dump core if format ends in %.
2718 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
2720 Use tm_gmtoff if available.
2721 Output nothing if tm_isdst is negative.
2722 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
2723 Don't assume that UTC offset is less than 24 hours;
2724 Posix requires support for 24 hours, and there's no point
2726 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
2727 (CHAR_BIT): Define if <limits.h> doesn't.
2728 (tm_diff): New function.
2729 (fmt, <stdio.h>): Remove; no longer used.
2731 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
2733 * db/Makefile: Add extra-libs-others variable so that shared
2734 library is built in `others' pass.
2735 * elf/Makefile: Likewise.
2736 * math/Makefile: Likewise.
2737 * resolv/Makefile: Likewise.
2739 * Makefile (generated): Add version.info.h.
2741 * time/checktab.awk: New file. From ADO 96k.
2742 * time/iso3166.tab: Likewise.
2743 * time/tzselect.ksh: Likewise.
2744 * time/zone.tab: Likewise.
2746 * stdio-common/vfprintf.c: Correct cleanup registration. We
2749 1996-09-11 Paul Eggert <eggert@twinsun.com>
2751 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
2752 __USE_BSD; this is required for ANSI C compatibility.
2753 * manual/time.texi: Replace GMT by UTC, daylight savings by
2754 daylight saving, timezone by time zone.
2755 Rewrite description of %V to match ISO 8601.
2756 Fix TZ Posix string example for US Eastern time.
2757 Explain tzname[1] when DST isn't used.
2758 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
2759 Explain that timezone's sign is opposite from tm_gmtoff, and that
2760 timezone lacks DST adjustment whereas tm_gmtoff has it.
2761 Deprecate tzname and timezone.
2763 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2765 Implement Roland McGrath's idea of how to put an .interp into
2767 * interp.c: New file.
2768 * Makerules (interp-obj): New object, linked into every shared
2770 (common-generated): Add interp.so.
2771 (CFLAGS-interp.c): Pass name of interpreter.
2773 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2775 * db/Makefile: Fix typo.
2777 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2779 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
2780 occurences of the same uid, and only generate a mapping for the
2783 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2785 * sysdeps/unix/sysv/linux/system.c: New file, to override
2786 sysdeps/unix/system.c.
2788 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2790 * Makefile (before-compile): Add version-info.h, needed to build
2793 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2795 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
2796 EWOULDBLOCK, never true on Linux.
2797 (__errno_location): New function.
2798 [_LIBC_REENTRANT]: Set errno using __errno_location function.
2799 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
2800 syscall_error handler for reentrant libc.
2802 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2804 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
2806 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
2808 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
2810 * time/tzfile.c (compute_tzname_max): Likewise.
2812 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
2814 * configure.in: Quote $add_ons argument in loop to generated
2817 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
2819 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
2821 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2823 * elf/dl-cache.c: Rename to ...
2824 * sysdeps/generic/dl-cache.c: ... here.
2825 * sysdeps/mach/hurd/dl-cache.c: New file.
2827 * mach/Makefile (distribute): Add `errsystems.awk'.
2828 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
2829 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
2830 * hurd/intr-rpc.awk: Likewise.
2831 * hurd/invoke-trans.c: Likewise.
2832 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
2833 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
2834 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
2835 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
2836 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
2837 * sysdeps/stub/init-fault.c: Likewise.
2838 * sysdeps/stub/longjmp-ctx.c: Likewise.
2840 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
2842 * inet/herrno.c: Initialize `h_errno' so that we can provide
2845 * Makefile (version-info.h): Fix typo in shell script.
2847 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
2848 * sysdeps/i386/i586/strchr.S: Likewise.
2850 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
2852 * version.c (banner): Report to bug-glibc@prep not @gnu.
2853 Reported by Andreas Jaeger.
2855 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
2857 [__USE_REENTRANT]: Don't define
2859 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
2861 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
2862 when it is the third byte in the string. Reported by
2864 * string/tester.c: Add tests for above bug to strlen, strchr, and
2867 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2869 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
2870 "math_private.h" to get prototype.
2871 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2872 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2873 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2874 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2876 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
2878 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2880 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2882 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
2883 instead of __NO_MATH_INLINES.
2884 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
2885 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
2886 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2887 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2888 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2889 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2890 * sysdeps/m68k/fpu/s_atan.c: Likewise.
2891 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2892 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2893 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2894 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
2895 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2896 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
2897 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2898 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2900 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
2902 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
2903 available character before converting number and return with
2904 error if none is available.
2906 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2908 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
2909 implementation for architectures where parameters are passed on
2911 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
2912 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
2914 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2916 * configure.in: Remove unneeded sysnames frobbing.
2918 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
2920 * time/zic.c: Update from ADO 96l.
2921 * time/africa: Update from ADO 96k.
2922 * time/antarctica: Likewise.
2923 * time/asia: Likewise.
2924 * time/australia: Likewise.
2925 * time/europe: Likewise.
2926 * time/northamerica: Likewise.
2927 * time/southamerica: Likewise.
2929 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2931 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
2932 gcc <= 2.7.2.1 which optimizes away address operations on weak
2935 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
2936 Like INT_FIELD but also accept non-existing field.
2937 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
2938 for last four fields.
2939 * shadow/putspent.c (putspent): Print `:' after numeric value.
2941 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
2943 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
2945 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
2947 * Make-dist: Filter out $(add-ons) from $(subdirs).
2948 Don't distribute TAGS files.
2949 ($(tardir).tar): Remove dist.tar when all is done.
2950 * manual/Makefile (distribute): Add libc.info*.
2951 * libio/Makefile (distribute): Add Banner.
2952 * inet/Makefile (headers): Add netinet/tcp.h.
2954 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
2956 * crypt-README: Removed.
2957 * gnu-stabs.h: Removed.
2959 * sysdeps/alpha/copysign.S: Renamed to...
2960 * sysdeps/alpha/s_copysign.S: ...this.
2961 * sysdeps/alpha/fabs.S: Renamed to...
2962 * sysdeps/alpha/s_fabs.S: ...this.
2964 * sysdeps/m68k/isinfl.c: Renamed to...
2965 * sysdeps/m68k/s_isinfl.c: ...this.
2966 * sysdeps/m68k/isnanl.c: Renamed to...
2967 * sysdeps/m68k/s_isnanl.c: ...this.
2969 * sysdeps/sparc/sqrt.c: Renamed to...
2970 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
2973 * sysdeps/generic/get_str.c: Removed.
2975 * sysdeps/ieee754/cbrt.c: Removed.
2976 * sysdeps/ieee754/drem.c: Removed.
2977 * sysdeps/ieee754/logb.c: Removed.
2978 * sysdeps/ieee754/sqrt.c: Removed.
2980 * sysdeps/stub/cbrt.c: Removed.
2981 * sysdeps/stub/cos.c: Removed.
2982 * sysdeps/stub/drem.c: Removed.
2983 * sysdeps/stub/isinf.c: Removed.
2984 * sysdeps/stub/isinfl.c: Removed.
2985 * sysdeps/stub/isnanl.c: Removed.
2986 * sysdeps/stub/logb.c: Removed.
2987 * sysdeps/stub/sin.c: Removed.
2988 * sysdeps/stub/sqrt.c: Removed.
2990 * sysdeps/tahoe/log10.c: Removed.
2992 * sysdeps/vax/index.s: Removed.
2993 * sysdeps/vax/rindex.s: Removed.
2994 * sysdeps/vax/bcmp.s: Removed.
2995 * sysdeps/vax/log10.c: Removed.
2996 * sysdeps/vax/infnan.c: Removed.
2997 * sysdeps/vax/Dist: Add fl.h.
2999 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
3001 * inet/rcmd.c (rcmd): Make messages more uniform.
3003 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
3008 * po/pl.po: New file.
3009 * po/nl.po: New file.
3011 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
3013 * Makeconfig (+link): Filter out start, pre & postinit from the
3014 generic depenancies as well.
3015 * Rules: Add start, pre & postinit to the dependancies of
3016 $(others) and $(tests).
3018 * configure.in: elf_dirs missing "sysdeps" component.
3020 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
3022 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
3023 This is consistent with all other GNU packages. We shouldn't
3024 take care for a possible clash. Nobody will name the domain
3025 of a package libc if it is not the libc itself.
3026 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
3027 * po/Makefile (domainname): Change to libc.
3028 (distribute): Now ship libc.pot.
3029 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
3030 version information banner.
3031 Change bug report address to bug-glibc@prep not @gnu.
3032 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
3033 (main): Use `PACKAGE' for package name in version information
3035 Change bug report address to bug-glibc@prep not @gnu.
3036 * locale/programs/locale.c (main): Use `PACKAGE' for package name
3037 in version information banner.
3038 Change bug report address to bug-glibc@prep not @gnu.
3039 * locale/programs/localedef.c (main): Likewise.
3041 * version.h (VERSION): Bump to 1.94.
3043 * locale/Makefile (distribute): Add locale.c and localedef.c.
3045 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
3047 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
3048 instead of sizeof(nl_catd) (which is just a pointer!).
3050 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
3052 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
3053 * version.c (banner): Add contents of version-info.h to string.
3055 * Makerules: If $($(subdir)-version) is available name versioned
3056 shared library according to this value instead of glibc's version.
3058 * libio/Banner: New file.
3060 * elf/eval.c (funcall): Write error message in case function is
3062 (eval): Recognize `_' in names.
3064 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
3066 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
3067 * libio/iofopen: Likewise.
3068 * libio/iofopncook.c: Likewise.
3069 * libio/iopopen.c: Likewise.
3070 * libio/iovsprintf.c: Likewise.
3071 * libio/iovsscanf.c: Likewise.
3072 * libio/memstream.c: Likewise.
3073 * libio/vasprintf.c: Likewise.
3074 * libio/vdprintf.c: Likewise.
3075 * libio/vsnprintf.c: Likewise.
3077 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
3079 * Makeconfig (soversions.mk): Also use shlib-versions files
3080 in add-on directories.
3081 * config.make.in (config-defines): Remove. Not used anymore.
3082 (defines): New variable. Initiliazed by @DEFINES@.
3083 * configure.in: Add AC_SUBST(DEFINES).
3085 * libio/Makefile (routines): When compiling reentrant libc add
3086 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
3087 iofflush_u, putc_u, putchar_u, ioflockfile.
3088 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
3090 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
3091 and __libc_cleanup_region_end.
3093 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
3094 using __errno_location function.
3095 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
3096 using __errno_location function.
3097 (__errno_location): New function.
3098 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
3099 syscall_error handler for reentrant libc.
3101 * sysdeps/unix/opendir.c: Remove unneeded `;'.
3103 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
3104 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
3106 * libioP.h: Include <libc-lock.h>.
3107 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
3110 * libio/clearerr.c: Use _IO_ protected versions of flockfile
3111 and funlockfile to be namespace clean.
3113 * libio/genops.c: Use __libc_lock_* macros for handling lock.
3115 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
3116 * libio/iofopen: Likewise.
3117 * libio/iofopncook.c: Likewise.
3118 * libio/iopopen.c: Likewise.
3119 * libio/iovsprintf.c: Likewise.
3120 * libio/iovsscanf.c: Likewise.
3121 * libio/memstream.c: Likewise.
3122 * libio/vasprintf.c: Likewise.
3123 * libio/vdprintf.c: Likewise.
3124 * libio/vsnprintf.c: Likewise.
3126 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
3128 * libio/fputc.c: Likewise.
3129 * libio/freopen.c: Likewise.
3130 * libio/fseek.c: Likewise.
3131 * libio/getc.c: Likewise.
3132 * libio/getchar.c: Likewise.
3133 * libio/iofclose.c: Likewise.
3134 * libio/iofflush.c: Likewise.
3135 * libio/iofgetpos.c: Likewise.
3136 * libio/iofgets.c: Likewise.
3137 * libio/iofputs.c: Likewise.
3138 * libio/iofread.c: Likewise.
3139 * libio/iofsetpos.c: Likewise.
3140 * libio/ioftell.c: Likewise.
3141 * libio/iofwrite.c: Likewise.
3142 * libio/iogetdelim.c: Likewise.
3143 * libio/iogets.c: Likewise.
3144 * libio/ioputs.c: Likewise.
3145 * libio/iosetbuffer.c: Likewise.
3146 * libio/iosetvbuf.c: Likewise.
3147 * libio/ioungetc.c: Likewise.
3148 * libio/putc.c: Likewise.
3149 * libio/putchar.c: Likewise.
3150 * libio/rewind.c: Likewise.
3151 * stdio-common/vfprintf.c: Likewise.
3152 * stdio-common/vfscanf.c: Likewise.
3154 * libio/clearerr_u.c: Correct alias name.
3155 * libio/ferror_u.c: Likewise.
3156 * libio/fileno.c: Likewise.
3157 * libio/fputc_u.c: Likewise.
3158 * libio/getc.c: Likewise.
3159 * libio/getc_u.c: Likewise.
3160 * libio/getchar.c: Likewise.
3161 * libio/getchar_u.c: Likewise.
3162 * libio/putc.c: Likewise.
3163 * libio/putchar.c: Likewise.
3165 * libio/feof_u.c: Undefine macro with name of function before
3166 definition of function itself.
3168 * libio/ioflockfile.c: New file. Implementation of flockfile and
3171 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
3173 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
3176 * malloc/free.c: Include <libc-lock.h>.
3177 * malloc/realloc.c: Likewise.
3178 * malloc/malloc-find.c: Likewise.
3179 * malloc/malloc-size.c: Likewise.
3180 * malloc/malloc-walk.c: Likewise.
3181 * malloc/memalign.c: Likewise.
3182 * malloc/malloc.c: Likewise.
3184 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
3186 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
3188 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
3189 and __libc_lock_critical_end as empty macros.
3191 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
3193 * malloc/free.c: Include <libc-lock.h>.
3194 * malloc/malloc-find.c: Likewise.
3195 * malloc/malloc-size.c: Likewise.
3196 * malloc/malloc-walk.c: Likewise.
3197 * malloc/malloc.c: Likewise.
3198 * malloc/memalign.c: Likewise.
3199 * malloc/realloc.c: Likewise.
3201 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
3204 * extra-lib.mk: Likewise.
3205 * manual/Makefile: Likewise.
3207 * db/Makefile (makedb): Choose dependecies based on build-shared.
3208 Patch by Andres Schwab.
3210 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
3211 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
3213 * sysdeps/unix/sysv/linux/errnos.h: New file.
3214 * sysdeps/unix/sysv/linux/schedbits.h: New file.
3215 * sysdeps/unix/sysv/linux/waitflags.h: New file.
3217 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
3219 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3221 * rpm/template: Fix typo in %build section.
3223 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
3225 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
3226 building libc without thread support.
3227 * resolv/netdb.h: Likewise for h_errno macro.
3229 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
3231 * libc-symbols.h: Add new macro weak_const_function. It's like
3232 weak_function, but the function is additionally marked as const.
3233 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
3235 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
3237 * inet/herrno.c (__h_errno_location): New function.
3238 (h_errno): Make strong_alias __h_errno so that we can access
3239 the variable even if `h_errno' is a macro.
3240 * resolv/netdb.h: Define macro h_errno to access thread specific
3241 version of h_errno variable. Declare alias __h_errno for h_errno.
3242 * resolv/res_query (h_errno): Remove definition.
3243 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
3244 Add macro `errno' to get thread specific variable.
3245 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
3246 __errno_location function.
3247 (__errno_location): New function.
3249 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
3251 * posix/gnu/types.h: Remove definition of key_t.
3252 * sysdeps/generic/gnu/types.h: Move it to here.
3253 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
3254 definition of key_t.
3256 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
3258 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
3259 clone prototypes and associated flags.
3261 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3263 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
3265 (init1): Initialize them.
3266 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
3267 available, pass __libc_argv in call to __proc_set_arg_locations.
3269 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
3271 (hertz): Delete function.
3272 * gmon/Makefile (routines): Add `prof-freq'.
3273 * sysdeps/generic/prof-freq.c: New file.
3274 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
3275 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
3276 (update_waiter): Store frequency in profile_tick.
3277 (__profile_frequency): New function.
3279 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
3282 * Rules (generated): Restore reference to $(generated).
3284 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
3287 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
3289 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
3290 * malloc/realloc.c: Likewise.
3291 * malloc/malloc-find.c: Likewise.
3292 * malloc/malloc-size.c: Likewise.
3293 * malloc/malloc-walk.c: Likewise.
3294 * malloc/memalign.c: Likewise.
3296 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
3298 * sysdeps/alpha/elf/start.S: Make _start global again.
3300 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
3302 Change configuration and Makefiles to allow add-ons to have a
3303 sysdeps/ directory hierachy.
3304 * configure.in: Test for sysdeps/ directory in add-ons. Before
3305 all test and searches in these hierachies, too.
3306 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
3307 Extend with $(..) if not absolute path.
3308 Use $(full-config-subdirs) where $(config-sysdirs) was used.
3309 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
3310 * MakeTAGS: Use $(full-config-subdirs).
3311 * Makerules: Change comment to libc.so link script.
3312 (sysdirs): Define based on $(full-config-subdirs).
3313 (sysd-Makefile): Define using config-sysdirs.
3314 (sysd-rules): Likewise.
3315 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
3316 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
3318 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3320 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
3321 * sysdeps/m68k/fpu/k_sin.c: Likewise.
3322 * sysdeps/m68k/fpu/k_tan.c: Likewise.
3324 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
3326 * malloc/free.c (free): Protect by using __libc_malloc_lock.
3327 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
3328 * malloc/malloc-size.c (malloc_usable_size): Likewise.
3329 * malloc/malloc-walk.c (malloc_walk): Likewise.
3330 * malloc/memalign.c (memalign): Likewise.
3331 * malloc/realloc.c (realloc): Likewise.
3332 * malloc/malloc.c: Define __libc_malloc_lock.
3333 (_malloc_internal): Don't use `malloc'. Instead look for
3334 `__malloc_hook' or call `_malloc_internal'.
3335 (malloc): Protect by using `__libc_malloc_lock'.
3336 * malloc/malloc.h: Declare `__libc_malloc_lock'.
3338 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
3340 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
3341 instead of the hard definition.
3343 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
3344 _start and _dl_start_user.
3346 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
3347 Make _dl_starting_up weak. Add type info for NAME.
3349 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
3351 * Makefile (all): Add extra_solibs pass.
3352 (+subdir_targets): Same.
3353 * Rules (extra_solibs): New phony empty target for subdirs without
3355 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
3356 * manual/Makefile: Add dummy extra_solibs target.
3358 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
3360 * Makeconfig (+link): Add $(link-extra-libs).
3361 (link-extra-libs): New variable which expands to the full paths of
3362 the other libraries needed by a program, as controled by LDLIBS-$(@F).
3363 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
3364 the later attempts to install the library before linking it.
3366 * sysdeps/unix/alpha/sysdep.S: Align errno.
3368 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
3370 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
3371 (_hae_shift): New function.
3372 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
3373 for the bus query functions.
3375 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
3377 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
3378 can be NULL when unloading a library.
3380 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
3381 to the library .init function.
3383 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
3384 part of the COPY reloc processing earlier, omit the rest now --
3385 we'll get into less trouble later when some fool does use a COPY.
3387 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
3388 parameters. Move all argc and __libc_multiple_libcs calculation out
3389 to init-first.h. Use __environ not __libc_envp.
3390 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
3391 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
3393 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3395 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
3396 signal settings when profiling was already turned on.
3398 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
3401 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
3403 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
3404 0 < return value < -4096 and not < 0 to decide about failure.
3405 Reported by Andreas Jaeger.
3407 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
3409 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
3412 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
3414 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
3417 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
3419 * version.c: Add missing newline character in banner.
3421 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
3422 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3424 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
3426 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
3427 case, so don't prepend uppercase `ISO' for only numeric arg.
3429 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
3431 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
3432 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3434 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
3436 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
3437 call to __libc_lock_lock.
3439 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
3440 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
3442 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
3444 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
3446 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
3448 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
3449 Reported by Erik Troan.
3451 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
3453 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
3454 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
3456 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3458 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
3460 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3462 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
3465 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
3467 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
3470 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3472 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
3473 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
3475 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
3476 $(common-objpfx) is good enough.
3477 * Rules (common-generated): Provide default (empty) value.
3478 (dummy.o, dummy.c, empty.o, empty.c): Put these in
3479 $(common-generated), not $(generated), and without $(..).
3480 (subdir_echo-distinfo): Treat $(common-generated) just like
3482 (generated): Depend on the (suitably mutated) $(common-generated)
3484 * Makerules (common-clean): Remove common-generated files too.
3485 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
3487 (common-generated): Do put errnos.d and stamp-errnos here.
3488 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
3490 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
3491 auth to following rule to get it built.
3493 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
3495 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
3496 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3497 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3499 * version.c: Add comment about where to report bugs to.
3500 * catgets/gencat.c (usage): Likewise.
3501 * db/makedb.c (usage): Likewise.
3502 * locale/programs/locale.c (usage): Likewise.
3503 * locale/programs/localedef.c (usage): Likewise.
3505 * manual/socket.texi: A little bit better wording.
3507 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
3509 * Makerules: Make sure directory exists before generating stamp file.
3510 (BUILD_CFLAGS): Always refer to using $(..).
3511 * manual/Makefile: Make sure directory exists before generating
3513 (make-target-directory): Add macro definition.
3514 * sysdeps/generic/Makefile: Make sure directory exists before
3515 generating stamp file.
3517 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
3519 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3521 When compiling in separate directory put objects into
3522 subdirectories matching the source layout.
3523 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
3524 When looking for configparms try in $(common-objpfx).
3525 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
3527 * Makerules: Add $(objpfx) to vpath list.
3528 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
3529 more than once. All uses in dependency lists changed.
3530 (+make-deps): Make target directory.
3531 (sed-remove-objpfx): Substitute $(common-objpfx).
3532 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
3533 $(objpfx) instead of $(objdir) for cd command.
3534 (O%-lib): Always find libc relative to $(..).
3535 (subdir-stamps): Collect stamp files from subdirs.
3536 (common-mostlyclean): Remove stub file in $(common-objpfx).
3537 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
3538 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
3540 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
3541 $(common-objpfx). All uses in dependency lists changed.
3542 (generated): Prepend $(..) to names.
3543 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
3545 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
3546 Use $(common-objpfx) instead of $(..) in dependencies.
3547 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
3548 $(common-objpfx) instead of $(..) and (objpfx).
3549 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
3550 (rpath-link): Likewise.
3551 (rpcuserlibs): Likewise.
3552 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
3553 errlist.c in $(objpfx), not $(common-objpfx).
3554 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
3556 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
3557 s-proto.d in $(common-objpfx), not $(objpfx).
3559 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
3561 * nss/nsswitch.c (nss_dlerror_run): Free returned error
3564 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
3566 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
3568 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
3569 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
3570 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
3571 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
3572 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
3573 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
3574 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3575 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
3577 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3579 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
3580 spelling error of _hurd_itimerval.
3582 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
3583 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
3584 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
3586 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
3588 * stdio/fseek.c (fseek): Don't assume we know the file position;
3589 other handles may have changed it. So set STREAM.__offset to -1
3590 before calling __stdio_check_offset to make sure we have a correct
3593 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
3595 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
3596 `decimal' char is 0.
3598 * C-numeric.c (not_available): New constant.
3599 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
3601 * nss/nsswitch.conf: Example configuration file.
3602 * nss/db-Makefile: Example Makefile for generation of databases
3604 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
3606 1996-08-28 Paul Eggert <eggert@twinsun.com>
3608 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
3609 noexpr to "^[nN]"; this conforms to POSIX.2.
3611 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
3614 1996-08-28 Paul Eggert <eggert@twinsun.com>
3616 * C-monetary.c (not_available): New constant.
3617 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
3618 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
3619 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
3620 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
3622 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
3624 * nss/nss_db/db-XXX.c: Correct function names. They must be
3625 `_nss_db_*' instead of `_nss_files_*'.
3626 (lookup): `parse_line' returns 1 if succesful.
3627 * nss/nss_files/files-service.c (servbyname): Key for database
3628 must also contain protocol names.
3629 (servbypt): Likewise.
3630 Test must also check for protocol. Add `proto' argument.
3632 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3634 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
3637 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
3639 * Makerules: Add some test for correct version of GNU Make.
3641 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
3642 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
3644 * sysdeps/generic/dl-sysdep.c: Initialize break address to
3645 avoid overwriting last page (OK, Roland).
3647 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
3649 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
3650 * resolv/arpa/nameser.h: Likewise.
3651 * resolv/res_init.c: Likewise.
3652 * resolv/res_debug.c: Likewise.
3653 * resolv/res_mkquery.c: Likewise.
3655 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
3657 * elf/dl-error.c (catch): Define errstring element not as const.
3658 (_dl_catch_error): ERRSTRING argument is not const pointer.
3659 Initialize *ERRSTRING and *OBJNAME separately.
3660 * elf/link.h: Change prototype for `_dl_catch_error'.
3662 * elf/dl-load.c (_dl_map_object): Use separate variable for
3663 copied NAME to avoid `const' warning.
3665 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
3667 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
3668 provides preloading even for SUID binaries.
3669 Add some more casts to avoid signed<->unsigned warnings.
3671 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3673 * posix/sys/types.h: Define loff_t.
3674 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
3676 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
3678 * io/fcntl.h: Add definition for BSD F* macros.
3680 * misc/init-misc.c (__init_misc): Make static.
3681 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
3683 * configure.in: Add test for -fno-exception option of gcc.
3684 * config.make.in: Add definition of have-no-exceptions.
3685 * Makerules: Define no-exceptions based on have-no-exceptions.
3686 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
3687 This is necessary for gcc >= ss-960816.
3689 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
3691 * sysdeps/alpha/dl-machine.h: Clear startup flag.
3693 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3695 * Makerules (o-iterator-doit): Simplify reference to autolock
3698 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3700 * sysdeps/mach/hurd/getcwd.c
3701 (_hurd_canonicalize_directory_name_internal): After resizing the
3702 buffer move the current contents to the end. Correctly relocate
3703 file name pointer to upper half of the buffer.
3705 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
3707 * rtld.c (dl_main): Remove code to call ld.so initializer. This
3708 was introduced for compatibility with Linux ld.so and would not
3709 be used anymore. Now we don't have any good values to use as the
3710 parameters to the initializer so simply remove it.
3712 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3714 * gmon/gmon.c (ERR): Don't write the terminating NUL.
3716 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
3718 (profil_count): Use 64 bit arithmethic to avoid overflow.
3720 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
3722 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3724 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
3725 being null; in that case don't touch the timer at all (but do
3726 return something in OLD if necessary).
3728 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3730 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
3732 * sysdeps/i386/init-first.c: Likewise.
3733 * sysdeps/stub/init-first.c: Likewise.
3735 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
3737 * elf/dl-open.c (_dl_open): Call library initializer with
3738 correct command line arguments and environment information.
3739 * elf/rtld.c (dl_main): Provide arguments to initializer of
3742 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
3744 * shadow/Makefile (routines): Add lckpwdf.
3745 * shadow/lckpwdf.c: New file.
3747 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
3748 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
3750 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
3752 * configure.in: Add definition for `__eh_pc' and `__throw' in
3753 test for --no-whole-archive. The compiler generates dependencies
3754 for this but none of the standard librares and startup files
3755 are used. Necessary for gcc >= ss-960816.
3757 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
3759 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
3760 return string since string might be on stack.
3761 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
3762 Wed Aug 21 10:14:59 1996.
3763 * elf/dlerror.c (dlerror): Free error string after printing.
3764 (_dlerror_run): If error string was not printed since last error
3766 * rtld.c (dl_main): Free error string in case of error.
3768 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
3770 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
3771 this changes the global state for `localtime' and `gmtime'. Use
3772 `__localtime_r'/`__gmtime_r' instead.
3773 * resolv/res_debug.c (__p_secstodate): Likewise.
3774 * sysdeps/generic/ftime.c: Likewise.
3775 * sysdeps/posix/gettimeofday.c: Likewise.
3776 Reported by Paul Eggert.
3778 * time/gmtime.c: De-ANSI-fy.
3779 * time/strftime.c: Don't call non-reentrant functions which change
3782 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
3784 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
3785 than putting it on the stack.
3787 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
3789 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
3790 don't find .plt entries.
3792 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3794 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
3797 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
3799 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
3801 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
3803 * login/pututline_r.c (__pututline_r): Fix handling of case where
3804 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
3806 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
3808 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
3809 for "Jensen" so _bus_base() returns 0 on that platform. Use
3810 _bus_base_sparse() to determine base address of sparse memory.
3812 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
3813 and declarations in __BEGIN_DECLS/__END_DECLS.
3815 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
3817 * err.h: New file. Wrapper around misc/err.h.
3819 Correct solution of multiple initialization problem by
3821 * csu/initfini.c: Remove global variable __libc_is_static.
3822 * elf/rtld.c: Introduce new global variable _dl_starting_up.
3823 It's nonzero during the startup.
3824 * elf/dl-open.c (_dl_open): When _dl_start function is not
3825 available (i.e., if in static libc) set `__libc_multiple_libcs'
3827 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
3828 New global variable.
3829 (init): Undo change of Fri Aug 2 03:12:40 1996.
3830 Initialize `__libc_multiple_libcs' to nonzero only if this is
3831 a shared lib called from a statically linked program and don't
3832 call `personality' and `setfpucw' in this case either.
3833 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
3834 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
3835 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
3836 before jumping to user code.
3837 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3839 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
3841 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
3842 Thu Aug 8 12:40:20 1996.
3843 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
3844 -fkeep-inline-functions flag instead.
3846 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3848 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
3849 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
3850 like ECONNREFUSED already does.
3851 (_nss_dns_gethostbyaddr_r): Likewise.
3852 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3853 (_nss_dns_getnetbyaddr_r): Likewise.
3855 * sysdeps/mach/hurd/socket.c (socket): For message transmission
3856 and RPC errors that indicate that the socket server is not really
3857 present and able to do its job, turn the error into EPFNOSUPPORT.
3859 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
3861 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
3862 name dynamically. Reported by Alan Cox.
3863 Uncomment warnings and mark as translatable.
3865 * time/strftime (strftime): Add implementation for %s and %z
3866 format. Change behaviour for unknown format character: now
3867 simply print it. This matches the behaviour of printf.
3868 Reported by Jim Meyering.
3869 * manual/time.texi: Document all formats and flags of strftime.
3871 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
3873 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
3876 * misc/sys/select.h: Define fd_set using typedef, not #define.
3877 Proposed by David Mosberger-Tang.
3879 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
3881 * po/header.pot: Use real description line.
3883 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
3885 * elf/rtld.c (dl_main): When started with --verify prevent
3886 any warning. Just exit with an error.
3887 * elf/ldd.sh.in: Don't run given object directly. This fails for
3888 libraries. Instead use $RTLD again.
3890 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
3892 * manual/nss.texi: New file. Document NSS.
3893 * manual/nsswitch.texi: New file. Example configuration.
3895 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
3896 * manual/example/strdupa.c: New file. Example for strdupa.
3898 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
3900 * stdlib/strtod.c (STRTOD): Correct assertion about size of
3901 wint_t and wchar_t. Reported by David Mosberger-Tang.
3903 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3905 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
3906 RELOC_ADDR and make NOPLT a set of flags. All callers
3907 changed. Delete condition that checks for resolving to the
3908 location being filled in. Add condition to skip the
3909 executable's symbols if requested.
3910 * elf/link.h: Change declaration of _dl_lookup_symbol
3912 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
3913 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
3915 * elf/dl-runtime.c (RESOLVE): Likewise.
3916 * elf/rtld.c (RESOLVE): Likewise.
3917 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
3918 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
3919 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
3920 reloc, zero otherwise.
3921 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3923 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3925 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
3927 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
3928 * po/header.pot: Add empty line at end.
3930 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3932 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
3933 are now in $P/stdio-common.pot.
3934 (XGETTEXTFLAGS-errlist.pot): Variable removed.
3936 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3938 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
3939 script at run time, not configure time.
3940 * config.make.in, configure.in: Undo previous change.
3942 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
3944 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
3945 on stack as argument for `_exit'. Reported by Andreas Schwab.
3947 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3949 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
3951 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
3953 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
3954 (_dl_map_object_from_fd): Free name on error.
3956 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
3958 * string/strdup.c: Use result of memcpy to avoid reloading.
3960 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3962 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
3963 the other way round.
3965 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
3967 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
3970 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
3972 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
3974 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
3977 Update from bind-4.9.5-T1A.
3978 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
3979 inet_net_pton, inet_net.
3981 * resolv/gethnamaddr.c: Include <sys/types.h>.
3982 * resolv/getnetnamadr.c: Likewise.
3983 * resolv/herror.c: Likewise.
3984 * resolv/inet_addr.c: Likewise.
3985 * resolv/nsap_addr.c: Likewise.
3986 * resolv/res_comp.c: Likewise.
3987 * resolv/res_data.c: Likewise.
3988 * resolv/res_init.c: Likewise.
3989 * resolv/res_mkquery.c: Likewise.
3990 * resolv/res_query.c: Likewise.
3991 * resolv/res_send.c: Likewise.
3993 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
3995 * resolv/inet_ntop.c: Likewise.
3997 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
3998 Remove prototype of gethostbyname_ipv4.
4000 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
4001 functions instead of BSD `b*' functions.
4003 * resolv/nsap_addr.c: Add copyright message.
4005 * resolv/res_comp.c: Remove comment explaining label format.
4006 (res_mailok): Correct check.
4008 * resolv/res_debug: Include missing headers.
4009 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
4010 (__p_fqnname): New function to print FQDN from compressed name.
4011 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
4012 correctly. Add handling of T_KEY and T_SIG.
4013 Handle class and type names by using name arrays instead of
4014 explicit `switch'es.
4015 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
4016 (__dn_count_labels, __p_secstodate): New functions.
4018 * resolv/resolv.h (__RES): Update version number.
4019 (res_sym): New type.
4020 Add #defines for new functions.
4021 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
4022 __p_secstodate, dn_count_labels.
4024 * resolv/arpa/nameser.h (__BIND): Update version number.
4025 Add KEYFLAG_* and ALGORITHM_* symbols.
4026 (HEADER): Add `ad' and `cd' flags.
4028 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
4031 * manual/maint.texi: Document that we use bind-4.9.5.
4034 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
4036 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
4038 * mach/Makefile (mach/mach_host.uh): Depend on
4039 $(objpfx)/mach-syscalls.mk.
4040 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
4041 (This fixes a make loop; thanks to Marcus Daniels
4042 <marcus@sysc.pdx.edu> for the patch.)
4044 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
4046 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
4047 buffer is any longer than the amount necessary to hold the
4048 filename; the Hurd getcwd uses the *entire* contents of the
4049 buffer, however long it is specified to be.
4051 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
4053 * nss/nsswitch.c (__nss_database_lookup): Always release locks
4054 before returning. Reported by Miles Bader.
4056 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
4058 * nss/nsswitch.c (__nss_configure_lookup): New function.
4059 Allows to specify services.
4060 * nss/XXX-lookup.h: Rename database variable and make global.
4061 * nss/databases.def: New file. Real names of all databases.
4063 * nss/nss.h: New file. Contains declaration useful for users
4064 and service developers.
4065 * nss/nsswitch.h: Move some declarations to nss/nss.h.
4066 * nss.h: New file. Wrapper around nss/nss.h.
4068 * nss/Makefile (headers): Add nss.h.
4069 (distributes): Add databases.def.
4071 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
4073 Help the poor people with fast machines by making sure only
4074 one `ar' commands works on the library.
4075 * autolock.sh: New file. Written by Tom Tromey.
4076 * Makerules (do-ar): Call autolock.sh shell script instead of
4077 directly using `ar'.
4078 * config.make.in: Make configuration variable AUTOLOCK which
4079 gets initialized by configure.
4080 * configure.in: Define variable AUTOLOCK to point to autolock.sh
4081 script and mark it to substitute.
4083 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
4085 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
4086 always only if in static libc or if statically linked program
4089 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
4090 always only if in static libc or if statically linked program
4093 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
4095 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
4096 startup by moving Icache flush from here ...
4097 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
4098 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
4100 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
4101 calling conventions. The code is already correct.
4103 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
4105 * string/Makefile: Compile tester with -fno-builtin as we want to
4106 test our implementations, not gcc's.
4108 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
4110 * shadow.h: New file.
4112 * sysdeps/unix/sysv/linux/netinet/in.h: Move
4113 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
4116 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
4117 g++ 2.7.2 (and earlier) has no transparent unions support.
4119 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
4121 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
4122 function to determine the base address of sparse bus memory.
4123 (APECS_*): Rename to CIA_*.
4124 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
4125 (platform): Add sparse_bus_memory_base member and initialize.
4126 (sparse_bus_memory_base): New variable.
4128 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
4130 * sysdeps/posix/ttyname_r.c (ttyname_r),
4131 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
4132 !__isatty(fd) (POSIX.1 says so.)
4134 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
4135 This is not a gross hack, after all---for compatibility,
4136 getlogin() really should check fd 0 only and not try to base its
4137 operation on the controlling tty.
4139 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
4141 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
4142 change utmp_data from static to auto.
4144 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
4146 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
4147 Reported by David Mosberger-Tang.
4149 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
4151 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
4152 alias to `__isnanl'.
4154 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
4156 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
4157 get `struct timeval'.
4158 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
4159 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
4160 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
4161 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4162 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
4163 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
4165 * io/fts.h: Include <sys/types.h> to get dev_t.
4166 Reported by Matthias Urlichs.
4168 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
4169 _IO_file_flags. It's the same as _flags.
4170 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
4172 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4174 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
4176 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
4178 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
4179 * pwd/getpwent_r.c: Likewise.
4180 * pwd/getpwnam.c: Likewise.
4181 * pwd/getpwnam_r.c: Likewise.
4182 * pwd/getpwuid.c: Likewise.
4183 * pwd/getpwuid_r.c: Likewise.
4185 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
4186 * grp/getgrent_r.c: Likewise.
4187 * grp/getgrgid.c: Likewise.
4188 * grp/getgrgid_r.c: Likewise.
4189 * grp/getgrnam.c: Likewise.
4191 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
4192 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
4193 * pwd/Makefile (routines): Add fgetpwent_r.
4194 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
4196 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
4197 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
4198 * grp/Makefile (routines): Add fgetgrent_r.
4199 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
4201 Implement shadow password lookup functions. This is no complete
4202 shadow password suite.
4203 * shadow/Makefile: New file.
4204 * shadow/fgetspent.c: New file.
4205 * shadow/fgetspent_r.c: New file.
4206 * shadow/getspent.c: New file.
4207 * shadow/getspent_r.c: New file.
4208 * shadow/getspnam.c: New file.
4209 * shadow/getspnam_r.c: New file.
4210 * shadow/putspent.c: New file.
4211 * shadow/sgetspent.c: New file.
4212 * shadow/sgetspent_r.c: New file.
4213 * shadow/shadow.h: New file.
4214 * shadow/spwd-lookup.c: New file.
4215 * shadow/nss_files/files-spwd.c: New file.
4217 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
4219 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
4220 call is only a stub.
4221 Reported by Matthias Urlichs.
4223 * Makeconfig [!default_cflags]: Change default value from `-g'
4226 * configure.in: Recognize i686.
4227 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
4229 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
4231 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
4232 value of CFLAGS-.o, not CFLAGS-o.
4234 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
4235 pointer to ourself. Otherwise `gcc -O3' optimized init away.
4237 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
4239 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
4240 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
4242 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
4244 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
4245 to 0x137f to allow long double operations.
4247 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
4251 * nss/nsswitch.c (_res): Remove redundant variable definition.
4252 The real one is in resolve/res_init.c, and having both prevents
4253 using -fno-common when building the shared library.
4254 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
4256 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
4257 a .bss object not a COMMON symbol.
4259 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
4260 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
4264 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
4265 main loop for better dual-issue on EV5. Rearrange binary search to
4266 pipeline better and trim one instruction.
4270 * time/localtime.c (localtime_r): Move lock declaration back next to
4271 the comment where it was before the 960724 change.
4273 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
4274 The second word is supposed to be the hardware manufacturer.
4276 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
4277 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
4279 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
4281 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
4282 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
4283 Same cleanups as with EV4 GMP stuff.
4285 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
4287 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
4288 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
4289 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
4291 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
4293 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
4296 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
4298 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
4300 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
4303 * socket/sys/socket.h (send, __send, sendto): Declare buffer
4306 * string/tester.c (main): Test stpncpy.
4308 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
4309 segfault when called with an N that is not a multiple of four and
4312 * misc/syslog.c (LogType): New variable.
4313 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
4314 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
4316 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
4317 terminator as a record-delimiter. If __send(LogFile) fails,
4318 call closelog() so logfile gets re-opened next time.
4320 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
4322 * elf/dl-open (_dl_open): Add cast to avoid warning.
4324 * manual/memory.texi: Improve some examples to give readers better
4325 advice: Use `stpcpy' instead of `strcat' if possible.
4326 * manual/string.texi: Document `strtok_r' and `strtok'.
4328 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
4330 [$(cross-compiling)=no]: Change test before making librpcsvc
4331 to this from $(cross-compile).
4332 Reported by Andreas Schwab.
4334 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
4336 * elf/Makefile (routines): Move dl-sysdep to here...
4337 (rtld-routines): ...from here. This should make static linking
4340 * locale/setlocale.c: Add local variable `lock' and add code to
4341 `setlocale' to avoid simultaneous changing of global data.
4343 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
4344 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
4345 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
4346 of unprotected names.
4348 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
4350 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
4351 This requires to rename several functions to use __ protected
4353 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
4355 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
4356 and make old name a weak alias.
4357 * sysdeps/mach/hurd/getrlimit.c: Likewise.
4358 * sysdeps/mach/hurd/opendir.c: Likewise.
4359 * sysdeps/mach/hurd/readdir.c: Likewise.
4360 * sysdeps/stub/closedir.c: Likewise.
4361 * sysdeps/stub/opendir.c: Likewise.
4362 * sysdeps/stub/readdir.c: Likewise.
4363 * sysdeps/unix/closedir.c: Likewise.
4364 * sysdeps/unix/opendir.c: Likewise.
4365 * sysdeps/unix/readdir.c: Likewise.
4367 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
4369 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
4370 `__closedir' instead of unprotected names.
4372 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
4373 instead of `isatty' since later is not part of ISO C.
4374 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
4375 `open' since later is not part of ISO C.
4377 * login/endutent.c (endutent): Call `__endutent_r', not
4379 * login/endutent_r.c: Rename defined function to `__endutent_r',
4380 make `endutent_r' weak alias.
4381 * login/getutent.c (getutent): Call `__getutent_r', not
4383 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
4384 * login/getutid_r.c: Rename defined function to `__getutent_r',
4385 make `getutent_r' weak alias.
4386 * login/getutline.c (getutline): Call `__getutline_r', not
4388 * login/getutline_r.c: Rename defined function to `__getutline_r',
4389 make `getutline_r' weak alias.
4390 * login/pututline_r.c: Rename defined function to `__pututline_r',
4391 make `pututline_r' weak alias.
4392 * login/setutent.c (setutent): Call `__setutline_r', not
4394 * login/setutent_r.c: Rename defined function to `__setutline_r',
4395 make `setutline_r' weak alias.
4396 Rename `utmpname' to `__utmpname' and make former weak alias.
4397 (__utmpname): Call `__strdup', not `strdup'.
4398 * login/utmp.h: Add prototypes for name space clean reentrant
4400 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
4401 and `__endutent_r' instead of unprotected names.
4403 * math/math.h: Add prototype for `__matherr'.
4404 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
4407 * nss/getXXbyYY.c: Call __ protected reentrant function.
4408 * nss/getXXent.c: Likewise.
4409 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
4410 name. Make usual name a weak alias.
4411 * nss/getXXent_r.c: Likewise.
4413 * posix/unistd.h: Add prototype for `__ttyname_r'.
4414 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
4415 and make `ttyname_r' a weak alias.
4417 * resource/sys/resource.h: Add prototype for `__getrlimit'.
4418 * sysdeps/stub/getrlimit.c: Prepend function name with __
4419 and make old name a weak alias.
4420 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
4421 and make `getrlimit' weak alias.
4423 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
4424 * libc/stdio/vscanf.c: De-ANSI-fy.
4425 Rename function to `__vscanf' and make `vscanf' a weak alias.
4426 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
4429 * stdio-common/reg-printf.c: De-ANSI-fy.
4430 Rename function to `__register_printf_function' and make
4431 `register_printf_function' weak alias.
4433 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
4436 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
4437 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
4438 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
4439 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
4440 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
4442 * wcsmbs/mbsrtowcs.c: Likewise.
4443 * wcsmbs/wcrtomb.c: Likewise.
4444 * wcsmbs/wcsrtombs.c: Likewise.
4445 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
4447 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
4448 instead of `sigprocmask'.
4451 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
4452 version getgrent_r, getgrgid_r, and getgrnam_r.
4453 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
4454 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
4456 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
4459 * misc/error.c (private_strerror): Translate messages from table,
4462 * io/fcntl.h: Pretty printing.
4463 * misc/fstab.h: Likewise.
4464 * misc/ttyent.h: Likewise.
4465 * resource/sys/resource.h: Likewise.
4466 * string/argz.h: Likewise.
4467 * string/envz.h: Likewise.
4469 Add support for symbols from POSIX.1c (POSIX threads).
4470 * posix/getconf.c: Handle new sysconf symbols.
4471 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
4472 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
4473 * sysdeps/generic/confname.h: Define new symbols.
4474 * sysdeps/posix/sysconf.c: Handle new symbols.
4475 * sysdeps/stub/sysconf.c: Ditto.
4476 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
4479 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
4480 have real prototype.
4482 * sysdeps/generic/resourcebits.h: Add macro definition for
4483 RLIMIT_* values. Some sources test using #ifdef whether specific
4485 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
4486 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
4487 separate files for the architectures.
4488 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
4489 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
4490 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
4491 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
4493 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
4494 and only default on `OPEN_MAX'.
4495 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
4498 * time/Makefile (routines): Add ctime_r.
4499 * time/asctime.c: Add implementation of `asctime_r'. Make
4500 `asctime' implementation based on reentrant version.
4501 * time/ctime_r.c: New file.
4502 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
4505 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4507 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
4508 (_nl_C_LC_CTYPE): Fix ordering.
4509 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
4512 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
4514 * csu/initfini.c: Discover the maximum alignment generated by the
4515 compiler when emitting a function.
4516 (_init): Make sure the end of the crti fragment is aligned.
4519 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
4521 * initfini.c: (__libc_is_static): New variable. Will be
4522 initialized in init-first.c. Some actions in the libc work
4523 different when libc is static or dynamic.
4525 * sysdeps/unix/sysv/linux/init-first.c (init): Use
4526 `__libc_is_static' variable to determine whether call to
4527 `personality' and `setfpucw' is necessary. When done set variable
4528 to +-1 depending on library type.
4530 * locale/setlocale.c (setlocale): Use global variable
4531 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
4532 determine whether it's a SET[UG]ID program.
4534 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
4536 * Version 1.93 test release.
4538 * manual/Makefile: Use -include for chapters-incl too.
4540 * Makeconfig (+link): Add back start.o, mistakenly removed in last
4543 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4545 * nss/Makefile (generated): Add db-*.c.
4547 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
4548 using #include_next.
4550 * configure.in (--enable-add-ons): Quote m4 macro args.
4552 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
4554 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
4556 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
4558 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
4560 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
4563 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
4564 warning when inline function is elided.
4565 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
4566 (elf_machine_runtime_setup): Likewise.
4567 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
4568 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
4569 (elf_machine_load_address): Likewise.
4571 * catgets/gencat.c: Include <locale.h>.
4573 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
4575 * login/logwtmp.c (logwtmp): Call time, not __time.
4577 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
4578 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
4579 * login/logwtmp.c (logwtmp): Likewise.
4581 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
4582 comparing ioctl macro values.
4584 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
4586 * manual/Makefile: Use -include for chapters to suppress warning.
4588 * sysdeps/stub/socket.c: Fix type of TYPE arg.
4589 * sysdeps/stub/socketpair.c: Likewise.
4591 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
4593 * sysdeps/generic/sysdep.h: New file, broken out of ...
4594 * sysdeps/unix/sysdep.h: ... here.
4595 (C_LABEL): Moved out.
4597 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
4598 stick to sed. Do `exit 0' at end because while returns nonzero.
4600 * sysdeps/i386/sysdep.h: New file, broken out of ...
4601 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
4603 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
4604 They are defined unconditionally in libio/stdio.h.
4606 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
4607 * elf/dl-cache.c: Likewise.
4609 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
4611 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
4612 (sysdep_headers): Add sys/sysmacros.h.
4613 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
4615 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
4617 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
4618 tcgetattr. We have weak aliases now.
4619 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
4620 "optimizations" for random functions.
4622 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4624 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
4625 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
4626 redefinition warning.
4628 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4630 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
4633 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4635 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
4638 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
4640 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
4642 Reported by Richard Henderson <rth@tamu.edu>.
4644 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4646 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
4649 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
4651 * locale/setlocale.c (setlocale): Don't try to free C locale
4653 Reported by Matthias Urlichs.
4655 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
4657 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
4658 (open_file): New function, contents mostly from __open.
4659 (_dl_sysdep_read_whole_file): New function.
4661 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
4663 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
4664 `..' dots in sed search string.
4666 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4668 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
4671 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4673 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
4674 in those directories.
4675 * config.make.in (add-ons): New varaible, set from @subdirs@.
4676 * Makefile (subdirs): Added $(add-ons) at the end.
4678 * time/strftime.c (strftime: do_number): Initialize PRINTED to
4679 MAXDIGITS in case P is null and so sprintf is never actually called.
4681 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
4683 Add support for the to-be-written internationalized regexp.
4684 This code must be able to use collation symbols and collation
4686 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
4687 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
4688 New global variables for collation classes.
4689 * locale/categories.def: Add new descriptions for collation symbols
4690 and collation classes.
4691 * locale/langinfo.h: Add constants for collation symbols and
4693 * locale/lc-collate.c: Add new global variables for collation symbols
4694 and collation classes.
4695 (_nl_postload_collate): Initialize new variables.
4696 * locale/programs/ld-collate.c: Add code to emit tables for
4697 collation symbols and collation classes.
4698 * locale/programs/locales.h: Change prototype for `collate_output'.
4699 * locale/programs/locfile.c (write_all_categories): Call
4700 `collate_output' with new argument.
4701 * locale/localeinfo.h: Add declaration for new global vars.
4702 (union locale_data_value): New member wstr for `wchar_t' strings.
4703 * locale/programs/locale-spec.c: Handle `collate-classes'
4704 keyword and print information about available collation classes.
4705 * locale/strlen-hash.h: New file. Simple hashing function which
4706 takes a string with known length.
4707 * locale/Makefile (distribute): Add strlen-hash.h.
4708 (locale-modules): New var. Additional files for `locale' program.
4710 * locale/C-ctype.c: Rewrite to avoid using string for giving values
4711 which are of type `u_int32_t'.
4712 Correct entry for EOF in toupper and tolower tables.
4714 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
4717 * locale/programs/ld-ctype.c (ctype_output): Add code to make
4718 sure that all tables in binary file are word-aligned.
4720 * locale/programs/locfile.c (write_locale_data): Correct handling
4721 of LC_MESSAGES locale. Create directory if necessary.
4723 * locale/setlocale.c (setlocale): Add cast to avoid warning.
4725 * string/string.h: Add prototype for `__strndup'.
4727 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4729 * wcsmbs/mbrtowc.c: Remove unused variable.
4731 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4733 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
4734 2.0.10; some problems were reported with an earlier version, and this
4735 one is known to work.
4737 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
4738 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4740 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
4742 * elf/rtld.c (dl_main): Ignore arguments when environment variable
4743 LD_TRACE_LOADED_OBJECTS is set.
4745 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4747 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
4748 __libc_enable_secure instead of _dl_secure.
4749 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4750 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
4752 * elf/Makefile (routines): Add enbl-secure.
4753 (elide-routines.so): Here too.
4754 * sysdeps/generic/enbl-secure.c: New file.
4755 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
4756 * elf/dl-support.c (_dl_secure): Variable removed.
4757 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
4759 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
4761 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
4762 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
4763 compiler doesn't elide it.
4764 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
4766 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4768 * elf/rtld.c (dl_main): Take new option --verify when run directly.
4769 In verify mode, exit with status zero iff the argument object's
4770 PT_INTERP matches argv[0].
4771 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
4772 exits with zero status. This makes `ldd' secure again.
4774 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
4776 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
4777 environment variable handling. This makes the dynamic linker
4778 only print loaded libraries and quit.
4780 * elf/ldd.sh.in: Don't use `rtld --list' but instead
4781 LD_TRACE_LOADED_OBJECTS environment variable to print needed
4784 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4786 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
4787 after printing version until after doing usage for --help.
4788 (long_options, main, usage): Rename -l/--lowercase option to
4789 -f/--fold-case (-f matches sort).
4791 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
4793 * db/makedb.c: New file. Implement program to create simple <db.h>
4794 database from textual input. This will be used for nss_db.
4796 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4798 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
4799 * sunrpc/rpc/pmap_clnt.h: Likewise.
4800 * sunrpc/rpc/auth.h: Likewise.
4801 * sunrpc/rpc/pmap_rmt.h: Likewise.
4802 * sunrpc/rpc/rpc_msg.h: Likewise.
4804 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
4806 * string/string.h (strndupa): Change to use return value of
4807 `memcpy' for more performance.
4808 * string/strndup.c: Likewise.
4810 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
4811 This might lead to problems.
4812 (strndupa): Likewise.
4814 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
4816 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
4817 and change K&R prototypes to ANSI prototypes.
4818 * sunrpc/rpc/auth_unix.h: Ditto.
4819 * sunrpc/rpc/clnt.h: Ditto.
4820 * sunrpc/rpc/pmap_clnt.h: Ditto.
4821 * sunrpc/rpc/pmap_prot.h: Ditto.
4822 * sunrpc/rpc/pmap_rmt.h: Ditto.
4823 * sunrpc/rpc/rpc_msg.h: Ditto.
4824 * sunrpc/rpc/svc.h: Ditto.
4825 * sunrpc/rpc/svc_auth.h: Ditto.
4826 * sunrpc/rpc/xdr.h: Ditto.
4828 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4830 * ctype/test_ctype.c: Test EOF too.
4832 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
4834 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
4835 * sunrpc/rpc/auth_unix.h: Likewise.
4836 * sunrpc/rpc/clnt.h: Likewise.
4837 * sunrpc/rpc/netdb.h: Likewise.
4838 * sunrpc/rpc/pmap_clnt.h: Likewise.
4839 * sunrpc/rpc/pmap_prot.h: Likewise.
4840 * sunrpc/rpc/rpc_msg.h: Likewise.
4841 * sunrpc/rpc/svc.h: Likewise.
4842 * sunrpc/rpc/svc_auth.h: Likewise.
4843 * sunrpc/rpc/xdr.h: Likewise.
4845 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
4847 * sunrpc/pmap_rmt.c: ...here.
4849 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
4851 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
4853 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
4856 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4858 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
4859 <kkojima@info.kanagawa-u.ac.jp>.
4861 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
4863 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
4864 defined, not __OPTIMIZED.
4865 (_nl_msg_cat_cntr): Move declaration outside macro definition
4866 to prevent "nested extern" warning.
4867 (dcgettext): Rename local variable `result' to `__result'.
4869 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4871 * locale/programs/localedef.c (__progname): Remove decl.
4872 (main): Use program_invocation_short_name instead of __progname.
4873 (usage): Use program_invocation_name instead of __progname.
4875 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
4877 * catgets/gencat.c: Use "libc" instead of PACKAGE.
4878 * locale/localedef.c: Ditto.
4879 * locale/locale.c: Ditto.
4881 * locale/findlocale.c (_nl_find_locale): Little optimization.
4882 Use new function `strndup'.
4884 * locale/loadlocale.c: Little optimization. Use constant value
4885 from `_nl_category_num_items' instead of byte-order dependend
4888 * locale/programs/ld-time.c (time_add): Correct string constant.
4890 * locale/programs/locale-spec.c: New file.
4891 * locale/programs/locale.c: Call `locale_special' function if
4892 no other field matches.
4894 * locale/programs/localedef.c: No need to define `program_name'.
4895 Use global variable `__progname'.
4897 * locale/programs/locfile.c (write_locale_data): Always write
4898 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
4899 necessary since message catalogs are also installed in the
4900 LC_MESSAGES/ directory.
4902 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
4903 function instead of writing single bytes.
4904 (encode_char): Also handle little endian.
4906 * locale/setlocale.c (new_composite_name): Little optimization.
4907 Use return value of `memcpy'.
4909 * misc/ttyent.h: Pretty print prototypes, add missing parameter
4910 names, prepend parameter names with __ and use `__const' instead
4912 * posix/unistd.h: Ditto.
4913 * stdlib/stdlib.h: Ditto.
4914 * string/string.h: Ditto.
4916 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
4917 Use `error' function instead of doing it by hand.
4918 * sysdeps/posix/sysconf.c: De-ANSI-fy.
4919 Handle _SC_COLL_WEIGHTS_MAX.
4920 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
4921 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
4922 since these do not depend on the platform.
4923 Add POSIX.4 symbols.
4925 * posix/posix2_lim.h: Add missing definition of
4926 _POSIX2_COLL_WEIGHTS_MAX.
4927 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
4928 to high values since we have no fixed limit.
4930 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
4931 _SC_PAGESIZE for buggy systems (= HP UX) out there.
4933 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
4934 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
4935 * wcsmbs/wcsnrtombs.c: Ditto.
4936 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
4939 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
4941 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
4943 * nss/getXXent_r.c: Likewise.
4944 * nss/nsswitch.c: Likewise.
4945 * nss/nss_files/files-XXX.c: Likewise.
4946 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
4947 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
4948 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
4950 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4952 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
4953 macro, now put the needed Linux version just once, here; update to
4954 needing linux-2.0.3 headers.
4955 (libc_cv_linuxVER): New macro derived from that.
4956 (kernel header check): Use those macros and some m4 magic to replace
4957 hard-coded `201' and `2.0.1' in several places.
4959 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
4961 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
4963 * time/localtime.c: Move lock variable declaration to end of
4964 variable declarations since if is a dummy macro the ; at the
4965 end terminates the variable section of the function.
4967 * time/tzset.c: Undefine `tzset' before function declaration.
4968 Use `weak_function' macro instead of `weak_symbol'.
4970 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
4972 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
4975 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
4977 * locale/C-ctype.c: Increment number of fields after change
4978 from Wed Jun 19 03:24:58 1996.
4980 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4982 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
4983 ($(common-objpfx)libc.so): Move deps into that, use it.
4984 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
4985 $(rpcuserlibs:.so=_pic.a).
4986 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
4989 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4991 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
4992 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
4994 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
4996 * locale/iso-4217.def: Add India to comment for symbol "INR ".
4997 Reported by Raja R Harinath <harinath@cs.umn.edu>.
4999 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5001 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
5004 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5006 * time/tzset.c: Include <libc-lock.h>.
5007 (__tzset_lock): New lock variable.
5008 (tzset): New function (weak defn), no longer weak alias for __tzset.
5009 Call __tzset while holding __tzset_lock.
5010 * time/localtime.c: Include <libc-lock.h>.
5011 (__localtime_r): Hold __tzset_lock while doing the work.
5013 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
5014 from [!HAVE_GNU_LD] to [!_LIBC].
5015 [_LIBC]: Include <libc-lock.h> and define a lock.
5016 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
5017 (setenv, unsetenv): Use them.
5019 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
5021 * locale/programs/locfile.c (write_locale_data): Deal with missing
5024 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
5025 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
5027 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5029 Win32 hacks from <Rob_Tulloh@tivoli.com>.
5030 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
5031 use void * for my_realloc; include <malloc.h> for alloca.
5032 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
5033 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
5034 * posix/glob.h: Likewise.
5036 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
5038 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
5039 call __io_select unless there's only a single descriptor, as each
5040 descriptor now has its own reply port.
5041 If there is only a single descriptor, just use its reply port for
5042 everything and don't bother creating the port set.
5044 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
5045 <unistd.h>: New include.
5047 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
5050 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5052 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
5053 from the USA any software that even makes it easy to drop in an
5054 encryption module of foreign origin.
5055 * Makerules (cryptobjdir): Variable removed.
5056 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
5057 * Makefile (subdirs): Remove crypt.
5059 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
5061 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
5062 operator to yesexpr and noexpr string.
5064 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
5066 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
5067 old code would have failed on a big-endian 64-bit architecture).
5068 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
5070 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
5071 (xdr_u_long): Use switch instead of chain of if-statements.
5072 Remove gratitous parentheses around return expressions.
5073 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
5075 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
5077 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
5080 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5082 * dlfcn.h, db.h: New wrapper headers.
5084 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
5085 for `struct stat;' forward decl.
5087 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
5089 * locale/iso-4217.def: Add some more standardized currency
5092 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5094 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
5096 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
5098 * Rules (dummy.o, empty.o): Targets removed.
5099 (dummy.c, empty.c): New targets replace them.
5101 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5103 * crypt/Makefile (lib-noranlib): Depend on
5104 $(objpfx)libcrypt.so$(libcrypt.so-version).
5107 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
5109 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
5110 check. mib's clueless hacking broke it.
5112 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5114 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
5116 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
5118 * misc/sys/ustat.h: New file.
5119 * misc/ustat.h: Ditto.
5120 * sysdeps/generic/ustatbits.h: Ditto.
5121 * sysdeps/stub/ustat.c: Ditto.
5122 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
5123 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
5125 (routines): Mention ustat.
5127 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
5128 * sysdeps/alpha/elf/start.S: here.
5130 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
5131 alphabetically correct place. Mention ustat.
5133 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
5134 common symbol (makes errno accessible from gdb).
5136 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
5139 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
5140 record always gets appended at end of file (wtmp is a log file,
5141 after all). Set ut_type to DEAD_PROCESS if name is empty.
5143 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
5144 separate loop from search for UT_ID. Fix code so it is in
5145 sync with Unix man page.
5147 * login/getutline_r.c (getutline_r): Stop searching only if
5148 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
5150 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
5152 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
5153 avoid duplicate declarations.
5155 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
5157 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
5158 and alpha-gnu-linuxecoff targets.
5160 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
5162 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
5164 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
5166 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
5169 * resolv/res_comp.c (res_hnok): Use empty statement in place
5170 of NULL (which generates a "useless expression" warning in
5173 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
5175 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
5176 with $(..) in output.
5178 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5180 * elf/Makefile (dl-routines): Add dl-cache.
5181 * elf/dl-cache.c: New file.
5182 * elf/dl-load.c (_dl_map_object): Check cache before default path.
5184 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
5186 * stdio-common/vfscanf.c: Major change. Now read character
5187 from stream only if needed. Before it was read after the
5188 previous character was used.
5189 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
5191 * stdio-common/tstscanf.c: Change test program so that return
5192 value is != 0 if one test failed.
5194 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5196 * sysdeps/m68k/Makefile (crypt): Variable removed.
5197 * sysdeps/sparc/Makefile: Likewise.
5199 * version.h (VERSION): Update to 1.93.
5201 * Makerules ($(libdir)/libc.so): Depend on
5202 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
5204 * crypt/nocrypt.c: New file.
5205 * Makefile (subdirs): Add crypt.
5206 * crypt/Makefile: New file.
5208 * Makerules (soversions.mk): Move this target, include of it, and
5209 include of version.mk to ...
5210 * Makeconfig: ... here.
5211 (soversions.mk): Depend on Makeconfig instead of Makerules.
5213 * shlib-versions (*-*-*): Set libcrypt=0.
5215 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
5217 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
5218 word extends right up to rmargin.
5220 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
5221 output the wrap margin, set point_col to wmargin.
5222 Use negative point_col to deal with a wmargin of 0.
5223 (line_wrap_point): Return 0 for a negative point_col.
5224 (line_wrap_stream): Make wmargin ssize_t.
5225 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
5227 (line_wrap_stream): Make wmargin ssize_t.
5228 (line_wrap_point): Return 0 for a negative point_col.
5230 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5232 * shlib-versions (*-*-gnu*): Set libc=0.0
5234 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5236 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
5237 sysdeps/i386/dl-machine.h.
5239 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
5241 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
5242 to fiddle __put_limit in conjunction with __linebuf_active.
5244 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5246 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
5247 to the strong name, not the file name.
5249 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5251 * csu/initfini.c: More magic. Detect if .end is produced and put it
5252 in the output iff the compiler does.
5254 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
5255 because that is broken on alpha.
5257 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
5260 * Makerules (make-link): Install the new link with atomic mv -f in
5261 case ln itself requires the library being installed.
5263 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
5265 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
5266 i386/dl-machine.h of 960713.
5268 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
5269 (_dl_sysdep_read_whole_file): Fix result variable declaration.
5271 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5273 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
5276 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
5278 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
5279 with pointer to local variable instead of NULL.
5281 1996-07-15 Paul Eggert <eggert@twinsun.com>
5283 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
5285 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5287 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
5288 that are already added by other means.
5290 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
5291 caller column to get those syscalls added automagically.
5293 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
5295 * login/logout.c (logout): Initialize DATA to a state that will
5296 make setutent_r happy.
5298 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5300 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
5301 instead of setting the DT_DEBUG pointer.
5303 * csu/initfini.c (_init, _fini): Generate .end directives after
5304 standalone prologues and filter them out from epilogues.
5306 * Makeconfig (rtld-installed-name): Set to ld.so.1.
5307 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
5310 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
5312 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
5314 * MakeTAGS (extract): Pass --add-comments=TRANS.
5315 * sysdeps/gnu/errlist.awk: Write comments into the output with the
5316 descriptive paragraphs from the manual preceded by TRANS.
5318 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
5319 (_dl_start): Move RESOLVE defn inside this function and #include
5320 "dynamic-link.h" a second time there.
5321 [RTLD_START]: Move use of this after _dl_start function.
5323 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
5325 * elf/rtld.c: Include <string.h>.
5327 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
5328 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
5329 Conditionalize defns on [RESOLVE].
5330 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
5331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5332 Instead use RESOLVE macro with same args.
5333 (elf_machine_rel): Conditionalize defn on [RESOLVE].
5334 * elf/dl-reloc.c (RESOLVE): New macro, define before including
5335 "dynamic-link.h". It replaces `resolve' local function.
5336 * elf/dl-runtime.c: Likewise.
5337 * elf/rtld.c: Likewise.
5339 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
5341 * elf/dl-open.c (_dl_open): Force an indirect call for
5342 _dl_relocate_object so there is no chance a PLT fixup will be done
5343 and clobber _dl_global_scope before our call happens.
5345 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
5346 to =t; must operate on top of fp reg stack, not second from top.
5347 Correct input constraint to 0 from t; must be explicit when input and
5348 output are the same register.
5349 (floor): Use __volatile instead of volatile.
5352 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
5355 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5357 * manual/Makefile (lib): New phony target. Depend on stamp files.
5358 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
5360 1996-07-13 Paul Eggert <eggert@twinsun.com>
5362 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
5363 to match Emacs format-time-string specification.
5364 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
5366 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5368 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
5369 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
5370 between MAP and its deps.
5371 * elf/link.h: Fix decl.
5372 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
5373 colon-separated list of names, map those and pass vector of ptrs as
5374 PRELOADS list to _dl_map_object_deps.
5375 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
5376 _dl_map_object_deps with empty preload list.
5377 * elf/dl-open.c (_dl_open): Likewise.
5379 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
5381 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
5382 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
5383 Conditionalize defn on [! MAP_ANON].
5384 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
5386 * elf/rtld.c (dl_main): Likewise.
5387 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
5388 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
5390 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
5392 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
5394 * stdlib/random.c (__random): Declare as int32_t to be in sync
5397 * socket/Makefile (headers): Add socketbits.h.
5399 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
5402 * grp/initgroups.c (initgroups): Add groups that user is a member
5403 of, not the ones he is _not_ a member of.
5405 * nss/nsswitch.c (known_compare): Make known_compare() a static
5406 instead of a local function. The latter are difficult to debug
5407 and slow to execute on certain platforms.
5409 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
5410 place of sizeof (dev). The size of a literal string includes the
5413 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
5415 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
5417 * misc/mntent.c (addmntent): Seek to end of file before writing
5418 entry. Return 1 on error, not -1.
5420 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
5422 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
5425 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
5427 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
5428 shift amount for Jensen must be 5 not 4.
5430 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5432 * socket/sys/socket.h (struct osockaddr): New type.
5434 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
5436 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
5437 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
5438 and `long double' versions can be generated.
5439 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
5440 so that included efgcvt{,_r}.c file generate `long double'
5442 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
5445 * manual/startup.texi: Document new getsubopt function.
5446 * manual/examples/subopt.c: New example program for documenting
5449 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
5451 * stdlib/Makefile (routines): Add getsubopt.
5452 * stdlib/stdlib.h: Add prototype for getsubopt.
5453 * stdlib/getsubopt.c: New file. Implement getsubopt function
5454 to handle suboption parsing.
5456 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5458 * inet/getnetent_r.c: Define NEED_H_ERRNO.
5459 * inet/getnetbynm_r.c: Likewise.
5460 * inet/getnetent.c: Likewise.
5461 * inet/getnetbyad_r.c: Likewise.
5462 * inet/getnetbyad.c: Likewise.
5463 * inet/getnetbynm.c: Likewise.
5465 * sysdeps/generic/pselect.c: Include <sys/time.h>.
5467 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
5470 * math/Makefile (calls): Add s_frexp, s_ldexp.
5471 (routines): Remove them and &f from here.
5473 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
5475 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
5478 * nss/nss_files/files-XXX.c: Comment fix.
5480 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
5482 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
5483 of reentrant function.
5484 (setup): Pass additional argument with function name we are
5486 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
5487 new argument {SET,END,GET}FUNC_NAME_STRING.
5489 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
5490 we return a pointer.
5492 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5494 * nss/nss_files/files-parse.c: Add comment about things to #define.
5496 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
5498 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
5499 terminator char as an error.
5501 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
5503 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
5505 * catgets/gencat.c (write_out): Move code to determine new
5506 best size out of inner loop.
5508 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
5510 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
5511 implementation of frexp() function.
5512 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
5513 implementation of ldexp() function.
5515 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
5518 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
5520 * misc/mntent.c: Include <sys/types.h>.
5521 (endmntent): Return 1 one success, 0 on failure.
5522 (getmntent): Chop newline and ignore empty lines.
5524 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5526 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
5527 differently based on [RTLD_BOOTSTRAP].
5528 (elf_machine_rela): Use it instead of the fn ptr arg directly.
5530 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5532 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
5533 __glob_closedir_hook): Remove decls.
5535 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
5537 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
5538 for send and connect syscalls.
5540 * socket/sys/socket.h: New file, taken from non-sysdep parts of
5541 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
5542 Declare __ names for send and connect.
5543 * sysdeps/generic/socketbits.h: New file.
5544 * sysdeps/unix/sysv/linux/socketbits.h: New file.
5545 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
5546 * sysdeps/generic/sys/socket.h: File removed.
5548 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
5549 * sysdeps/mach/hurd/send.c: Likewise.
5551 * sysdeps/mach/libc-lock.h: New file.
5552 * sysdeps/unix/readdir.c: Do locking.
5553 * sysdeps/unix/seekdir.c: Likewise.
5554 * sysdeps/unix/rewinddir.c: Likewise.
5555 * sysdeps/unix/closedir.c: Likewise.
5556 * sysdeps/unix/bsd/telldir.c: Likewise.
5557 * sysdeps/mach/hurd/seekdir.c: Likewise.
5558 * sysdeps/mach/hurd/readdir.c: Likewise.
5559 * sysdeps/mach/hurd/closedir.c: Likewise.
5560 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
5561 * sysdeps/unix/opendir.c: Likewise.
5562 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
5563 (struct __dirstream): Add lock member using __libc_lock_define.
5564 * sysdeps/unix/dirstream.h: Likewise.
5566 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
5568 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
5570 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
5572 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
5574 * locale/programs/stringtrans.c: Fix typo in copyright.
5576 * stdio-common/printf-prs.c: Add casts to prevent
5577 signed<->unsigned warnings.
5579 * stdio-common/printf-parse.h: Initialize state variable before
5581 * stdio-common/printf-prs.c: Don't initialize state variable here.
5582 * stdio-common/vfprintf.c: Don't initialize state variable.
5583 (vfprintf): While determining length of multibyte string don't
5584 try to be clever in determining characters to use for first
5587 Add real implementation of multibyte<->wide char conversion
5588 functions. The functions always convert between the fixed wide
5589 char format (ISO 10646 in UCS4) and the UTF8 representation of
5590 this character set. Conversion between the currently used
5591 8bit character set and ISO 10646 will not take place. This is
5592 what iconv() is for.
5593 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
5595 Add optimized version of `mbrlen' function.
5596 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
5598 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
5600 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
5601 This is needed in the wchar.h header.
5602 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
5603 encoded character to UCS4.
5604 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
5605 element of `mbstate_t' for initial state.
5606 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
5607 encoded string to UCS4 string.
5608 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
5609 character to UTF8 encoded form.
5610 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
5611 encoded string to UTF8 encoded form.
5613 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5615 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
5616 variable name, so new a libc with new requirements won't fail to
5617 notice an insufficient Linux version.
5619 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
5621 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
5622 instead of 2.0 headers.
5624 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
5626 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
5627 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
5629 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
5630 before using it in lhs of weak_alias.
5632 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
5633 Call __nss_lookup when not setting STARTP.
5634 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
5635 function-calling loop.
5637 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
5639 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
5640 PENDIN, NOFLSH): Undefine these at start if they are already
5641 defined to avoid collision with termbits.h.
5642 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
5643 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
5645 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5647 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
5648 already defined to float, long double. Use those macros for _Mdouble_
5649 defns when including mathcalls.h.
5650 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
5651 -D_Mlong_double_=double.
5653 Add more -lm functions to -lc because ldexp uses them.
5654 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
5655 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
5656 ldexp have both f and l code, and those have f though not l code.
5658 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
5660 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
5661 error is 0. The "placeholder" entries recently added to
5662 errno.texi convert to zero since `???/' is at the front of them.
5663 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
5665 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
5666 __const to conform with unistd.h.
5668 * stdlib/stdlib.h (random): Declare return type to be int32_t.
5670 * string/argz-delete.c (argz_delete): Use memmove instead of
5671 memcpy for possibly overlapping strings.
5673 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5675 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
5676 storage class. GCC gives an error for non-extern data defns with the
5679 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
5681 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
5682 memmove instead of memcpy for possible overlapping strings.
5684 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5686 * libc-symbols.h (weak_function): New macro.
5687 For GCC 2.7+ define as __attribute__ ((weak)).
5688 * elf/dl-minimal.c: Use weak_function as keyword in function defns
5689 instead of weak_symbol (NAME) after the defn.
5690 * stdlib/strtol.c: Likewise.
5691 * stdlib/strtod.c: Likewise.
5692 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5694 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
5695 If this is defined, don't declare _dl_rtld_map as weak, and
5696 don't check for MAP pointing to it. RESOLVE is always null in this
5697 case, so test with #ifdef instead of if.
5699 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
5701 * csu/initfini.c (_init): Likewise.
5702 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
5703 * misc/efgcvt_r.c: Likewise.
5704 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5707 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
5708 It was not used in any assembler code.
5709 (weak_symbol_asm): Renamed to weak_extern_asm.
5710 (weak_extern): New macro replaces weak_symbol for weak extern refs;
5711 define to weak_extern_asm for [!ASSEMBLER].
5713 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5715 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
5716 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
5717 define those now as aliases.
5718 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
5719 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
5720 after GCC weak attribute decl.
5722 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
5723 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
5724 (element printer): Check for elt in ALIAS, instead of special case
5727 * io/Makefile (headers): Add sys/vfs.h.
5728 * io/sys/vfs.h: New file.
5730 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
5731 critical section lock before unlinking dying active resources.
5732 The unlock just before return is right (i.e. old code unlocked twice).
5734 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
5736 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
5737 Use memmove instead of memcpy where overlap is possible (not
5738 necessary using current implementation of memcpy, but...).
5739 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
5741 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
5743 * stdio/linewrap.c (lwupdate): New function, mostly was
5744 __line_wrap_update. Use POINT_COL field instead of POINT.
5745 (__line_wrap_output): Use lwupdate.
5746 (__line_wrap_update): New function.
5747 (ensure_unwrapped, ensure_wrapped): New functions.
5748 (line_wrap_set_lmargin, line_wrap_set_rmargin,
5749 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
5751 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
5752 POINT_COL. Add POINT_OFFS field.
5753 (__line_wrap_update): New decl.
5754 (line_wrap_set_lmargin, line_wrap_set_rmargin,
5755 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
5757 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
5759 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
5761 * login/pututline_r.c (pututline_r): Since we assign RESULT from
5762 lseek now, check that it's >= 0, not == 0.
5764 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
5766 * login/login.c (login): Make a copy of *UT, fill in various
5767 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
5770 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
5771 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
5773 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5775 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
5776 signal during critical section doing interruptible RPC, if
5777 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
5778 before thread_resume. If in critical section, pass 0 for SIGNO to
5779 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
5781 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
5783 * sysdeps/unix/sysv/linux/sys/user.h: New file.
5784 * sysdeps/unix/sysv/linux/Dist: Add it.
5785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
5787 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
5788 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
5789 itself, no need to skip past a NUL.
5791 * nss/nsswitch.h (known_function): Comment fix.
5792 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
5793 directly. Do the lookup and insertion with a single call, and fill in
5794 the tree node afterwards if new.
5795 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
5797 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
5798 (struct timeval): Add bodiless decl for scope.
5800 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
5801 Move struct timespec defn outside [_TIME_H] so it can be got with
5802 #define __need_timespec.
5804 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
5805 for `struct timespec' member names.
5806 (TIMESPEC_TO_TIMEVAL): Likewise.
5808 * nss/Makefile (extra-libs-others): New variable.
5810 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
5811 $(lib) in $(extra-libs-others).
5812 * sunrpc/Makefile (extra-libs-others): New variable.
5813 (librpcsvc-no-lib-dep): Variable removed.
5815 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
5816 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
5818 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
5819 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
5820 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
5821 _dl_rtld_map weak only here.
5823 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
5825 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
5827 * login/utmp.h: Fix typos.
5829 * misc/syslog.c (vsyslog): Use __send instead of send and
5830 __connect instead of connect to avoid name-space collisions (e.g.,
5833 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5835 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
5837 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
5839 * malloc/malloc-size.c (malloc_usable_size): Renamed from
5840 malloc_object_allocation_size.
5841 * malloc/malloc.h: Fix decl.
5843 * sys/select.h: New file, wrapper header.
5845 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
5846 fd_set, associated macros, and select decl.
5848 * sysdeps/posix/isfdtype.c: New file.
5850 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
5852 The latest Japanese proposal for POSIX locales renames the
5853 CHARMAP keyword in locale definition files to CHARCONV.
5854 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
5855 function ctype_is_charmap to ctype_is_charconv.
5856 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
5858 * locale/programs/locfile-token.h: Add definition of token
5860 * locale/programs/locfile.c: Recognize charconv keyword. Rename
5861 lables according to this.
5863 * locale/weight.h (get_weight): Cast constants to prevent
5866 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
5867 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
5870 New stuff described in P1003.1g.
5871 * misc/Makefile (headers): Add sys/select.h.
5872 (routines): Add pselect.
5873 * misc/sys/select.h: New file. Declare select functions and
5874 needed data types and macros.
5875 * sysdeps/generic/pselect.c: New file. Add generic implementation
5876 of pselect() function which uses select().
5878 * posix/getconf.c: Recognize new variables from P1003.1g.
5879 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
5880 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
5881 * posix/unistd.h: Add description of the P1003.1g variables.
5882 * sysdeps/generic/confname.h: Define _SC_* values for new
5884 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
5886 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
5887 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
5889 * sysdeps/stub/sysconf.c (sysconf): Ditto.
5890 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
5891 _POSIX_SELECT since Linux has this.
5893 * socket/Makefile (routines): Add isfdtype.
5894 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
5895 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
5898 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
5900 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5902 * elf/Makefile (LDFLAGS-dl.so): New variable.
5903 (libdl.so): Depend on eval.so.
5904 (distribute): Add eval.c.
5905 * elf/eval.c: New file.
5907 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
5908 in case it wrote fewer than MAXDIGITS chars.
5910 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
5911 newline from flushing full buffer in loop, fix test so no fflush is
5912 done when last byte written exactly fills the buffer.
5914 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
5916 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
5917 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
5919 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
5920 extracting _dl_rtld_map.l_addr.
5922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
5924 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5926 * shlib-versions (*-*-*): Set libnss_db=1.
5928 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5930 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
5932 * rpm/template (%build): Use @prefix@ instead of always /usr.
5933 Set up configparms only if @prefix@ is in fact /usr.
5934 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
5936 * elf/Makefile: Add missing endif.
5938 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
5940 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
5941 (DATABASE): Define this instead of DATAFILE.
5942 * nss/nss_files/files-hosts.c: Likewise.
5943 (hostbyname): Use LOOKUP_NAME macro.
5945 * nss/nss_db/db-XXX.c: New file.
5946 * nss/Makefile (services): Add db.
5947 (libnss_db-inhibit-o): New variable.
5948 (libnss_db-routines): New variable.
5949 (distribute): Append db-XXX.c.
5950 (libnss_db.so): Depend on libdb.so and libnss_files.so.
5951 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
5953 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
5955 (DATAFILE): New macro.
5956 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
5958 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
5959 Pass db key args to DB_LOOKUP.
5960 (DATAFILE): Macro removed.
5961 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
5962 * nss/nss_files/files-service.c: Likewise.
5963 * nss/nss_files/files-pwd.c: Likewise.
5964 * nss/nss_files/files-proto.c: Likewise.
5965 * nss/nss_files/files-grp.c: Likewise.
5966 * nss/nss_files/files-ethers.c: Likewise.
5968 * elf/linux-compat.c: File removed.
5969 * elf/Makefile (distribute): Remove linux-compat.c.
5970 (ld-linux.so.1): Remove target and associated variables.
5972 * sunrpc/xdr.c: Remove malloc decl.
5973 * sunrpc/portmap.c: Likewise.
5975 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
5976 casting abort to fn returning bool_t.
5978 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
5979 the parser function.
5980 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
5981 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
5982 * nss/nss_files/files-grp.c: Likewise.
5984 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
5986 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
5988 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
5989 of ld.so so lookups for that soname find it.
5991 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
5992 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
5994 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
5995 define parse_line function.
5996 (parse_line): #define to _nss_files_parse_pwent and
5997 add extern decl for that.
5999 * nss/nss_files/files-XXX.c (internal_getent): Return
6000 NSS_STATUS_TRYAGAIN for ERANGE error.
6002 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
6003 of null, so next round returns null again instead of bombing. Fix
6006 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
6007 Remove ; after `ENTDATA_DECL (data)'.
6008 Truncate line at strpbrk (line, EOLSET "\n").
6009 (ENTDATA_DECL): Put ; at end.
6010 (MIDLINE_COMMENTS): Macro removed.
6011 * nss/nss_files/files-ethers.c: Pass new argument.
6012 * nss/nss_files/files-hosts.c: Likewise.
6013 * nss/nss_files/files-network.c: Likewise.
6014 * nss/nss_files/files-parse.c: Likewise.
6015 * nss/nss_files/files-proto.c: Likewise.
6016 * nss/nss_files/files-rpc.c: Likewise.
6017 * nss/nss_files/files-service.c: Likewise.
6018 * grp/fgetgrent.c: Likewise.
6019 * pwd/fgetpwent.c: Likewise.
6020 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
6021 fgetpwent.c already defines it.
6022 * nss/nss_files/files-grp.c: Likewise.
6024 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
6025 as well as any matching with l_libname. Fix DT_SONAME lookup to use
6026 string table properly.
6028 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
6029 invoked directly, and l_libname from that if PT_INTERP missing.
6030 Set l_name from l_libname only if not set from argv.
6032 * time/europe, time/northamerica: Updated from ADO 96i.
6034 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6036 * stdio-common/tst-ungetc.c: Include unistd.h.
6038 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
6040 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
6042 * hurd/report-wait.c (describe_number): Make I unsigned long.
6044 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
6045 actually found any entry.
6047 * login/pututline_r.c (pututline_r): If not located after any
6048 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
6049 Lock the file before stating.
6051 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6053 * nss/Makefile (databases): Change host to hosts.
6054 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
6056 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
6058 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
6060 * string/string.h (strndupa): Pass missing arg to strnlen.
6062 * inet/getnetbypt_r.c: Renamed to ...
6063 * inet/getnetbyad_r.c: this; fixed function name.
6064 * inet/getnetbypt.c: Renamed to ...
6065 * inet/getnetbyad.c: this; fixed function name.
6067 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6069 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
6072 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
6074 * login/login.c (login): Initialize DATA so that setutent_r will
6075 actually do something.
6077 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
6079 * resolv/res_hconf.c (strndup): Remove function.
6081 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
6082 using ElfW() instead of Elf32_*.
6084 * sysdeps/unix/sysv/linux/alpha/init-first.h,
6085 sysdeps/unix/sysv/linux/m68k/init-first.h,
6086 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
6087 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
6088 init-first.h to make abstract machine dependent parts of
6091 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
6092 error handling. It's safer that way.
6094 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
6095 Fix by Richard Henderson.
6097 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
6098 typo/extraneous whitespace.
6100 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
6101 determine what integer sizes we're dealing with.
6103 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
6105 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
6106 check for signal zero, repair logical sense of test by
6107 parenthesizing correctly.
6109 * hurd/hurdsig.c (_hurd_internal_post_signal): In
6110 check-for-pending signals code, release _hurd_siglock before
6111 jumping to deliver_pending.
6113 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
6115 * configure.in (config_machine): Make ELF the default even for
6116 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
6119 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6121 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
6122 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
6123 member only #ifdef ENTDATA.
6124 (ENTDATA_DECL): New macro.
6125 (LINE_PARSER): Use it for entdata decl.
6126 (parse_list): Find the space for LIST from DATA->linebuffer instead of
6127 from the input LINE, which might not be writable buffer space.
6128 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
6129 [ENTDATA] (parser_stclass): #define to `static inline'.
6130 [!ENDATA] (parser_stclass): #define to empty.
6131 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
6132 function is exported to -lnss_files users.
6134 * string/strndup.c: Add missing arg.
6136 * string/string.h (strndupa): Likewise.
6137 * string/strndup.c (strndup): Always terminate the string.
6139 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6141 * stdio/Makefile (routines): Add vscanf.
6142 * stdio-common/Makefile (routines): Remove vscanf.
6143 * stdio-common/vscanf.c: Move to ...
6144 * stdio/vscanf.c: here.
6146 * rpm/Makefile (headers, install-lib, install-lib.so,
6147 versioned, install-bin, install-sbin, install-data,
6148 install-others): Add $(-VARIABLE).
6150 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6152 * nss/Makefile (databases): New variable.
6153 (routines, libnss_files-routines): Use it.
6154 (subdir-dirs): Compute from $(services).
6156 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
6157 init_module, klogctl): Use EXTRA in the "caller" column so these get
6158 added to unix-extra-syscalls and thus compiled in misc.
6160 * string/Makefile (routines): Add strndup.
6161 * string/strndup.c: New file.
6162 * string/string.h: Declare strndup.
6163 (strndupa): New macro.
6165 * string/string.h: Declare __strdup.
6166 * string/strdup.c: Deansideclized. Define __ name and weak alias.
6168 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
6170 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
6172 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
6174 * grp/initgroups.c (initgroups): De-ansi-fy.
6175 Move declaration of NGROUPS and GROUPS outside #if so that
6176 the code compiles for NGROUPS_MAX != 0.
6178 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
6179 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
6180 ether_ntoa, ether_ntoa_r, and ether_ntoh.
6181 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
6182 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
6183 inet/ether_ntoh.c: New files. Implementation of functions to
6184 handle Ethernet address to host mapping.
6185 * inet/netinet/ether.h: New file. Declare ether_* functions.
6186 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
6188 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
6189 * nss/Makefile (routines): Add ethers-lookup.
6190 (libnss_files-routines): Add files-ethers.
6192 * nss/getXXent_r.c: Don't define set*ent and end*ent function
6195 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
6196 KEEP_STREAM every time called.
6197 (_nss_files_end): Reset KEEP_STREAM here instead.
6198 (internal_getent): If STREAM == NULL try to open instead of
6200 Use cast to prevent warning.
6201 Terminate read line in case the buffer is too small.
6203 * nss/nss_files/files-ethers.c: New file. Implementation of
6204 Ethernet adress<->hostname lookup through files interface.
6206 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
6207 * stdlib/mbtowc.c: Define based on mbrtowc().
6208 * stdlib/wcstombs.c: Define based on wcsrtombs().
6209 * stdlib/wctomb.c: Define based on wcrtomb().
6211 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
6212 unexpected_sizes_in_xdr_u_int.
6214 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
6215 of `struct ether_addr'.
6216 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
6217 declaration of `struct ether_addr'.
6219 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
6220 * wcsmbs/mbsrtowcs.c: Ditto.
6221 * wcsmbs/wcrtomb.c: Ditto.
6222 * wcsmbs/wcsrtombs.c: Ditto.
6224 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
6226 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
6228 * hurd/get-host.c <fcntl.h>: New include.
6229 * hurd/set-host.c <fcntl.h>: New include.
6230 (_hurd_set_host_config): Include NEW in args to dir_link.
6231 Return NWROTE, not NREAD.
6233 * sysdeps/mach/hurd/getcwd.c
6234 (_hurd_canonicalize_directory_name_internal): Don't deallocate
6235 DOTID & DOTDEVID until we're finished with them (we need to keep
6236 them at least until we've fetched the next level of id ports, so
6237 that mach will be able to use the same name if they're the same).
6238 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
6239 jumps to errlose, for those places where such cleanup is needed.
6241 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6243 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
6245 Move DB code into separate -ldb library.
6246 * db/Makefile (extra-libs): New variable, list libdb.
6247 (routines): Renamed to libdb-routines.
6248 * shlib-versions: Add libdb=2.
6250 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
6251 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
6253 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
6254 of strncasecmp. Extend syntax to grok [!foo=bar].
6256 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
6258 * string/string.h: Declare __strncasecmp.
6260 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
6261 (service_alias): Variable removed.
6262 (nss_parse_service_list): New function, broken out of nss_getline.
6263 Remove alias conversion; we will just use symlinks.
6264 (__nss_database_lookup): Take new string arg DEFCONFIG.
6265 If no entry exists, make one with service list parsed from that.
6266 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
6267 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
6268 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
6270 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
6273 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
6275 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
6277 * locale/programs/locale.c (long_options): Short form of
6278 --version option is `-V'.
6279 (main): Recognize `-V' as option, not `-v'.
6280 Call `usage' instead of printing error message for illegal
6282 (usage): Document `-V'.
6284 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
6286 * sysdeps/mach/hurd/getcwd.c
6287 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
6288 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
6290 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6292 * inet/getrpcent.c: Fix macros.
6293 * inet/getrpcent_r.c: Fix macros.
6295 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
6297 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
6299 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
6301 * catgets/gencat.c (write_out): Use %Zu to print variables of type
6303 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
6304 cast it to (unsigned long) to make it work both on 32 and 64
6307 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6309 * locale/Makefile (distribute): Add `programs/' prefix to all
6310 files in that directory.
6312 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
6315 * MakeTAGS (sources, headers): Make them simply expanded variables
6316 so that all-dist is expanded before it is changed.
6318 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6320 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
6321 * Makefile (subdirs): Remove crypt.
6322 * crypt: Directory removed. It will be made an independent library
6325 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
6327 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
6329 * inet/getrpcbynumber.c (BUFLEN): New macro.
6331 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
6333 * Makefile (headers): Add libc-lock.h.
6334 * sysdeps/stub/libc-lock.h: New file.
6336 * inet/getrpcbynumber.c: Remove _r typo.
6338 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
6340 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
6343 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
6344 or doesn't mention DATABASE, use an internal default equivalent to
6345 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
6346 (nss_lookup_function): Call nss_new_service as needed.
6347 (nss_parse_file): Don't bother calling nss_new_service here.
6349 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
6350 * pwd/fgetpwent.c: Likewise.
6352 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
6353 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
6354 * malloc/malloc-size.c: New file.
6355 * malloc/malloc-walk.c: New file.
6357 * malloc/malloc-find.c (malloc_find_object_address): Return null if
6358 PTR is outside the heap.
6360 * elf/dl-load.c (_dl_map_object): If the requested name matches the
6361 soname of a loaded object, use that object.
6363 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6365 * Makefile (subdirs): Add nss.
6367 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
6368 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
6369 * inet/getrpcbynumber_r.c: New file.
6370 * inet/getrpcbynumber.c: New file.
6371 * inet/getrpcbyname.c: New file.
6372 * inet/getrpcbyname_r.c: New file.
6373 * inet/getrpcent_r.c: New file.
6374 * inet/getrpcent.c: New file.
6375 * nss/rpc-lookup.c: New file.
6376 * nss/nss_files/files-rpc.c: New file.
6377 * nss/Makefile (routines): Add rpc-lookup.
6378 (libnss_files-routines): Add files-rpc.
6379 * sunrpc/Makefile (routines): Remove getrpcent.
6380 * sunrpc/getrpcent.c: File removed.
6382 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
6385 * Makeconfig (rpath-link): Add $(nssobjdir).
6386 (nssobjdir): New variable.
6388 * Makerules: Move shared library building before objects rules, so
6389 versions are known before extra-lib.mk gets included.
6390 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
6392 * pwd/getpwuid.c: Rewritten using nss.
6393 * pwd/getpwnam.c: Likewise.
6394 * pwd/getpwent.c: Likewise.
6395 * grp/getgrnam.c: Likewise.
6396 * grp/getgrgid.c: Likewise.
6397 * grp/getgrent.c: Likewise.
6398 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
6399 * pwd/getpwent_r.c: New file.
6400 * pwd/getpwnam_r.c: New file.
6401 * pwd/getpwuid_r.c: New file.
6402 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
6403 * grp/getgrnam_r.c: New file.
6404 * grp/getgrgid_r.c: New file.
6405 * grp/getgrent_r.c: New file.
6406 * grp/Makefile (routines): Remove grpopen, grpread.
6407 * pwd/Makefile (routines): Remove pwdopen, pwdread.
6408 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
6410 * pwd/fgetpwent.c: Rewritten using files-parse.c.
6411 * grp/fgetgrent.c: Likewise.
6413 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
6414 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
6415 * nss/nss_files/files-grp.c: New file.
6416 * nss/nss_files/files-pwd.c: New file.
6418 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
6420 * nss/nss_files/files-parse.c: New file.
6421 * nss/nss_files/files-XXX.c: New file.
6422 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
6423 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
6424 Rewritten using them.
6426 * nss/Makefile (libnss_files-routines): Remove files-host.
6427 Add files-hosts, files-grp, files-pwd.
6429 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
6431 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
6433 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6434 A .plt entry now loads the .rela.plt offset directly rather
6435 than making us calculate it.
6437 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6439 * time/Makefile ($(installed-localtime-file) rule): Do
6440 $(make-target-directory) first.
6442 * resolv.h: Fix wrapper for resolv/resolv.h.
6444 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
6445 Compile dummy file and pass -nostdlib -nostartfiles so as not to
6446 require installed libraries.
6448 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
6451 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
6453 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
6454 and mapv4v6hostent.h.
6455 (routines): Move res* and gethnamaddr into libresolv-routines.
6456 (libresolv-routines): New variable, put them there.
6457 (extra-libs): New variable, list libresolv.
6458 (CPPFLAGS): Add -D for get*by* to res_get*by*.
6460 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
6462 * inet/herrno.c: New file.
6464 * resolv/res_init.c: Remove res_hconf calls.
6466 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
6467 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
6468 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
6469 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
6470 nss/service-lookup.c: New files. Implementation of name
6471 service switch, following the approach in Solaris.
6472 Interface specification and general structure inspired by Peter
6473 Eriksson <pen@lysator.liu.se>.
6474 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
6475 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
6476 Implementation of libnss_files.so module for file based databases
6478 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
6479 if libnss_dns.so module for DNS name lookup in NSS service.
6481 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
6482 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
6483 Changed to serve as interface to NSS.
6484 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
6485 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
6486 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
6487 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
6488 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
6489 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
6490 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
6491 interfaces to NSS, including reentrant functions.
6493 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
6494 resolv/sethostent.c: Removed: Obsoleted by NSS.
6496 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
6497 gethnamaddr.c. These private functions are now used in more
6500 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
6502 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6504 * rpm/Makefile ($(config)): Make sure the word list in the for
6505 loop is syntactically non-empty.
6507 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6509 * Version 1.92 test release.
6511 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
6513 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
6514 to klogctl to match prototype in sys/klog.h.
6516 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
6517 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
6519 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
6520 Remove. Code is now part of __getcwd again. The old function
6521 never really worked for anything but THISDIR==".".
6523 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
6524 only when building ELF version of library.
6526 * libio/libioP.h (_IO_vscanf): Add prototype.
6528 * posix/unistd.h (syscall): Change sysno arg and return value
6531 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6533 * version.h (VERSION): Updated to 1.92.
6535 * misc/Makefile (headers): Add ar.h.
6536 * misc/ar.h: New file.
6538 * config.make.in (BUILD_CC): New variable.
6539 * configure.in: Check for BUILD_CC if $host != $build.
6541 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
6543 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
6544 (stamp$o files): New targets, create them empty, no deps.
6546 * rpm/template (Source): New field.
6547 (%prep, %build, %install): New sections.
6548 (%files): Add %doc FAQ NEWS NOTES README.
6549 * rpm/rpmrc (builddir): Removed.
6551 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6553 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
6554 guessing to not assume p_vaddr of first load cmd is zero.
6556 * sysdeps/sparc/elf/start.S: New file.
6557 * sysdeps/sparc/dl-machine.h: New file.
6559 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
6560 only for ?s, not for *s. Fix from Chet Ramey.
6562 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
6563 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
6564 Use __{BEGIN,END}_DECLS.
6565 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
6566 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
6567 New macros, moved here from sysdeps/gnu/utmpbits.h.
6568 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
6569 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
6570 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
6571 Use sizeof instead of UT_*SIZE.
6572 * login/logwtmp.c: Likewise.
6574 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
6576 * version.c (banner): Add trailing newline.
6578 * login/utmp.h: Declare login_tty.
6580 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
6582 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
6583 Changed to a 12-byte PLT entry to remove dependency on $gp.
6584 Take a new got_addr parameter.
6585 (elf_machine_rela): Pass the new parameter.
6586 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
6587 (RTLD_START): Do normal linkage with program entry.
6589 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
6591 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
6593 * hurd/getuids.c (getuids): New weak link to __getuids.
6595 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
6597 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
6598 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
6600 Rename nested function lookup to lookup_op.
6601 (__file_name_lookup, __file_name_lookup_under):
6602 Pass 0 for lookup arg to __hurd_file_name_lookup.
6603 (__file_name_split): Likewise for __hurd_file_name_split.
6604 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
6605 Rename nested function lookup to scan_lookup.
6606 (file_name_path_lookup): Pass 0 for lookup arg to
6607 hurd_file_name_path_lookup.
6608 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
6609 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
6610 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
6611 Add LOOKUP argument.
6612 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
6613 __hurd_file_name_lookup.
6615 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6617 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
6618 up a huge list just to discard most of it.
6620 * configure.in (sysnames): Avoid fgrep by using the case shell
6623 * Makeconfig (config.status): Fix dependency on Implies files.
6625 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
6627 * math/Makefile (distribute): Add ieee-math.c.
6629 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
6631 * locale/codeset_name.c: New file. Provide function for information
6632 about currently used character set.
6633 * locale/Makefile (routines): Add codeset_name.
6634 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
6635 * locale/localeinfo.h: Change magic number because of incompatible
6637 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
6638 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
6640 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
6641 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
6643 * locale/setlocale.c (setlocale): Initialize local variables to
6646 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
6648 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
6650 * locale/programs/locale.c: Include string.h.
6652 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
6653 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
6654 appropriate sign-extension is performed on machines with
6657 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
6658 sizeof(int)<sizeof(long), we need to go through a temporary
6661 * locale/programs/ld-numeric.c: Include <alloca.h>
6663 * libio/stdio.h (__libc_fatal): Add prototype.
6665 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
6668 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
6669 volatile to avoid "might get clobbered by longjmp" warning.
6671 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
6672 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
6673 probability is a sure loser).
6674 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
6676 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
6677 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
6679 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
6680 to be Linux FSSTND compliant.
6682 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
6684 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
6686 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
6687 sysdeps/unix/sysv/linux/alpha/brk.S,
6688 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
6689 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
6690 sysdeps/unix/sysv/linux/alpha/llseek.S,
6691 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
6692 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
6693 __syscall_error to avoid intruding application name space.
6695 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
6696 to SYS_get?id so that syscall stubs in sysdeps/unix define
6697 these syscalls in terms of getxpid/getxuid/getxgid.
6699 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
6700 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
6701 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
6702 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
6704 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
6705 (PSEUDO_END): Rename END() to PSEUDO_END().
6707 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
6708 to PSEUDO_END to improve branch-prediction. Include .frame
6709 directive to make syscalls debugabble.
6710 (PSEUDO_END): New macro.
6712 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
6713 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
6714 latter is illegal under DEC Unix.
6716 * sysdeps/unix/alpha/sysdep.S: Renamed from
6717 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
6719 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
6720 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
6721 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
6723 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
6724 address register in the .frame directive.
6726 * sysdeps/alpha/copysign.c: Remove.
6728 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
6729 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
6731 * errno.h: Move __END_DECLS to correct place to make file
6732 compilable under c++.
6734 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
6735 d_ino only if <direntry.h> hasn't defined d_fileno.
6737 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
6738 arguments to weakext to make .weakext detection work on ECOFF systems.
6740 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
6741 that _validuser() has been replaced by __ivaliduser().
6743 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
6745 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
6746 as unsigned long, not as int (to avoid incorrect int->long
6751 See ChangeLog.5 for earlier changes.