1 Thu Jan 23 04:06:42 1997 Ulrich Drepper <drepper@cygnus.com>
3 * Make-dist (.PHONY: dist): Remove duplicate declaration.
4 (README): Depend on version.h not version.c.
5 * Makefile (README): Depend on version.h not version.c.
7 * Makeconfig (inst_libdir, inst_slibdir, inst_includedir,
8 inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir,
9 inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same
10 as variable withough inst_ but prepended with $(install_root).
11 (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir).
12 * Makefile (install-others): Use $(inst_includedir).
13 (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir).
14 * Makerules (tons of install rules): Use inst_% variables.
15 * elf/Makefile: Likewise.
16 * hurd/Makefile: Likewise.
17 * intl/Makefile: Likewise.
18 * manual/Makefile: Likewise.
19 * po/Makefile: Likewise.
20 * sunrpc/Makefile: Likewise.
21 * sysdeps/mach/hurd/Makefile: Likewise.
22 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
23 * time/Makefile: Likewise.
25 * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997,
26 leave install_root in place.
28 * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2.
29 * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2.
30 * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2.
32 * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of
34 (CFLAGS-dl-load.c): New variable, avoid gcc warning.
36 * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRENT to DEFINES.
38 * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy.
39 * sysdeps/stub/getdents.c: Likewise. Correct return value.
40 * sysdeps/unix/getdents.c: Likewise.
41 * sysdeps/unix/sysv/getdents.c: Likewise.
43 * sysdeps/unix/readdir.c: Update copyright.
45 * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments.
46 * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise.
47 * sysdeps/unix/sysv/Makefile: Likewise.
48 * sysdeps/unix/sysv/linux/Makefile: Likewise.
49 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
50 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
52 * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h,
53 but sys/kernel_termios.h.
54 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
55 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios]
56 (sysdep_headers): Add sys/kernel_termios.h.
57 * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to...
58 * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here.
59 * sysdeps/unix/sysv/linux/sys/tcgetattr.c: Use __kernel_termios and
60 __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp.
62 * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file.
64 * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment.
65 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents.
66 Reported by Eirik Fuller <eirik@netcom.com>.
68 * time/Banner: Removed. Wrong and unnecessary information. It's now
70 * time/README: New file.
71 * time/Makefile (distribute): Remove Banner, add README.
73 Wed Jan 22 13:19:56 1997 Richard Henderson <rth@tamu.edu>
75 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable.
76 (init_iosys): Recognize /etc/alpha_systype as a four-tuple for
77 the purpose of supporting brand new systems.
78 (*): The type of iosys variables should be iosys_t.
80 1997-01-22 Paul Eggert <eggert@twinsun.com>
82 * strftime.c (_strftime_copytm):
83 New function, to work around Solaris 2.5 tzset bug.
85 Wed Jan 22 23:05:14 1997 Ulrich Drepper <drepper@cygnus.com>
87 * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication.
88 * sysdeps/posix/pipestream.c (writedecl): Fix typo.
89 Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>.
91 Wed Jan 22 13:58:56 1997 Andreas Jaeger <aj@arthur.pfalz.de>
93 * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent
94 since name_copy is initialized.
96 Wed Jan 22 16:58:12 1997 Ulrich Drepper <drepper@cygnus.com>
98 * stdio-common/Makefile (tests): Remove scanf11.
99 * stdio-common/scanf11.c: Removed.
100 * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997.
101 Although the Corrigendum 1 describes the result as implemented the
102 even more recent Amendement 1 seconds the position of ISO C:1990
103 where the %n directive has no effect on the assignment count.
104 * stdio-common/bug10.c: Likewise.
105 * stdio-common/scanf1.c: Likewise.
106 * stdio-common/scanf3.c: Likewise.
107 * stdio-common/scanf10.c: Likewise.
108 * stdio-common/tstdiomisc.c: Likewise.
110 * new-malloc/obstack.h: Don't define malloc using bcopy if malloc
111 is not available. This leads to problems since bcopy does not
112 return a value. Instead define _obstack_memcpy based on memcpy or
113 bcopy. This name isn't used outside obstack.h and so no problems
114 from using the memcpy function in a file including obstack.h can
116 Reported by Martin Trapp <trapp@ipd.info.uni-karlsruhe.de>.
118 Tue Jan 21 18:35:55 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
120 * misc/regexp.h (compile): Fix typos.
122 Tue Jan 21 01:01:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
124 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix
125 type of pr_{pid,ppid,pgrp,sid} fields.
126 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
127 elf_prpsinfo): Likewise.
129 1997-01-21 Paul Eggert <eggert@twinsun.com>
131 * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args
132 are exhausted; this is required by POSIX.2.
133 * catgets/gencat.c, db/makedb.c, locale/programs/locale.c,
134 locale/programs/localedef.c, manual/examples/subopt.c,
135 posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c,
136 sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF.
138 Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
140 * version.h (VERSION): Bump to 1.102.
142 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
144 * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead
145 CPPFLAGS-dl-load.c so that dependencies can be determined correctly.
146 * elf/dl-load.c: Fix comment.
148 * time/Banner: New file.
149 * time/Makefile (distribute): Add Banner.
151 Update from ADO tzcode1997a and tzdata1997a.
152 * time/antarctica: Update.
153 * time/australia: Update.
154 * time/zdump.c: Update.
155 * time/zic.c: Update.
156 * time/zone.tab: Update.
158 Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
160 * config.make.in (has-ldconfig): New variable.
162 * configure, configure.in (has_ldconfig): New substitute.
164 * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
165 check if $srcdir/elf/ldconfig.c exists.
167 * Makeconfig (rootsbindir): New, default as
169 (rtld-version-installed-name): New, default as
172 * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
173 only if $(cross-compiling) is no and $(build-shared) is yes.
175 * Makerules (make-shlib-link): New macro.
176 ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use
177 $(make-shlib-link) for symlink.
178 (install-rootsbin, install-rootsbin-nosubdir): New.
179 (install-no-libc.a-nosubdir): Add
180 install-rootsbin-nosubdir.
182 * Rules (others): Add $(install-rootsbin).
184 * config.make.in (rootsbindir): New.
186 * configure, configure.in (libc_cv_rootsbindir): New
189 * elf/Makefile (others, install-rootsbin): New, set to
191 (+link): New for static linking.
192 ($(slibdir)/$(rtld-version-installed-name)): New.
193 ($(slibdir)/$(rtld-installed-name)): Depend on
194 $(slibdir)/$(rtld-version-installed-name) and use
195 $(make-shlib-link) for symlink.
197 * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
200 * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
203 * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
204 New, set to "/sbin" if "$prefix" == "/usr".
206 Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
208 * Makefile (distribute): Add glibcbug.in.
209 Reported by Philip Blundell <pjb27@cam.ac.uk>.
211 * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in
212 build directory if necessary.
213 Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels).
215 Tue Jan 21 04:05:20 1997 Ulrich Drepper <drepper@cygnus.com>
217 * version.h (VERSION): Bump to 1.101.
219 Implement -d and -r option to `ldd' to check relocations.
220 * elf/dl-error.c: Add another method to intercept errors.
221 (_dl_receive_error): New function. Install user defined handler.
222 (receiver): New variable. Contains pointer to user provided handler.
223 (_dl_signal_error): If user provided handler is installed call this.
224 * elf/dl-load.c (_dl_map_object): When shared object is not found in
225 trace mode initialize a few more fields so that lookup can actually
226 happen but always fails.
227 * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments
228 to trigger reloation test. Return with appropriate error code if
229 a file wasn't found. Print warning if object is not executable.
230 * elf/ldd.bash.in: Likewise.
231 * elf/link.h (receiver_fct): New type. Used in _dl_receive_error.
232 (_dl_sysdep_error): New prototype.
233 (_dl_receive_error): New prototype.
234 (_dl_signal_error): Remove __attribute__ ((__noreturn__)).
235 * elf/rtld.c (dl_main): Rewrite argument handling. More than
236 one argument allowed. Recognize --data-relocs and --function-relocs
238 Don't determine `lazy' mode from LD_BIND_NOW environment variable
240 If in trace mode and either --data-relocs or --function-relocs is
241 given perform relocation. Report errors using print_unresolved
243 (print_unresolved): New function. Print information about missing
245 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function.
246 Like _dl_sysdep_message but print to stderr.
247 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
249 * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t.
250 Reported by Andreas Schwab.
251 (__SOCKADDR_COMMON): Use sa_family_t for family member.
252 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
254 Linux/Sparc support by Miguel de Icaza.
255 * sysdeps/sparc/fpu_control.h: New file.
256 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file.
257 * sysdeps/unix/sysv/linux/sparc/brk.c: New file.
258 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
259 * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file.
260 * sysdeps/unix/sysv/linux/sparc/socket.S: New file.
261 * sysdeps/unix/sysv/linux/sparc/syscall.S: New file.
262 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
263 * sysdeps/unix/sysv/linux/sparc/Dist: New file.
264 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
266 * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header.
267 Provide own definition based on 4.4BSD and Linux.
268 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before
269 including <linux/ppp_defs.h>.
270 * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't
271 use __pid_t since the kernel might have a different size.
272 * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise.
273 Reported by Andreas Schwab.
275 * time/asctime.c: Update copyright.
276 * time/dysize.c: Likewise.
277 * time/gmtime.c: Likewise.
278 * time/timegm.c: Likewise.
279 * time/offtime.c: Likewise. De-ANSI-declfy.
281 * time/tzset.c (__tzset_internal): When TZ envvar does not name a
282 DST timezone don't default to offset -1.
284 * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
285 Reported by a sun <asun@zoology.washington.edu>.
287 * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.
289 * sysdeps/stub/sysv_signal.c: New file. Stub implementation.
291 * Makefile (distribute): Add mcheck.h.
293 * nis/Makefile (distribute): Add nss-nis.h.
295 * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
298 * nss/Makefile (distribute): Add digits_dots.c.
300 * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h.
301 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h.
302 * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S.
303 * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h.
305 Mon Jan 20 17:54:28 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
307 * manual/filesys.texi: Fix little problem (reentrant->readdir).
309 Fri Jan 17 19:07:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
311 * configure.in [$elf=yes]: Check for support of .previous and
312 .popsection in the assembler.
313 * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and
314 HAVE_ASM_POPSECTION_DIRECTIVE.
315 * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define
316 appropriate if either .previous or .popsection is supported.
317 (libc_warning) [HAVE_ELF]: Use it here.
319 Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
321 * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
322 errors that can occur when linking libc.so.
324 Mon Jan 20 05:20:49 1997 Ulrich Drepper <drepper@cygnus.com>
326 * elf/dl-load.c (open_path): When running setuid don't try
327 a directory if it is not given with the full name.
329 * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h.
330 (trusted-dirs.h): Construct file from $(default-rpath) and
331 $(user-defined-trusted-dirs) variables.
332 * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path
333 which is NULL except for the LD_LIBRARY_PATH pass in which case it
334 is a pointer to the list of directories from the trusted-dirs.h
336 (open_path): Accept additional argument with list of trusted dirs.
337 When running setuid and a list of trusted dirs is given only use
338 those which are mentioned in the list.
340 * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when
341 running setuid. Instead accept entries which do not contain a '/'.
343 * Makeconfig: Correct comment about +(default_cflags).
345 Mon Jan 20 05:11:14 1997 Hrvoje Niksic <hniksic@srce.hr>
347 * time/strptime.c (recursive): Use && not || to test for valid
350 Mon Jan 20 05:06:50 1997 Ulrich Drepper <drepper@cygnus.com>
352 * elf/ldd.sh.in: Exit with value 1 if an error occured.
353 * elf/ldd.bash.in: Likewise.
355 * elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the
356 binary runs setuid. It is save to use those entries which do not
357 contain a '/'. This is compatible with Solaris-2.
359 Mon Jan 20 03:02:50 1997 Ulrich Drepper <drepper@cygnus.com>
361 * Make-dist: Update and reformat copyright.
362 * Makeconfig: Likewise.
363 * assert/Makefile: Likewise.
364 * bare/Makefile: Likewise.
365 * ctype/Makefile: Likewise.
366 * dirent/Makefile: Likewise.
367 * gmon/Makefile: Likewise.
368 * gnulib/Makefile: Likewise.
369 * grp/Makefile: Likewise.
370 * hurd/Makefile: Likewise.
371 * intl/Makefile: Likewise.
372 * mach/Makefile: Likewise.
373 * malloc/Makefile: Likewise.
374 * manual/Makefile: Likewise.
375 * math/Makefile: Likewise.
376 * po/Makefile: Likewise.
377 * pwd/Makefile: Likewise.
378 * resource/Makefile: Likewise.
379 * setjmp/Makefile: Likewise.
380 * socket/Makefile: Likewise.
381 * string/Makefile: Likewise.
382 * sunrpc/Makefile: Likewise.
383 * sysdeps/alpha/Makefile: Likewise.
384 * sysdeps/gnu/Makefile: Likewise.
385 * sysdeps/m68k/fpu/switch/Makefile: Likewise.
386 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
387 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
388 * sysdeps/mach/Makefile: Likewise.
389 * sysdeps/hurd/Makefile: Likewise.
390 * sysdeps/sparc/Makefile: Likewise.
391 * sysdeps/standalone/i960/nindy960/Makefile: Likewise.
392 * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise.
393 * sysdeps/unix/common/Makefile: Likewise.
394 * sysdeps/unix/sysv/Makefile: Likewise.
395 * sysdeps/unix/sysv/irix4/Makefile: Likewise.
396 * sysdeps/unix/sysv/sco3.2/Makefile: Likewise.
397 * sysdeps/unix/sysv/sysv4/Makefile: Likewise.
398 * sysdeps/vax/Makefile: Likewise.
399 * sysvipc/Makefile: Likewise.
400 * wcsmbs/Makefile: Likewise.
401 * wctype/Makefile: Likewise.
403 * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable
404 are separated according to Sun docs by white space not colon.
406 * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize
407 fields which are not defined for the C locale.
409 * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed
411 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
412 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
414 Sun Jan 19 19:43:31 1997 Andreas Jaeger <aj@arthur.pfalz.de>
416 * time/strptime.c: Provide prototype for strptime_internal.
418 Sun Jan 19 23:46:27 1997 Ulrich Drepper <drepper@cygnus.com>
420 * glibcbug.in: We don't guarantee confidential handling. Set
421 field to always contain `no'.
423 Sun Jan 19 21:28:01 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
425 * intl/explodename.c: Include sys/types.h.
426 * intl/l10nflist.c: Likewise.
428 Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
430 * config.make.in (install_root): New variable to make it easy to
431 install glibc somewhere other than /.
433 * shlib-versions: alpha-*-linux-* libc=6.1.
435 Since sigset_t no longer fits in a register, we can't pass in the
436 thread's initial mask so easily. Take this opportunity to simplify
437 the clone implementation by only accepting a single void* argument.
439 * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument.
440 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
441 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
442 * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise.
443 * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes.
445 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove.
446 Default Linux version should be sufficient.
448 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask
449 system call wants the sigset dereferenced.
451 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for
452 __syscall_ustat and __syscall_xmknod.
453 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h.
455 * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints.
457 * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences.
459 * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about
460 dependency to kernel type.
462 * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment.
464 Sun Jan 19 04:38:20 1997 Ulrich Drepper <drepper@cygnus.com>
466 * config.make.in (have-ksh, KSH): New variables. Will be filled
468 * configure.in: Add test for ksh like shell (prefer bash).
469 * time/Makefile (tests): Depend on install-test-data.
470 (distribute): Add simplebackw.
471 (generated-dirs): New variable.
472 [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab.
473 (install-bin): Add tzselect.
474 (install-test-data): Install the zoneinfo files which are needed
475 for the test case in the build directory.
476 (test-tz-ENV): New variable. Call test-tz program using data in
478 * time/simpleback: New file.
479 * time/test-tz.c: Pretty print.
480 * time/tzfile.c: Use value of environment variable TZDIR as directory
481 to look for zone info files.
482 don't let search for DST data destroy already found values.
483 * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when
485 * time/tzset.c (__tzset_internal): Avoid freeing string twice.
486 Set DST zone name to normal zone name if no information is provided.
488 * time/mktime.c (mktime): Call __tzset_internal to use current
491 * Makerules (common-clean): Remove $(generated-dirs) inclusing content.
493 * glibcbug.in: Fix several bugs. Reported by several people.
495 * elf/Makefile: Correct dependecies for $(objpfx)ldd.
497 * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST.
499 * locale/C-time.c: Update copyright.
500 * locale/localeinfo.h: Likewise.
501 * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
503 * locale/programs/ld-time.c (time_finish): Correct message string.
504 * locale/programs/linereader.c (lr_token): Use correctly `number'
505 not `digit' in message string.
507 * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is
508 seen. Instead return ULONG_MAX and set ERANGE.
509 * stdlib/tst-strtol.c: Correct test to reflect above change.
511 Sun Jan 19 03:22:30 1997 Ulrich Drepper <drepper@cygnus.com>
513 * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>.
514 We must not use <linux/posix_types.h>.
516 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types
517 since we must not use <linux/posix_types.h>.
518 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
519 * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar
520 to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent
522 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar
523 to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent
526 Sun Jan 19 01:48:20 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
528 * sysdeps/libm-i387/e_exp.S: Correct computation of fractional
530 * sysdeps/libm-i387/e_expf.S: Likewise.
531 * sysdeps/libm-i387/e_expl.S: Likewise.
532 * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional
533 part. Take care of additional value left on stack by fscale.
534 * sysdeps/libm-i387/s_expm1f.S: Likewise.
535 * sysdeps/libm-i387/s_expm1l.S: Likewise.
537 Fri Jan 17 17:45:32 1997 Ulrich Drepper <drepper@cygnus.com>
539 * posix/getopt.c: Change all direct usages of `gettext' to `_'.
541 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing
543 Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>.
545 Thu Jan 16 23:39:25 1997 Ulrich Drepper <drepper@cygnus.com>
547 * stdio-common/Makefile (tests): Add scanf11.
548 * stdio-common/scanf11.c: New file.
549 * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n
550 was processed and value is not suppressed.
551 * stdio-common/bug10.c: Correct test to expect %n increment the
552 return value of scanf.
553 * stdio-common/scanf1.c: Likewise.
554 * stdio-common/scanf3.c: Likewise.
555 * stdio-common/scanf10.c: Likewise.
556 * stdio-common/tstdiomisc.c: Likewise.
558 * time/strptime.c: Add lots of conditional compiling to enable use
559 outside glibc. When used in glibc, make sure C locale format
560 strings will always be recognized.
562 Sat Jan 11 18:53:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
564 * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
565 Fix definitions so that they work with __kernel_dev_t.
567 Sat Jan 11 14:24:10 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
569 * sysdeps/unix/sysv/linux/kernel_sigaction.h,
570 sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h,
571 sysdeps/unix/sysv/linux/sigaction.c: New files.
572 * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction.
574 Sun Jan 12 15:22:33 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
576 * libc-symbols.h (link_warning): Make sure that the .gnu.warning
577 section is not allocated.
578 Update and reformat copyright.
580 Sun Jan 12 12:19:28 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
582 * elf/Makefile ($(objpfx)ldd): Fix depedency list.
584 Sat Jan 11 15:11:26 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
586 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix
587 command so that it works in subdirectories.
589 Wed Jan 8 22:07:58 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
591 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and
593 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
594 * sysdeps/unix/sysv/linux/i386/getgroups.c,
595 sysdeps/unix/sysv/linux/i386/setgroups.c,
596 sysdeps/unix/sysv/linux/m68k/getgroups.c,
597 sysdeps/unix/sysv/linux/m68k/setgroups.c: New files.
599 Wed Jan 8 19:42:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
601 * Makefile (config.status): Delete bogus rule.
602 ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on
603 config.status in build directory, fix command to change to build
605 * Makeconfig ($(common-objpfx)config.status): Depend on version.h.
607 Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
609 * glibcbug.in (while): We test for four and not five conditions,
610 set MAIL_AGENT instead of RMAIL, filter spaces and tabs.
612 Thu Jan 16 22:00:27 1997 Ulrich Drepper <drepper@cygnus.com>
614 * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT
615 is not defined. Reported by Andreas Jaeger.
617 Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
619 * new-malloc/malloc.c (__MALLOC_P): define call to pthread
620 initializer only if NO_THREADS is not defined.
622 Wed Jan 8 21:28:58 1997 Andreas Jaeger <aj@arthur.pfalz.de>
624 * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes
627 Thu Jan 16 21:50:27 1997 Ulrich Drepper <drepper@cygnus.com>
629 * inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr
632 Tue Jan 7 17:29:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
634 * Makerules (LDLIBS-c.so): New variable.
636 Tue Jan 7 19:22:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
638 * Makefile ($(includedir)/gnu/lib-names.h): Define the library
639 names as strings, not as sequence of tokens that may fall apart.
641 Fri Jan 10 14:08:41 1997 Roland McGrath <roland@fmh.frob.com>
643 * time/tzfile.c (__tzfile_read): Check for bogus type and zone name
644 indices in data file and punt, so a bogus file can't crash us.
646 Thu Jan 16 20:29:15 1997 Ulrich Drepper <drepper@cygnus.com>
648 * values.h [__USE_MISC]: Define BITSPERBYTE.
650 Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
652 * stdio/vdprintf.c: Moved file to ...
653 * sysdeps/posix/vdprintf.c: Here. De-ansideclificate.
654 * sysdeps/stub/vdprintf.c: New file.
655 * sysdeps/mach/hurd/vdprintf.c: New file.
657 Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
659 * sysdeps/mach/hurd/posix_opt.h: New file.
661 * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.
663 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
666 * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
669 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
671 * signal/sigempty.c (sigemptyset): Correct typo: Empty set should
674 Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com>
676 * inet/gethstbynm.c: Include additional headers for additional
677 code in nss/digits_dots.c.
678 * inet/gethstbynm_r.c: Likewise.
679 * inet/gethstbynm2.c: Likewise.
680 * inet/gethstbynm2_r.c: Likewise.
681 * nss/digits_dots.c: New file. Handle dotted pair notation for
682 gethstbynm functions.
683 * nss/getXXbyYY.c: Include digits_dots.c to get extra code for
684 handling dotted pair notation.
685 * nss/getXXbyYY_r.c: Likewise.
688 * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.
690 * io/getwd.c: Optimized a bit.
692 * signal/signal.h: Always declare __sysv_signal.
694 * sysdeps/generic/setenv.c: Add some portability code.
696 * sysdeps/unix/sysv/fcntlbits.h: Update copyright.
698 * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel
699 to avoid using kernel headers.
700 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha
703 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't
704 mark sigreturn as EXTRA.
706 * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
707 * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version.
709 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
711 * io/fts.c (fts_alloc): Add const to second parameter of function.
713 * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
716 * signal/sigfillset.c: Include <string.h> for memset declaration.
718 Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu>
720 * sysdeps/generic/setenv.c: Fix portability problems.
722 Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com>
724 * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
725 after the last option was seen.
727 Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com>
729 * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.
731 Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
733 * io/ftw.c: Add `const' to second parameter of function given as
734 second parameter to ftw.
735 * io/ftw.h: Likewise for prototype.
736 Reported by Ronald F. Guilmette <rfg@monkeys.com>.
738 Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk>
740 * inet/Makefile (headers): Add netinet/ip.h.
741 * inet/netinet/ip.h: New file, contains BSD definitions for struct
744 Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
746 * string/string.h (strnlen): Add cast for C++.
748 Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com>
750 * Makefile (install-bin): Define as glibcbug to install script.
751 (glibcbug): New rules. Create from glibcbug.in.
752 * configure.in (AC_OUTPUT): Generate glibcbug script.
753 * glibcbug.in: New file.
754 * version.c: Mention glibcbug to report bugs.
755 * catgets/gencat.c: Likewise.
756 * db/makedb.c: Likewise.
757 * locale/programs/locale.c: Likewise.
758 * locale/programs/localedef.c: Likewise.
759 * elf/ldd.bash.in: Likewise.
760 * elf/ldd.sh.in: Likewise.
761 * intl/locale.alias: Likewise.
763 * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c.
765 * set-init.c: Update and reformat copyright.
766 * version.c: Likewise.
767 * signal/sigaddset.c: Likewise.
768 * signal/sigdelset.c: Likewise.
769 * signal/sigempty.c: Likewise.
770 * signal/sigfillset.c: Likewise.
771 * signal/siggetmask.c: Likewise.
772 * signal/sigismem.c: Likewise.
773 * sysdeps/generic/speed.c: Likewise.
774 * sysdeps/unix/getdents.c: Likewise.
775 * sysdeps/unix/xmknod.c: Likewise.
776 * sysdeps/unix/bsd/poll.c: Likewise.
777 * sysdeps/unix/bsd/tcdrain.c: Likewise.
778 * sysdeps/unix/bsd/tcflow.c: Likewise.
779 * sysdeps/unix/bsd/tcflush.c: Likewise.
780 * sysdeps/unix/bsd/tcgetpgrp.c: Likewise.
781 * sysdeps/unix/bsd/tcsendbrk.c: Likewise.
782 * sysdeps/unix/bsd/tcsetpgrp.c: Likewise.
783 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
784 * sysdeps/unix/sysv/getdents.c: Likewise.
785 * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
786 * termios/Makefile: Likewise.
787 * termios/cfmakeraw.c: Likewise.
788 * termios/cfsetspeed.c: Likewise.
790 * version.h: Bump VERSION to 1.100.
792 * intl/finddomain.c: Defining stpcpy function isn't necessary.
794 * libio/genops.c (_IO_init): Use _IO_lock_init instead of
795 _IO_lock_init_recursive.
796 * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead
799 * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead
801 * locale/programs/ld-collate.c: Likewise.
802 * locale/programs/simple-hash.c: Likewise.
804 * misc/Makefile (headers): Add selectbits.h.
805 * misc/sys/select.h: Include <selectbits.h> to get necessary
807 * sysdeps/generic/selectbits.h: New file. Generic macros for
808 handling file descriptor sets.
809 * sysdeps/i386/selectbits.h: New file. i386 specific macros for
810 handling file descriptor sets.
811 * sysdeps/generic/gnu/types.h: Remove _FD_* macros.
813 * misc/mntent_r.c: Fix handling of multiple, comma-separated
814 options. Patch by Sai-Lai Lo <sll@orl.co.uk>.
820 * posix/getopt.c: Only use the bash generated environment variable
821 to determine non-option parameters when using in GNU libc and if
822 the argument vector given to getopt is the same as given to the
825 * posix/unistd.h [__USE_GNU]: Declare environ.
827 * posix/sys/types.h (key_t): Also define when __USE_XOPEN.
829 * resolv/res_debug.c: Add casts to prevent warnings.
830 * resolv/res_query.c: Likewise.
832 * resolv/nss_dns/dns-host.c: Change type for buffer size arguments
834 * resolv/nss_dns/dns-network.c: Likewise.
836 * signal/sigempty.c: Use memset to initialize variable.
837 * signal/sigfillset.c: Likewise.
839 * signal/signal.h: Change back handling of signal. The BSD
840 version is preferred and the new sysv_signal is used when
842 * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID
844 * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD
846 * sysdpes/posix/sigpause.c: Correct comment.
847 * sysdeps/stub/sigpause.c: Provide default implementation.
848 * signal/Makefile (routines): Remove bsd_signal, add sysv_signal.
850 * sysdeps/generic/abort.c: Allow repeated calls to abort if
851 a user defined handler for SIGABRT is installed.
853 * sysdeps/stub/libc-lock.h: Define separate set of macros for
854 handling recursive mutexes.
856 * sysdeps/unix/Makefile: Change rule to generate syscall.h file
857 so that it is generate in the sys/ subdir.
859 * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h.
860 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and
863 * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from
864 kernel. Define own version with additional field d_type.
865 * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent
866 entries after reading from kernel.
868 * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers.
869 Define types based on kernel types except for uid_t, gid_t, mode_t,
870 dev_t which are larger now.
871 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
873 * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include
874 <linux/termios.h>. Define structure here.
875 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise.
876 * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define
877 architecture dependent struct termio type.
878 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise.
879 * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type.
880 * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array
883 * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header.
884 * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
885 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
886 * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
887 * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
888 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
889 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
890 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
892 * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
893 Change definitions to fit new dev_t definition.
895 * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
896 Rename ustat to s_ustat since wrapper is needed.
898 * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from
899 kernel rewrite it to userland level data format.
900 * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change
901 data format to kernel format.
902 * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of
903 device parameter to format needed by kernel.
904 * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
905 * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic
906 version to change device parameter to format needed by kernel.
907 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
909 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific
910 definition of accounting structure.
912 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
913 Patch by Andreas Schwab.
915 * time/ap.c: Include <mcheck.h>.
917 * time/tzset.c (__tzset_internal): Change to take one argument
918 which tells whether examining of TZ is always wanted or only if
919 no initialization happened before.
920 * time/localtime.c: (localtime, __localtime_r): Change for new
921 __tzset_internal form.
923 * time/sys/time.h: Include <sys/select.h> to get select related
926 Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu>
928 * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
931 Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
933 * misc/getpass.c: Make sure the content of the input buffer is not
934 printed if the getpass function is interrupted.
936 Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com>
938 * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.
940 Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com>
942 * sysdeps/generic/abort.c: Include <string.h> for memset decl.
944 * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
945 <string.h> so memset is declared.
947 Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com>
949 * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.
951 * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
954 * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts.
955 * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun
958 * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant
959 macros, for Sun extensions.
960 (DT_EXTRATAGID): New macro to convert Sun extension tag values placed
961 near the top of the processor-specific range into zero-origin indices.
963 * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.
965 Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de>
967 * libio/fcloseall.c: Include stdio.h for prototype declaration for
970 Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
972 * sysdeps/posix/signal.c: Provide ignorable definitions of
973 SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
976 Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
978 * MakeTAGS ($P/siglist.pot): Delete rule.
979 (XGETTEXTFLAGS-siglist.pot): Remove definition.
980 (all-pot): Remove $P/siglist.pot.
981 * sysdeps/unix/siglist.c: Mark strings as translatable.
982 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
984 Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
986 * misc/syscall.h: New file.
987 * misc/sys/syscall.h: Removed. Forwarding to <syscall.h> might
988 find user header, so do it the other way round.
989 * sysdeps/mach/sys/syscall.h: Moved here from parent directory.
990 * sysdeps/stub/sys/syscall.h: Likewise.
991 * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
992 * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise.
993 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update
995 * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of
998 Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1000 * features.h: Fix typo.
1002 Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com>
1004 * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.
1006 Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
1008 * libio/Makefile (routines): Add fcloseall.
1009 * libio/fcloseall.c: New file.
1010 * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
1011 * libio/iofclose.c: Don't close all streams when argument is NULL.
1013 * stdio/Makefile (routines): Add fcloseall.
1014 * stdio/fcloseall.c: New file.
1015 * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
1016 * stdio/fclose.c: Don't close all streams when argument is NULL.
1018 * manual/stdio.texi: Document fcloseall.
1020 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
1023 * socket/sys/un.h (SUN_LEN): Add cast.
1025 * sunrpc/auth_unix.c (authunix_create): Change parameter types
1026 of uid, gid, and aup_gids to uid_t and gid_t respectively.
1027 (authunix_create_default): Likewise.
1028 (authunix_refresh): Correct cast for aup_gids assignment.
1029 * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration.
1030 * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field
1031 types to uid_t and gid_t respectively.
1032 (struct short_hand_verf): Likewise.
1033 Reported by Andreas Schwab.
1035 * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets
1037 * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
1038 use in C++ programs.
1040 * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler
1041 version of pow() function.
1042 * sysdeps/libm-i387/e_powf.S: New file. Float version.
1043 * sysdeps/libm-i387/e_powl.S: New file. Long double version.
1045 * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler
1046 version of expm1() function.
1047 * sysdeps/libm-i387/s_expm1f.S: New file. Float version.
1048 * sysdeps/libm-i387/s_expm1l.S: New file. Long double version.
1050 * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf.
1051 Better handling of computation stack from current NetBSD sources.
1052 * sysdeps/libm-i387/e_expf.S: Likewise.
1053 * sysdeps/libm-i387/e_expl.S: Likewise.
1055 * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp.
1056 * sysdeps/libm-i387/e_logf.S: Likewise.
1057 * sysdeps/libm-i387/e_logl.S: Likewise.
1058 * sysdeps/libm-i387/e_log10.S: Likewise.
1059 * sysdeps/libm-i387/e_log10f.S: Likewise.
1060 * sysdeps/libm-i387/e_log10l.S: Likewise.
1061 * sysdeps/libm-i387/s_asinh.S: Likewise.
1062 * sysdeps/libm-i387/s_asinhf.S: Likewise.
1063 * sysdeps/libm-i387/s_asinhl.S: Likewise.
1064 * sysdeps/libm-i387/s_significandl.S: Likewise.
1066 * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify
1067 stack pointer directly. Use 32 bit instead of 16 bit operations.
1068 * sysdeps/libm-i387/s_ceilf.S: Likewise.
1069 * sysdeps/libm-i387/s_ceill.S: Likewise.
1070 * sysdeps/libm-i387/s_floor.S: Likewise.
1071 * sysdeps/libm-i387/s_floorf.S: Likewise.
1072 * sysdeps/libm-i387/s_floorl.S: Likewise.
1074 * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile.
1075 * sysdeps/libm-ieee754/e_expf.c: Likewise.
1076 * sysdeps/libm-ieee754/e_powf.c: Likewise.
1077 From current NetBSD sources.
1079 * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize
1080 `a' and `b' in definition.
1081 * sysdeps/libm-ieee754/e_hypotf.c: Likewise.
1083 * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double
1085 * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double
1087 * sysdeps/stub/e_hypotl.c: Removed. We have a real version now.
1088 * sysdeps/stub/e_sinhl.c: Removed.
1090 * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of
1091 sigaddset. Reported by Andreas Schwab.
1092 (__default_sigpause): New function. Call __sigpause as BSD version.
1093 Make this the default function by providing alias sigpause.
1094 * sysdeps/stub/sigpause.c (__default_sigpause): New funciton.
1095 Simply fail. Provide alias sigpause.
1097 Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
1099 * po/es.po: Update for glibc-1.98.
1100 * po/fr.po: Likewise.
1101 * po/sv.po: New file. Swedish translation.
1103 Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
1105 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
1108 Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1110 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
1111 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
1113 Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1115 * Makefile (subdirs): Move `elf' last so that librtld.so isn't
1116 relinked in the `make others' pass if an add-on adds something to
1119 Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1121 * sysdeps/m68k/abort-instr.h: New File.
1123 Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1125 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
1128 Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1130 * resolv/Makefile (subdirs-dirs): Define.
1132 Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1134 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
1136 Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
1138 Update from ADO tzcode1996o.
1139 * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit
1140 according to ADO version.
1141 * time/zic.c: Correct typo is message.
1143 Update from ADO tzdata1996n.
1144 * time/asia: Updated.
1145 * time/australasia: Likewise.
1146 * time/europe: Likewise.
1147 * time/northamerica: Likewise.
1148 * time/southamerica: Likewise.
1150 Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
1152 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
1155 * features.h: Rename ANSI C to ISO C.
1156 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
1158 * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION.
1159 * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check
1160 whether we can elide the code.
1161 * posix/getopt1.c: Likewise.
1162 * posix/Makefile: Correct copyright.
1164 * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
1166 * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if
1167 MAP_ANON is defined.
1168 * elf/eval.c: Use __getline instead of getline.
1169 * elf/rtld.c (dl_main): Check return value of _dl_new_object
1171 * sysdeps/generic/dl-cache.c: Update copyright.
1173 * signal/Makefile: Correct copyright.
1174 (routines): Remove gsignal and ssignal. Add bsd_signal.
1175 * signal/gsignal.c: Removed. Now is made an alias.
1176 * signal/ssignal.c: Likewise.
1177 * sysdeps/posix/raise.c: Add alias gsignal.
1178 * sysdeps/stub/raise.c: Likewise.
1179 * sysdeps/posix/signal.c: Add alias ssignal.
1180 * sysdeps/stub/signal.c: Likewise.
1181 * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal
1183 * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG
1184 function. This is the old signal.c file.
1185 * sysdeps/posix/signal.c: Change to have semantic of X/Open.
1187 * sysdeps/unix/sysv/linux/signal.c: Add explanation.
1189 * socket/sys/un.h: Define SUN_LEN according to POSIX.1g.
1191 * stdio-common/Makefile (tests): Add scanf10.
1192 * stdio-common/scanf10.c: New file.
1193 * stdio-common/vfscanf.c: Decrement counter if EOF is read while
1196 * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END.
1197 * sysdeps/libm-i387/e_acosl.S: Likewise.
1198 * sysdeps/libm-i387/e_asin.S: Likewise.
1199 * sysdeps/libm-i387/e_asinl.S: Likewise.
1200 * sysdeps/libm-i387/e_atan2.S: Likewise.
1201 * sysdeps/libm-i387/e_atan2f.S: Likewise.
1202 * sysdeps/libm-i387/e_atan2l.S: Likewise.
1203 * sysdeps/libm-i387/e_exp.S: Likewise.
1204 * sysdeps/libm-i387/e_expl.S: Likewise.
1205 * sysdeps/libm-i387/e_fmod.S: Likewise.
1206 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1207 * sysdeps/libm-i387/e_log.S: Likewise.
1208 * sysdeps/libm-i387/e_log10.S: Likewise.
1209 * sysdeps/libm-i387/e_log10l.S: Likewise.
1210 * sysdeps/libm-i387/e_logl.S: Likewise.
1211 * sysdeps/libm-i387/e_remainder.S: Likewise.
1212 * sysdeps/libm-i387/e_remainderf.S: Likewise.
1213 * sysdeps/libm-i387/e_remainderl.S: Likewise.
1214 * sysdeps/libm-i387/e_scalb.S: Likewise.
1215 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1216 * sysdeps/libm-i387/e_sqrt.S: Likewise.
1217 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
1218 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
1219 * sysdeps/libm-i387/s_atan.S: Likewise.
1220 * sysdeps/libm-i387/s_atanf.S: Likewise.
1221 * sysdeps/libm-i387/s_atanl.S: Likewise.
1222 * sysdeps/libm-i387/s_ceil.S: Likewise.
1223 * sysdeps/libm-i387/s_ceilf.S: Likewise.
1224 * sysdeps/libm-i387/s_ceill.S: Likewise.
1225 * sysdeps/libm-i387/s_copysign.S: Likewise.
1226 * sysdeps/libm-i387/s_copysignf.S: Likewise.
1227 * sysdeps/libm-i387/s_copysignl.S: Likewise.
1228 * sysdeps/libm-i387/s_cos.S: Likewise.
1229 * sysdeps/libm-i387/s_cosf.S: Likewise.
1230 * sysdeps/libm-i387/s_cosl.S: Likewise.
1231 * sysdeps/libm-i387/s_finite.S: Likewise.
1232 * sysdeps/libm-i387/s_finitef.S: Likewise.
1233 * sysdeps/libm-i387/s_finitel.S: Likewise.
1234 * sysdeps/libm-i387/s_floor.S: Likewise.
1235 * sysdeps/libm-i387/s_floorf.S: Likewise.
1236 * sysdeps/libm-i387/s_floorl.S: Likewise.
1237 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1238 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1239 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
1240 * sysdeps/libm-i387/s_log1p.S: Likewise.
1241 * sysdeps/libm-i387/s_log1pf.S: Likewise.
1242 * sysdeps/libm-i387/s_log1pl.S: Likewise.
1243 * sysdeps/libm-i387/s_logb.S: Likewise.
1244 * sysdeps/libm-i387/s_logbf.S: Likewise.
1245 * sysdeps/libm-i387/s_logbl.S: Likewise.
1246 * sysdeps/libm-i387/s_rint.S: Likewise.
1247 * sysdeps/libm-i387/s_rintf.S: Likewise.
1248 * sysdeps/libm-i387/s_rintl.S: Likewise.
1249 * sysdeps/libm-i387/s_scalbn.S: Likewise.
1250 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
1251 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
1252 * sysdeps/libm-i387/s_significand.S: Likewise.
1253 * sysdeps/libm-i387/s_significandf.S: Likewise.
1254 * sysdeps/libm-i387/s_significandl.S: Likewise.
1255 * sysdeps/libm-i387/s_sin.S: Likewise.
1256 * sysdeps/libm-i387/s_sinf.S: Likewise.
1257 * sysdeps/libm-i387/s_sinl.S: Likewise.
1259 * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values
1260 near 1 to increase precision.
1261 * sysdeps/libm-i387/e_log10.S: Likewise.
1262 * sysdeps/libm-i387/e_log10l.S: Likewise.
1263 * sysdeps/libm-i387/e_logl.S: Likewise.
1265 * sysdeps/libm-i387/s_cos.S: Use testl instead of andw.
1266 * sysdeps/libm-i387/s_cosl.S: Likewise.
1267 * sysdeps/libm-i387/s_sin.S: Likewise.
1268 * sysdeps/libm-i387/s_sinl.S: Likewise.
1269 * sysdeps/libm-i387/s_tan.S: Likewise.
1270 * sysdeps/libm-i387/s_tanl.S: Likewise.
1272 * sysdeps/libm-i387/e_acosf.S: New file. Add float versions.
1273 * sysdeps/libm-i387/e_asinf.S: Likewise.
1274 * sysdeps/libm-i387/e_expf.S: Likewise.
1275 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1276 * sysdeps/libm-i387/e_log10f.S: Likewise.
1277 * sysdeps/libm-i387/e_logf.S: Likewise.
1278 * sysdeps/libm-i387/e_scalbf.S: Likewise.
1280 * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions.
1281 * sysdeps/libm-i387/e_acoshf.S: Likewise.
1282 * sysdeps/libm-i387/e_acoshl.S: Likewise.
1283 * sysdeps/libm-i387/e_atanh.S: Likewise.
1284 * sysdeps/libm-i387/e_atanhf.S: Likewise.
1285 * sysdeps/libm-i387/e_atanhl.S: Likewise.
1286 * sysdeps/libm-i387/e_asinh.S: Likewise.
1287 * sysdeps/libm-i387/e_asinhf.S: Likewise.
1288 * sysdeps/libm-i387/e_asinhl.S: Likewise.
1290 * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels
1291 for simplified handling.
1293 * sysdeps/unix/sysv/linux/syscalls.list: Add query_module.
1295 Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1297 * inet/rcmd.c (rcmd): Set h_errno before calling herror.
1298 * inet/rexec.c (rexec): Likewise.
1300 Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1302 * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
1305 Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com>
1307 * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range
1308 -0.29 <= x <= 0.29, otherwise the old method.
1309 * sysdeps/libm-i387/s_log1pf.S: Likewise.
1310 * sysdeps/libm-i387/s_log1pl.S: Likewise.
1312 Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com>
1314 * inet/getnetgrent.c: Reformat copyright.
1316 * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment.
1317 (__internal_getnetgrent): Rename to __internal_getnetgrent_r as
1318 required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996.
1319 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1321 * nss/nss_files/files-netgrp.c: Fix typo.
1322 * login/utmp_db.c: Comment out unused variables.
1323 * misc/tst-dirname.c: Provide prototype for main (for now).
1324 * new-malloc/mcheck-init.c: Include <mcheck.h>.
1325 * new-malloc/obstack.c: Provide real prototypes.
1327 * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int.
1328 (b64_pton): Likewise for `tarindex'.
1329 * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning.
1331 * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning.
1332 * stdio-common/printf-parse.h: Remove definition of MIN and MAX.
1333 * stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX.
1334 * stdio-common/vfprintf.c: Likewise.
1335 * stdlib/gmp-impl.h: Only define MIN and MAX if not already done.
1336 * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value.
1338 * sysdeps/generic/Makefile ($(subdir)=string): Define
1339 CFLAGS-wordcopy.c to prevent warning.
1340 * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline.
1341 * sysdeps/generic/wordcopy.c: De-ANSI-declfy.
1342 * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
1344 * sysdeps/i386/dl-machine.h: Correct copyright.
1345 * sysdeps/unix/closedir.c: Likewise.
1346 * sysdeps/unix/dirstream.h: Likewise.
1347 * sysdeps/unix/opendir.c: Likewise.
1348 * time/tzset.c: Add prototype for __tzset_internal.
1350 * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the
1351 way it is supposed to work is not yet known.
1352 (struct utmp): Remove ut_login and ut_syslen field for now.
1354 Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com>
1356 * time/strftime.c: Fix another bug in handling flags made it
1357 impossible to use the `-', `_', or `0' flag.
1359 Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
1361 * sysdeps/unix/common/pause.c: Add missing second argument in
1363 Reported by a sun <asun@zoology.washington.edu>.
1365 * locale/weight.h: Correct handling of collation elements.
1366 Reported by Keld Simonsen <keld@dkuug.dk>.
1368 * manual/time.texi: Document ^ flag and %P format.
1370 * new-malloc/malloc.c: Update from Wolfram Gloger.
1372 * nss/nss.h: Reformat copyright.
1373 * posix/sched.h: Likewise.
1374 * sysdeps/i386/fpu_control.h: Likewise.
1375 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
1376 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
1377 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
1378 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
1379 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1380 * sysvips/sys/msg.h: Likewise.
1382 * stdio-common/Makefile (routines): Remove fcloseall.
1383 * stdio-common/fcloseall.c: Removed.
1385 * stdlib/Makefile (distribute): Add abort-instr.h.
1386 * sysdeps/generic/abort-instr.h: New file.
1387 * sysdeps/i386/abort-instr.h: New file.
1388 * sysdeps/generic/abort.c: Use lock and stage counter to prevent
1391 * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
1392 * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
1393 as 1000000. Define CLK_TCK as 1024.
1394 * time/time.c (CLK_TCK): Define only if not already set.
1396 * time/strftime.c: Don't use `isdigit' when computing field width
1397 from string since the locale might have more than one digit
1400 Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
1402 * posix/getopt.c (in -W option handling): Return when optind == argc.
1404 Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1406 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
1409 * nis/nss_compat/compat-grp.c: Include the declaration of the file
1411 * nis/nss_compat/compat-pwd.c: Likewise.
1412 * nis/nss_compat/compat-spwd.c: Likewise.
1413 * nis/nss_nis/nis-ethers.c: Likewise.
1414 * nis/nss_nis/nis-grp.c: Likewise.
1415 * nis/nss_nis/nis-network.c: Likewise.
1416 * nis/nss_nis/nis-proto.c: Likewise.
1417 * nis/nss_nis/nis-pwd.c: Likewise.
1418 * nis/nss_nis/nis-rpc.c: Likewise.
1419 * nis/nss_nis/nis-spwd.c: Likewise.
1421 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
1422 getgrent_next_file): Pass the correct type for the buffer to the
1424 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
1425 getpwent_next_nis, getpwent_next_file): Likewise.
1426 * nis/nss_compat/compat-spwd.c (getspent_next_netgr,
1427 getspent_next_nis, getspent_next_file): Likewise.
1428 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
1429 _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
1430 * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
1431 _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
1432 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1433 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1434 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
1435 _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
1436 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
1437 _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
1438 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1439 _nss_nis_getrpcbynumber_r): Likewise.
1440 * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
1441 _nss_nis_getspnam_r): Likewise.
1443 Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1445 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
1447 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
1449 * resolv/resolv.h: Update from BIND 4.9.5-P1.
1450 * resolv/res_comp.c: Likewise.
1451 * resolv/res_debug.c: Likewise.
1452 * resolv/Banner: Update version number.
1454 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
1456 * elf/dlfcn.h: Add extern "C" wrapper.
1458 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
1459 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
1460 __USE_XOPEN_EXTENDED.
1461 * locale/locale.h: Define NULL.
1462 * math/math.c: Don't include <errno.h> to define math errors.
1463 * stdlib/stdlib.h: Likewise.
1464 * posix/unistd.h: Don't declare environ.
1465 * posix/sys/utsname.h (struct utsname): Declare member domainname
1466 as __domainname is !__USE_GNU.
1467 * signal/signal.h: Declare size_t only if __USE_BSD ||
1468 __USE_XOPEN_EXTENDED.
1469 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
1470 instead when __USE_XOPEN.
1471 * string/string.h: Define strndup only if __USE_GNU.
1472 * sysdeps/unix/sysv/linux/clock.c: New file.
1473 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
1474 1000000 per X/Open standard.
1475 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
1476 Define __USE_POSIX199309.
1477 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
1478 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
1479 Patches by Rüdiger Helsch <rh@unifix.de>.
1481 * locale/locale.h: Add declaration of newlocale and freelocale.
1483 * new-malloc/Makefile (distibute): Add mtrace.awk.
1484 (dist-routines): Add mcheck and mtrace.
1485 (install-lib, non-lib.a): Define as libmcheck.a.
1486 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
1487 * new-malloc/mcheck.c: New file.
1488 * new-malloc/mcheck.h: New file.
1489 * new-malloc/mtrace.c: New file.
1490 * new-malloc/mtrace.awk: New file.
1492 * posix/unistd.h: Correct prototype for usleep.
1493 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
1494 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
1497 * signal/signal.h: Change protoype of __sigpause to take two
1498 arguments. Remove prototype for sigpause. Add two different
1499 macros named sigpause selected when __USE_BSD or __USE_XOPEN
1500 are defined. This is necessary since the old BSD definition
1501 of theis function collides with the X/Open definition.
1502 * sysdeps/posix/sigpause.c: Change function definition to also
1503 fit X/Open definition.
1505 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
1507 * sysdeps/libm-i387/e_expl.S: Likewise.
1510 1996-12-17 Paul Eggert <eggert@twinsun.com>
1512 * many, many files: Spelling corrections.
1513 * catgets/catgetsinfo.h (mmapped):
1514 Renamed from mmaped (in struct catalog_info.status).
1515 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
1516 Fix spelling in message.
1517 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
1518 a fix in the tzcode distribution.
1520 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
1522 * time/strftime.c: Implement ^ flag to cause output be converted
1523 to use upper case characters.
1525 * time/zic.c: Update from ADO tzcode1996n.
1527 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
1529 * time/strftime.c (add): Don't change global `i' until all is over.
1530 Define NULL is not already defined.
1532 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1534 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
1535 to avoid the need for a cast.
1536 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1538 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
1540 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
1541 The stream is private and usages outside glibc don't care about
1543 * io/fts.c: Likewise.
1544 * io/ftw.c: Likewise.
1545 * sysdeps/posix/getcwd.c: Likewise.
1546 * sysdeps/posix/ttyname.c: Likewise.
1547 * sysdeps/posix/ttyname_r.c: Likewise.
1548 * sysdeps/posix/glob.c: Likewise.
1550 * libio/iovsprintf.c: Add cast to prevent warning.
1551 * libio/iovsscanf.c: Likewise.
1553 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
1554 to keep namespace clean.
1556 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
1557 Add hooks and check functions from old GNU malloc.
1558 * new-malloc/malloc.h: Likewise.
1560 * nis/ypclnt.c: Remove prototype for xdr_free.
1561 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
1563 * manual/nss.texi: Correct description of default values and don't
1564 meantion NSS as an add-on.
1566 * nss/grp-lookup.c: Provide default value as
1567 "compat [NOTFOUND=return] files".
1568 * nss/pwd-lookup.c: Likewise.
1569 * nss/spwd-lookup.c: Likewise.
1570 * nss/network-lookup.c: Correct default to
1571 "dns [!UNAVAIL=return] files".
1572 * nss/nsswitch.c: Change default-default value to "nis
1573 [NOTFOUND=return] files" since compat is only available for group,
1576 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
1578 * stdlib/stdlib.h: Add prototype for __on_exit.
1580 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
1582 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
1583 The new malloc now has mcheck.
1584 * time/ap.c: Likewise.
1586 * time/tzset.c (__tzset): Rename to __tzset_internal.
1587 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
1588 * time/localtime.c: Use __tzset_internal not __tzset.
1589 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
1590 as __tzset to prevent namespace pollution.
1592 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
1593 a weak alias of __iswctype.
1594 * wctype/wctype.h: Add prototype for __iswctype.
1595 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
1596 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
1597 Use __iswctype for the test, not iswctype.
1599 1996-12-16 Paul Eggert <eggert@twinsun.com>
1601 * hurd/hurd/sigpreempt.h
1602 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
1603 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
1604 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
1605 hurd/hurdsig.c (_hurdsig_preempters):
1606 Renamed to fix spelling from `preempter' to `preemptor'.
1609 1996-12-15 Paul Eggert <eggert@twinsun.com>
1611 * ctime.c (ctime): Return asctime (localtime (t)), as the C
1614 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1616 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
1617 value because Mach/cthreads uses the opposite convention from
1620 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
1622 * stdio-common/fcloseall.c: Correct test of already_called.
1623 Reported by Thomas Bushnell, n/BSG.
1625 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1627 * mach/lock-intern.h (__mutex_try_lock): New function.
1629 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1631 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
1632 defined, else XTABS.
1633 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
1635 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1637 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
1638 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1639 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
1641 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
1643 Make sure tzset() sets always tzname[].
1644 * time/tzfile.c: De-ANSI-declfy.
1645 (find_transition): New function. Set tzname according to given time.
1646 (__tzread_file): Use find_transition to set tzname.
1647 (__tzfile_compute): Use find_transition instead of doing the work
1649 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
1651 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
1653 * login/utmp-file.c (pututline_file): Open file if closed.
1654 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
1655 Use fcntl instead of flock.
1657 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
1659 * manual/time.texi: Update documentation of strftime function.
1661 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
1663 * Makefile (subdirs): Change crypt to md5-crypt.
1664 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
1665 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
1667 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
1668 crypt instead of LinuxThreads and des-crypt.
1670 * Makefile (subdirs): Add nss back.
1671 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
1674 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
1675 * stdio-common/Makefile (routines): Add fcloseall.
1676 * stdio-common/fcloseall.c: New file.
1677 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
1679 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
1680 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
1683 * stdio-common/printf.h: Define MIN and MAX only if not already
1686 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
1687 allow writing. Required by POSIX.1.
1689 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
1692 * interp.c: Update copyright.
1693 * libio/clearerr.c: Likewise.
1694 * libio/ioseekoff.c: Likewise.
1695 * libio/ioseekpos.c: Likewise.
1696 * stdio/fclose.c: Likewise.
1697 * stdio/fflus.c: Likewise.
1699 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
1700 and _IO_cleanup_region_end as empty.
1701 * libio/fgetc.c: Use _IO_cleanup_region_start and
1702 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
1703 __libc_cleanup_region_end.
1704 * libio/fputc.c: Likewise.
1705 * libio/freopen.c: Likewise.
1706 * libio/fseek.c: Likewise.
1707 * libio/getc.c: Likewise.
1708 * libio/getchar.c: Likewise.
1709 * libio/iofclose.c: Likewise.
1710 * libio/iofflush.c: Likewise.
1711 * libio/iofgetpos.c: Likewise.
1712 * libio/iofgets.c: Likewise.
1713 * libio/iofputs.c: Likewise.
1714 * libio/iofread.c: Likewise.
1715 * libio/iofsetpos.c: Likewise.
1716 * libio/ioftell.c: Likewise.
1717 * libio/iofwrite.c: Likewise.
1718 * libio/iogetdelim.c: Likewise.
1719 * libio/iogets.c: Likewise.
1720 * libio/ioputs.c: Likewise.
1721 * libio/iosetbuffer.c: Likewise.
1722 * libio/iosetvbuf.c: Likewise.
1723 * libio/ioungetc.c: Likewise.
1725 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
1726 locks can stay over.
1727 * libio/iovsscanf.c: Likewise.
1729 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
1730 instead of __libc_lock_init_recursive and __libc_lock_fini.
1732 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
1733 Otherwise use isatty.
1734 * libio/fileops.c: Likewise for __open and open.
1736 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
1739 * nis/ypclnt.h: Add more casts to prevent warnings.
1741 * nss/Makefile (services): Remove dns.
1742 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
1743 ($(objpfx)libnss_dns.so): Removed.
1744 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
1745 * resolv/nss_dns: ...here.
1746 * resolv/Makefile (extra-libs): Add libnss_dns.
1747 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
1750 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
1751 specifying alternate name for entry in /etc/nsswitch.conf
1752 * nss/nsswitch.c: If no entry with primary name is found in
1753 /etc/nsswitch.conf try alternate name if given.
1754 * nss/nsswitch.h: Add new parameter in prototype for
1755 __nss_database_lookup.
1756 * nss/spwd-lookup.c: Provide alternative entry name to look for.
1757 This makes our NSS compatible with Solaris' nsswitch.conf files.
1759 * string/tst-strlen.c: Change all counting variables to type size_t
1760 to prevent warnings.
1762 * sysdeps/posix/fpathconf.c: Update copyright.
1763 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
1764 Opening the file at this path may fail if it is a FIFO or pipe.
1766 These changes make the time implementation POSIX.1 compliant.
1767 * time/localtime.c (__localtime_r): Always call __tzset not only
1768 if __tzset_run is zero.
1769 * time/strftime.c: Add definition of memset_space to help to
1770 reduce for systems which have memset.
1771 (strftime): Don't use tm_zone member of argument for zone name.
1772 Instead always use tzname[].
1773 Call tzset() as required by POSIX.1 before any action.
1774 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
1775 Remove global variable __tzset_run. __tzset is now called always
1776 when a dependent function is used.
1777 (__tzset): Caching happens based on the contents of the
1778 environment variable TZ.
1780 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1782 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
1784 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1786 * rellns-sh: Correctly handle a relative source file name.
1788 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1790 * login/utmp_file.c (setutent_file): Seek back to beginning of the
1793 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1795 * hurd/hurdinit.c (map0): Delete function. Don't do this on
1797 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1799 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
1801 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
1802 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
1805 Change libio buffer handling to allocate internal buffers using
1807 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
1809 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
1811 (_IO_default_doallocate): Change call to ALLOC_BUF.
1812 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
1813 to use mmap/munmap when possible.
1814 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
1815 * libio/vasprintf.c: Likewise.
1818 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
1819 * libio/libioP.h: Likewise.
1821 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
1822 restart syscall when EINTR was returned. Necessary for POSIX.1.
1824 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
1826 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
1829 * nis/Makefile: Remove rules for bsd-tools which are not part
1831 Patch by Thorsten Kukuk.
1833 * nis/ypclnt.c: Add prototype for xdr_free.
1834 Add const to first parameter for __yp_bind.
1835 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
1836 getpwent_next_file): Variable `p2len' must have type size_t.
1837 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
1838 * nis/nss_nis/nis-ethers.c: Likewise.
1839 * nis/nss_nis/nis-grp.c: Likewise.
1840 * nis/nss_nis/nis-hosts.c: Likewise.
1841 * nis/nss_nis/nis-network.c: Likewise.
1842 * nis/nss_nis/nis-proto.c: Likewise.
1843 * nis/nss_nis/nis-pwd.c: Likewise.
1844 * nis/nss_nis/nis-rpc.c: Likewise.
1845 * nis/nss_nis/nis-service.c: Likewise.
1846 * nis/nss_nis/nis-spwd.c: Likewise.
1848 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
1850 (ypmaplist): Change member names to `map' and `next' and provide
1851 #defines for old names.
1852 Patch by Thorsten Kukuk.
1854 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
1855 type for `datalen' parameter to size_t.
1857 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
1859 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
1861 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
1865 * stdio-common/tmpfile.c: Update copyright.
1867 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
1869 Don't eat white space for `C' format.
1871 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
1873 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
1874 * sysdeps/i386/abort.c: Removed. This version does not use
1877 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
1881 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
1882 call. If EMFILE, ENFILE, or EINTR return with error.
1884 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
1886 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
1887 We are compatible again.
1888 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
1889 even though it is not used.
1890 * malloc/obstack.h: Likewise.
1891 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
1892 alloc_failed bit to 0.
1894 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
1895 %P format and `0' modifier.
1897 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1899 * Makerules (make-link): Don't discard exit codes of intermediate
1900 commands. Always use rellns-sh if symbolic links are available.
1902 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1904 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
1905 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
1906 conflict of ntohs etc. in <asm/byteorder.h>.
1908 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
1910 Add NIS NSS implementation.
1911 * shlib-versions: Add versions for NIS libraries.
1912 * sysdeps/unix/inet/Subdirs: Add nis.
1913 * nis/Banner: New file.
1914 * nis/Makefile: New file.
1915 * nis/nss-nis.h: New file.
1916 * nis/yp_xdr.h: New file.
1917 * nis/ypclnt.h: New file.
1918 * nis/ypupdate_xdr.c: New file.
1919 * nis/nss_compat/compat-grp.c: New file.
1920 * nis/nss_compat/compat-pwd.c: New file.
1921 * nis/nss_compat/compat-spwd.c: New file.
1922 * nis/nss_nis/nis-alias.c: New file.
1923 * nis/nss_nis/nis-ethers.c: New file.
1924 * nis/nss_nis/nis-grp.c: New file.
1925 * nis/nss_nis/nis-hosts.c: New file.
1926 * nis/nss_nis/nis-netgrp.c: New file.
1927 * nis/nss_nis/nis-network.c: New file.
1928 * nis/nss_nis/nis-proto.c: New file.
1929 * nis/nss_nis/nis-publickey.c: New file.
1930 * nis/nss_nis/nis-pwd.c: New file.
1931 * nis/nss_nis/nis-rpc.c: New file.
1932 * nis/nss_nis/nis-service.c: New file.
1933 * nis/nss_nis/nis-spwd.c: New file.
1934 * nis/rpcsvc/yp.h: New file.
1935 * nis/rpcsvc/yp.x: New file.
1936 * nis/rpcsvc/yp_prot.h: New file.
1937 * nis/rpcsvc/ypclnt.h: New file.
1938 * nis/rpcsvc/ypupd.h: New file.
1940 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
1942 * locale/C-numeric.c: Update copyright.
1944 * locale/Makefile: Add rules to build libBrokenLocale.
1945 * locale/broken_cur_max.c: New file.
1946 * locale/mb_cur_max.c: Update copyright.
1947 (__ctype_get_mb_cur_max): Make function weak.
1949 * new-malloc/malloc.c: Correct copyright.
1950 * new-malloc/thread-m.h: Correct key handling.
1952 * shadow/lckpwdf.c: Update copyright.
1953 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
1955 * stdlib/strtod.c: Add another assertion.
1956 * stdlib/tst-strtod.c: Add another test case.
1958 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
1959 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1961 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
1962 ut_addr names a single element in ut_addr_v6.
1964 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
1965 Patch by Thomas Bushnell, n/BSG.
1967 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
1969 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
1972 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
1973 did fit nicely into that delay slot (patch from David Mosberger-Tang).
1975 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1977 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
1979 (ttyname_r): New alias.
1981 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
1983 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
1984 error in computation of number of groups.
1985 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
1987 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
1989 * version.h: Set version to 1.99.
1991 * Make-dist (routines): Add malloc and new-malloc.
1993 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
1994 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
1995 Same for $(CFLAGS-$(@F)) and CFLAGS.
1997 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
1999 * io/sys/poll.h: Likewise.
2000 * sysdeps/stub/sys/ipb_buf.h: Likewise.
2001 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2003 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
2004 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
2005 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2006 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2007 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
2008 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2009 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
2010 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
2011 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2012 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2013 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
2014 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
2015 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
2016 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
2017 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2018 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
2019 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
2021 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2022 * sysvipc/sys/sem.h: Likewise.
2023 * sysvipc/sys/shm.h: Likewise.
2025 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
2026 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
2027 Add statistics for threads.
2028 * new-malloc/malloc.h: Likewise.
2029 * new-malloc/thread-m.h: Likewise.
2031 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
2033 * time/strptime.c: Update copyright.
2035 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
2037 * Make-dist: Make sure both malloc directories get distributed.
2039 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2041 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
2044 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2046 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
2047 __BEGIN_DECLS/__END_DECLS.
2049 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2051 * login/utmp_file.c: Consistently set file_offset to the position
2052 after the entry just read.
2054 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
2056 * config.make.in (defines): Add @USE_NEW_MALLOC@.
2057 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
2058 we use the new malloc.
2060 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
2061 depending on USE_NEW_MALLOC.
2063 Fix some more POSIX.1 problems.
2064 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
2065 on a write-only stream.
2066 (_IO_file_overflow): Set errno to EBADF if used on a read-only
2068 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
2069 call really positions the file offset to the correct position
2070 and no read-ahead happens.
2072 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
2073 to pass POSIX test suite.
2074 * stdio-common/vfprintf.c: Handle empty string as grouping command
2076 * stdlib/grouping.h: Likewise.
2078 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
2080 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
2082 * stdio-common/printf_fp.c: Update copyright.
2084 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2086 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
2087 used (not otherwise).
2089 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
2091 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
2093 * stdlib/canonicalize.c: Correct bugs in last change.
2096 * libio/Makefile (routines): Remove ioprims.
2097 (aux): Remove cleanup.
2098 Add IO_DEBUG option for .o files.
2099 * libio/cleanups.c: Removed.
2100 * libio/ioprims.c: Removed.
2101 * libio/filedoalloc.c: More updates from libg++-2.8b5.
2102 * libio/fileops.c: Likewise.
2103 * libio/genops.c: Likewise.
2104 * libio/iolibio.h: Likewise.
2105 * libio/iopopen.c: Likewise.
2106 * libio/iovsprintf.c: Likewise.
2107 * libio/iovsscanf.c: Likewise.
2108 * libio/libio.h: Likewise.
2109 * libio/libioP.h: Likewise.
2110 * libio/memstream.c: Likewise.
2111 * libio/strfile.h: Likewise.
2112 * libio/vasprintf.c: Likewise.
2113 * libio/vsnprintf.c: Likewise.
2115 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
2117 * manual/arith.texi: Change references to ANSI C to ISO C.
2118 * manual/conf.texi: Likewise.
2119 * manual/creature.texi: Likewise.
2120 * manual/ctype.texi: Likewise.
2121 * manual/errno.texi: Likewise.
2122 * manual/filesys.texi: Likewise.
2123 * manual/intro.texi. Likewise.
2124 * manual/io.texi: Likewise.
2125 * manual/lang.texi: Likewise.
2126 * manual/libc.texinfo: Likewise.
2127 * manual/locale.texi: Likewise.
2128 * manual/maint.texi: Likewise.
2129 * manual/mbyte.texi: Likewise.
2130 * manual/memory.texi: Likewise.
2131 * manual/process.texi: Likewise.
2132 * manual/process.texi: Likewise.
2133 * manual/search.texi: Likewise.
2134 * manual/setjmp.texi: Likewise.
2135 * manual/signal.texi: Likewise.
2136 * manual/startup.texi: Likewise.
2137 * manual/stdio.texi: Likewise.
2138 * manual/string.texi: Likewise.
2139 * manual/time.texi: Likewise.
2141 * manual/locale.texi: Remove description of LC_RESPONSE and add
2144 * Makefile (subdirs): Change malloc in $(malloc).
2145 * config.make.in: Add variable malloc which is initialized from
2147 * configure.in: Add new option --enable-new-malloc to use new
2148 malloc. This is the default on Linux.
2149 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
2151 * new-malloc/Makefile: New file. Improved malloc implementation.
2152 * new-malloc/malloc.c: Likewise.
2153 * new-malloc/malloc.h: Likewise.
2154 * new-malloc/mallocbug.c: Likewise.
2155 * new-malloc/obstack.c: Likewise.
2156 * new-malloc/obstack.h: Likewise.
2157 * new-malloc/thread-m.h: Likewise.
2158 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
2159 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
2161 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
2164 * stdio/feof.c: Update copyright.
2165 * stdio/stdio.h: Add field for lock to FILE structure.
2166 Add cast to *MAGIC constants to prevent warnings.
2168 * stdio-common/bug7.c: Correct test. Stream must not be closed
2171 * stdlib/Makefile (routines): Add secure-getenv.
2172 * stdlib/secure-getenv.c: New file. __secure_getenv function
2173 moved to here from sysdeps/generic/getenv.c. Otherwise an
2174 application cannot replace the getenv function in the libc.
2175 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
2176 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
2178 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
2180 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
2182 * time/test-tz.c: Comment fifth test out. PROBLEM.
2184 * time/tzset.c: De-ANSI-declfy.
2185 (__tzset): Don't increment pointer tz when no DST information is
2188 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
2189 to get Hurd macros right.
2191 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
2193 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
2195 Patch by Thomas Bushnell.
2197 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
2200 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
2202 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
2204 * time/strftime (%c format): Remove %Z from default string.
2205 Reported by Paul Eggert
2207 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
2209 * configure.in: Discard error message from test in test for
2212 * io/getwd.c: Don't apply getcwd on user supplied buffer.
2213 Instead always use temporary buffer and only copy the result.
2215 * stdlib/canonicalize.c: Likewise.
2217 * libio/fileops.c: Change comments according to libg++2.8b5.
2218 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
2222 * manual/nss.texi: Correct prototypes.
2224 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
2225 crash if syslog daemon is restarted.
2227 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
2229 * stdlib/Makefile (routines): Add rand_r.
2231 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
2234 * configure.in: Add --disable-sanity-check option.
2235 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
2236 des-crypt are not available and --disbale-sanity-check is not
2237 given abort with a message.
2239 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
2241 * posix/glob.c: Tests against STDC_HEADERS should also test
2244 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
2246 * misc/err.c (vwarn): Set errno again before using %m format.
2248 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2250 * grp/grp.h: Add declaration of __getgrent_r.
2252 * io/fts.c (fts_build): Remove "register" from variables dirbuf
2253 and dp since their address is needed.
2255 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
2256 variable d since d's address is needed.
2258 * misc/tst-dirname.c (main): Provide prototype.
2259 * misc/ioctltst.c (main): Dito.
2261 * Makefile: Add gnu/lib-names.h to install-others before including
2264 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
2266 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
2268 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
2269 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
2270 sys/socketvar.h to sysdep_headers.
2272 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
2274 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
2277 * elf/rtld.c (_dl_start): Don't dereference the value returned by
2278 elf_machine_got to get _DYNAMIC, instead call new function
2279 elf_machine_dynamic.
2280 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
2281 elf_machine_dynamic. Reformat copyright.
2282 * sysdeps/i386/dl-machine.h: Likewise.
2283 * sysdeps/m68k/dl-machine.h: Likewise.
2284 * sysdeps/mips/dl-machine.h: Likewise.
2285 * sysdeps/sparc/dl-machine.h: Likewise.
2286 * sysdeps/stub/dl-machine.h: Likewise.
2288 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2290 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
2292 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
2294 * Makerules ($(libdir)/libc.so): Make first line of generated
2295 link script contain `/* GNU ld script'. This will be used in
2296 ldconfig to check for linker scripts.
2297 * sysdeps/mach/hurd/libc-ldscript: Likewise.
2298 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
2300 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
2302 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
2304 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
2307 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
2309 * assert/assert-perr.c: Use __strerror_r instead of strerror.
2310 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
2311 * string/string.h: Declare __strerror_r.
2312 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
2313 * stdio-common/vfprintf.c: Save current errno value on entry so
2314 that %m format finds the correct value.
2315 * io/getwd.c: Use __strerror_r instead of strerror.
2316 * misc/err.c (vwarn): Use %m printf format instead of explicitly
2318 * inet/rcmd.c: Likewise.
2319 * misc/error.c (error, error_at_line): Use __strerror_r instead
2320 of strerror when this function is available.
2322 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
2323 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
2324 * stdlib/stdlib.h: Define prototype for rand_r.
2326 * string/strfry.c: Update copyright. Use reentrant random functions.
2328 * dirent/scandir.c: Use __readdir_r instead of readdir.
2329 * posix/glob.c: Likewise.
2330 * sysdeps/posix/ttyname.c: Likewise.
2331 * sysdeps/posix/ttyname_r.c: Likewise.
2332 * io/ftw.c: Likewise.
2333 * io/fts.c: Likewise.
2334 * sysdeps/posix/getcwd.c: Likewise.
2335 * dirent/dirent.h: Add prototype for __readdir_r.
2336 * sysdeps/unix/readdir_r: Update copyright.
2338 * time/ctime.c: Use __localtime_r and __asctime_r instead of
2339 non reentrant versions.
2340 * time/ctime_r.c: Update copyright.
2342 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
2344 * locale/Makefile (localepath): Correct value.
2346 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
2348 Fix typo in using H_ERRNO_SET macro.
2350 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2352 * Makerules (elfobjdir): Definition removed.
2353 * Makeconfig (elfobjdir): Define it here instead, so that
2354 expanding $(rpath-link) gets the right value.
2357 * misc/a.out.h: Moved to...
2358 * sysdeps/generic/a.out.h: ...here.
2359 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
2362 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
2364 * grp/initgroups.c: Update and reformat copyright.
2365 Use __getgrent_r instead of getgrent.
2367 * inet/rcmd.c: Update and reformat copyright.
2368 Use __gethostbyname_r instead of gethostbyname.
2369 * inet/rexec.c: Likewise.
2371 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
2372 * locale/findlocale.c: Likewise.
2373 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
2374 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
2375 * locale/setlocale.c (setlocale): Correctly split value of
2377 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
2378 find output directory.
2380 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
2381 h_errno_tmp variable.
2382 Save error value from being changed during `free' call.
2383 * nss/getXXent.c: Likewise.
2385 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
2386 before returning ERANGE error.
2388 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
2391 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
2393 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
2394 * sunrpc/clnt_simp.c: Likewise.
2395 * sunrpc/getrpcport.c: Likewise.
2396 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2398 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
2399 since the value might be outside the range of the `long int'.
2400 Print string `undefined' when a value is undefined.
2402 * stdlib/l64a.c: Return correct pointer.
2403 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
2405 * string/Makefile (routines): Add argz-addsep.
2406 * string/argz-addsep.c: New file.
2407 * string/argz.h: Add prototypes for argz_add_sep.
2409 * string/argz-ctsep.c: Prevent memory leak.
2411 * string/strcoll.c: Correct typo in comment.
2413 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
2415 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
2416 not general enough to be part of the libc.
2417 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
2418 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
2420 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2422 * login/Makefile: Fix typo.
2424 * nss/Makefile (generated): Filter out db-alias.c.
2426 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2428 * time/Makefile (echo-zonenames): Don't depend on non-existing
2431 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2434 * nss/nsswitch.c: Use it.
2436 * printf.h: Fix file name.
2437 * stdlib/strfmon.c: Use it.
2439 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
2441 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
2442 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
2443 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2444 Add netinet/in_systm.h.
2445 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2447 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
2449 * libio/fileops.c: Update from latest libg++.
2451 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
2453 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
2454 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
2455 instead of __libc_lock_init for streams.
2456 Reported by a sun <asun@zoology.washington.edu>.
2458 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
2460 * sysdeps/generic/errno-loc.c: New file. Generic definition of
2461 __errno_location function.
2462 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
2464 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2465 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
2468 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
2469 and crypt add-on and warn if not available.
2471 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
2473 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
2475 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
2476 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
2478 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
2479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
2480 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
2481 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
2482 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
2483 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
2485 Patch by Richard Henderson <rth@tamu.edu>.
2487 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
2488 pciconfig_read and pciconfig_write.
2489 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
2490 pciconfig_read and pciconfig_write.
2492 * login/getutent_r.c: Fix several bugs in last change.
2494 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
2496 * Makefile: Fix typo.
2498 * configure: Require autoconf-2.11.
2500 * elf/dl-deps.c: Terminate duplicate list.
2502 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
2503 * libio/strfile.h: Update from current libg++.
2504 * libio/strops.c: Likewise.
2506 * login/Makefile (routines): Update after correction of reentrant
2508 * login/endutent.c: Removed.
2509 * login/endutent_r.c: Likewise.
2510 * login/pututline.c: Likewise.
2511 * login/pututline_r.c: Likewise.
2512 * login/setutent.c: Likewise.
2513 * login/setutent_r.c: Likewise.
2514 * login/getutent.c: Update for new interface.
2515 * login/getutent_r.c: Likewise.
2516 * login/getutid.c: Likewise.
2517 * login/getutid_r.c: Likewise.
2518 * login/getutline.c: Likewise.
2519 * login/getutline_r.c: Likewise.
2520 * login/login.c: Likewise.
2521 * login/logout.c: Likewise.
2522 * login/logwtmp.c: Likewise.
2523 * login/utmp.h: Likewise.
2524 * sysdeps/unix/getlogin.c: Likewise.
2525 * sysdeps/unix/getlogin_r.c: Likewise.
2526 * login/utmp-private.h: New private header.
2527 * login/utmp_db.c: Stub DB backend for utmp handler.
2528 * login/utmp_file.c: File backend for utmp handler.
2529 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
2530 (enum utlogin): List of record types.
2531 (struct exit_status): Record to align with other implementations.
2533 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
2534 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2536 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
2538 * sysdeps/stub/getlogin.c: Update copyright.
2539 * sysdeps/stub/getlogin_r.c: Likewise.
2541 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
2542 * nss/getXXent_r.c: Likewise.
2543 * nss/nsswitch.c: Likewise.
2545 * posix/Makefile (headers): Add wait.h.
2546 * posix/wait.h: New file.
2548 * posix/sys/types.h: Always define intN_t types.
2550 * stdio-common/Makefile: Update copyright.
2551 Use -Wno-format flag for scanf4.c and scanf7.c.
2553 * stdlib/stdlib.h: Reformat.
2555 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2557 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
2558 move the current contents to the end and relocate file name
2559 pointer to upper half of the buffer.
2561 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
2563 * time/africa: Update from ADO tzdata1996m.
2564 * time/antarctica: Likewise.
2565 * time/asia: Likewise.
2566 * time/australia: Likewise.
2567 * time/etcetera: Likewise.
2568 * time/europe: Likewise.
2569 * time/nothamerica: Likewise.
2570 * time/southameria: Likewise.
2571 * time/zone.tab: Likewise.
2573 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
2574 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2576 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
2578 * posix/wait.h: New file.
2579 * posix/Makefile (headers): Add wait.h.
2581 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
2583 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
2584 expression instead of shell pattern matching.
2585 * shlib-versions: Change to regular expressions.
2587 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
2589 * io/stat.c: Add section from libgcc to copyright comment
2590 to allow this file to be statically linked in applications.
2591 * io/fstat.c: Likewise.
2592 * io/lstat.c: Likewise.
2593 * io/mknod.c: Likewise.
2595 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
2597 * csu/initfini.c: Add section from libgcc to copyright comment
2598 to allow this file to be statically linked in applications.
2600 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
2601 not already defined.
2602 (obstack_grow, obstack_grow0): Correct placement of braces.
2604 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
2605 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
2607 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2609 * Makerules (make-link): Simplify by changing directory only if
2610 not using rellns-sh; check whether we really have symbolic links.
2612 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
2613 $(dirname $1); use status of ln for exit code; make more robust
2614 against multiple slashes in a row.
2616 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2618 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
2620 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
2621 the three-part name, to distinguish correctly from *-*-linux-gnu*.
2623 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
2626 * sysdeps/mach/hurd/Makefile (install-others): Add
2628 ($(libdir)/libc_p.a): New rule.
2629 * sysdeps/mach/hurd/libc_p-ldscript: New file.
2630 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
2632 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
2634 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
2635 * time/Makefile: Likewise.
2637 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
2638 * sysdeps/alpha/elf/Dist: New file.
2639 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
2640 The bits currently distributed with GCC fail in two ways -- they don't
2641 understand multiple .got subsections and the extents of the lists are
2642 dynamicly bound meaning that the application's lists get executed
2643 multiple times and the library's lists never get executed.
2645 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2647 * stdlib/strtod.c: Fix previous change.
2649 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2651 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
2654 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
2656 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
2657 Likesie for scanf4.c
2659 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
2661 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
2662 alias of __sigsuspend.
2664 * grp/grp.h: Correct comment about POSIX compliance.
2665 * pwd/pwd.h: Likewise.
2667 * login/utmp.h: Update copyright and pretty-print prototypes.
2668 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
2669 _PATH_WTMP from utmpbits.h.
2670 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2671 * sysdeps/generic/utmpbits.h: Remove here.
2672 * sysdeps/gnu/utmpbits.h: Likewise.
2674 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
2675 Pretty-print prototypes.
2677 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
2680 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
2682 * inet/ether_hton.c: Include <string.h>.
2683 * inet/ether_ntoh.c: Likewise.
2684 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
2685 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
2687 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
2688 to define. Jim Nance reports problems building XEmacs otherwise.
2690 * resolv/gethnamaddr.c: Protect h_errno redefinition.
2691 * resolv/getnetnamadr.c: Likewise.
2692 * resolv/herror.c: Likewise.
2694 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
2695 with -traditional. Reported by Eric Youngdale. While we're at this,
2696 don't do error checking in the __ functions. This is consistent
2697 with the sysv4 definitions and seems Right.
2698 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
2699 prototype for __sigsuspend.
2700 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
2701 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
2702 * sysdeps/posix/sigpause.c: Likewise.
2703 * sysdeps/posix/sigsetmask.c: Likewise.
2704 * sysdeps/posix/sigvec.c: Likewise.
2705 * sysdeps/posix/sigintr.c: Reformat copyright.
2706 * sysdeps/posix/signal.c: Check signal number out of range since
2707 __sigismember doesn't anymore. Reformat copyright.
2708 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
2709 sigdelset, sigaction, and sigsuspend.
2711 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
2712 to the wider type before shifting.
2714 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
2715 without .set noat" in profiling hook.
2716 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2717 * sysdeps/alpha/htonl.S: Likewise.
2718 * sysdeps/alpha/htons.S: Likewise.
2719 * sysdeps/alpha/s_copysign.S: Likewise.
2720 * sysdeps/alpha/setjmp.S: Likewise.
2721 * sysdeps/alpha/stpcpy.S: Likewise.
2722 * sysdeps/alpha/strcat.S: Likewise.
2723 * sysdeps/alpha/strcpy.S: Likewise.
2724 * sysdeps/alpha/strncat.S: Likewise.
2725 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
2726 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2727 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2728 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2729 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2730 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
2731 function to __sigsuspend and add weak alias.
2732 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
2734 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
2736 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
2737 SYSCALL__ actually generated.
2739 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
2740 #define __set_errno, as several imported subsystems (eg. BIND) check
2741 that the symbol is defined.
2743 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
2745 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
2746 that manifests in GCC.
2748 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2750 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
2751 * sysdeps/posix/readv.c (readv): Likewise.
2753 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
2755 * nss/nss_dns/dns-network.c: Change return type of all functions
2757 Reported by NIIBE Yutaka.
2758 * nss/nss_dns/dns-host.c: Update copyright.
2760 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2762 * config.make.in: Remove definition of top_absdir.
2763 * configure.in: Likewise. Use $(..) instead.
2764 * Makerules (make-link): Use $(..) to find rellns-sh script.
2766 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2768 * manual/nss.texi (Name Service Switch): Fix reference to
2771 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2776 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
2778 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
2779 variable from __stat to __status to prevent shadowing.
2780 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
2781 for parameter __wait.
2782 Reported by NIIBE Yutaka.
2784 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
2786 * misc/regexp.c: New file. Implementation of obsolete interface
2787 to regular expression matcher (required in XPG4.2).
2788 * misc/regexp.h: New file. Header for above.
2789 * misc/Makefile (headers): Add regexp.h.
2790 (routines): Add regexp.c.
2793 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2795 * stdlib/tst-strtod.c (main): Add arguments for main.
2796 * stdlib/tst-strtol.c (main): Likewise.
2798 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
2800 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
2802 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
2803 and sysconfdir to /etc if $prefix is /usr.
2804 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
2806 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
2807 $(have-bash2) is yes.
2808 * elf/ldd.bash.in: Add copyright and various cleanups.
2809 * elf/ldd.sh.in: Likewise.
2811 Implement RTLD_NEXT.
2812 * elf/dlfcn.h: Define RTLD_NEXT.
2813 * elf/dl-deps.c: Build second searchlist which contains duplicates.
2814 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
2815 for RTLD_NEXT lookup.
2816 Rewrite _dl_lookup_symbol to put common parts for both lookup
2817 functions in a separate function.
2818 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
2819 * elf/link.h (struct link_map): Add l_dupsearchlist and
2821 Add prototype for _dl_lookup_symbol_skip.
2823 * sunrpc/Makefile (rpcsvc): Add rusers.
2824 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
2825 * sunrpc/rpcsvc/rusers.x: New file.
2827 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
2829 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
2830 __libc_lock_init for local lock.
2831 Reported by a sun <asun@zoology.washington.edu>.
2832 [!USE_IN_LIBIO] (PAD): Optimize a bit.
2834 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
2836 * db/makedb.c: Update and reformat copyright.
2837 * elf/Makefile: Likewise.
2838 * elf/dl-close.c: Likewise.
2839 * elf/dl-debug.c: Likewise.
2840 * elf/dl-deps.c: Likewise.
2841 * elf/dl-error.c: Likewise.
2842 * elf/dl-fini.c: Likewise.
2843 * elf/dl-init.c: Likewise.
2844 * elf/dl-load.c: Likewise.
2845 * elf/dl-lookup.c: Likewise.
2846 * elf/dl-minimal.c: Likewise.
2847 * elf/dl-object.c: Likewise.
2848 * elf/dl-open.c: Likewise.
2849 * elf/dl-reloc.c: Likewise.
2850 * elf/dl-runtime.c: Likewise.
2851 * elf/dl-support.c: Likewise.
2852 * elf/dl-symbol.c: Likewise.
2853 * elf/dladdr.c: Likewise.
2854 * elf/dlclose.c: Likewise.
2855 * elf/dlerror.c: Likewise.
2856 * elf/dlopen.c: Likewise.
2857 * elf/dlsym.c: Likewise.
2858 * elf/do-rel.h: Likewise.
2859 * elf/dynamic-link.h: Likewise.
2860 * elf/eval.c: Likewise.
2861 * elf/rtld.c: Likewise.
2862 * inet/ether_hton.c: Likewise.
2863 * inet/ether_ntoh.c: Likewise.
2864 * inet/ether_line.c: Likewise.
2865 * inet/getnetgrent_r.c: Likewise.
2867 * inet/Makefile (+gccwarn): Remove definition.
2868 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
2870 * inet/aliases.h: Add C++ protection.
2871 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
2872 (ether_hostton): Remove unused variable result.
2873 * inet/ether_ntoh.c: Likewise.
2874 * inet/ether_line.c: Include <ctype.h> and <string.h>.
2875 * inet/getnetgrent_r.c: Include <stdlib.h>.
2876 Use casts to prevent warnings.
2877 (innetgr): Initialize `known' and `needed'.
2878 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
2879 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
2880 return NULL. Instead set *RESULT to NULL and return -1.
2881 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
2882 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
2884 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
2887 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
2889 * sysdeps/posix/readv.c: Don't use PTR anymore.
2890 * sysdeps/posix/writev.c: Likewise.
2892 * version.h (VERSION): Bump to 1.98.
2894 * nss/db-Makefile: Generate lines for getXXXent iteration.
2896 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
2897 divqu.S, remlu.S, and remqu.S.
2899 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2901 * posix/unistd.h: Correct typo in documentation.
2903 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
2905 * inet/netinet/tcp.h: Use __ protected versions instead of
2906 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
2908 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
2910 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
2911 references in libc.so are not anymore undefined.
2913 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2915 * io/utime.h: Rename second parameter for utime to prevent warning
2917 * dirent/dirent.h: Same here for scandir prototype.
2918 * math/mathcalls.h: Likewise for frexp and ldexp.
2919 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
2921 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
2923 * stdlib/tst-strtod.c: Add test for error case below.
2925 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
2927 * stdlib/strtod.c: Recognize numbers like 0e-19.
2929 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2931 * time/Makefile ($(installed-localtime-file)): Fix path to
2934 * Makefile: Don't generate and install gnu/lib-names.h if
2935 $(build-shared) is not `yes'.
2937 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
2939 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
2940 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
2942 * Makerules (REAL_MAKE_VERSION): New, use it instead of
2945 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
2947 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
2948 * nss/getXXent_r.c: Fix typo. Set correct return value when
2949 no further service is available.
2951 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
2953 * db/recno/rec_put.c: Add cast to avoid warning.
2954 * db/recno/rec_close.c: Likewise.
2955 * db/mpool/mpool.c: Likewise.
2956 * db/hash/hash_bigkey.h: Likewise.
2957 * db/hash/hash.c: Likewise.
2958 * db/btree/bt_split.c: Likewise.
2959 * db/btree/bt_put.c: Likewise.
2961 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
2963 * dirent/dirent.h: Update copyright.
2964 * elf/elf.h: Likewise.
2965 * elf/link.h: Likewise.
2966 * gmon/sys/gmon_out.h: Likewise.
2967 * gnu-versions.h: Likewise.
2968 * intl/libintl.h: Likewise.
2969 * io/fcntl.h: Likewise.
2970 * io/ftw.h: Likewise.
2971 * io/sys/statfs.h: Likewise.
2972 * io/utime.h: Likewise.
2973 * locale/langinfo.h: Likewise.
2974 * malloc/malloc.h: Likewise.
2975 * malloc/obstack.h: Likewise.
2976 * misc/ar.h: Likewise.
2977 * misc/error.h: Likewise.
2978 * misc/mntent.h: Likewise.
2979 * misc/sgtty.h: Likewise.
2980 * misc/sys/cdefs.h: Likewise.
2981 * misc/sys/dir.h: Likewise.
2982 * misc/sys/file.h: Likewise.
2983 * misc/sys/ioctl.h: Likewise.
2984 * misc/sys/ustat.h: Likewise.
2985 * posix/fnmatch.h: Likewise.
2986 * posix/getopt.h: Likewise.
2987 * posix/glob.h: Likewise.
2988 * posix/posix2_lim.h: Likewise.
2989 * posix/regex.h: Likewise.
2990 * posix/sys/times.h: Likewise.
2991 * posix/sys/types.h: Likewise.
2992 * posix/sys/utsname.h: Likewise.
2993 * posix/tar.h: Likewise.
2994 * posix/wordexp.h: Likewise.
2995 * resource/sys/resource.h: Likewise.
2996 * resource/sys/vlimit.h: Likewise.
2997 * resource/sys/vtimes.h: Likewise.
2998 * socket/sys/socket.h: Likewise.
2999 * socket/sys/un.h: Likewise.
3000 * stdio-common/printf.h: Likewise.
3001 * stdlib/alloca.h: Likewise.
3002 * string/argz.h: Likewise.
3003 * string/endian.h: Likewise.
3004 * string/envz.h: Likewise.
3005 * string/memory.h: Likewise.
3006 * string/strings.h: Likewise.
3007 * sysdeps/generic/crypt.h: Likewise.
3008 * sysdeps/generic/direntry.h: Likewise.
3009 * sysdeps/generic/gnu/types.h: Likewise.
3010 * sysdeps/generic/ioctl-types.h: Likewise.
3011 * sysdeps/generic/netinet/in.h: Likewise.
3012 * sysdeps/generic/resourcebits.h: Likewise.
3013 * sysdeps/generic/sigset.h: Likewise.
3014 * sysdeps/generic/sockaddrcom.h: Likewise.
3015 * sysdeps/generic/sys/mman.h: Likewise.
3016 * sysdeps/generic/sys/ptrace.h: Likewise.
3017 * sysdeps/generic/termbits.h: Likewise.
3018 * sysdeps/generic/waitstatus.h: Likewise.
3019 * sysdeps/ieee754/huge_val.h: Likewise.
3020 * sysdeps/ieee754/nan.h: Likewise.
3021 * sysdeps/mach/hurd/local_lim.h: Likewise.
3022 * sysdeps/mach/hurd/statbuf.h: Likewise.
3023 * sysdeps/stub/huge_val.h: Likewise.
3024 * sysdeps/stub/libc-lock.h: Likewise.
3025 * sysdeps/stub/signum.h: Likewise.
3026 * sysdeps/stub/statbuf.h: Likewise.
3027 * sysdeps/stub/waitflags.h: Likewise.
3028 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
3029 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
3030 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
3031 * sysdeps/unix/bsd/signum.h: Likewise.
3032 * sysdeps/unix/bsd/statbuf.h: Likewise.
3033 * sysdeps/unix/bsd/sun/signum.h: Likewise.
3034 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
3035 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3036 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
3037 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3038 * sysdeps/unix/bsd/waitflags.h: Likewise.
3039 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
3040 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
3041 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3042 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3043 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
3044 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
3045 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
3046 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
3047 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
3048 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3049 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
3050 * sysdeps/unix/sysv/linux/signum.h: Likewise.
3051 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
3052 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3053 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3054 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3055 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3056 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
3057 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
3058 * sysdeps/unix/sysv/local_lim.h: Likewise.
3059 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
3060 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
3061 * sysdeps/unix/sysv/signum.h: Likewise.
3062 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
3063 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
3064 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
3065 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
3066 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
3067 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
3068 * sysdeps/vax/huge_val.h: Likewise.
3069 * values.h: Likewise.
3071 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
3073 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
3074 `memcpy' using bcopy if memcpy is not available.
3076 * manual/stdio.texi: Correct description of printf customization.
3077 The argument info function is not optional anymore and the
3078 interface for `printf_function' also changed.
3079 * manual/examples/rprintf.c: Define and use argument info function.
3081 * stdio-common/printf.h (struct printf_info): Change type for field
3083 Correct comment for `register_printf_function'.
3085 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
3086 to reentrant function. Instead use temporary variable and set
3087 h_errno if an error occured.
3088 Reported by NIIBE Yutaka.
3090 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3092 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
3093 S_ITRANS): New macros.
3094 (S_ISPARE): Update to include new macros and S_IUSEUNK.
3096 * sysdeps/mach/hurd/select.c (__select): Construct arg to
3097 mach_msg_destroy more nicely.
3099 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
3101 * stdio/fopen.c (__getmode): Declare with prototype.
3102 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
3103 * stdio/internals.c (__stdio_check_funcs, init_stream,
3104 seek_to_target, flushbuf, fillbuf): Likewise.
3106 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
3107 funlockfile, not _IO_funlockfile.
3109 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
3111 * sysdeps/posix/writev.c (writev): Likewise.
3113 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
3115 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3117 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
3118 prototyped definition.
3120 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
3121 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
3123 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
3125 * inet/Makefile (headers): Add aliases.h.
3126 (routines): Add getaliasent_r, getaliasent, getaliasname, and
3128 * aliases.h: New file.
3129 * inet/aliases.h: New file.
3130 * inet/getaliasent.c: New file.
3131 * inet/getaliasent_r.c: New file.
3132 * inet/getaliasname.c: New file.
3133 * inet/getaliasname_r.c: New file.
3134 * nss/Makefile (databases): Add alias.
3135 * nss/alias-lookup.c: New file.
3136 * nss/databases.def: Add aliases and publickey.
3137 * nss/nss_db/db-alias.c: New file.
3138 * nss/nss_files/files-alias.c: New file.
3140 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
3141 argument to lookup function is of type size_t.
3142 (innetgr): Likewise.
3143 * nss/getXXbyYY_r.c: Likewise.
3144 * nss/getXXent_r.c: Likewise.
3145 * nss/nss_db/db-XXX.c: Likewise.
3147 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
3148 failed because buffer was too small.
3149 * nss/getXXent.c: Likewise.
3151 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
3152 getXXent_r function now uses f[gs]etpos to get to the correct
3155 * nss/nss_files/files-parse.c: Indent lines for better readability.
3157 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
3158 and new function print_and_abort. Remove all references to
3160 Add new function _obstack_memory_used.
3161 * malloc/obstack.h (struct obstack): Remove field alloc_field.
3162 Remove all references to alloc_failed field.
3163 Add prototype for _obstack_memory_used.
3165 * posix/unistd.h: Correct typo.
3167 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
3169 * configure.in: Require at least autoconf-2.10.2.
3171 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3173 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
3176 * mach/msg-destroy.c (mach_msg_destroy_port,
3177 mach_msg_destroy_memory): Use prototype syntax.
3178 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
3179 malloc_fork_parent, malloc_fork_child): Likewise.
3181 * stdio/stdio.h: Repair broken cpp syntax.
3183 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
3184 we pass O_NOLINK on the open.
3186 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
3187 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
3188 an XOPEN error code, move to before the "Linux only" section, and
3189 give it a new number for the Hurd.
3191 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
3193 * malloc/obstack.h: Add new macro `obstack_make_room'.
3194 * malloc/obstack.c: Add function implementation for
3195 `obstack_make_room'.
3197 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3199 Update to BIND-4.9.5-REL.
3200 * resolv/Banner: Set to 4.9.5-REL.
3201 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
3202 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
3205 * config.make.in: Add definition for top_absdir.
3206 * Makerules (make-link): Fix path to rellns-sh script.
3208 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3210 * posix/unistd.h: Fix comment.
3212 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
3213 when talking about numbers.
3214 * manual/users.texi: Likewise.
3215 * manual/creature.texi: Likewise. Use @defvarx for a secondary
3218 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3220 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
3221 the real posix1_lim.h file so that it works in all subdirs, not
3224 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3226 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
3228 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3230 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
3231 on $(before-compile) which hasn't been properly setup yet at this
3234 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3236 * sysdeps/generic/sigset.h: Don't use implicit int which will
3237 probably require a diagnostic in the next revision of the C
3239 * sysdeps/stub/lockfile.c: Likewise.
3241 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3243 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
3244 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3246 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
3248 * time/strftime.c: Update copyright. Small cosmetic changes.
3250 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
3252 * inet/getprtname_r.c: Reformat copyright.
3254 * nss/Makefile (databases): Add key.
3255 (libnss_files-routines): Exclude key database.
3256 (libnss_db-routines): Likewise.
3257 * nss/key-lookup.c: New file.
3259 * nss/getXXent_r.c (last_nip): Remember last service used since
3261 (SETFUNC): Don't force to work through whole list of services in
3263 Update last_nip if necessary.
3264 (ENDFUNC): Only process endXXent function up to currently used
3266 (GETFUNC): Update last_nip if necessary.
3268 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
3271 * rpc/auth_des.h: New file.
3272 * sunrpc/Makefile (headers): Add auth_des.h.
3273 (routines): Add publickey.
3274 * sunrpc/publickey.c: New file. Interface to public key handling.
3275 * sunrpc/rpc/auth_des.h: New file.
3276 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
3278 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
3280 * inet/gethstent_r.c: Update copyright.
3281 * nss/getXXbyYY_r.c: Likewise.
3282 * nss/nsswitch.c: Likewise.
3283 * nss/getXXent_r.c: Likewise.
3284 * nss/nss_files/files-XXX.c: Likewise.
3285 * nss/nss_files/files-netgroup.c: Likewise.
3286 * nss/nss_files/files-parse.c: Likewise.
3288 * nss/getXXent_r.c: Change implementation. It's not necessary to
3289 call all setXXent functions. Just find first available and
3290 when necessary let getXXent_r call the others.
3292 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
3293 of getXXent and getXXbyYY can be mixed. The cursor for traversing
3294 the database with getXXent will be remembered.
3296 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
3298 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
3300 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
3301 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
3303 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
3305 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
3307 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
3308 set. Instead for none beside the first seven bits to be set.
3309 X/Open allows the argument to be an `int' value.
3310 Reported by Alain Williams <addw@phcomp.co.uk>.
3311 (toascii, isascii): Define macro also when __USE_XOPEN.
3313 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
3316 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
3318 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
3319 NULL so that GETFUNC will see first entry.
3320 (ENDFUNC_NAME): Likewise.
3322 Rewrite Netgroups implementation to avoid global data.
3323 * inet/netgroup.h: Add definition of name_list and struct
3325 Add prototypes for internal netgroup functions.
3326 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
3327 extra argument and use the included data instead of global vars.
3328 (_nss_files_endnetgrent): Likewise.
3329 (_nss_netgroup_parseline): Change to be static and use data
3330 included in the RESULT structure.
3331 * inet/getnetgrent_r.c (startp): Move into setup function.
3332 (known_groups, needed_groups): new part of the __netgrent sruct.
3333 (freememory): Take extra argument and use included data.
3334 (__internal_endnetgrent): Likewise.
3335 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
3336 and take extra argument.
3337 (__internal_setnetgrent): New function. Call
3338 __internal_setnetgrent_reuse after calling free_memory.
3339 (setnetgrent): Only call __internal_setnetgrent.
3340 (__getnetgrent_r): Split into two functions. __getnetgrent_r
3341 calls __internal_getnetgrent after locking.
3342 (innetgr): Use dynamic data only. I.e., innetgr now is fully
3345 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
3347 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
3348 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
3350 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
3352 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
3353 default when no *_SOURCE macro is given.
3354 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
3355 * NOTES: remade from manual/creature.texi.
3356 * manual/libc.texinfo: Add back line about GPL translation which
3359 * Make-dist (dist.tar): Depend on README being updated.
3361 * rellns-sh: Correct thinko in removing leading /.
3362 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3364 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
3365 with `+' or `-' in parser.
3366 * grp/fgetgrent_r.c: Likewise.
3367 * shadow/sgetspent_r.c: Likewise.
3368 * nss/nss_files/files-spwd.c: Don't accept entries starting with
3371 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
3373 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
3374 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
3376 * string/argz.h: Don't protect by __USE_GNU.
3378 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
3380 * Lots of files: Update and reformat copyright.
3382 * Makefile (headers): Add xopen_lim.h.
3384 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
3386 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
3387 if __USE_XOPEN_EXTENDED is defined.
3388 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
3389 if __USE_XOPEN_EXTENDED is defined.
3391 * io/Makefile (routines): Add lchown.
3392 * sysdeps/stub/lchown.c: New file.
3394 * io/sys/poll.h: Add definition of POLLWRNORM.
3396 * io/sys/stat.h: Declare lstat, fchmod, mknod when
3397 __USE_XOPEN_EXTENDED is defined.
3399 * libio/Makefile (routines): Add obprintf.
3400 * libio/obprintf.c: New file.
3401 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
3403 * libio/libio.h: Fix typo.
3404 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
3405 Add prototypes for obstack_vprintf and obstack_printf.
3407 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
3408 * manual/intro.texi: Add reference to NSS chapter.
3409 * manual/libc.texinfo: Update UPDATED.
3410 Comment out `@printindex cp'. It works again.
3411 * manual/memory.texi: Add description for obstack_ptr_grow,
3412 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
3413 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
3414 index entries to @vindex.
3415 * manual/users.texi: Correct @cindex entry for Netgroup.
3417 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
3418 make declarations visible for X/Open sources.
3420 * misc/search.h: Declare insque/remque only is __USE_SVID or
3421 __USE_XOPEN_EXTENDED is defined.
3423 * misc/sys/uio.h (readv, writev): Change return value from int to
3426 * posix/Makefile (headers): Add re_comp.h.
3427 * posix/re_comp.h: New file. XPG interface to regex functions.
3429 * posix/getconf.c: Add all names from XPG4.2.
3430 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
3431 and _POSIX_OPEN_MAX to minimums from XPG4.2.
3432 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
3433 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
3434 * sysdeps/stub/sysconf.c: Likewise.
3436 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
3437 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
3438 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
3439 ftruncate, getdtablesize, brk, sbrk, lockf when
3440 __USE_XOPEN_EXTENDED is defined.
3442 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
3444 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
3445 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
3446 * sysdeps/unix/sysv/linux/paths.h: Likewise.
3448 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
3449 __USE_XOPEN_EXTENDED is defined.
3451 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
3453 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
3455 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
3458 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
3459 and rindex available when __USE_XOPEN_EXTENDED is defined.
3461 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
3462 * sysdeps/posix/getpagesize.c: Likewise.
3463 * sysdeps/stub/getpagesize.c: Likewise.
3464 * sysdeps/unix/getpagesize.c: Likewise.
3466 * time/africa: Update from tzdata1996l.
3467 * time/asia: Likewise.
3468 * time/australia: Likewise.
3469 * time/europe: Likewise.
3470 * time/northamerica: Likewise.
3471 * time/pacificnew: Likewise.
3472 * time/southamerica: Likewise.
3473 * time/tzfile.h: Update from tzcode1996m.
3475 * time/time.h: Declare strptime if __USE_XOPEN.
3476 Declare daylight and timezone also if __USE_XOPEN.
3478 * time/sys/time.h: Remove declaration of ualarm.
3480 * wctype/wctype.h: Just reference ISO C standard.
3482 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
3484 * crypt/Makefile: Add crypt routines to libc as well iff
3485 $(crypt-in-libc) is set. Do this for temporary binary compatibility
3486 on existing Linux/Alpha installations.
3488 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
3489 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
3490 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
3491 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
3493 * sysdeps/alpha/div.S: New file.
3494 * sysdeps/alpha/ldiv.S: New file.
3495 * sysdeps/alpha/lldiv.S: New file.
3496 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
3497 Take pointers from Linus and tighten the inner loops a bit.
3498 * sysdeps/alpha/divl.S: Change defines for merged routines.
3499 * sysdeps/alpha/divq.S: Likewise.
3500 * sysdeps/alpha/reml.S: Likewise.
3501 * sysdeps/alpha/remq.S: Likewise.
3502 * sysdeps/alpha/divlu.S: Remove file.
3503 * sysdeps/alpha/divqu.S: Likewise.
3504 * sysdeps/alpha/remlu.S: Likewise.
3505 * sysdeps/alpha/remqu.S: Likewise.
3507 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
3508 * sysdeps/alpha/bsd-setjmp.S: Likewise.
3509 * sysdeps/alpha/bzero.S: Likewise.
3510 * sysdeps/alpha/ffs.S: Likewise.
3511 * sysdeps/alpha/htonl.S: Likewise.
3512 * sysdeps/alpha/htons.S: Likewise.
3513 * sysdeps/alpha/memchr.S: Likewise.
3514 * sysdeps/alpha/memset.S: Likewise.
3515 * sysdeps/alpha/s_copysign.S: Likewise.
3516 * sysdeps/alpha/s_fabs.S: Likewise.
3517 * sysdeps/alpha/setjmp.S: Likewise.
3518 * sysdeps/alpha/stpcpy.S: Likewise.
3519 * sysdeps/alpha/stpncpy.S: Likewise.
3520 * sysdeps/alpha/strcat.S: Likewise.
3521 * sysdeps/alpha/strchr.S: Likewise.
3522 * sysdeps/alpha/strcpy.S: Likewise.
3523 * sysdeps/alpha/strlen.S: Likewise.
3524 * sysdeps/alpha/strncat.S: Likewise.
3525 * sysdeps/alpha/strncpy.S: Likewise.
3526 * sysdeps/alpha/strrchr.S: Likewise.
3527 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
3528 Convert two small jumps to use conditional moves.
3529 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
3530 (PSEUDO): If PROF, call _mcount.
3531 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
3532 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3533 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3534 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3535 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
3536 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
3537 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
3539 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
3540 eventually contain memmove as well.
3541 * sysdeps/alpha/strcmp.S: New file.
3542 * sysdeps/alpha/strncmp.S: New file.
3543 * sysdeps/alpha/w_sqrt.S: New file.
3545 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
3547 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
3549 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
3551 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
3552 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
3553 Reported by Thomas Bushnell, n/BSG.
3555 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
3557 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
3559 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
3561 * malloc/calloc.c: Check for overflow before trying to allocate
3562 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
3564 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3566 * manual/llio.texi (Operating Modes): Add missing arguments to
3567 @deftypevr in O_NONBLOCK description.
3569 * manual/time.texi (Time Zone Functions): Enclose type name in
3570 braces in description of tzname. FIXME: this does not yet work
3573 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
3575 * features.h: Add X/Open macros.
3576 * posix/unistd.h: Define X/Open macros.
3577 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
3578 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
3579 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
3580 * sysdeps/posix/sysconf.c: Handle new constants.
3581 * sysdeps/stub/sysconf.c: Likewise.
3582 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
3584 * catgets/catgets.c (catopen): Set errno to ENOMEM when
3585 we run out of memory.
3586 (catgets): Set errno to EBADF when catalog handle is invalid.
3587 Set errno to ENOMSG when translation is not available.
3588 (catclose): Set errno to EBADF when catalog handle is invalid.
3590 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
3591 Likewise for _toupper and _tolower.
3593 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
3594 strtof, and strtold.
3595 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
3596 * manual/stdio.h: Document ' flag for numeric formats of scanf.
3597 * manual/users.texi: Document that cuserid shouldn't be used.
3599 * misc/Makefile (routines): Add dirname.
3600 (headers): Add libgen.h.
3601 (tests): Add tst-dirname.
3602 * misc/dirname.c: New file.
3603 * misc/libgen.h: New file.
3604 * misc/tst-dirname.c: New file.
3606 * misc/search.h: Parameter of hcreate must be of type size_t.
3607 * misc/hsearch.c: Likewise.
3608 * misc/hsearch_r.c: Likewise for hcreate_r.
3609 * misc/search.h: Parameters of insque and remque must be `void *'.
3610 * misc/insremque.c: Likewise.
3612 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
3613 * stdlib/stdlib.h: ...here.
3614 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
3617 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
3619 (parse_one_spec): Remove Linux compatibility code.
3620 Recognize %C and %S formats.
3621 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
3622 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
3623 * stdio-common/vfscanf.c: Likewise for scanf.
3625 * stdlib/l64a.c: Return value for 0 must be the empty string.
3626 * stdlib/stdlib.h: Declare reentrant function from rand49 family
3627 only if __USE_REENTRANT.
3628 Declare rand48 functions also if __USE_XOPEN.
3630 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
3632 Return 0 and set errno to EINVAL when strou* sees negativ number.
3633 * stdlib/tst-strtol.c: De-ANSI-fy.
3634 Change expected results for test of unsigned function and negative
3637 * string/stratcliff.c: Prevent warnings.
3638 * string.h: Move declaration of swab to <unistd.h>.
3639 * string/swab.c: De-ANSI-fy.
3641 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
3642 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
3643 * sysdeps/posix/mktemp.c: Likewise.
3644 * sysdeps/stub/mkstemp.c: Likewise.
3645 * sysdeps/stub/mktemp.c: Likewise.
3647 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
3649 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
3652 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
3654 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
3657 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
3659 * sysdeps/posix/cuserid.c: Use reentrant functions.
3660 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
3663 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
3665 Linus said he will make sure no system call will return a value
3666 in -1 ... -4095 as a valid result.
3667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
3668 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3669 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3670 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3672 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3674 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
3675 __funlockfile, not a circular alias.
3676 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
3679 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
3681 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
3683 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3685 * stdio-common/vfprintf.c: Include <libc-lock.h>.
3687 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3689 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
3692 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
3693 __internal_funlockfile (in terms of itself) should actually be a
3694 definition of __funlockfile.
3696 * pwd/pwd.h: Get `size_t' from <stddef.h>.
3697 * grp/grp.h: Likewise.
3698 * shadow/shadow.h: Likewise.
3700 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
3701 calls to __libc_lock_lock and __libc_lock_unlock.
3702 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
3705 * hurd/hurdsig.c (write_corefile): Fix typo.
3707 * sysdeps/mach/hurd/sigwait.c: New file.
3709 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
3711 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
3712 and __errno_location to correct position.
3714 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
3716 * Makefile (distribute): Add rellns-sh.
3717 * rellns-sh: New file.
3718 * Makerules (make-link): Use rellns-sh.
3719 * time/Makefile ($(installed-localtime-file)): Likewise.
3721 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
3723 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
3724 (distribute): Add ldd.bash.in.
3725 * elf/ldd.sh.in: Process --help and --version parameter.
3727 * elf/ldd.bash.in: New file.
3729 * stdlib/stdlib.h: Add prototype for clearenv.
3730 * sysdeps/generic/setenv.c: Add implementation of clearenv.
3731 (setenv): Handle __environ == NULL correctly.
3732 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
3735 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
3736 * sysdeps/generic/setenv.c: Likewise.
3737 * stdlib/strtol.h: Likewise.
3739 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
3740 Remove definition of struct timeval.
3741 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
3742 using `time_t' for members.
3743 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
3744 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
3745 as old Linux specific version.
3747 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
3749 * signal/Makefile (routines): Add sigwait.
3750 * signal/signal.h: Add prototype for sigwait.
3751 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
3752 function from POSIX.1c.
3753 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
3755 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
3757 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
3758 but don't bother going farther than sizeof(float)==sizeof(int).
3759 (xdr_double): Handle little-endian machines! Handle sizeof(double)
3760 != 2*sizeof(long), though again don't bother with more than int.
3762 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
3764 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
3767 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
3769 * Makerules: Create symbolic links for linking in $(libdir).
3770 (make-link): Use absolute path for destination if this is not in
3773 * elf/rtld.c (dl_main): When verifying don't check the name of
3776 * shlib-versions: Change entries for Hurd specific libs from
3777 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
3780 * assert/assert.h: Reformat copyright.
3781 Change reference to ANSI into reference to ISO C.
3782 * ctype/ctype.h: Likewise.
3783 * errno.h: Likewise.
3784 * limits.h: Likewise.
3785 * math/math.h: Likewise.
3786 * setjmp/setjmp.h: Likewise.
3787 * stdio/stdio.h: Likewise.
3788 * libio/stdio.h: Likewise.
3789 * stdlib/stdlib.h: Likewise.
3790 * string/string.h: Likewise.
3791 * time/time.h: Likewise.
3793 * string/argz.h: Use __const in definitions.
3795 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
3796 * misc/err.h: Likewise.
3798 * wctype/wctype.h (wctrans_t): Use __const instead of const.
3800 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
3801 sonames for versioned libraries.
3802 * Makefile: Remove code to generate libc-version.h.
3803 Generate gnu/lib-names.h with info from soversions.mk.
3804 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
3806 * dirent/tst-seekdir.c: Initialize save3.
3807 * grp/testgrp.c: Initialize my_group.
3809 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
3810 * grp/grp.h: Likewise.
3811 * nss/getXXbyYY.c: Likewise.
3812 * nss/getXXbyYY_r.c: Likewise.
3813 * nss/getXXent.c: Likewise.
3814 * nss/getXXent_r.c: Likewise.
3815 * pwd/fgetpwent_r.c: Likewise.
3816 * pwd/pwd.h: Likewise.
3817 * shadow/fgetspent_r.c: Likewise.
3818 * shadow/sgetspent.c: Likewise.
3819 * shadow/sgetspent_r.c: Likewise.
3820 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
3821 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
3822 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
3823 * resolv/netdb.h: Adapt prototypes for reentrant functions to
3825 * sunrpc/rpc/netdb.h: Likewise,
3826 * shadow/shadow.h: Likewise.
3828 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
3830 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
3832 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
3833 ELF aliasing creates strange situations.
3834 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
3836 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
3837 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3839 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
3842 * locale/programs/charmap.c: Add casts to prevent warnings.
3843 * locale/programs/linereader.h: Likewise.
3844 * locale/programs/ld-collate.c: Likewise.
3845 * locale/programs/stringtrans.c: Likewise.
3846 Change types for various variables to prevent warnings.
3847 * locale/programs/ld-ctype.c: Likewise.
3848 * locale/programs/linereader.h (lr_ungetc): Likewise.
3849 * locale/programs/charset.h (struct charset): Use `unsigned int'
3850 as type for width_default.
3851 * posix/regex.c: Change type of `this_reg' variables.
3852 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
3853 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
3855 * stdio-common/printf_fp.c: Initialize to_shift.
3856 * stdio-common/test_rdwr.c: Add cast.
3857 * stdio-common/vfprintf.c: Add casts and use correct types to
3859 * stdio-common/vfscanf.c: Initialize str and strptr.
3860 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
3861 * sysdeps/libm-ieee754/e_pow.c: Likewise.
3862 * sysdeps/libm-ieee754/e_powf.c: Likewise.
3863 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
3864 * time/test-tz.c: Likewise.
3866 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
3867 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
3868 libc.cp index. This must be fixed.
3869 * manual/nss.texi: Adapt for correct POSIX.1c interface of
3870 reentrant functions.
3871 * manual/users.texi: Document netgroup functions.
3873 * po/es.po: Updated.
3874 * po/fr.po: Updated.
3876 * posix/fnmatch.c: Change to match libit version.
3878 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
3879 * sysdep/posix/ttyname_r.c: Likewise.
3881 * stdlib/atexit.h (__new_exitfn): Add internal locking.
3882 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
3883 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
3884 * stdlib/random.c (__srandom): Add internal locking.
3885 (__initstate): Likewise.
3886 (__setstate): Likewise.
3887 (__random): Likewise.
3889 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3891 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
3893 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
3894 * sysdeps/generic/uname.c: Likewise.
3895 * sysdeps/posix/rename.c: Likewise.
3896 * sysdeps/stub/setrlimit.c: Likewise.
3898 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
3900 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3902 * locale/programs/ld-collate.c (collate_order_elem): Fix format
3904 (collate_element_to): Cast field width argument to `int' for
3906 (collate_symbol): Likewise.
3907 (collate_order_elem): Likewise.
3908 (collate_weight_bsymbol): Likewise.
3909 (collate_simple_weight): Likewise.
3911 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
3913 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
3914 argument for format string.
3915 (ctype_map_newP): Likewise.
3916 (set_class_defaults): Fix format string.
3918 * locale/programs/localedef.c (construct_output_path): Putting an
3919 explicit \0 into the format string does not work, use %c.
3921 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
3923 * Makerules: Install all shared libraries in $(slibdir).
3925 * login/Makefile: Build libutil.so in others pass after
3928 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
3930 * string/stratcliff.c: Allocate 3 pages instead of one, then use
3931 mprotect so that we know that the adjacent pages are inaccessible.
3933 * resource/sys/resource.h: Move all structures and enums to ...
3934 * sysdeps/generic/resourcebits.h: ... here ...
3935 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
3936 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
3937 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
3938 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
3939 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
3940 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
3941 header for RLIMIT_* definitions. The members of struct rlimit
3945 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3947 * MakeTAGS (sysdep-dirs): Fix typo.
3949 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3951 * hurd/hurdsig.c (write_corefile): If we can't create the core
3952 file, still call crash_dump_task with a null FILE arg. Maybe it
3953 won't actually need the file.
3955 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
3957 * Makefile (headers): Don't mention libc-version.h.
3958 (install-others): ...but here.
3960 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
3962 * version.h: Bump version number to 1.97.
3964 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
3965 Include libc-version.h.
3966 * features.h.in: Removed.
3967 * Makefile: Change rules to generate libc-version.h instead of
3970 * malloc/free.c: Add cast to prevent warning.
3971 * malloc/malloc-walk.c: Likewise.
3972 * malloc/ralloc.c: Likewise.
3973 * malloc/realloc.c: Likewise.
3975 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
3977 * pwd/fgetpwent_r.c: Likewise.
3978 * nss/nss_files/files-grp.c: Don't accept entries with names starting
3979 with + or - in lookup functions.
3980 * nss/nss_files/files-pwd.c: Likewise.
3982 * Makerules: Call autolock.sh using $(SHELL).
3984 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3986 * elf/dl-minimal.c: Don't define `dgettext' replacement but
3987 `dcgettext'. When optimizing the macros in <libintl.h> define
3988 `dgettext' as a macro and so this function will never be called.
3990 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
3992 * sysdeps/i386/sysdep.h: Define END to use .size when available.
3993 (PSEUDO_END): Use END.
3994 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
3995 define SYSCALL_ERROR_HANDLER before using END.
3996 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
3997 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
3998 and .size directive but PSEUDO_END.
3999 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
4000 * sysdeps/unix/sysv/linux/socket.S: Likewise.
4001 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
4002 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
4003 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
4004 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
4005 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4006 * sysdeps/i386/bsd-setjmp.S: Likewise.
4007 * sysdeps/i386/memchr.S: Likewise.
4008 * sysdeps/i386/memcmp.S: Likewise.
4009 * sysdeps/i386/setjmp.S: Likewise.
4010 * sysdeps/i386/stpcpy.S: Likewise.
4011 * sysdeps/i386/stpncpy.S: Likewise.
4012 * sysdeps/i386/strchr.S: Likewise.
4013 * sysdeps/i386/strcspn.S: Likewise.
4014 * sysdeps/i386/strpbrk.S: Likewise.
4015 * sysdeps/i386/strrchr.S: Likewise.
4016 * sysdeps/i386/strspn.S: Likewise.
4017 * sysdeps/i386/strtok.S: Likewise.
4018 * sysdeps/i386/i486/strcat.S: Likewise.
4019 * sysdeps/i386/i486/strlen.S: Likewise.
4020 * sysdeps/i386/i586/memset.S: Likewise.
4021 * sysdeps/i386/i586/strchr.S: Likewise.
4022 * sysdeps/i386/i586/strlen.S: Likewise.
4024 * sysdeps/i386/strlen.c: De-ANSI-fy.
4026 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
4027 Define dgettext if not defined to use dcgettext.
4028 * sysdeps/mach/_strerror.c: Likewise.
4030 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
4031 __syscall_error defined.
4033 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4035 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
4036 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
4037 now provided by PSEUDO_END.
4038 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4039 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4040 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4041 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4042 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
4044 * sysdeps/generic/sysdep.h (END): Provide default empty
4046 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
4048 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
4049 (PSEUDO_END): Include it here instead.
4050 (SYSCALL_ERROR_HANDLER): Remove type directive.
4051 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
4052 * sysdeps/m68k/bsd-setjmp.S: Likewise.
4053 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4054 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4055 (__syscall_error): Can't use ENTRY macro.
4057 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4059 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
4060 Set caller to EXTRA.
4062 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
4064 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
4065 to beginning of function. So libc functions can use this flag.
4066 * sysdeps/generic/_strerror.c: Don't use dgettext for message
4067 translation while `_dl_starting_up' is nonzero.
4069 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
4071 Pass parameter value to _dl_map_object.
4072 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
4073 If TRACE_MODE is nonzero don#t signal error when shared lib
4074 is not found. Instead create fake entry for link map.
4075 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
4076 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
4077 argument to _dl_map_object_deps.
4078 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
4079 _dl_map_object and _dl_map_object_deps.
4080 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
4081 and _dl_map_object_deps.
4082 When mode == trace test for l_opencount == 0 before printing
4083 link information since this means the lib is not found.
4085 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
4087 * rpm/template: Add INSTALL to %doc line to follow copyright
4088 restrictions which demand the distribution of the copyright
4089 messages in INSTALL even for binary distributions.
4091 * features.h: Rename to...
4092 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
4093 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
4094 and __GNU_LIBRARY_INTERFACE__.
4095 * Makefile ($(objpfx)features.h): New rule to generate features.h
4096 from template features.h.in.
4098 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
4100 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
4102 * locale/programs/linereader.c (lr_open): Cast away const before free.
4103 (lr_close): Likewise.
4105 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
4106 * misc/paths.h: Move to ...
4107 * sysdeps/generic/paths.h: ... here.
4109 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
4110 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
4112 * nss/nss_db/db-netgrp.h: Include <string.h>.
4114 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
4115 _sys_siglist, which result in the "Unknown signal" message.
4116 * string/strsignal.c: Likewise.
4117 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
4118 don't auto-generate siglist.c.
4119 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
4120 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
4121 autogenerate makes bootstrapping and cross-compiling much easier.
4122 * sysdeps/unix/sysv/linux/siglist.h: New file.
4124 * stdlib/longlong.h: Prototype __udiv_qrnnd.
4126 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
4127 sys/io.h. It is already added in .../linux/Makefile.
4129 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
4130 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
4131 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
4133 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
4135 Add implementation of POSIX.1g function getaddrinfo.
4136 * posix/Makefile (routines): Add getaddrinfo.
4137 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
4139 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
4140 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
4141 related constants and structures.
4143 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
4145 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
4146 Make all old names weak alises so that they can be replaced
4149 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
4151 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
4152 __flockfile and __funlockfile.
4153 Reported by NIIBE Yutaka.
4155 * crypt/md5.c: Change form of copyright message according to GNITS
4157 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
4158 and `md5_read_ctx' function.
4159 * crypt/md5.h: Likewise.
4161 * grp/testgrp.c: Don't use perror for error cases since getgr* and
4162 getpw* functions do not return usable error codes.
4164 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
4166 * crypt/md5.c (md5_process_bytes): Used casting for pointer
4169 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
4171 * sunrpc/Makefile (others): Remove portmap here, too.
4173 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
4175 * intl/locale.alias: Language for entry `czech' is `cs'.
4177 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4179 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
4181 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
4183 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
4184 buggy and more competent people work on a usable version which is
4185 distributed separately.
4186 * sunrpc/portmap.c: Removed.
4187 Suggested by Thorsten Kukuk.
4189 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
4191 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
4194 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
4196 * string/Makefile (tests): Add stratcliff.
4197 * string/stratcliff.c: New file. Test for string function at
4198 the edge of the usable memory.
4200 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
4202 * Makerules ($(libdir)/libc.so): Fix typo.
4204 * elf/ldd.sh.in: Test whether given file really exist and give
4205 better message if it is not available.
4207 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
4209 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
4212 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
4214 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
4215 output to $@T and move to $@ later since the new rpcgen will not
4216 overwrite existing files.
4218 * po/Makefile (libc.pot): Fix typo.
4220 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4222 Update rpcgen program to TI-rpc code.
4223 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
4224 (distribute): Add proto.h.
4225 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
4226 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
4227 * sunrpc/rpc_cout.c: Likewise.
4228 * sunrpc/rpc_hout.c: Likewise.
4229 * sunrpc/rpc_main.c: Likewise.
4230 * sunrpc/rpc_parse.c: Likewise.
4231 * sunrpc/rpc_parse.h: Likewise.
4232 * sunrpc/rpc_scan.c: Likewise.
4233 * sunrpc/rpc_scan.h: Likewise.
4234 * sunrpc/rpc_svcout.c: Likewise.
4235 * sunrpc/rpc_util.c: Likewise.
4236 * sunrpc/rpc_util.h: Likewise.
4238 * sunrpc/rpc_tblout.c: New file.
4239 * sunrpc/rpc_sample.c: Likewise.
4241 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4243 * sysdeps/unix/opendir.c: Add semicolon for consistency.
4245 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
4247 * locale/programs/localedef.c (main): Test with -1 to find out
4248 whether read failed.
4250 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
4252 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
4255 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4257 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
4259 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4261 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
4262 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4263 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4264 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4265 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
4267 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4268 Correct generation of system call.
4270 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4272 * Makerules (sysd-Makefile): Fix command so that it works in the
4274 (BUILD_CFLAGS): Change back using $(..) instead of
4275 $(common-objpfx), the latter fails in the toplevel directory when
4276 $(objdir) is relative.
4277 (common-objdir-compile): Run compiler in $(objdir).
4278 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
4280 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
4282 * string/string.h [__USE_SVID]: Add prototype for swab.
4283 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
4284 Reported by Andreas Jaeger.
4286 The available nlist implementation is not generally usable.
4287 Especially on the currently supported ELF systems the nlist
4288 function comes with the libelf.
4289 * misc/Makefile (headers): Remove nlist.h.
4290 (routines): Remove nlist.
4292 * Makefile ($(objpfx)version-info.h): Include information about
4293 system the libc is built on in version-info.h file.
4295 * po/Makefile (distribute): Add header.pot.
4297 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4299 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
4300 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
4301 * misc/error.c: Likewise.
4303 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
4305 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
4307 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4309 * crypt/Makefile (rpath-link): Extend search path to current directory.
4311 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
4313 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
4316 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
4318 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
4320 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
4322 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4324 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
4327 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4329 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
4332 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4334 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
4336 (PSEUDO_END): Provide definition to use .size directive.
4337 (PSEUDO): Don't interpret negative return values less than -128 as
4339 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
4341 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
4343 * sysdeps/m68k/bsd-setjmp.S: Likewise.
4344 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4345 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4346 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4347 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4348 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4349 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
4350 explicit .size directive.
4352 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
4354 * shlib-versions: Add version number/name for ld.so.
4355 * Makeconfig: Move definition of rtld-installed-name after
4356 inclusion of soversions.mk.
4357 Don't add . before version number from shlib-versions file when
4358 when name does not start with digit. This is needed for ld.so.
4360 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
4362 * libio/iogets.c: Warn when gets is used.
4363 * stdio/gets.c: Strengthen the warning.
4365 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
4367 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
4368 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
4369 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
4370 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
4371 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
4373 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
4374 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
4375 appropriate values according to __USE_REENTRANT.
4376 * libio/stdio.h: Add prototype for ftrylockfile.
4377 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
4378 getc, getchar, putc, and putchar using _IO_* names.
4379 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
4380 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
4381 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
4382 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
4383 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
4384 * libio/peekc.c: New file.
4386 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
4389 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
4391 * crypt/Makefile (tests): Add md5test and md5c-test.
4392 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
4393 is called, the buffer limit is honoured and a loop in a inner
4395 * crypt/md5.h (struct md5_ctx): Add new fields.
4396 Add prototypes for new functions.
4397 * crypt/md5.c (md5_init_ctx): Initialize new fields.
4398 (md5_finish_ctx): New function. Like md5_read_ctx but before
4399 perform correct finalization.
4400 (md5_process_bytes): New function. Similar to md5_proces_block,
4401 but does not require input size to be multiple of 64.
4402 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
4403 (md5_buffer): Likewise.
4404 (md5_process_block): Count number of bytes.
4405 * crypt/md5test.c: New file. Test program for MD5 functions.
4406 * crypt/md5c-test.c: New file: Test program for MD5 crypt
4411 * time/strptime.c: Recognize %s, %u, %g, and %G format.
4413 * posix/getopt.c: Add some more casts and initializations to
4416 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
4418 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
4419 an extra function to provide this functionality.
4420 (cfgetospeed): Simply return masked value.
4421 (cfsetospeed): Don't use speeds array and so we can simply test
4422 the value of SPEED for illegal values.
4423 * termios/cfsetspeed.c: Rewrite. We convert here between the
4424 real values and the B* constants.
4425 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
4427 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4429 * locale/programs/xstrdup.c: Define prototypes.
4430 * locale/programs/xmalloc.c: Likewise.
4432 * stdio-common/xbug.c (main): Change definition to avoid warning.
4434 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
4436 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
4438 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
4440 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
4441 "$(i18ndir)/charmaps".
4443 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4445 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
4446 to get definition of FPU description struct.
4448 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
4449 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
4450 net/if_arp.h, and net/route.h.
4451 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
4452 * sysdeps/unix/sysv/linux/net/route.h: New file.
4454 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
4456 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
4457 * sysdeps/stub/e_acosl.c: Likewise.
4458 * sysdeps/stub/e_asinl.c: Likewise.
4459 * sysdeps/stub/e_atan2l.c: Likewise.
4460 * sysdeps/stub/e_expl.c: Likewise.
4461 * sysdeps/stub/e_fmodl.c: Likewise.
4462 * sysdeps/stub/e_log10l.c: Likewise.
4463 * sysdeps/stub/e_logl.c: Likewise.
4464 * sysdeps/stub/e_sqrtl.c: Likewise.
4465 * sysdeps/stub/s_atanl.c: Likewise.
4466 * sysdeps/stub/s_log1pl.c: Likewise.
4468 * Makefile (distribute): Add nsswitch.h and netgroup.h.
4470 * nss/Makefile (generated): db-netgrp.c is not generated.
4472 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
4474 * Make-dist (+out): Add $(dont_distribute).
4476 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4478 * stdio-common/Makefile (routines): Add tmpnam_r.
4480 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
4482 * version.h: Bump version to 1.96.
4484 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4486 * stdio-common/tst-printf.c: Some more cleanups.
4488 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
4490 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
4491 * resolv/resolv.h: Likewise.
4492 * resolv/gethnamaddr.c: Likewise.
4493 * resolv/res_comp.c: Likewise.
4494 * resolv/res_debug.c: Likewise.
4495 * resolv/res_init.c: Likewise.
4496 * resolv/res_send.c: Likewise.
4497 * resolv/Banner: Update version number.
4499 * nss/nss_dns/dns-host.c: Update according to change in
4500 resolv/gethnamaddr.c.
4502 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
4504 * crypt/md5.c (md5_stream): When reading the block in several
4505 pieces append to instead of replace previously read data.
4507 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
4509 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
4510 last-byte-written bit for source word misalignment.
4511 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
4514 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
4516 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
4517 comes with glibc-nis.
4518 * sunrpc/rpcsvc/yp.x: Removed.
4520 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
4521 for *CURSOR to be NULL and dump a core if yes.
4523 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
4525 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
4526 including <errnos.h> to get error numbers.
4528 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
4530 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
4531 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
4532 Alpha people find a correct file.
4533 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
4534 an alias of __cabs since the structures have different names.
4535 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
4536 Reported by Matthew Jacob <mjacob@feral.com>.
4538 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4540 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
4541 so that it still works right if we happen to get called in a
4542 subdir it still works.
4544 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
4545 as file name translation flags.
4546 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
4547 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
4550 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
4551 name (changed according to libc-name) to avoid getting the
4552 Hurd-ish linker script for libc.a when we only want the archive
4555 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
4557 * time/strftime.c: Allow old K&R compilers compile this file.
4559 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
4561 * posix/execlp.c: Add first argument parameter to be compliant
4562 with POSIX. Rearrange body to start vararg counter after
4565 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
4567 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
4568 simply a wrapper around the <linux/elfcore.h> file since the
4569 kernel header is not clean enough. We provide the definitions
4570 in this file instead.
4572 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
4574 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
4575 get?id calls by using __libc_enable_secure.
4577 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
4579 * inet/getnetgrent_r.c: Correct netgroup implementation. A
4580 specification of a netgroup can also name another netgroup.
4581 * nss/nss_files/files-netgrp.c: Likewise.
4582 * inet/netgroup.h: Add fields to hold additional information.
4584 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
4586 * posix/getopt.c: Implement POSIX -W option handling. When the
4587 option string contains "W;" -W foo is handled like --foo.
4589 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
4591 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
4592 inclusing <errnos.h> so we really get error symbols defined.
4593 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4594 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
4596 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
4597 size array for getgroups call. Instead get maximal number via
4598 sysconf. But discard list to NGRPS elements before calling XDR
4599 function since Sun's code cannot handle longer lists.
4600 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4602 * sysdeps/stub/e_j0l.c: Define y0l as well.
4603 * sysdeps/stub/e_j1l.c: Define y1l as well.
4604 * sysdeps/stub/e_jnl.c: Define ynl as well.
4606 * posix/unistd.h: Correct prototype for execlp.
4608 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
4610 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4612 * Makeconfig (sysdep-library-path): New variable.
4613 (built-program-cmd): Use it here to properly build a colon
4614 separated library path.
4616 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4618 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
4619 within comparison. Fix comments.
4620 (md5_crypt): Fix comment.
4622 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
4624 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
4625 when _ERRNO_H is defined.
4626 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
4627 Should there ever be a Linux port where the numeric values are
4628 not 33 and 34 this file must change.
4630 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
4632 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
4635 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4637 * string/tst-strlen.c (main): Provide prototype.
4638 * malloc/mallocbug.c: Likewise.
4639 * io/test-utime.c: Likewise.
4641 * sysdeps/generic/crypt-entry.c: Correct typo.
4643 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
4645 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
4646 test for libc.a. Checking _DYNAMIC is of no worth here.
4647 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
4649 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
4650 EXTERN_PARSER is defined.
4652 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4654 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
4656 * crypt/md5-crypt.c: Fix typos in comments.
4658 * gmon/gmon.c: Provide prototypes.
4659 * db/makedb.c: Likewise.
4660 * locale/programs/xmalloc.c: Likewise.
4661 * stdio-common/bug11.c (main): Likewise.
4662 * stdio-common/bug7.c (main): Likewise.
4663 * stdio-common/bug8.c (main): Likewise.
4664 * stdio-common/bug9.c (main): Likewise.
4665 * stdio-common/scanf1.c (main): Likewise.
4666 * stdio-common/scanf2.c (main): Likewise.
4667 * stdio-common/scanf5.c (main): Likewise.
4668 * stdio-common/scanf6.c (main): Likewise.
4669 * stdio-common/scanf7.c (main): Likewise.
4670 * stdio-common/scanf8.c (main): Likewise.
4671 * stdio-common/temptest.c (main): Likewise.
4672 * stdio-common/test-fwrite.c (main): Likewise.
4673 * stdio-common/tst-printf.c: Likewise.
4674 * stdio-common/tstdiomisc.c: Likewise.
4675 * stdio-common/tstgetln.c (main): Likewise.
4676 * stdlib/testmb.c (main): Likewise.
4678 * stdio-common/scanf4.c (main): Correct prototype, remove unused
4681 * stdio-common/scanf3.c (main): Correct prototype, change
4682 declaration of s to reduce warnings.
4683 * stdio-common/bug10.c (main): Likewise.
4685 * stdio-common/tfformat.c: Provide prototype, remove unused
4686 reference to dump_stats, add braces in sprint_doubles.
4687 * stdio-common/tiformat.c: Likewise.
4689 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
4692 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4694 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
4696 * shadow/putspent.c: Don't write colon after flag field.
4698 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
4700 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
4701 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
4702 * sysdeps/unix/sysv/linux/Dist: Mention new files.
4704 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
4706 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
4707 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
4709 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
4710 by using __libc_enable_secure variable.
4712 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4714 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
4715 null, don't attempt mach_port_mod_refs.
4717 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4719 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
4720 sysdeps/unix/pipestream.c.
4722 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
4723 from sysdeps/mach/hurd/readdir.c.
4725 * stdio/freopen.c: Complete de-ansideclification.
4726 * stdio/fgets.c (fgets): Likewise.
4727 * stdio/getdelim.c (__getdelim): Likewise.
4728 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
4731 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4732 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4734 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
4735 STAT_LOC without error.
4737 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
4739 * posix/getopt.c: Add casts to prevent warnings.
4740 * posix/regex.c: Likewise.
4742 * math/Makefile (long-m-routines, long-m-yes): Define to correct
4743 values to make `long double' functions available.
4744 (distribute): Add $(long-m-yes:=.c).
4746 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
4747 Use long double instruction.
4749 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
4750 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
4751 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
4753 * sysdeps/libm-ieee754/e_coshl.c: New file.
4755 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
4756 for `long double' version as alias.
4757 * sysdeps/libm-ieee754/s_atan.c: Likewise.
4758 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
4759 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
4760 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
4761 * sysdeps/libm-ieee754/s_cos.c: Likewise.
4762 * sysdeps/libm-ieee754/s_erf.c: Likewise.
4763 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4764 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
4765 * sysdeps/libm-ieee754/s_finite.c: Likewise.
4766 * sysdeps/libm-ieee754/s_floor.c: Likewise.
4767 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
4768 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
4769 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4770 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4771 * sysdeps/libm-ieee754/s_logb.c: Likewise.
4772 * sysdeps/libm-ieee754/s_modf.c: Likewise.
4773 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
4774 * sysdeps/libm-ieee754/s_rint.c: Likewise.
4775 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
4776 * sysdeps/libm-ieee754/s_significand.c: Likewise.
4777 * sysdeps/libm-ieee754/s_sin.c: Likewise.
4778 * sysdeps/libm-ieee754/s_tan.c: Likewise.
4779 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
4780 * sysdeps/libm-ieee754/w_acos.c: Likewise.
4781 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
4782 * sysdeps/libm-ieee754/w_sin.c: Likewise.
4783 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
4784 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
4785 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
4786 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
4787 * sysdeps/libm-ieee754/w_drem.c: Likewise.
4788 * sysdeps/libm-ieee754/w_exp.c: Likewise.
4789 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
4790 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4791 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
4792 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
4793 * sysdeps/libm-ieee754/w_j0.c: Likewise.
4794 * sysdeps/libm-ieee754/w_j1.c: Likewise.
4795 * sysdeps/libm-ieee754/w_jn.c: Likewise.
4796 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4797 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
4798 * sysdeps/libm-ieee754/w_log.c: Likewise.
4799 * sysdeps/libm-ieee754/w_log10.c: Likewise.
4800 * sysdeps/libm-ieee754/w_pow.c: Likewise.
4801 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
4802 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4803 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
4804 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
4806 Stub files for missing long double math functions.
4807 * sysdeps/stub/e_acoshl.c: New file.
4808 * sysdeps/stub/e_hypotl.c: New file.
4809 * sysdeps/stub/e_j0l.c: New file.
4810 * sysdeps/stub/e_j1l.c: New file.
4811 * sysdeps/stub/e_jnl.c: New file.
4812 * sysdeps/stub/e_lgammal_r.c: New file.
4813 * sysdeps/stub/e_powl.c: New file.
4814 * sysdeps/stub/e_rem_pio2l.c: New file.
4815 * sysdeps/stub/e_sinhl.c: New file.
4816 * sysdeps/stub/k_cosl.c: New file.
4817 * sysdeps/stub/k_rem_pio2l.c: New file.
4818 * sysdeps/stub/k_sinl.c: New file.
4819 * sysdeps/stub/k_tanl.c: New file.
4820 * sysdeps/stub/s_erfl.c: New file.
4821 * sysdeps/stub/s_expm1l.c: New file.
4823 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
4825 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4826 * sysdeps/i386/bsd-setjmp.S: Likewise.
4827 * sysdeps/i386/memchr.S: Likewise.
4828 * sysdeps/i386/memcmp.S: Likewise.
4829 * sysdeps/i386/setjmp.S: Likewise.
4830 * sysdeps/i386/stpcpy.S: Likewise.
4831 * sysdeps/i386/stpncpy.S: Likewise.
4832 * sysdeps/i386/strchr.S: Likewise.
4833 * sysdeps/i386/strcspn.S: Likewise.
4834 * sysdeps/i386/strpbrk.S: Likewise.
4835 * sysdeps/i386/strrchr.S: Likewise.
4836 * sysdeps/i386/strspn.S: Likewise.
4837 * sysdeps/i386/strtok.S: Likewise.
4838 * sysdeps/i386/i486/strcat.S: Likewise.
4839 * sysdeps/i386/i486/strlen.S: Likewise.
4840 * sysdeps/i386/i586/memset.S: Likewise.
4841 * sysdeps/i386/i586/strchr.S: Likewise.
4842 * sysdeps/i386/i586/strlen.S: Likewise.
4843 * sysdeps/libm-i387/e_acos.S: Likewise.
4844 * sysdeps/libm-i387/e_acosl.S: Likewise.
4845 * sysdeps/libm-i387/e_asin.S: Likewise.
4846 * sysdeps/libm-i387/e_asinl.S: Likewise.
4847 * sysdeps/libm-i387/e_atan2.S: Likewise.
4848 * sysdeps/libm-i387/e_atan2l.S: Likewise.
4849 * sysdeps/libm-i387/e_exp.S: Likewise.
4850 * sysdeps/libm-i387/e_expl.S: Likewise.
4851 * sysdeps/libm-i387/e_fmod.S: Likewise.
4852 * sysdeps/libm-i387/e_fmodl.S: Likewise.
4853 * sysdeps/libm-i387/e_log.S: Likewise.
4854 * sysdeps/libm-i387/e_log10.S: Likewise.
4855 * sysdeps/libm-i387/e_log10l.S: Likewise.
4856 * sysdeps/libm-i387/e_logl.S: Likewise.
4857 * sysdeps/libm-i387/e_remainder.S: Likewise.
4858 * sysdeps/libm-i387/e_remainderf.S: Likewise.
4859 * sysdeps/libm-i387/e_remainderl.S: Likewise.
4860 * sysdeps/libm-i387/e_scalb.S: Likewise.
4861 * sysdeps/libm-i387/e_scalbl.S: Likewise.
4862 * sysdeps/libm-i387/e_sqrt.S: Likewise.
4863 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
4864 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
4865 * sysdeps/libm-i387/s_atan.S: Likewise.
4866 * sysdeps/libm-i387/s_atanf.S: Likewise.
4867 * sysdeps/libm-i387/s_atanl.S: Likewise.
4868 * sysdeps/libm-i387/s_ceil.S: Likewise.
4869 * sysdeps/libm-i387/s_ceilf.S: Likewise.
4870 * sysdeps/libm-i387/s_ceill.S: Likewise.
4871 * sysdeps/libm-i387/s_copysign.S: Likewise.
4872 * sysdeps/libm-i387/s_copysignf.S: Likewise.
4873 * sysdeps/libm-i387/s_copysignl.S: Likewise.
4874 * sysdeps/libm-i387/s_cos.S: Likewise.
4875 * sysdeps/libm-i387/s_cosf.S: Likewise.
4876 * sysdeps/libm-i387/s_cosl.S: Likewise.
4877 * sysdeps/libm-i387/s_finite.S: Likewise.
4878 * sysdeps/libm-i387/s_finitef.S: Likewise.
4879 * sysdeps/libm-i387/s_finitel.S: Likewise.
4880 * sysdeps/libm-i387/s_floor.S: Likewise.
4881 * sysdeps/libm-i387/s_floorf.S: Likewise.
4882 * sysdeps/libm-i387/s_floorl.S: Likewise.
4883 * sysdeps/libm-i387/s_ilogb.S: Likewise.
4884 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
4885 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
4886 * sysdeps/libm-i387/s_log1p.S: Likewise.
4887 * sysdeps/libm-i387/s_log1pf.S: Likewise.
4888 * sysdeps/libm-i387/s_log1pl.S: Likewise.
4889 * sysdeps/libm-i387/s_logb.S: Likewise.
4890 * sysdeps/libm-i387/s_logbf.S: Likewise.
4891 * sysdeps/libm-i387/s_logbl.S: Likewise.
4892 * sysdeps/libm-i387/s_rint.S: Likewise.
4893 * sysdeps/libm-i387/s_rintf.S: Likewise.
4894 * sysdeps/libm-i387/s_rintl.S: Likewise.
4895 * sysdeps/libm-i387/s_scalbn.S: Likewise.
4896 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
4897 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
4898 * sysdeps/libm-i387/s_significand.S: Likewise.
4899 * sysdeps/libm-i387/s_significandf.S: Likewise.
4900 * sysdeps/libm-i387/s_significandl.S: Likewise.
4901 * sysdeps/libm-i387/s_sin.S: Likewise.
4902 * sysdeps/libm-i387/s_sinf.S: Likewise.
4903 * sysdeps/libm-i387/s_sinl.S: Likewise.
4904 * sysdeps/libm-i387/s_tan.S: Likewise.
4905 * sysdeps/libm-i387/s_tanf.S: Likewise.
4906 * sysdeps/libm-i387/s_tanl.S: Likewise.
4908 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
4909 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
4910 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
4911 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
4913 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
4914 to provide .size directive on ELF systems.
4916 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
4917 <sigcontext.h> and rename parameter type to sigcontext.
4918 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
4920 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
4921 negative values might occur as positive results. Test against
4922 -125 to decide for error or not.
4923 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
4925 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4927 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
4928 whether this is a statically linked program. The latter is now
4931 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4933 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
4934 controlling terminals are allowed to send.
4936 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
4937 table is larger than the allowable address size, then return
4940 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
4944 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
4946 * po/fr.po: New file.
4948 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
4950 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
4952 Add support for MD5 crypt replacement.
4953 * Makefile (subdirs): Add crypt.
4954 * shlib-versions: Add entry for libcrypt.
4955 * crypt/md5-crypt.c: New file.
4956 * crypt/md5.c: New file.
4957 * crypt/md5.h: New file.
4958 * sysdeps/generic/crypt-entry.c: New file.
4959 * sysdeps/generic/crypt.h: New file.
4961 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4963 * dirent/tst-seekdir.c: Provide correct prototypes.
4964 * io/test-utime.c: Likewise.
4965 * malloc/mallocbug.c: Likewise.
4966 * posix/testfnm.c: Likewise.
4967 * stdio-common/xbug.c: Likewise.
4968 * sysdeps/posix/cuserid.c: Likewise.
4970 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
4972 Provide optimized string functions for Alpha processors.
4973 * sysdeps/alpha/bzero.S: New file.
4974 * sysdeps/alpha/memset.S: New file.
4975 * sysdeps/alpha/stpcpy.S: New file.
4976 * sysdeps/alpha/stpncpy.S: New file.
4977 * sysdeps/alpha/strcat.S: New file.
4978 * sysdeps/alpha/strchr.S: New file.
4979 * sysdeps/alpha/strcpy.S: New file.
4980 * sysdeps/alpha/strncat.S: New file.
4981 * sysdeps/alpha/strncpy.S: New file.
4982 * sysdeps/alpha/strrchr.S: New file.
4983 * sysdeps/alpha/stxcpy.S: New file.
4984 * sysdeps/alpha/stxncpy.S: New file.
4986 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
4987 stxncpy to sysdep_routines.
4990 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4992 * sysdeps/generic/gnu/types.h: Added __loff_t.
4993 Don't declare key_t here.
4995 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
4996 set errno (to ENOMEM).
4998 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
5000 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
5001 nothing is found. This guarantees all subsequent calls behave
5003 * sysdeps/generic/strtok_r.c: Likewise.
5005 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5007 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
5010 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
5012 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
5013 NULL immediately; we're going to get called one more time.
5014 * sysdeps/generic/strtok_r.c: Likewise.
5016 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
5018 * locale/programs/ld-time.c: Always write some bytes at the end of
5019 the file even if no `era's are specified.
5021 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
5024 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
5026 * libio/iofclose.c: Move unlocking to right position.
5028 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
5030 * misc/Makefile: Kill force-wrapper.
5031 * misc/force-wrapper.c: Delete.
5033 * elf/eval.c: Add <string.h>.
5035 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
5036 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
5037 and binary compatibility not at all. Better to do `char *foo'
5038 followed by `foo = ptr' as it is much cleaner.
5039 (struct gmon_hdr): Fix version.
5040 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
5041 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
5042 * gmon/gmon.c: De-ansidecl-ify.
5043 (write_hist): De-bcopy-fy.
5044 (write_call_graph): Likewise.
5046 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
5047 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
5048 * sysdeps/generic/machine-gmon.h: Likewise.
5050 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
5051 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
5052 * nss/nss_dns/dns-network.c: Likewise.
5053 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
5054 * resolv/getnetnamadr.c: Likewise.
5055 * resolv/res_debug.c: Likewise.
5056 * resolv/res_mkquery.c: Likewise.
5057 * resolv/res_query.c: Likewise.
5059 * libio/clearerr_u.c: It's not necessary to define __ protected
5060 function so don't do it.
5061 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
5062 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
5064 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
5065 the cleanup registrar.
5066 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
5067 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
5068 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
5069 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
5070 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
5071 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
5072 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
5075 * locale/programs/ld-ctype.c: Include <alloca.h>.
5077 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
5079 * posix/sys/types.h: Change #defines to typedefs. This is looking
5080 forward to more comprehensive namespace cleanups for C++.
5081 * posix/unistd.h: Likewise for ssize_t.
5083 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
5086 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
5087 `statement with no effect' warnings.
5088 * resolv/inet_neta.c: Include <string.h> for strlen.
5090 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
5091 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
5092 * stdio-common/vfprintf.c: Same for va_list.
5093 * stdio-common/vfscanf.c: Same.
5094 * stdio-common/reg-printf.c: Prototype the __ function.
5095 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
5096 _IO_vscanf declaration.
5098 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
5099 but to unsigned long for the health of 64-bit systems.
5101 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
5102 Many system's <sys/param.h> pulls this in.
5104 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
5107 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
5108 instead of defining it locally.
5110 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
5111 * sysdeps/stub/chflags.c: Prototype chflags.
5112 * sysdeps/stub/fchflags.c: Prototype fchflags.
5113 * sysdeps/stub/sstk.c: Prototype sstk.
5115 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
5116 variable to __errno. Update __syscall_error to store to both
5117 the global and per-thread variables.
5119 * sysdeps/unix/sysv/linux/init-first.c: Change include of
5120 init-first.h from "" to <> as "" does not search the include path.
5121 Prototype _dl_start.
5123 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5125 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
5126 pattern rule to get the right stem.
5128 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5130 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
5132 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5134 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
5136 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5138 * malloc/free.c (_free_internal): Don't call free recursively, use
5139 the internal functions instead.
5141 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5143 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
5144 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
5146 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5148 * catgets/gencat.c (main): Print version information on stdout,
5150 * db/makedb.c: Likewise.
5151 * locale/programs/locale.c: Likewise.
5152 * locale/programs/localedef.c: Likewise.
5154 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
5156 Add implementation of netgroup.
5157 * inet/Makefile (distributes): Add netgroup.h.
5158 (routines): Add getnetgrent.c and getnetgrent_r.c.
5159 * inet/getnetgrent.c: New file.
5160 * inet/getnetgrent_r.c: New file.
5161 * inet/netgroup.h: New file.
5162 * netgroup.h: New file.
5163 * nsswitch.h: New file.
5164 * nss/Makefile (databases): Add getgrp.
5165 * nss/databases.def: Add netgroup.
5166 * nss/db-Makefile: Add rules for netgroup.
5167 * nss/netgrp-lookup.c: New file.
5168 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
5169 always return without a check of the transition table.
5170 * nss/nsswitch.h (struct service_user): Extend actions array to
5172 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
5174 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
5175 to NSS_ACTION_RETURN.
5176 * nss/nss_db/db-netgrp.c: New file.
5177 * nss/nss_files/files-netgrp.c: New file.
5178 * nss/nsswitch.conf: Add entry for netgroup.
5179 * resolv/netdb.h: Add prototypes for netgroup functions.
5181 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
5184 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
5186 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
5187 _llseek to _llseek (not llseek).
5188 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
5190 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
5192 * inet/rcmd.c: Remove definition of MIN.
5194 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
5196 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
5197 * sysdeps/unix/readdir_r.c: New file.
5198 * sysdeps/unix/readdir.c: Remove check for correct parameter
5199 values. Let them simply die.
5200 * manual/filesys.texi: Document readdir_r.
5202 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
5203 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
5205 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
5207 * dirent/Makefile (routines): Add readdir_r.
5208 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
5209 * dirent/dirent.h: Add prototype for readdir_r.
5211 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
5212 to prevent warnings.
5214 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5215 Initialize `result'.
5217 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
5219 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
5221 * string/string.h: Add prototype for __strsep.
5222 * misc/mntent_r.c: Use __strsep instead of strsep to keep
5225 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
5226 __nanosleep and nanosleep weak aliases.
5227 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
5229 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
5230 nanosleep to keep namespace clean.
5232 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
5233 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
5234 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5236 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
5239 * login/Makefile (headers): Add pty.h.
5240 * login/pty.h: New file.
5241 * sysdeps/generic/pty.h: Include <pty.h>.
5242 * login/pututline_r.c: Add cast to prevent warning.
5244 * gmon/gmon.c: Add prototype for __profile_frequency.
5245 (monstartup): Add cast to prevent warning.
5246 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
5248 * locale/programs/ld-time.c (time_output): Write `era' information
5251 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
5253 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
5255 Set caller for mlock, mlockall, mremap, munlock, and munlockall
5257 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
5259 1996-09-27 Paul Eggert <eggert@twinsun.com>
5261 * strftime.c (strftime): Output incomplete formats like %E
5264 1996-09-27 Paul Eggert <eggert@twinsun.com>
5266 * strftime.c (strftime): Add support for %EC and %Ey.
5267 Fix support for %EY. This uses the new _nl_get_era_entry function.
5269 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
5271 Security related patch by Elliot Lee <sopwith@redhat.com> and
5272 David Holland <dholland@eecs.harvard.edu>.
5274 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
5275 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
5277 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
5278 NULL when programs runs with SUID or SGID enabled.
5279 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
5280 * stdlib/stdlib.h: Add prototype for __secure_getenv.
5282 * locale/setlocale.c: Use __secure_getenv.
5283 * resolv/res_init.c: Likewise.
5284 * resolv/res_query.c: Likewise.
5285 * inet/ruserpass.c: Likewise.
5286 * sysdeps/posix/tempname.c: Likewise.
5287 * malloc/mtrace.c: Likewise.
5288 * catgets/catgets.c: Likewise.
5290 Make temporary file handling functions reentrant.
5292 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
5293 result to. The called __stdio_gen_tempname function must be
5295 * stdio-common/tmpnam_r.c: New file.
5296 * stdio/stdio.h: Add prototype for `tmpnam_r'.
5297 Change prototype for __stdio_gen_tempname.
5298 * stdio/libio.h: Likewise.
5299 * sysdeps/posix/tempname.c: Add new parameters and use them instead
5301 Don't reset `indeces' when PID changed between calls.
5302 Don't fail for long running programs when index counter once
5304 * sysdeps/stub/tempname.c: Likewise.
5305 * stdio-common/tempnam.c: Provide local buffer as extra argument
5306 to __stdio_gen_tempname. This makes this function reentrant.
5307 * stdio-common/tmpfile.c: Likewise.
5308 * stdio-common/temptest.c: Provide extra argument to
5309 __stdio_gen_tempname.
5310 * manual/filesys.texi: Describe tmpnam_r and add comments about
5311 reentrancy of the functions.
5313 * inet/rcmd.c: Fixed address length handling.
5315 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
5317 * time/strftime.c: Remove unused variables alt_digits and
5320 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
5321 for get_nprocs and get_nprocs_conf.
5322 * sysdeps/generic/sys/sysinfo.h: Likewise.
5324 * stdlib/test-canon.c: Finally do the right fix.
5326 * misc/Makefile: Only compile force-wrapper when compiling
5329 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
5331 Add support for cancelable system calls.
5333 * csu/initfini.c: Make in crti.o reference to symbol
5334 __libc_force_cancel_wrapper when compiling reentrant version.
5335 * misc/Makefile (routines): Add force-wrapper.
5336 * misc/force-wrapper.c: New file.
5338 * posix/system.c: Rename function to __libc_system and make system
5340 * sysdeps/stub/system.c: Likewise.
5341 * posix/wait.c: Rename function to __libc_wait and make __wait a
5342 weak alias. De-ANSI-fy.
5343 * sysdeps/standalone/read.c: Rename function to __libc_read and
5344 make __read a weak alias.
5345 * sysdeps/stub/read.c: Likewise.
5346 * sysdeps/standalone/write.c: Rename function to __libc_write and
5347 make __write a weak alias.
5348 * sysdeps/stub/write.c: Likewise.
5349 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
5350 make tcdrain a weak alias.
5351 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5352 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
5353 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5354 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
5355 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
5356 and make __wait a weak alias.
5357 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
5358 make __waitpid a weak alias.
5359 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
5360 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
5361 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
5362 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
5363 and make pause a weak alias. De-ANSI-fy.
5365 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
5366 lseek, open, read, and write to have __libc_ prefix and make old
5368 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
5369 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
5371 * io/creat.c: De-ANSI-fy.
5373 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
5375 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
5377 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
5378 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
5380 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
5382 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
5384 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
5386 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
5388 * locale/programs/locfile.c (write_locale_data): Allocate room
5389 even for file name for LC_MESSAGES locale.
5390 (locafile_read): `tok_era' must be handled as a string list.
5391 * locale/programs/ld-time.c: Finish correction of handling `era'.
5392 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
5393 * locale/categories.def: Add postload function for LC_TIME.
5394 * locale/setlocale.c: Make lock global and rename to
5395 __libc_setlocale_lock.
5396 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
5397 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
5398 * locale/lc-time.c (_nl_postload_time): New function. Initialize
5400 (_nl_get_era_entry): New function. Return era entry which corresponds
5402 (_nl_get_alt_digit): New function. Return string with alternate
5403 digit representation for given number.
5405 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
5406 string representing alternate digit notation.
5408 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
5410 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
5411 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
5413 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
5414 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
5416 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
5418 * catgets/gencat.c (main): Change --version again because RMS wants
5419 the package name in parentheses.
5420 * db/makedb.c: Likewise.
5421 * locale/programs/locale.c: Likewise.
5422 * locale/programs/localedef.c: Likewise.
5424 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5426 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
5428 ($(objpfx)version-info.h): Depend on Banner files, command
5431 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
5433 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
5435 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
5437 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
5438 on the same device as the password file.
5439 * shadow/shadow.h (struct spwd): Change type of numeric fields
5440 to `long int' since there value are days, not seconds.
5441 * shadow/putspent.c: Change casts from time_t to `long int'.
5442 * shadow/sgetspent_r.c (LINE_READER): Likewise.
5444 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
5446 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
5447 sure the thread specific variable is set as well as the global
5449 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
5451 * sysdeps/stub/errnos.h: Likewise.
5452 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
5454 * shadow/putspent.c: Don't include <errno.h>.
5456 * dirent/scandir.c (scandir): Use __set_errno to set errno
5458 * elf/dl-load.c (open_path): Likewise.
5459 * inet/rcmd.c (rcmd): Likewise.
5460 (rresvport): Likewise.
5461 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
5462 (DCGETTEXT): Use __set_errno to set errno variable.
5463 * io/fts.c (fts_open): Likewise.
5464 (fts_close): Likewise.
5465 (fts_read): Likewise.
5466 (fts_set): Likewise.
5467 (fts_children): Likewise.
5468 (fts_build): Likewise.
5469 (fts_stat): Likewise.
5470 * io/ftw.c (ftw_dir): Likewise.
5472 * io/getwd.c (getwd): Likewise.
5473 * io/lockf.c (lockf): Likewise.
5474 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
5475 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
5476 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5477 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
5479 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
5480 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
5481 * libio/ioftell.c (_IO_ftell): Likewise.
5482 * locale/loadlocale.c (_nl_load_locale): Likewise.
5483 * locale/nl_langinfo.c (nl_langinfo): Likewise.
5484 * locale/setlocale.c (ERROR_RETURN): Likewise.
5485 * login/getutid_r (__getutid_r): Likewise.
5486 * login/getutline_r (__getutline_r): Likewise.
5487 * login/login.c (tty_name): Likewise.
5488 * login/oututline_r.c (__pututline_r): Likewise.
5489 * malloc/malloc.c (morecore): Likewise.
5490 * misc/efgcvt_r.c (fcvt_r): Likewise.
5491 * misc/hsearch_r.c (hcreate_r): Likewise.
5492 (hdestroy_r): Likewise.
5493 (hsearch_r): Likewise.
5494 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
5495 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
5496 (_nss_dns_gethostbyaddr_r): Likewise.
5497 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5498 * nss/nss_files/files-parse.c (parse_list): Likewise.
5499 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
5500 * posix/execvp.c (execvp): Likewise.
5501 * posix/glob.c: Define __set_errno.
5502 (glob): Use __set_errno to set errno variable.
5503 (glob_in_dir): Likewise.
5504 * pwd/getpw.c: Likewise. De-ANSI-fy.
5505 * pwd/putpwent.c: Likewise.
5506 * resolv/inet_net_ntop.c: Likewise.
5507 * resolv/inet_net_pton.c: Likewise.
5508 * resolv/inet_neta.c: Likewise.
5509 * resolv/inet_ntop.c: Likewise.
5510 * resolv/inet_pton.c: Likewise.
5511 * resolv/res_query.c (res_search): Likewise.
5512 * resolv/res_send.c (Aerror): Likewise.
5514 (res_send): Likewise.
5515 * signal/sigaddset.c: Likewise. De-ANSI-fy.
5516 * signal/sigdelset.c: Likewise.
5517 * signal/sigempty.c: Likewise.
5518 * signal/sigfillset.c: Likewise.
5519 * signal/sigismem.c: Likewise.
5520 * stdio/fclose.c: Likewise.
5521 * stdio/feof.c: Likewise.
5522 * stdio/ferror.c: Likewise.
5523 * stdio/fflush.c: Likewise.
5524 * stdio/fgetc.c: Likewise.
5525 * stdio/fgetpos.c: Likewise.
5526 * stdio/fgets.c: Likewise.
5527 * stdio/fileno.c: Likewise.
5528 * stdio/fmemopen.c: Likewise.
5529 * stdio/fopen.c: Likewise.
5530 * stdio/fputc.c: Likewise.
5531 * stdio/fread.c: Likewise.
5532 * stdio/freopen.c: Likewise.
5533 * stdio/fseek.c: Likewise.
5534 * stdio/fsetpos.c: Likewise.
5535 * stdio/ftell.c: Likewise.
5536 * stdio/fwrite.c: Likewise.
5537 * stdio/getdelim.c: Likewise.
5538 * stdio/gets.c: Likewise.
5539 * stdio/glue.c: Likewise.
5540 * stdio/internals.c: Likewise.
5541 * stdio/memstream.c: Likewise.
5542 * stdio/setvbuf.c: Likewise.
5543 * stdio/ungetc.c: Likewise.
5544 * stdio/vsscanf.c: Likewise.
5545 * stdio-common/reg-printf.c: Likewise.
5546 * stdio-common/vfprintf.c: Likewise.
5547 * stdio-common/vfscanf.c: Likewise.
5548 * stdlib/canonicalize.c: Likewise.
5549 * stdlib/msort.c: Likewise.
5550 * stdlib/random_r.c: Likewise.
5551 * stdlib/strfmon.c: Likewise.
5552 * stdlib/strtod.c: Likewise.
5553 * stdlib/strtol.c: Likewise.
5554 * sunrpc/bindrsvprt.c: Likewise.
5555 * time/asctime.c: Likewise.
5556 * time/localtime.c: Likewise.
5557 * wcsmbs/mbrtowc.c: Likewise.
5558 * wcsmbs/mbsnrtowcs.c: Likewise.
5559 * wcsmbs/mbsrtowcs.c: Likewise.
5560 * wcsmbs/wcrtomb.c: Likewise.
5561 * wcsmbs/wcsnrtombs.c: Likewise.
5562 * wcsmbs/wcsrtombs.c: Likewise.
5563 * wcsmbs/wcstok.c: Likewise.
5564 * sysdeps/generic/ftime.c: Likewise.
5565 * sysdeps/generic/pty.c: Likewise.
5566 * sysdeps/generic/setenv.c: Likewise.
5567 * sysdeps/generic/speed.c: Likewise.
5568 * sysdeps/generic/sysd-stdio.c: Likewise.
5569 * sysdeps/generic/uname.c: Likewise.
5570 * sysdeps/generic/vlimit.c: Likewise.
5571 * sysdeps/libm-ieee754/k_standard.c: Likewise.
5572 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
5573 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
5574 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
5575 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
5576 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
5577 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
5578 * sysdeps/posix/dup2.c: Likewise.
5579 * sysdeps/posix/euidaccess.c: Likewise.
5580 * sysdeps/posix/fdopen.c: Likewise.
5581 * sysdeps/posix/flock.c: Likewise.
5582 * sysdeps/posix/fpathconf.c: Likewise.
5583 * sysdeps/posix/getcwd.c: Likewise.
5584 * sysdeps/posix/gettimeofday.c: Likewise.
5585 * sysdeps/posix/isatty.c: Likewise.
5586 * sysdeps/posix/isfdtype.c: Likewise.
5587 * sysdeps/posix/killpg.c: Likewise.
5588 * sysdeps/posix/mkstemp.c: Likewise.
5589 * sysdeps/posix/mktemp.c: Likewise.
5590 * sysdeps/posix/pathconf.c: Likewise.
5591 * sysdeps/posix/pipestream.c: Likewise.
5592 * sysdeps/posix/remove.c: Likewise.
5593 * sysdeps/posix/rename.c: Likewise.
5594 * sysdeps/posix/sigintr.c: Likewise.
5595 * sysdeps/posix/signal.c: Likewise.
5596 * sysdeps/posix/sigsuspend.c: Likewise.
5597 * sysdeps/posix/sigvec.c: Likewise.
5598 * sysdeps/posix/sleep.c: Likewise.
5599 * sysdeps/posix/sysconf.c: Likewise.
5600 * sysdeps/posix/system.c: Likewise.
5601 * sysdeps/posix/tempname.c: Likewise.
5602 * sysdeps/posix/truncate.c: Likewise.
5603 * sysdeps/posix/ttyname.c: Likewise.
5604 * sysdeps/posix/ttyname_r.c: Likewise.
5605 * sysdeps/posix/wait3.c: Likewise.
5606 * sysdeps/standalone/close.c: Likewise.
5607 * sysdeps/standalone/open.c: Likewise.
5608 * sysdeps/standalone/read.c: Likewise.
5609 * sysdeps/standalone/write.c: Likewise.
5610 * sysdeps/stub/__longjmp.c: Likewise.
5611 * sysdeps/stub/accept.c: Likewise.
5612 * sysdeps/stub/access.c: Likewise.
5613 * sysdeps/stub/acct.c: Likewise.
5614 * sysdeps/stub/adjtime.c: Likewise.
5615 * sysdeps/stub/alarm.c: Likewise.
5616 * sysdeps/stub/bind.c: Likewise.
5617 * sysdeps/stub/brk.c: Likewise.
5618 * sysdeps/stub/chdir.c: Likewise.
5619 * sysdeps/stub/chflags.c: Likewise.
5620 * sysdeps/stub/chmod.c: Likewise.
5621 * sysdeps/stub/chown.c: Likewise.
5622 * sysdeps/stub/chroot.c: Likewise.
5623 * sysdeps/stub/clock.c: Likewise.
5624 * sysdeps/stub/close.c: Likewise.
5625 * sysdeps/stub/closedir.c: Likewise.
5626 * sysdeps/stub/connect.c: Likewise.
5627 * sysdeps/stub/ctermid.c: Likewise.
5628 * sysdeps/stub/cuserid.c: Likewise.
5629 * sysdeps/stub/dirfd.c: Likewise.
5630 * sysdeps/stub/dup.c: Likewise.
5631 * sysdeps/stub/dup2.c: Likewise.
5632 * sysdeps/stub/euidaccess.c: Likewise.
5633 * sysdeps/stub/execve.c: Likewise.
5634 * sysdeps/stub/fchdir.c: Likewise.
5635 * sysdeps/stub/fchflags.c: Likewise.
5636 * sysdeps/stub/fchmod.c: Likewise.
5637 * sysdeps/stub/fchown.c: Likewise.
5638 * sysdeps/stub/fcntl.c: Likewise.
5639 * sysdeps/stub/fdopen.c: Likewise.
5640 * sysdeps/stub/fexecve.c: Likewise.
5641 * sysdeps/stub/flock.c: Likewise.
5642 * sysdeps/stub/fork.c: Likewise.
5643 * sysdeps/stub/fpathconf.c: Likewise.
5644 * sysdeps/stub/fstatfs.c: Likewise.
5645 * sysdeps/stub/fsync.c: Likewise.
5646 * sysdeps/stub/ftruncate.c: Likewise.
5647 * sysdeps/stub/fxstat.c: Likewise.
5648 * sysdeps/stub/getcwd.c: Likewise.
5649 * sysdeps/stub/getdents.c: Likewise.
5650 * sysdeps/stub/getdomain.c: Likewise.
5651 * sysdeps/stub/getdtsz.c: Likewise.
5652 * sysdeps/stub/getegid.c: Likewise.
5653 * sysdeps/stub/getenv.c: Likewise.
5654 * sysdeps/stub/geteuid.c: Likewise.
5655 * sysdeps/stub/getgid.c: Likewise.
5656 * sysdeps/stub/getgroups.c: Likewise.
5657 * sysdeps/stub/gethostid.c: Likewise.
5658 * sysdeps/stub/gethostname.c: Likewise.
5659 * sysdeps/stub/getitimer.c: Likewise.
5660 * sysdeps/stub/getlogin.c: Likewise.
5661 * sysdeps/stub/getlogin_r.c: Likewise.
5662 * sysdeps/stub/getpagesize.c: Likewise.
5663 * sysdeps/stub/getpeername.c: Likewise.
5664 * sysdeps/stub/getpid.c: Likewise.
5665 * sysdeps/stub/getppid.c: Likewise.
5666 * sysdeps/stub/getpriority.c: Likewise.
5667 * sysdeps/stub/getrlimit.c: Likewise.
5668 * sysdeps/stub/getrusage.c: Likewise.
5669 * sysdeps/stub/getsid.c: Likewise.
5670 * sysdeps/stub/getsockname.c: Likewise.
5671 * sysdeps/stub/getsockopt.c: Likewise.
5672 * sysdeps/stub/getsysstats.c: Likewise.
5673 * sysdeps/stub/gettimeofday.c: Likewise.
5674 * sysdeps/stub/getuid.c: Likewise.
5675 * sysdeps/stub/gtty.c: Likewise.
5676 * sysdeps/stub/ioctl.c: Likewise.
5677 * sysdeps/stub/isatty.c: Likewise.
5678 * sysdeps/stub/isfdtype.c: Likewise.
5679 * sysdeps/stub/kill.c: Likewise.
5680 * sysdeps/stub/killpg.c: Likewise.
5681 * sysdeps/stub/link.c: Likewise.
5682 * sysdeps/stub/listen.c: Likewise.
5683 * sysdeps/stub/lseek.c: Likewise.
5684 * sysdeps/stub/lxstat.c: Likewise.
5685 * sysdeps/stub/madvice.c: Likewise.
5686 * sysdeps/stub/mkdir.c: Likewise.
5687 * sysdeps/stub/mkfifo.c: Likewise.
5688 * sysdeps/stub/mkstemp.c: Likewise.
5689 * sysdeps/stub/mktemp.c: Likewise.
5690 * sysdeps/stub/mmap.c: Likewise.
5691 * sysdeps/stub/morecore.c: Likewise.
5692 * sysdeps/stub/mprotect.c: Likewise.
5693 * sysdeps/stub/msgctl.c: Likewise.
5694 * sysdeps/stub/msgget.c: Likewise.
5695 * sysdeps/stub/msgrcv.c: Likewise.
5696 * sysdeps/stub/msgsnd.c: Likewise.
5697 * sysdeps/stub/msync.c: Likewise.
5698 * sysdeps/stub/munmap.c: Likewise.
5699 * sysdeps/stub/nanosleep.c: Likewise.
5700 * sysdeps/stub/nice.c: Likewise.
5701 * sysdeps/stub/nlist.c: Likewise.
5702 * sysdeps/stub/open.c: Likewise.
5703 * sysdeps/stub/opendir.c: Likewise.
5704 * sysdeps/stub/pathconf.c: Likewise.
5705 * sysdeps/stub/pause.c: Likewise.
5706 * sysdeps/stub/pipe.c: Likewise.
5707 * sysdeps/stub/pipestream.c: Likewise.
5708 * sysdeps/stub/poll.c: Likewise.
5709 * sysdeps/stub/profil.c: Likewise.
5710 * sysdeps/stub/ptrace.c: Likewise.
5711 * sysdeps/stub/putenv.c: Likewise.
5712 * sysdeps/stub/raise.c: Likewise.
5713 * sysdeps/stub/read.c: Likewise.
5714 * sysdeps/stub/readdir.c: Likewise.
5715 * sysdeps/stub/readlink.c: Likewise.
5716 * sysdeps/stub/readv.c: Likewise.
5717 * sysdeps/stub/reboot.c: Likewise.
5718 * sysdeps/stub/recv.c: Likewise.
5719 * sysdeps/stub/recvfrom.c: Likewise.
5720 * sysdeps/stub/recvmsg.c: Likewise.
5721 * sysdeps/stub/remove.c: Likewise.
5722 * sysdeps/stub/rename.c: Likewise.
5723 * sysdeps/stub/revoke.c: Likewise.
5724 * sysdeps/stub/rewinddir.c: Likewise.
5725 * sysdeps/stub/rmdir.c: Likewise.
5726 * sysdeps/stub/sbrk.c: Likewise.
5727 * sysdeps/stub/sched_getp.c: Likewise.
5728 * sysdeps/stub/sched_gets.c: Likewise.
5729 * sysdeps/stub/sched_primax.c: Likewise.
5730 * sysdeps/stub/sched_primin.c: Likewise.
5731 * sysdeps/stub/sched_rr_gi.c: Likewise.
5732 * sysdeps/stub/sched_setp.c: Likewise.
5733 * sysdeps/stub/sched_sets.c: Likewise.
5734 * sysdeps/stub/sched_yield.c: Likewise.
5735 * sysdeps/stub/seekdir.c: Likewise.
5736 * sysdeps/stub/select.c: Likewise.
5737 * sysdeps/stub/semctl.c: Likewise.
5738 * sysdeps/stub/semget.c: Likewise.
5739 * sysdeps/stub/semop.c: Likewise.
5740 * sysdeps/stub/send.c: Likewise.
5741 * sysdeps/stub/sendmsg.c: Likewise.
5742 * sysdeps/stub/sendto.c: Likewise.
5743 * sysdeps/stub/setdomain.c: Likewise.
5744 * sysdeps/stub/setegid.c: Likewise.
5745 * sysdeps/stub/setenv.c: Likewise.
5746 * sysdeps/stub/seteuid.c: Likewise.
5747 * sysdeps/stub/setgid.c: Likewise.
5748 * sysdeps/stub/setgroups.c: Likewise.
5749 * sysdeps/stub/sethostid.c: Likewise.
5750 * sysdeps/stub/sethostname.c: Likewise.
5751 * sysdeps/stub/setitimer.c: Likewise.
5752 * sysdeps/stub/setjmp.c: Likewise.
5753 * sysdeps/stub/setlogin.c: Likewise.
5754 * sysdeps/stub/setpgid.c: Likewise.
5755 * sysdeps/stub/setpriority.c: Likewise.
5756 * sysdeps/stub/setregid.c: Likewise.
5757 * sysdeps/stub/setreuid.c: Likewise.
5758 * sysdeps/stub/setrlimit.c: Likewise.
5759 * sysdeps/stub/setsid.c: Likewise.
5760 * sysdeps/stub/setsockopt.c: Likewise.
5761 * sysdeps/stub/settimeofday.c: Likewise.
5762 * sysdeps/stub/setuid.c: Likewise.
5763 * sysdeps/stub/shmat.c: Likewise.
5764 * sysdeps/stub/shmctl.c: Likewise.
5765 * sysdeps/stub/shmdt.c: Likewise.
5766 * sysdeps/stub/shmget.c: Likewise.
5767 * sysdeps/stub/shutdown.c: Likewise.
5768 * sysdeps/stub/sigaction.c: Likewise.
5769 * sysdeps/stub/sigaltstack.c: Likewise.
5770 * sysdeps/stub/sigblock.c: Likewise.
5771 * sysdeps/stub/sigintr.c: Likewise.
5772 * sysdeps/stub/signal.c: Likewise.
5773 * sysdeps/stub/sigpause.c: Likewise.
5774 * sysdeps/stub/sigpending.c: Likewise.
5775 * sysdeps/stub/sigprocmask.c: Likewise.
5776 * sysdeps/stub/sigreturn.c: Likewise.
5777 * sysdeps/stub/sigsetmask.c: Likewise.
5778 * sysdeps/stub/sigstack.c: Likewise.
5779 * sysdeps/stub/sigsuspend.c: Likewise.
5780 * sysdeps/stub/sigvec.c: Likewise.
5781 * sysdeps/stub/sleep.c: Likewise.
5782 * sysdeps/stub/socket.c: Likewise.
5783 * sysdeps/stub/socketpair.c: Likewise.
5784 * sysdeps/stub/sstk.c: Likewise.
5785 * sysdeps/stub/statfs.c: Likewise.
5786 * sysdeps/stub/stime.c: Likewise.
5787 * sysdeps/stub/stty.c: Likewise.
5788 * sysdeps/stub/swapoff.c: Likewise.
5789 * sysdeps/stub/swapon.c: Likewise.
5790 * sysdeps/stub/symlink.c: Likewise.
5791 * sysdeps/stub/sync.c: Likewise.
5792 * sysdeps/stub/syscall.c: Likewise.
5793 * sysdeps/stub/sysconf.c: Likewise.
5794 * sysdeps/stub/sysd-stdio.c: Likewise.
5795 * sysdeps/stub/system.c: Likewise.
5796 * sysdeps/stub/tcdrain.c: Likewise.
5797 * sysdeps/stub/tcflow.c: Likewise.
5798 * sysdeps/stub/tcflush.c: Likewise.
5799 * sysdeps/stub/tcgetattr.c: Likewise.
5800 * sysdeps/stub/tcgetpgrp.c: Likewise.
5801 * sysdeps/stub/tcsendbrk.c: Likewise.
5802 * sysdeps/stub/tcsetattr.c: Likewise.
5803 * sysdeps/stub/tcsetpgrp.c: Likewise.
5804 * sysdeps/stub/telldir.c: Likewise.
5805 * sysdeps/stub/tempname.c: Likewise.
5806 * sysdeps/stub/time.c: Likewise.
5807 * sysdeps/stub/times.c: Likewise.
5808 * sysdeps/stub/truncate.c: Likewise.
5809 * sysdeps/stub/ttyname.c: Likewise.
5810 * sysdeps/stub/ttyname_r.c: Likewise.
5811 * sysdeps/stub/ualarm.c: Likewise.
5812 * sysdeps/stub/ulimit.c: Likewise.
5813 * sysdeps/stub/umask.c: Likewise.
5814 * sysdeps/stub/unlink.c: Likewise.
5815 * sysdeps/stub/usleep.c: Likewise.
5816 * sysdeps/stub/ustat.c: Likewise.
5817 * sysdeps/stub/utime.c: Likewise.
5818 * sysdeps/stub/utimes.c: Likewise.
5819 * sysdeps/stub/vhangup.c: Likewise.
5820 * sysdeps/stub/wait.c: Likewise.
5821 * sysdeps/stub/wait3.c: Likewise.
5822 * sysdeps/stub/wait4.c: Likewise.
5823 * sysdeps/stub/waitpid.c: Likewise.
5824 * sysdeps/stub/write.c: Likewise.
5825 * sysdeps/stub/writev.c: Likewise.
5826 * sysdeps/stub/xmknod.c: Likewise.
5827 * sysdeps/stub/xstat.c: Likewise.
5828 * sysdeps/unix/closedir.c: Likewise.
5829 * sysdeps/unix/fxstat.c: Likewise.
5830 * sysdeps/unix/getlogin.c: Likewise.
5831 * sysdeps/unix/getlogin_r.c: Likewise.
5832 * sysdeps/unix/mkdir.c: Likewise.
5833 * sysdeps/unix/nice.c: Likewise.
5834 * sysdeps/unix/nlist.c: Likewise.
5835 * sysdeps/unix/opendir.c: Likewise.
5836 * sysdeps/unix/readdir.c: Likewise.
5837 * sysdeps/unix/rmdir.c: Likewise.
5838 * sysdeps/unix/stime.c: Likewise.
5839 * sysdeps/unix/xmknod.c: Likewise.
5840 * sysdeps/unix/xstat.c: Likewise.
5841 * sysdeps/unix/bsd/isatty.c: Likewise.
5842 * sysdeps/unix/bsd/setegid.c: Likewise.
5843 * sysdeps/unix/bsd/seteuid.c: Likewise.
5844 * sysdeps/unix/bsd/setsid.c: Likewise.
5845 * sysdeps/unix/bsd/sigaction.c: Likewise.
5846 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5847 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5848 * sysdeps/unix/bsd/tcflow.c: Likewise.
5849 * sysdeps/unix/bsd/tcflush.c: Likewise.
5850 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5851 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5852 * sysdeps/unix/bsd/times.c: Likewise.
5853 * sysdeps/unix/bsd/ulimit.c: Likewise.
5854 * sysdeps/unix/common/lxstat.c: Likewise.
5855 * sysdeps/unix/common/tcsendbrk.c: Likewise.
5856 * sysdeps/unix/sysv/setrlimit.c: Likewise.
5857 * sysdeps/unix/sysv/settimeofday.c: Likewise.
5858 * sysdeps/unix/sysv/sigaction.c: Likewise.
5859 * sysdeps/unix/sysv/tcflow.c: Likewise.
5860 * sysdeps/unix/sysv/tcflush.c: Likewise.
5861 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5862 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5863 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5864 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
5865 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
5866 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
5867 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5868 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5869 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
5870 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5871 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5872 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5873 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5874 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
5875 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
5876 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
5877 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
5878 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
5879 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
5880 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
5881 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5882 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5883 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
5885 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
5886 * sunrpc/clnt_udp.c: Likewise.
5887 * sunrpc/bindrsvprt.c: Likewise.
5888 * sunrpc/pm_getmaps.c: Likewise.
5889 * sunrpc/pmap_rmt.c: Likewise.
5890 * sunrpc/svc.c: Likewise.
5891 * sunrpc/svc_run.c: Likewise.
5892 * sunrpc/svc_tcp.c: Likewise.
5893 * sunrpc/svc_udp.c: Likewise.
5895 * sysdeps/generic/strtok.c: Don't check argument, just crash.
5896 * sysdeps/generic/strtok_r.c: Likewise.
5898 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
5899 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
5900 * sysdeps/unix/sparc/start.c: Likewise.
5901 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
5902 * sysdeps/unix/sysv/irix4/start.c: Likewise.
5903 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
5904 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
5905 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
5907 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
5909 * catgets/gencat.c (main): Put package name in --version message
5910 in parantheses. Reported by Jim Meyering.
5911 * db/makedb.c: Likewise.
5912 * locale/programs/locale.c: Likewise.
5913 * locale/programs/localedef.c: Likewise.
5915 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
5916 two registers. Patch by John Bowman.
5918 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5920 * sysdeps/mach/libc-lock.h: Fix comment.
5921 * sysdeps/stubs/libc-lock.h: Likewise.
5923 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5925 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
5926 to lock when passing it to __libc_lock_init macro.
5927 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
5928 when passing it to __libc_lock_fini macro.
5930 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5932 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
5933 [_LIBC_REENTRANT]: Add missing semicolon.
5935 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
5936 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
5937 Use the ENTRY macro.
5939 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5941 * libio/Makefile: Make `all' the default target.
5942 * po/Makefile: Likewise.
5944 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
5946 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
5947 I applied it incorrectly.
5948 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5949 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
5950 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
5952 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
5954 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
5955 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
5957 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
5960 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
5961 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
5963 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
5964 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
5965 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
5966 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
5967 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
5969 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5971 * hurd/Makefile (installed-sunrpc-headers): New variable.
5972 (sunrpc-headers): New variable.
5973 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
5974 not just <rpc/netdb.h>.
5975 ($(installed-sunrpc-headers)): Provide rule for all of these.
5977 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5979 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
5980 variable `top_srcdir' in libc; use $(..) instead.
5982 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
5983 definition. It was a *Mistake*. (With a capital M.)
5985 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
5987 (__get_nprocs_conf): Renamed from __get_nproc_conf.
5989 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
5991 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
5992 `_dl_start' so that linking fails if this file should ever be used
5995 * catgets/gencat.c (main): Change --version message according to
5996 RMS' last standard revision.
5997 * db/makedb.c: Likewise.
5998 * locale/programs/locale.c: Likewise.
5999 * locale/programs/localedef.c: Likewise.
6001 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6003 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
6004 (__get_nproc_conf): New function.
6006 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
6008 * resolv/resolv.h: Update to bind-4.9.5-T4B.
6009 * resolv/base64.c: Likewise.
6010 * resolv/res_debug.c: Likewise.
6011 * resolv/res_query.c: Likewise.
6012 * resolv/gethnamaddr.c: Likewise.
6013 * nss/nss_dns/dns-host.c: Likewise.
6014 * resolv/res_comp.c: Likewise.
6015 * resolv/res_send.c: Likewise.
6016 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
6019 * resolv/Banner: New file.
6020 * resolv/Makefile (distribute): Add Banner.
6022 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
6024 * sysdeps/stub/getsysstats.c: New file.
6025 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
6027 * misc/Makefile (headers): Add sys/sysinfo.h.
6028 (routines): Add getsysstats.
6029 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
6030 (sysdep_headers): Remove sys/sysinfo.h.
6031 * sysdeps/generic/sys/sysinfo.h: New file.
6032 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
6033 get_phys_pages, and get_avphys_pages.
6035 * misc/Makefile (routines): Add mntent_r.
6036 * misc/mntent_r.c: New file.
6037 * misc/mntent.c: Remove all functions but getmntent and use
6039 * misc/mntent.h: Add prototype for __getmntent_r.
6040 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
6041 This will not clobber the state in getmntent.
6043 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
6044 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
6045 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
6046 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
6047 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
6048 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
6049 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
6050 * sysdeps/posix/sysconf.c: Likewise.
6051 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
6052 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
6054 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
6056 * version.h (VERSION): Bump to 1.95.
6058 * Make-dist (+tsrcs): Don't filter out files in subdirs which
6059 match files in the sysdeps hierachy (welcome back,
6062 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
6064 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
6066 * locale/loadlocale.c (_nl_free_locale): Remove function.
6067 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
6068 * locale/setlocale.c (setlocale): Don't free locale data of
6069 categories which succeeded to load after a wrong or missing data
6072 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
6073 that it works even when the locale data is not used.
6075 * stdlib/random_r.c: Fix typo in comment.
6076 * stdlib/drand48-iter.c: Likewise.
6077 * stdlib/drand48.c: Likewise.
6078 * stdlib/erand48.c: Likewise.
6079 * stdlib/jrand48.c: Likewise.
6080 * stdlib/lcong48.c: Likewise.
6081 * stdlib/lrand48.c: Likewise.
6082 * stdlib/mrand48.c: Likewise.
6083 * stdlib/nrand48.c: Likewise.
6084 * stdlib/random.c: Likewise.
6085 * stdlib/seed48.c: Likewise.
6086 * stdlib/srand48.c: Likewise.
6087 * misc/search.h: Likewise.
6088 * misc/hsearch.c: Likewise.
6089 * misc/hsearch_r.c: Likewise.
6091 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6093 * sysdeps/mach/getsysstats.c: New file.
6095 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
6096 binary distribution.
6098 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
6099 definition to override dangerous one in Makeconfig.
6101 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
6102 ($(includedir)/rpc/netdb.h): New rule.
6103 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
6106 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6108 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
6109 to guarantee link errors if this is included in ld.so.
6111 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6113 * hurd/hurdinit.c (__libc_argv): Provide common decl.
6114 (_hurd_setproc): Don't declare __libc_argv here.
6116 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6118 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
6119 for actual modifications to global state.
6121 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6123 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
6124 * sysdeps/mach/hurd/Makefile (includes): Add
6125 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
6127 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
6128 struct sched_params.
6129 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
6130 sched_params -> struct sched_param.
6131 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
6132 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
6134 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6136 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
6139 * stdio-common/Makefile: Put lockfile in routines
6142 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
6143 this always, not just if _LIBC_REENTRANT.
6144 (__funlockfile): Don't use weak_extern for this one;
6145 __libc_cleanup_region_end might be defined and the use of
6146 __funlockfile can't be protected the way the use of __flockfile
6149 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
6151 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
6152 instead of localtime.
6153 Reported by Matthias Urlichs.
6155 * shlib-versions: Remove version number for libcrypt.
6156 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
6157 * libc-symbols.h: Define _REENTRANT while compiling libc.
6159 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
6160 Define even if !_LIBC_REENTRANT.
6161 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
6164 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
6167 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
6168 * po/header.pot: Correct title line.
6171 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
6173 * Makeconfig (soversions.mk): Prefer shared lib version numbers
6174 is add ons over version in libc itself.
6176 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
6177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
6180 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
6181 _IO_flockfile and _IO_funlockfile resp.
6183 * locale/categories.def: Partly support for correct `era' handling
6184 in LC_TIME category.
6185 * locale/langinfo.h: Likewise.
6186 * locale/programs/ld-time.c: Likewise.
6187 * locale/localeinfo.h: Change comment a bit.
6189 * malloc/memalign.c: Don't use goto, not necessary anymore.
6191 1996-09-18 Paul Eggert <eggert@twinsun.com>
6193 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
6194 is negative, or if time_t is unsigned.
6195 * time/strftime.c (tm_diff): Work correctly even if tm_year
6198 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6200 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
6201 all three versions of the math function.
6202 (__inline_mathopf, __inline_mathopl): Removed.
6203 (__inline_functions): New temporary definition containing all
6204 non-trivial inline functions.
6206 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
6208 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
6210 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
6212 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
6215 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
6217 * sysdeps/stub/fpu_control.h: Correct end of file comment.
6219 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
6221 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
6222 stdio-common/test-popen.c: Remove temporary files after test.
6223 * stdio-common/bug5.c: Use `system' instead of `execlp'.
6224 Patches by Andreas Jaeger.
6226 * stdio-common/bug5.c: Create string for `system' argument to
6227 make sure the input and output file names are really correct.
6229 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6231 * configure.in: If $os contains a hyphen add the part before the
6234 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6236 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
6237 __ieee754_powl): Rename local variable i to __i.
6238 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
6240 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
6241 sysdeps/m68k/fpu/e_atan2l.c: New files.
6243 1996-09-15 Paul Eggert <eggert@twinsun.com>
6245 * manual/time.texi: Change `range X to Y' to `range X through
6246 Y', to avoid ambiguity in English.
6248 (strftime): Numbers that do not have a range indicated are not padded.
6249 Describe E and O modifiers.
6250 %g, %G, %u: New formats.
6251 %C, %y, %Y: Describe behavior on negative years.
6252 %e: Fix typo (was labeled %d).
6253 %l, %V: Fix typo in range.
6254 %M, %S, %U, %w, %W: Give ranges.
6255 %p: Clarify how noon and midnight are handled for AM and PM.
6256 %s: Clarify leap second handling.
6257 %r: Now locale-defined.
6258 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
6259 %z: Say that it is a GNU extension.
6262 * time/strftime.c: (strftime):
6263 %V: Fix mishandling of week numbers near year boundaries.
6264 %g, %G: New formats (suggested by Arthur David Olson).
6265 %U, %W: Use inline expression instead of `week' function.
6266 %C, %y: Handle negative years portably.
6267 %C, %Y: Use width 1, since values can be arbitrarily wide.
6268 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
6269 %u: New Posix.2 format.
6270 %w: Width is 1, not 2.
6271 (iso_week_days): New function, for %V, %G, %g.
6272 (week): Remove; it didn't handle %V correctly.
6273 (__isleap): New macro.
6274 (mbsinit): Use arg, to pacify GCC -Wall.
6276 1996-09-13 Paul Eggert <eggert@twinsun.com>
6278 * time/strftime.c (strftime):
6279 If using the GNU C library, do not bother to check for
6280 multibyte encodings, since they're safe in formats. Otherwise:
6281 - Check for multibyte encodings when encountering any character that
6282 is not in the basic execution character set of the C Standard.
6283 - Use mbrlen (if available) instead of mblen, to avoid modifying
6284 mblen's internal state.
6285 - Do not assume that '%' cannot appear as the first character of a
6286 multibyte character sequence, since this is possible when not in the
6287 initial shift state.
6288 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
6289 (DO_MULTIBYTE): New macro.
6290 (<ctype.h>): Do not include.
6291 (<wchar.h>): Include if HAVE_MBRLEN.
6292 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
6293 (mbstate_zero): New constant.
6295 1996-09-12 Paul Eggert <eggert@twinsun.com>
6297 * time/strftime.c (strftime):
6298 Use an empty zone if it can't be determined; POSIX.2 requires this.
6299 Use plain `int' for pad and modifier (which now contain char value).
6300 Use plain `int' for number_value, to print negative values correctly.
6301 Use plain `int' for digits; there was no need to make it unsigned.
6302 Initialize subfmt consistently.
6303 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
6304 For %O, if there is no alternate digit, output Ascii instead of "".
6305 Output the `%' of an unknown format; this is most likely the right
6306 thing to do if a multibyte string has been misparsed.
6308 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6310 * stdio-common/scanf7.c (main): Remove extra conversion from
6311 printf format string.
6313 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6315 * stdlib/test-canon.c (tests): Rename structure member from errno
6316 to error, all uses changed.
6318 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6320 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
6322 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
6323 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
6325 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
6326 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
6327 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
6329 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
6330 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
6332 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
6333 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
6335 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6337 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6338 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
6340 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6342 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6343 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
6345 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6347 * inet/herrno.c (__h_errno_location): Fix return type.
6349 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6351 * hurd/hurdinit.c (__libc_argv): Provide common decl.
6352 (_hurd_setproc): Don't declare __libc_argv here.
6354 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
6356 * sched.h: New file. Helper to access posix/sched.h.
6357 * posix/sched.h: Change `sched_params' to `sched_param' to follow
6360 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
6362 * db/makedb.c (usage): Print bug report address separately to
6363 ease translators task.
6364 * catgets/gencat.c (usage): Likewise.
6365 * locale/locale.c (usage): Likewise.
6366 * locale/localedef.c (usage): Likewise.
6368 1996-09-12 Paul Eggert <eggert@twinsun.com>
6370 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
6371 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
6372 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
6374 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
6376 * crypt/Makefile: Include Makeconfig and add crypt object dir to
6377 rpath-link so that running the check finds the new library.
6378 * crypt/cert.c: provide correct prototypes to prevent warnings.
6379 Reported by Andreas Jaeger.
6381 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
6382 old and new value must be glued using `:'.
6383 Reported by Marcus Daniels.
6385 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6387 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
6388 accidentally added on.
6390 * sysdeps/stub/intr-msg.h: New file.
6392 * stdio-common/vfprintf.c: Include <libc-lock.h>.
6393 * stdio-common/vfscanf.c: Include <libc-lock.h>.
6395 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
6397 (__libc_cleanup_region_end): New macro.
6399 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6401 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
6402 accidentally added on.
6404 * sysdeps/stub/intr-msg.h: New file.
6406 * stdio-common/vfprintf.c: Include <libc-lock.h>.
6407 * stdio-common/vfscanf.c: Include <libc-lock.h>.
6409 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
6411 (__libc_cleanup_region_end): New macro.
6413 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
6415 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
6416 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
6417 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
6419 1996-09-11 Paul Eggert <eggert@twinsun.com>
6421 * strftime.c (strftime):
6422 Handle E and O modifiers, required for POSIX.2 and XPG4.
6423 Don't use sprintf to format numbers; this way, we can handle time_t
6424 correctly regardless of whether it's signed.
6425 Don't dump core if format ends in %.
6426 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
6428 Use tm_gmtoff if available.
6429 Output nothing if tm_isdst is negative.
6430 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
6431 Don't assume that UTC offset is less than 24 hours;
6432 Posix requires support for 24 hours, and there's no point
6434 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
6435 (CHAR_BIT): Define if <limits.h> doesn't.
6436 (tm_diff): New function.
6437 (fmt, <stdio.h>): Remove; no longer used.
6439 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
6441 * db/Makefile: Add extra-libs-others variable so that shared
6442 library is built in `others' pass.
6443 * elf/Makefile: Likewise.
6444 * math/Makefile: Likewise.
6445 * resolv/Makefile: Likewise.
6447 * Makefile (generated): Add version.info.h.
6449 * time/checktab.awk: New file. From ADO 96k.
6450 * time/iso3166.tab: Likewise.
6451 * time/tzselect.ksh: Likewise.
6452 * time/zone.tab: Likewise.
6454 * stdio-common/vfprintf.c: Correct cleanup registration. We
6457 1996-09-11 Paul Eggert <eggert@twinsun.com>
6459 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
6460 __USE_BSD; this is required for ANSI C compatibility.
6461 * manual/time.texi: Replace GMT by UTC, daylight savings by
6462 daylight saving, timezone by time zone.
6463 Rewrite description of %V to match ISO 8601.
6464 Fix TZ Posix string example for US Eastern time.
6465 Explain tzname[1] when DST isn't used.
6466 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
6467 Explain that timezone's sign is opposite from tm_gmtoff, and that
6468 timezone lacks DST adjustment whereas tm_gmtoff has it.
6469 Deprecate tzname and timezone.
6471 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6473 Implement Roland McGrath's idea of how to put an .interp into
6475 * interp.c: New file.
6476 * Makerules (interp-obj): New object, linked into every shared
6478 (common-generated): Add interp.so.
6479 (CFLAGS-interp.c): Pass name of interpreter.
6481 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6483 * db/Makefile: Fix typo.
6485 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6487 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
6488 occurences of the same uid, and only generate a mapping for the
6491 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6493 * sysdeps/unix/sysv/linux/system.c: New file, to override
6494 sysdeps/unix/system.c.
6496 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6498 * Makefile (before-compile): Add version-info.h, needed to build
6501 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6503 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
6504 EWOULDBLOCK, never true on Linux.
6505 (__errno_location): New function.
6506 [_LIBC_REENTRANT]: Set errno using __errno_location function.
6507 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
6508 syscall_error handler for reentrant libc.
6510 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6512 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
6514 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
6516 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
6518 * time/tzfile.c (compute_tzname_max): Likewise.
6520 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
6522 * configure.in: Quote $add_ons argument in loop to generated
6525 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
6527 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
6529 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6531 * elf/dl-cache.c: Rename to ...
6532 * sysdeps/generic/dl-cache.c: ... here.
6533 * sysdeps/mach/hurd/dl-cache.c: New file.
6535 * mach/Makefile (distribute): Add `errsystems.awk'.
6536 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
6537 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
6538 * hurd/intr-rpc.awk: Likewise.
6539 * hurd/invoke-trans.c: Likewise.
6540 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
6541 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
6542 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6543 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
6544 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6545 * sysdeps/stub/init-fault.c: Likewise.
6546 * sysdeps/stub/longjmp-ctx.c: Likewise.
6548 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
6550 * inet/herrno.c: Initialize `h_errno' so that we can provide
6553 * Makefile (version-info.h): Fix typo in shell script.
6555 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
6556 * sysdeps/i386/i586/strchr.S: Likewise.
6558 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
6560 * version.c (banner): Report to bug-glibc@prep not @gnu.
6561 Reported by Andreas Jaeger.
6563 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
6565 [__USE_REENTRANT]: Don't define
6567 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
6569 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
6570 when it is the third byte in the string. Reported by
6572 * string/tester.c: Add tests for above bug to strlen, strchr, and
6575 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6577 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
6578 "math_private.h" to get prototype.
6579 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6580 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6581 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6582 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6584 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
6586 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6588 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6590 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
6591 instead of __NO_MATH_INLINES.
6592 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
6593 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
6594 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6595 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6596 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6597 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6598 * sysdeps/m68k/fpu/s_atan.c: Likewise.
6599 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6600 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6601 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6602 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
6603 * sysdeps/m68k/fpu/s_modf.c: Likewise.
6604 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
6605 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6606 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6608 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
6610 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
6611 available character before converting number and return with
6612 error if none is available.
6614 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6616 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
6617 implementation for architectures where parameters are passed on
6619 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
6620 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
6622 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6624 * configure.in: Remove unneeded sysnames frobbing.
6626 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
6628 * time/zic.c: Update from ADO 96l.
6629 * time/africa: Update from ADO 96k.
6630 * time/antarctica: Likewise.
6631 * time/asia: Likewise.
6632 * time/australia: Likewise.
6633 * time/europe: Likewise.
6634 * time/northamerica: Likewise.
6635 * time/southamerica: Likewise.
6637 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6639 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
6640 gcc <= 2.7.2.1 which optimizes away address operations on weak
6643 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
6644 Like INT_FIELD but also accept non-existing field.
6645 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
6646 for last four fields.
6647 * shadow/putspent.c (putspent): Print `:' after numeric value.
6649 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
6651 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
6653 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
6655 * Make-dist: Filter out $(add-ons) from $(subdirs).
6656 Don't distribute TAGS files.
6657 ($(tardir).tar): Remove dist.tar when all is done.
6658 * manual/Makefile (distribute): Add libc.info*.
6659 * libio/Makefile (distribute): Add Banner.
6660 * inet/Makefile (headers): Add netinet/tcp.h.
6662 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
6664 * crypt-README: Removed.
6665 * gnu-stabs.h: Removed.
6667 * sysdeps/alpha/copysign.S: Renamed to...
6668 * sysdeps/alpha/s_copysign.S: ...this.
6669 * sysdeps/alpha/fabs.S: Renamed to...
6670 * sysdeps/alpha/s_fabs.S: ...this.
6672 * sysdeps/m68k/isinfl.c: Renamed to...
6673 * sysdeps/m68k/s_isinfl.c: ...this.
6674 * sysdeps/m68k/isnanl.c: Renamed to...
6675 * sysdeps/m68k/s_isnanl.c: ...this.
6677 * sysdeps/sparc/sqrt.c: Renamed to...
6678 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
6681 * sysdeps/generic/get_str.c: Removed.
6683 * sysdeps/ieee754/cbrt.c: Removed.
6684 * sysdeps/ieee754/drem.c: Removed.
6685 * sysdeps/ieee754/logb.c: Removed.
6686 * sysdeps/ieee754/sqrt.c: Removed.
6688 * sysdeps/stub/cbrt.c: Removed.
6689 * sysdeps/stub/cos.c: Removed.
6690 * sysdeps/stub/drem.c: Removed.
6691 * sysdeps/stub/isinf.c: Removed.
6692 * sysdeps/stub/isinfl.c: Removed.
6693 * sysdeps/stub/isnanl.c: Removed.
6694 * sysdeps/stub/logb.c: Removed.
6695 * sysdeps/stub/sin.c: Removed.
6696 * sysdeps/stub/sqrt.c: Removed.
6698 * sysdeps/tahoe/log10.c: Removed.
6700 * sysdeps/vax/index.s: Removed.
6701 * sysdeps/vax/rindex.s: Removed.
6702 * sysdeps/vax/bcmp.s: Removed.
6703 * sysdeps/vax/log10.c: Removed.
6704 * sysdeps/vax/infnan.c: Removed.
6705 * sysdeps/vax/Dist: Add fl.h.
6707 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
6709 * inet/rcmd.c (rcmd): Make messages more uniform.
6711 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
6716 * po/pl.po: New file.
6717 * po/nl.po: New file.
6719 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
6721 * Makeconfig (+link): Filter out start, pre & postinit from the
6722 generic depenancies as well.
6723 * Rules: Add start, pre & postinit to the dependancies of
6724 $(others) and $(tests).
6726 * configure.in: elf_dirs missing "sysdeps" component.
6728 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
6730 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
6731 This is consistent with all other GNU packages. We shouldn't
6732 take care for a possible clash. Nobody will name the domain
6733 of a package libc if it is not the libc itself.
6734 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
6735 * po/Makefile (domainname): Change to libc.
6736 (distribute): Now ship libc.pot.
6737 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
6738 version information banner.
6739 Change bug report address to bug-glibc@prep not @gnu.
6740 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
6741 (main): Use `PACKAGE' for package name in version information
6743 Change bug report address to bug-glibc@prep not @gnu.
6744 * locale/programs/locale.c (main): Use `PACKAGE' for package name
6745 in version information banner.
6746 Change bug report address to bug-glibc@prep not @gnu.
6747 * locale/programs/localedef.c (main): Likewise.
6749 * version.h (VERSION): Bump to 1.94.
6751 * locale/Makefile (distribute): Add locale.c and localedef.c.
6753 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
6755 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
6756 instead of sizeof(nl_catd) (which is just a pointer!).
6758 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
6760 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
6761 * version.c (banner): Add contents of version-info.h to string.
6763 * Makerules: If $($(subdir)-version) is available name versioned
6764 shared library according to this value instead of glibc's version.
6766 * libio/Banner: New file.
6768 * elf/eval.c (funcall): Write error message in case function is
6770 (eval): Recognize `_' in names.
6772 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
6774 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
6775 * libio/iofopen: Likewise.
6776 * libio/iofopncook.c: Likewise.
6777 * libio/iopopen.c: Likewise.
6778 * libio/iovsprintf.c: Likewise.
6779 * libio/iovsscanf.c: Likewise.
6780 * libio/memstream.c: Likewise.
6781 * libio/vasprintf.c: Likewise.
6782 * libio/vdprintf.c: Likewise.
6783 * libio/vsnprintf.c: Likewise.
6785 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
6787 * Makeconfig (soversions.mk): Also use shlib-versions files
6788 in add-on directories.
6789 * config.make.in (config-defines): Remove. Not used anymore.
6790 (defines): New variable. Initiliazed by @DEFINES@.
6791 * configure.in: Add AC_SUBST(DEFINES).
6793 * libio/Makefile (routines): When compiling reentrant libc add
6794 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
6795 iofflush_u, putc_u, putchar_u, ioflockfile.
6796 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
6798 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
6799 and __libc_cleanup_region_end.
6801 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6802 using __errno_location function.
6803 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6804 using __errno_location function.
6805 (__errno_location): New function.
6806 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
6807 syscall_error handler for reentrant libc.
6809 * sysdeps/unix/opendir.c: Remove unneeded `;'.
6811 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
6812 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
6814 * libioP.h: Include <libc-lock.h>.
6815 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
6818 * libio/clearerr.c: Use _IO_ protected versions of flockfile
6819 and funlockfile to be namespace clean.
6821 * libio/genops.c: Use __libc_lock_* macros for handling lock.
6823 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
6824 * libio/iofopen: Likewise.
6825 * libio/iofopncook.c: Likewise.
6826 * libio/iopopen.c: Likewise.
6827 * libio/iovsprintf.c: Likewise.
6828 * libio/iovsscanf.c: Likewise.
6829 * libio/memstream.c: Likewise.
6830 * libio/vasprintf.c: Likewise.
6831 * libio/vdprintf.c: Likewise.
6832 * libio/vsnprintf.c: Likewise.
6834 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
6836 * libio/fputc.c: Likewise.
6837 * libio/freopen.c: Likewise.
6838 * libio/fseek.c: Likewise.
6839 * libio/getc.c: Likewise.
6840 * libio/getchar.c: Likewise.
6841 * libio/iofclose.c: Likewise.
6842 * libio/iofflush.c: Likewise.
6843 * libio/iofgetpos.c: Likewise.
6844 * libio/iofgets.c: Likewise.
6845 * libio/iofputs.c: Likewise.
6846 * libio/iofread.c: Likewise.
6847 * libio/iofsetpos.c: Likewise.
6848 * libio/ioftell.c: Likewise.
6849 * libio/iofwrite.c: Likewise.
6850 * libio/iogetdelim.c: Likewise.
6851 * libio/iogets.c: Likewise.
6852 * libio/ioputs.c: Likewise.
6853 * libio/iosetbuffer.c: Likewise.
6854 * libio/iosetvbuf.c: Likewise.
6855 * libio/ioungetc.c: Likewise.
6856 * libio/putc.c: Likewise.
6857 * libio/putchar.c: Likewise.
6858 * libio/rewind.c: Likewise.
6859 * stdio-common/vfprintf.c: Likewise.
6860 * stdio-common/vfscanf.c: Likewise.
6862 * libio/clearerr_u.c: Correct alias name.
6863 * libio/ferror_u.c: Likewise.
6864 * libio/fileno.c: Likewise.
6865 * libio/fputc_u.c: Likewise.
6866 * libio/getc.c: Likewise.
6867 * libio/getc_u.c: Likewise.
6868 * libio/getchar.c: Likewise.
6869 * libio/getchar_u.c: Likewise.
6870 * libio/putc.c: Likewise.
6871 * libio/putchar.c: Likewise.
6873 * libio/feof_u.c: Undefine macro with name of function before
6874 definition of function itself.
6876 * libio/ioflockfile.c: New file. Implementation of flockfile and
6879 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
6881 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
6884 * malloc/free.c: Include <libc-lock.h>.
6885 * malloc/realloc.c: Likewise.
6886 * malloc/malloc-find.c: Likewise.
6887 * malloc/malloc-size.c: Likewise.
6888 * malloc/malloc-walk.c: Likewise.
6889 * malloc/memalign.c: Likewise.
6890 * malloc/malloc.c: Likewise.
6892 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
6894 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
6896 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
6897 and __libc_lock_critical_end as empty macros.
6899 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
6901 * malloc/free.c: Include <libc-lock.h>.
6902 * malloc/malloc-find.c: Likewise.
6903 * malloc/malloc-size.c: Likewise.
6904 * malloc/malloc-walk.c: Likewise.
6905 * malloc/malloc.c: Likewise.
6906 * malloc/memalign.c: Likewise.
6907 * malloc/realloc.c: Likewise.
6909 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
6912 * extra-lib.mk: Likewise.
6913 * manual/Makefile: Likewise.
6915 * db/Makefile (makedb): Choose dependecies based on build-shared.
6916 Patch by Andres Schwab.
6918 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
6919 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
6921 * sysdeps/unix/sysv/linux/errnos.h: New file.
6922 * sysdeps/unix/sysv/linux/schedbits.h: New file.
6923 * sysdeps/unix/sysv/linux/waitflags.h: New file.
6925 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
6927 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6929 * rpm/template: Fix typo in %build section.
6931 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
6933 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
6934 building libc without thread support.
6935 * resolv/netdb.h: Likewise for h_errno macro.
6937 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
6939 * libc-symbols.h: Add new macro weak_const_function. It's like
6940 weak_function, but the function is additionally marked as const.
6941 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
6943 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
6945 * inet/herrno.c (__h_errno_location): New function.
6946 (h_errno): Make strong_alias __h_errno so that we can access
6947 the variable even if `h_errno' is a macro.
6948 * resolv/netdb.h: Define macro h_errno to access thread specific
6949 version of h_errno variable. Declare alias __h_errno for h_errno.
6950 * resolv/res_query (h_errno): Remove definition.
6951 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
6952 Add macro `errno' to get thread specific variable.
6953 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
6954 __errno_location function.
6955 (__errno_location): New function.
6957 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
6959 * posix/gnu/types.h: Remove definition of key_t.
6960 * sysdeps/generic/gnu/types.h: Move it to here.
6961 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
6962 definition of key_t.
6964 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
6966 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
6967 clone prototypes and associated flags.
6969 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6971 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
6973 (init1): Initialize them.
6974 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
6975 available, pass __libc_argv in call to __proc_set_arg_locations.
6977 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
6979 (hertz): Delete function.
6980 * gmon/Makefile (routines): Add `prof-freq'.
6981 * sysdeps/generic/prof-freq.c: New file.
6982 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
6983 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
6984 (update_waiter): Store frequency in profile_tick.
6985 (__profile_frequency): New function.
6987 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
6990 * Rules (generated): Restore reference to $(generated).
6992 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
6995 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
6997 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
6998 * malloc/realloc.c: Likewise.
6999 * malloc/malloc-find.c: Likewise.
7000 * malloc/malloc-size.c: Likewise.
7001 * malloc/malloc-walk.c: Likewise.
7002 * malloc/memalign.c: Likewise.
7004 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
7006 * sysdeps/alpha/elf/start.S: Make _start global again.
7008 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
7010 Change configuration and Makefiles to allow add-ons to have a
7011 sysdeps/ directory hierachy.
7012 * configure.in: Test for sysdeps/ directory in add-ons. Before
7013 all test and searches in these hierachies, too.
7014 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
7015 Extend with $(..) if not absolute path.
7016 Use $(full-config-subdirs) where $(config-sysdirs) was used.
7017 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
7018 * MakeTAGS: Use $(full-config-subdirs).
7019 * Makerules: Change comment to libc.so link script.
7020 (sysdirs): Define based on $(full-config-subdirs).
7021 (sysd-Makefile): Define using config-sysdirs.
7022 (sysd-rules): Likewise.
7023 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
7024 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
7026 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7028 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
7029 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7030 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7032 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
7034 * malloc/free.c (free): Protect by using __libc_malloc_lock.
7035 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
7036 * malloc/malloc-size.c (malloc_usable_size): Likewise.
7037 * malloc/malloc-walk.c (malloc_walk): Likewise.
7038 * malloc/memalign.c (memalign): Likewise.
7039 * malloc/realloc.c (realloc): Likewise.
7040 * malloc/malloc.c: Define __libc_malloc_lock.
7041 (_malloc_internal): Don't use `malloc'. Instead look for
7042 `__malloc_hook' or call `_malloc_internal'.
7043 (malloc): Protect by using `__libc_malloc_lock'.
7044 * malloc/malloc.h: Declare `__libc_malloc_lock'.
7046 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
7048 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
7049 instead of the hard definition.
7051 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
7052 _start and _dl_start_user.
7054 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
7055 Make _dl_starting_up weak. Add type info for NAME.
7057 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
7059 * Makefile (all): Add extra_solibs pass.
7060 (+subdir_targets): Same.
7061 * Rules (extra_solibs): New phony empty target for subdirs without
7063 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
7064 * manual/Makefile: Add dummy extra_solibs target.
7066 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
7068 * Makeconfig (+link): Add $(link-extra-libs).
7069 (link-extra-libs): New variable which expands to the full paths of
7070 the other libraries needed by a program, as controled by LDLIBS-$(@F).
7071 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
7072 the later attempts to install the library before linking it.
7074 * sysdeps/unix/alpha/sysdep.S: Align errno.
7076 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
7078 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
7079 (_hae_shift): New function.
7080 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
7081 for the bus query functions.
7083 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
7085 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
7086 can be NULL when unloading a library.
7088 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
7089 to the library .init function.
7091 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
7092 part of the COPY reloc processing earlier, omit the rest now --
7093 we'll get into less trouble later when some fool does use a COPY.
7095 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
7096 parameters. Move all argc and __libc_multiple_libcs calculation out
7097 to init-first.h. Use __environ not __libc_envp.
7098 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
7099 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
7101 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7103 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
7104 signal settings when profiling was already turned on.
7106 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
7109 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
7111 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
7112 0 < return value < -4096 and not < 0 to decide about failure.
7113 Reported by Andreas Jaeger.
7115 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
7117 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
7120 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
7122 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
7125 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
7127 * version.c: Add missing newline character in banner.
7129 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
7130 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
7132 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
7134 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
7135 case, so don't prepend uppercase `ISO' for only numeric arg.
7137 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
7139 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
7140 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
7142 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
7144 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
7145 call to __libc_lock_lock.
7147 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
7148 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
7150 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
7152 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
7154 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
7156 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
7157 Reported by Erik Troan.
7159 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
7161 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
7162 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
7164 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
7166 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
7168 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
7170 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
7173 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
7175 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
7178 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7180 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
7181 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
7183 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
7184 $(common-objpfx) is good enough.
7185 * Rules (common-generated): Provide default (empty) value.
7186 (dummy.o, dummy.c, empty.o, empty.c): Put these in
7187 $(common-generated), not $(generated), and without $(..).
7188 (subdir_echo-distinfo): Treat $(common-generated) just like
7190 (generated): Depend on the (suitably mutated) $(common-generated)
7192 * Makerules (common-clean): Remove common-generated files too.
7193 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
7195 (common-generated): Do put errnos.d and stamp-errnos here.
7196 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
7198 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
7199 auth to following rule to get it built.
7201 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
7203 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
7204 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
7205 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
7207 * version.c: Add comment about where to report bugs to.
7208 * catgets/gencat.c (usage): Likewise.
7209 * db/makedb.c (usage): Likewise.
7210 * locale/programs/locale.c (usage): Likewise.
7211 * locale/programs/localedef.c (usage): Likewise.
7213 * manual/socket.texi: A little bit better wording.
7215 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
7217 * Makerules: Make sure directory exists before generating stamp file.
7218 (BUILD_CFLAGS): Always refer to using $(..).
7219 * manual/Makefile: Make sure directory exists before generating
7221 (make-target-directory): Add macro definition.
7222 * sysdeps/generic/Makefile: Make sure directory exists before
7223 generating stamp file.
7225 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
7227 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7229 When compiling in separate directory put objects into
7230 subdirectories matching the source layout.
7231 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
7232 When looking for configparms try in $(common-objpfx).
7233 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
7235 * Makerules: Add $(objpfx) to vpath list.
7236 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
7237 more than once. All uses in dependency lists changed.
7238 (+make-deps): Make target directory.
7239 (sed-remove-objpfx): Substitute $(common-objpfx).
7240 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
7241 $(objpfx) instead of $(objdir) for cd command.
7242 (O%-lib): Always find libc relative to $(..).
7243 (subdir-stamps): Collect stamp files from subdirs.
7244 (common-mostlyclean): Remove stub file in $(common-objpfx).
7245 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
7246 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
7248 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
7249 $(common-objpfx). All uses in dependency lists changed.
7250 (generated): Prepend $(..) to names.
7251 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
7253 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
7254 Use $(common-objpfx) instead of $(..) in dependencies.
7255 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
7256 $(common-objpfx) instead of $(..) and (objpfx).
7257 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
7258 (rpath-link): Likewise.
7259 (rpcuserlibs): Likewise.
7260 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
7261 errlist.c in $(objpfx), not $(common-objpfx).
7262 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
7264 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
7265 s-proto.d in $(common-objpfx), not $(objpfx).
7267 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
7269 * nss/nsswitch.c (nss_dlerror_run): Free returned error
7272 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
7274 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
7276 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
7277 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
7278 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
7279 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
7280 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
7281 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
7282 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
7283 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
7285 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7287 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
7288 spelling error of _hurd_itimerval.
7290 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
7291 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
7292 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
7294 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
7296 * stdio/fseek.c (fseek): Don't assume we know the file position;
7297 other handles may have changed it. So set STREAM.__offset to -1
7298 before calling __stdio_check_offset to make sure we have a correct
7301 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
7303 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
7304 `decimal' char is 0.
7306 * C-numeric.c (not_available): New constant.
7307 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
7309 * nss/nsswitch.conf: Example configuration file.
7310 * nss/db-Makefile: Example Makefile for generation of databases
7312 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
7314 1996-08-28 Paul Eggert <eggert@twinsun.com>
7316 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
7317 noexpr to "^[nN]"; this conforms to POSIX.2.
7319 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
7322 1996-08-28 Paul Eggert <eggert@twinsun.com>
7324 * C-monetary.c (not_available): New constant.
7325 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
7326 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
7327 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
7328 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
7330 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
7332 * nss/nss_db/db-XXX.c: Correct function names. They must be
7333 `_nss_db_*' instead of `_nss_files_*'.
7334 (lookup): `parse_line' returns 1 if succesful.
7335 * nss/nss_files/files-service.c (servbyname): Key for database
7336 must also contain protocol names.
7337 (servbypt): Likewise.
7338 Test must also check for protocol. Add `proto' argument.
7340 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7342 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
7345 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
7347 * Makerules: Add some test for correct version of GNU Make.
7349 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
7350 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
7352 * sysdeps/generic/dl-sysdep.c: Initialize break address to
7353 avoid overwriting last page (OK, Roland).
7355 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
7357 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
7358 * resolv/arpa/nameser.h: Likewise.
7359 * resolv/res_init.c: Likewise.
7360 * resolv/res_debug.c: Likewise.
7361 * resolv/res_mkquery.c: Likewise.
7363 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
7365 * elf/dl-error.c (catch): Define errstring element not as const.
7366 (_dl_catch_error): ERRSTRING argument is not const pointer.
7367 Initialize *ERRSTRING and *OBJNAME separately.
7368 * elf/link.h: Change prototype for `_dl_catch_error'.
7370 * elf/dl-load.c (_dl_map_object): Use separate variable for
7371 copied NAME to avoid `const' warning.
7373 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
7375 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
7376 provides preloading even for SUID binaries.
7377 Add some more casts to avoid signed<->unsigned warnings.
7379 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
7381 * posix/sys/types.h: Define loff_t.
7382 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
7384 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
7386 * io/fcntl.h: Add definition for BSD F* macros.
7388 * misc/init-misc.c (__init_misc): Make static.
7389 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
7391 * configure.in: Add test for -fno-exception option of gcc.
7392 * config.make.in: Add definition of have-no-exceptions.
7393 * Makerules: Define no-exceptions based on have-no-exceptions.
7394 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
7395 This is necessary for gcc >= ss-960816.
7397 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
7399 * sysdeps/alpha/dl-machine.h: Clear startup flag.
7401 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7403 * Makerules (o-iterator-doit): Simplify reference to autolock
7406 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7408 * sysdeps/mach/hurd/getcwd.c
7409 (_hurd_canonicalize_directory_name_internal): After resizing the
7410 buffer move the current contents to the end. Correctly relocate
7411 file name pointer to upper half of the buffer.
7413 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
7415 * rtld.c (dl_main): Remove code to call ld.so initializer. This
7416 was introduced for compatibility with Linux ld.so and would not
7417 be used anymore. Now we don't have any good values to use as the
7418 parameters to the initializer so simply remove it.
7420 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7422 * gmon/gmon.c (ERR): Don't write the terminating NUL.
7424 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
7426 (profil_count): Use 64 bit arithmethic to avoid overflow.
7428 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
7430 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7432 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
7433 being null; in that case don't touch the timer at all (but do
7434 return something in OLD if necessary).
7436 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7438 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
7440 * sysdeps/i386/init-first.c: Likewise.
7441 * sysdeps/stub/init-first.c: Likewise.
7443 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
7445 * elf/dl-open.c (_dl_open): Call library initializer with
7446 correct command line arguments and environment information.
7447 * elf/rtld.c (dl_main): Provide arguments to initializer of
7450 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
7452 * shadow/Makefile (routines): Add lckpwdf.
7453 * shadow/lckpwdf.c: New file.
7455 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
7456 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
7458 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
7460 * configure.in: Add definition for `__eh_pc' and `__throw' in
7461 test for --no-whole-archive. The compiler generates dependencies
7462 for this but none of the standard librares and startup files
7463 are used. Necessary for gcc >= ss-960816.
7465 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
7467 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
7468 return string since string might be on stack.
7469 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
7470 Wed Aug 21 10:14:59 1996.
7471 * elf/dlerror.c (dlerror): Free error string after printing.
7472 (_dlerror_run): If error string was not printed since last error
7474 * rtld.c (dl_main): Free error string in case of error.
7476 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
7478 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
7479 this changes the global state for `localtime' and `gmtime'. Use
7480 `__localtime_r'/`__gmtime_r' instead.
7481 * resolv/res_debug.c (__p_secstodate): Likewise.
7482 * sysdeps/generic/ftime.c: Likewise.
7483 * sysdeps/posix/gettimeofday.c: Likewise.
7484 Reported by Paul Eggert.
7486 * time/gmtime.c: De-ANSI-fy.
7487 * time/strftime.c: Don't call non-reentrant functions which change
7490 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
7492 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
7493 than putting it on the stack.
7495 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
7497 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
7498 don't find .plt entries.
7500 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7502 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
7505 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
7507 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
7509 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
7511 * login/pututline_r.c (__pututline_r): Fix handling of case where
7512 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
7514 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
7516 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
7517 for "Jensen" so _bus_base() returns 0 on that platform. Use
7518 _bus_base_sparse() to determine base address of sparse memory.
7520 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
7521 and declarations in __BEGIN_DECLS/__END_DECLS.
7523 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
7525 * err.h: New file. Wrapper around misc/err.h.
7527 Correct solution of multiple initialization problem by
7529 * csu/initfini.c: Remove global variable __libc_is_static.
7530 * elf/rtld.c: Introduce new global variable _dl_starting_up.
7531 It's nonzero during the startup.
7532 * elf/dl-open.c (_dl_open): When _dl_start function is not
7533 available (i.e., if in static libc) set `__libc_multiple_libcs'
7535 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
7536 New global variable.
7537 (init): Undo change of Fri Aug 2 03:12:40 1996.
7538 Initialize `__libc_multiple_libcs' to nonzero only if this is
7539 a shared lib called from a statically linked program and don't
7540 call `personality' and `setfpucw' in this case either.
7541 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
7542 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
7543 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
7544 before jumping to user code.
7545 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7547 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
7549 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
7550 Thu Aug 8 12:40:20 1996.
7551 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
7552 -fkeep-inline-functions flag instead.
7554 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7556 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
7557 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
7558 like ECONNREFUSED already does.
7559 (_nss_dns_gethostbyaddr_r): Likewise.
7560 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7561 (_nss_dns_getnetbyaddr_r): Likewise.
7563 * sysdeps/mach/hurd/socket.c (socket): For message transmission
7564 and RPC errors that indicate that the socket server is not really
7565 present and able to do its job, turn the error into EPFNOSUPPORT.
7567 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
7569 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
7570 name dynamically. Reported by Alan Cox.
7571 Uncomment warnings and mark as translatable.
7573 * time/strftime (strftime): Add implementation for %s and %z
7574 format. Change behaviour for unknown format character: now
7575 simply print it. This matches the behaviour of printf.
7576 Reported by Jim Meyering.
7577 * manual/time.texi: Document all formats and flags of strftime.
7579 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
7581 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
7584 * misc/sys/select.h: Define fd_set using typedef, not #define.
7585 Proposed by David Mosberger-Tang.
7587 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
7589 * po/header.pot: Use real description line.
7591 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
7593 * elf/rtld.c (dl_main): When started with --verify prevent
7594 any warning. Just exit with an error.
7595 * elf/ldd.sh.in: Don't run given object directly. This fails for
7596 libraries. Instead use $RTLD again.
7598 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
7600 * manual/nss.texi: New file. Document NSS.
7601 * manual/nsswitch.texi: New file. Example configuration.
7603 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
7604 * manual/example/strdupa.c: New file. Example for strdupa.
7606 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
7608 * stdlib/strtod.c (STRTOD): Correct assertion about size of
7609 wint_t and wchar_t. Reported by David Mosberger-Tang.
7611 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7613 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
7614 RELOC_ADDR and make NOPLT a set of flags. All callers
7615 changed. Delete condition that checks for resolving to the
7616 location being filled in. Add condition to skip the
7617 executable's symbols if requested.
7618 * elf/link.h: Change declaration of _dl_lookup_symbol
7620 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
7621 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
7623 * elf/dl-runtime.c (RESOLVE): Likewise.
7624 * elf/rtld.c (RESOLVE): Likewise.
7625 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
7626 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
7627 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
7628 reloc, zero otherwise.
7629 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7631 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7633 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
7635 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
7636 * po/header.pot: Add empty line at end.
7638 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7640 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
7641 are now in $P/stdio-common.pot.
7642 (XGETTEXTFLAGS-errlist.pot): Variable removed.
7644 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7646 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
7647 script at run time, not configure time.
7648 * config.make.in, configure.in: Undo previous change.
7650 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
7652 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
7653 on stack as argument for `_exit'. Reported by Andreas Schwab.
7655 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7657 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
7659 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
7661 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
7662 (_dl_map_object_from_fd): Free name on error.
7664 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
7666 * string/strdup.c: Use result of memcpy to avoid reloading.
7668 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7670 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
7671 the other way round.
7673 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
7675 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
7678 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
7680 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
7682 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
7685 Update from bind-4.9.5-T1A.
7686 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
7687 inet_net_pton, inet_net.
7689 * resolv/gethnamaddr.c: Include <sys/types.h>.
7690 * resolv/getnetnamadr.c: Likewise.
7691 * resolv/herror.c: Likewise.
7692 * resolv/inet_addr.c: Likewise.
7693 * resolv/nsap_addr.c: Likewise.
7694 * resolv/res_comp.c: Likewise.
7695 * resolv/res_data.c: Likewise.
7696 * resolv/res_init.c: Likewise.
7697 * resolv/res_mkquery.c: Likewise.
7698 * resolv/res_query.c: Likewise.
7699 * resolv/res_send.c: Likewise.
7701 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
7703 * resolv/inet_ntop.c: Likewise.
7705 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
7706 Remove prototype of gethostbyname_ipv4.
7708 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
7709 functions instead of BSD `b*' functions.
7711 * resolv/nsap_addr.c: Add copyright message.
7713 * resolv/res_comp.c: Remove comment explaining label format.
7714 (res_mailok): Correct check.
7716 * resolv/res_debug: Include missing headers.
7717 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
7718 (__p_fqnname): New function to print FQDN from compressed name.
7719 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
7720 correctly. Add handling of T_KEY and T_SIG.
7721 Handle class and type names by using name arrays instead of
7722 explicit `switch'es.
7723 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
7724 (__dn_count_labels, __p_secstodate): New functions.
7726 * resolv/resolv.h (__RES): Update version number.
7727 (res_sym): New type.
7728 Add #defines for new functions.
7729 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
7730 __p_secstodate, dn_count_labels.
7732 * resolv/arpa/nameser.h (__BIND): Update version number.
7733 Add KEYFLAG_* and ALGORITHM_* symbols.
7734 (HEADER): Add `ad' and `cd' flags.
7736 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
7739 * manual/maint.texi: Document that we use bind-4.9.5.
7742 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
7744 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
7746 * mach/Makefile (mach/mach_host.uh): Depend on
7747 $(objpfx)/mach-syscalls.mk.
7748 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
7749 (This fixes a make loop; thanks to Marcus Daniels
7750 <marcus@sysc.pdx.edu> for the patch.)
7752 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
7754 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
7755 buffer is any longer than the amount necessary to hold the
7756 filename; the Hurd getcwd uses the *entire* contents of the
7757 buffer, however long it is specified to be.
7759 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
7761 * nss/nsswitch.c (__nss_database_lookup): Always release locks
7762 before returning. Reported by Miles Bader.
7764 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
7766 * nss/nsswitch.c (__nss_configure_lookup): New function.
7767 Allows to specify services.
7768 * nss/XXX-lookup.h: Rename database variable and make global.
7769 * nss/databases.def: New file. Real names of all databases.
7771 * nss/nss.h: New file. Contains declaration useful for users
7772 and service developers.
7773 * nss/nsswitch.h: Move some declarations to nss/nss.h.
7774 * nss.h: New file. Wrapper around nss/nss.h.
7776 * nss/Makefile (headers): Add nss.h.
7777 (distributes): Add databases.def.
7779 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
7781 Help the poor people with fast machines by making sure only
7782 one `ar' commands works on the library.
7783 * autolock.sh: New file. Written by Tom Tromey.
7784 * Makerules (do-ar): Call autolock.sh shell script instead of
7785 directly using `ar'.
7786 * config.make.in: Make configuration variable AUTOLOCK which
7787 gets initialized by configure.
7788 * configure.in: Define variable AUTOLOCK to point to autolock.sh
7789 script and mark it to substitute.
7791 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
7793 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
7794 always only if in static libc or if statically linked program
7797 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
7798 always only if in static libc or if statically linked program
7801 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
7803 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
7804 startup by moving Icache flush from here ...
7805 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
7806 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
7808 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
7809 calling conventions. The code is already correct.
7811 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
7813 * string/Makefile: Compile tester with -fno-builtin as we want to
7814 test our implementations, not gcc's.
7816 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
7818 * shadow.h: New file.
7820 * sysdeps/unix/sysv/linux/netinet/in.h: Move
7821 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
7824 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
7825 g++ 2.7.2 (and earlier) has no transparent unions support.
7827 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
7829 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
7830 function to determine the base address of sparse bus memory.
7831 (APECS_*): Rename to CIA_*.
7832 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
7833 (platform): Add sparse_bus_memory_base member and initialize.
7834 (sparse_bus_memory_base): New variable.
7836 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
7838 * sysdeps/posix/ttyname_r.c (ttyname_r),
7839 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
7840 !__isatty(fd) (POSIX.1 says so.)
7842 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
7843 This is not a gross hack, after all---for compatibility,
7844 getlogin() really should check fd 0 only and not try to base its
7845 operation on the controlling tty.
7847 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
7849 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
7850 change utmp_data from static to auto.
7852 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
7854 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
7855 Reported by David Mosberger-Tang.
7857 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
7859 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
7860 alias to `__isnanl'.
7862 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
7864 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
7865 get `struct timeval'.
7866 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
7867 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
7868 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
7869 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
7870 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
7871 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
7873 * io/fts.h: Include <sys/types.h> to get dev_t.
7874 Reported by Matthias Urlichs.
7876 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
7877 _IO_file_flags. It's the same as _flags.
7878 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
7880 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7882 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
7884 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
7886 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
7887 * pwd/getpwent_r.c: Likewise.
7888 * pwd/getpwnam.c: Likewise.
7889 * pwd/getpwnam_r.c: Likewise.
7890 * pwd/getpwuid.c: Likewise.
7891 * pwd/getpwuid_r.c: Likewise.
7893 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
7894 * grp/getgrent_r.c: Likewise.
7895 * grp/getgrgid.c: Likewise.
7896 * grp/getgrgid_r.c: Likewise.
7897 * grp/getgrnam.c: Likewise.
7899 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
7900 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
7901 * pwd/Makefile (routines): Add fgetpwent_r.
7902 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
7904 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
7905 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
7906 * grp/Makefile (routines): Add fgetgrent_r.
7907 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
7909 Implement shadow password lookup functions. This is no complete
7910 shadow password suite.
7911 * shadow/Makefile: New file.
7912 * shadow/fgetspent.c: New file.
7913 * shadow/fgetspent_r.c: New file.
7914 * shadow/getspent.c: New file.
7915 * shadow/getspent_r.c: New file.
7916 * shadow/getspnam.c: New file.
7917 * shadow/getspnam_r.c: New file.
7918 * shadow/putspent.c: New file.
7919 * shadow/sgetspent.c: New file.
7920 * shadow/sgetspent_r.c: New file.
7921 * shadow/shadow.h: New file.
7922 * shadow/spwd-lookup.c: New file.
7923 * shadow/nss_files/files-spwd.c: New file.
7925 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
7927 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
7928 call is only a stub.
7929 Reported by Matthias Urlichs.
7931 * Makeconfig [!default_cflags]: Change default value from `-g'
7934 * configure.in: Recognize i686.
7935 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
7937 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
7939 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
7940 value of CFLAGS-.o, not CFLAGS-o.
7942 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
7943 pointer to ourself. Otherwise `gcc -O3' optimized init away.
7945 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
7947 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
7948 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
7950 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
7952 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
7953 to 0x137f to allow long double operations.
7955 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
7959 * nss/nsswitch.c (_res): Remove redundant variable definition.
7960 The real one is in resolve/res_init.c, and having both prevents
7961 using -fno-common when building the shared library.
7962 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
7964 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
7965 a .bss object not a COMMON symbol.
7967 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
7968 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
7972 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
7973 main loop for better dual-issue on EV5. Rearrange binary search to
7974 pipeline better and trim one instruction.
7978 * time/localtime.c (localtime_r): Move lock declaration back next to
7979 the comment where it was before the 960724 change.
7981 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
7982 The second word is supposed to be the hardware manufacturer.
7984 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
7985 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
7987 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
7989 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
7990 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
7991 Same cleanups as with EV4 GMP stuff.
7993 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
7995 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
7996 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
7997 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
7999 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
8001 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
8004 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
8006 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
8008 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8011 * socket/sys/socket.h (send, __send, sendto): Declare buffer
8014 * string/tester.c (main): Test stpncpy.
8016 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
8017 segfault when called with an N that is not a multiple of four and
8020 * misc/syslog.c (LogType): New variable.
8021 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
8022 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
8024 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
8025 terminator as a record-delimiter. If __send(LogFile) fails,
8026 call closelog() so logfile gets re-opened next time.
8028 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
8030 * elf/dl-open (_dl_open): Add cast to avoid warning.
8032 * manual/memory.texi: Improve some examples to give readers better
8033 advice: Use `stpcpy' instead of `strcat' if possible.
8034 * manual/string.texi: Document `strtok_r' and `strtok'.
8036 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
8038 [$(cross-compiling)=no]: Change test before making librpcsvc
8039 to this from $(cross-compile).
8040 Reported by Andreas Schwab.
8042 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
8044 * elf/Makefile (routines): Move dl-sysdep to here...
8045 (rtld-routines): ...from here. This should make static linking
8048 * locale/setlocale.c: Add local variable `lock' and add code to
8049 `setlocale' to avoid simultaneous changing of global data.
8051 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
8052 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
8053 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
8054 of unprotected names.
8056 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
8058 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
8059 This requires to rename several functions to use __ protected
8061 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
8063 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
8064 and make old name a weak alias.
8065 * sysdeps/mach/hurd/getrlimit.c: Likewise.
8066 * sysdeps/mach/hurd/opendir.c: Likewise.
8067 * sysdeps/mach/hurd/readdir.c: Likewise.
8068 * sysdeps/stub/closedir.c: Likewise.
8069 * sysdeps/stub/opendir.c: Likewise.
8070 * sysdeps/stub/readdir.c: Likewise.
8071 * sysdeps/unix/closedir.c: Likewise.
8072 * sysdeps/unix/opendir.c: Likewise.
8073 * sysdeps/unix/readdir.c: Likewise.
8075 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
8077 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
8078 `__closedir' instead of unprotected names.
8080 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
8081 instead of `isatty' since later is not part of ISO C.
8082 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
8083 `open' since later is not part of ISO C.
8085 * login/endutent.c (endutent): Call `__endutent_r', not
8087 * login/endutent_r.c: Rename defined function to `__endutent_r',
8088 make `endutent_r' weak alias.
8089 * login/getutent.c (getutent): Call `__getutent_r', not
8091 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
8092 * login/getutid_r.c: Rename defined function to `__getutent_r',
8093 make `getutent_r' weak alias.
8094 * login/getutline.c (getutline): Call `__getutline_r', not
8096 * login/getutline_r.c: Rename defined function to `__getutline_r',
8097 make `getutline_r' weak alias.
8098 * login/pututline_r.c: Rename defined function to `__pututline_r',
8099 make `pututline_r' weak alias.
8100 * login/setutent.c (setutent): Call `__setutline_r', not
8102 * login/setutent_r.c: Rename defined function to `__setutline_r',
8103 make `setutline_r' weak alias.
8104 Rename `utmpname' to `__utmpname' and make former weak alias.
8105 (__utmpname): Call `__strdup', not `strdup'.
8106 * login/utmp.h: Add prototypes for name space clean reentrant
8108 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
8109 and `__endutent_r' instead of unprotected names.
8111 * math/math.h: Add prototype for `__matherr'.
8112 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
8115 * nss/getXXbyYY.c: Call __ protected reentrant function.
8116 * nss/getXXent.c: Likewise.
8117 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
8118 name. Make usual name a weak alias.
8119 * nss/getXXent_r.c: Likewise.
8121 * posix/unistd.h: Add prototype for `__ttyname_r'.
8122 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
8123 and make `ttyname_r' a weak alias.
8125 * resource/sys/resource.h: Add prototype for `__getrlimit'.
8126 * sysdeps/stub/getrlimit.c: Prepend function name with __
8127 and make old name a weak alias.
8128 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
8129 and make `getrlimit' weak alias.
8131 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
8132 * libc/stdio/vscanf.c: De-ANSI-fy.
8133 Rename function to `__vscanf' and make `vscanf' a weak alias.
8134 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
8137 * stdio-common/reg-printf.c: De-ANSI-fy.
8138 Rename function to `__register_printf_function' and make
8139 `register_printf_function' weak alias.
8141 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
8144 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
8145 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
8146 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
8147 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
8148 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
8150 * wcsmbs/mbsrtowcs.c: Likewise.
8151 * wcsmbs/wcrtomb.c: Likewise.
8152 * wcsmbs/wcsrtombs.c: Likewise.
8153 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
8155 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
8156 instead of `sigprocmask'.
8159 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
8160 version getgrent_r, getgrgid_r, and getgrnam_r.
8161 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
8162 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
8164 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
8167 * misc/error.c (private_strerror): Translate messages from table,
8170 * io/fcntl.h: Pretty printing.
8171 * misc/fstab.h: Likewise.
8172 * misc/ttyent.h: Likewise.
8173 * resource/sys/resource.h: Likewise.
8174 * string/argz.h: Likewise.
8175 * string/envz.h: Likewise.
8177 Add support for symbols from POSIX.1c (POSIX threads).
8178 * posix/getconf.c: Handle new sysconf symbols.
8179 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
8180 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
8181 * sysdeps/generic/confname.h: Define new symbols.
8182 * sysdeps/posix/sysconf.c: Handle new symbols.
8183 * sysdeps/stub/sysconf.c: Ditto.
8184 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
8187 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
8188 have real prototype.
8190 * sysdeps/generic/resourcebits.h: Add macro definition for
8191 RLIMIT_* values. Some sources test using #ifdef whether specific
8193 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
8194 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
8195 separate files for the architectures.
8196 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
8197 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
8198 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
8199 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
8201 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
8202 and only default on `OPEN_MAX'.
8203 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
8206 * time/Makefile (routines): Add ctime_r.
8207 * time/asctime.c: Add implementation of `asctime_r'. Make
8208 `asctime' implementation based on reentrant version.
8209 * time/ctime_r.c: New file.
8210 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
8213 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8215 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
8216 (_nl_C_LC_CTYPE): Fix ordering.
8217 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
8220 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
8222 * csu/initfini.c: Discover the maximum alignment generated by the
8223 compiler when emitting a function.
8224 (_init): Make sure the end of the crti fragment is aligned.
8227 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
8229 * initfini.c: (__libc_is_static): New variable. Will be
8230 initialized in init-first.c. Some actions in the libc work
8231 different when libc is static or dynamic.
8233 * sysdeps/unix/sysv/linux/init-first.c (init): Use
8234 `__libc_is_static' variable to determine whether call to
8235 `personality' and `setfpucw' is necessary. When done set variable
8236 to +-1 depending on library type.
8238 * locale/setlocale.c (setlocale): Use global variable
8239 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
8240 determine whether it's a SET[UG]ID program.
8242 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
8244 * Version 1.93 test release.
8246 * manual/Makefile: Use -include for chapters-incl too.
8248 * Makeconfig (+link): Add back start.o, mistakenly removed in last
8251 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8253 * nss/Makefile (generated): Add db-*.c.
8255 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
8256 using #include_next.
8258 * configure.in (--enable-add-ons): Quote m4 macro args.
8260 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
8262 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
8264 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
8266 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
8268 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
8271 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
8272 warning when inline function is elided.
8273 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
8274 (elf_machine_runtime_setup): Likewise.
8275 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
8276 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
8277 (elf_machine_load_address): Likewise.
8279 * catgets/gencat.c: Include <locale.h>.
8281 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
8283 * login/logwtmp.c (logwtmp): Call time, not __time.
8285 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
8286 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
8287 * login/logwtmp.c (logwtmp): Likewise.
8289 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
8290 comparing ioctl macro values.
8292 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
8294 * manual/Makefile: Use -include for chapters to suppress warning.
8296 * sysdeps/stub/socket.c: Fix type of TYPE arg.
8297 * sysdeps/stub/socketpair.c: Likewise.
8299 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
8301 * sysdeps/generic/sysdep.h: New file, broken out of ...
8302 * sysdeps/unix/sysdep.h: ... here.
8303 (C_LABEL): Moved out.
8305 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
8306 stick to sed. Do `exit 0' at end because while returns nonzero.
8308 * sysdeps/i386/sysdep.h: New file, broken out of ...
8309 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
8311 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
8312 They are defined unconditionally in libio/stdio.h.
8314 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
8315 * elf/dl-cache.c: Likewise.
8317 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
8319 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
8320 (sysdep_headers): Add sys/sysmacros.h.
8321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
8323 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
8325 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
8326 tcgetattr. We have weak aliases now.
8327 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
8328 "optimizations" for random functions.
8330 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8332 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
8333 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
8334 redefinition warning.
8336 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8338 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
8341 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8343 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
8346 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
8348 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
8350 Reported by Richard Henderson <rth@tamu.edu>.
8352 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8354 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
8357 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
8359 * locale/setlocale.c (setlocale): Don't try to free C locale
8361 Reported by Matthias Urlichs.
8363 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
8365 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
8366 (open_file): New function, contents mostly from __open.
8367 (_dl_sysdep_read_whole_file): New function.
8369 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
8371 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
8372 `..' dots in sed search string.
8374 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8376 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
8379 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8381 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
8382 in those directories.
8383 * config.make.in (add-ons): New varaible, set from @subdirs@.
8384 * Makefile (subdirs): Added $(add-ons) at the end.
8386 * time/strftime.c (strftime: do_number): Initialize PRINTED to
8387 MAXDIGITS in case P is null and so sprintf is never actually called.
8389 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
8391 Add support for the to-be-written internationalized regexp.
8392 This code must be able to use collation symbols and collation
8394 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
8395 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
8396 New global variables for collation classes.
8397 * locale/categories.def: Add new descriptions for collation symbols
8398 and collation classes.
8399 * locale/langinfo.h: Add constants for collation symbols and
8401 * locale/lc-collate.c: Add new global variables for collation symbols
8402 and collation classes.
8403 (_nl_postload_collate): Initialize new variables.
8404 * locale/programs/ld-collate.c: Add code to emit tables for
8405 collation symbols and collation classes.
8406 * locale/programs/locales.h: Change prototype for `collate_output'.
8407 * locale/programs/locfile.c (write_all_categories): Call
8408 `collate_output' with new argument.
8409 * locale/localeinfo.h: Add declaration for new global vars.
8410 (union locale_data_value): New member wstr for `wchar_t' strings.
8411 * locale/programs/locale-spec.c: Handle `collate-classes'
8412 keyword and print information about available collation classes.
8413 * locale/strlen-hash.h: New file. Simple hashing function which
8414 takes a string with known length.
8415 * locale/Makefile (distribute): Add strlen-hash.h.
8416 (locale-modules): New var. Additional files for `locale' program.
8418 * locale/C-ctype.c: Rewrite to avoid using string for giving values
8419 which are of type `u_int32_t'.
8420 Correct entry for EOF in toupper and tolower tables.
8422 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
8425 * locale/programs/ld-ctype.c (ctype_output): Add code to make
8426 sure that all tables in binary file are word-aligned.
8428 * locale/programs/locfile.c (write_locale_data): Correct handling
8429 of LC_MESSAGES locale. Create directory if necessary.
8431 * locale/setlocale.c (setlocale): Add cast to avoid warning.
8433 * string/string.h: Add prototype for `__strndup'.
8435 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8437 * wcsmbs/mbrtowc.c: Remove unused variable.
8439 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8441 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
8442 2.0.10; some problems were reported with an earlier version, and this
8443 one is known to work.
8445 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
8446 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8448 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
8450 * elf/rtld.c (dl_main): Ignore arguments when environment variable
8451 LD_TRACE_LOADED_OBJECTS is set.
8453 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8455 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
8456 __libc_enable_secure instead of _dl_secure.
8457 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
8458 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
8460 * elf/Makefile (routines): Add enbl-secure.
8461 (elide-routines.so): Here too.
8462 * sysdeps/generic/enbl-secure.c: New file.
8463 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
8464 * elf/dl-support.c (_dl_secure): Variable removed.
8465 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
8467 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
8469 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8470 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
8471 compiler doesn't elide it.
8472 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
8474 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8476 * elf/rtld.c (dl_main): Take new option --verify when run directly.
8477 In verify mode, exit with status zero iff the argument object's
8478 PT_INTERP matches argv[0].
8479 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
8480 exits with zero status. This makes `ldd' secure again.
8482 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
8484 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
8485 environment variable handling. This makes the dynamic linker
8486 only print loaded libraries and quit.
8488 * elf/ldd.sh.in: Don't use `rtld --list' but instead
8489 LD_TRACE_LOADED_OBJECTS environment variable to print needed
8492 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8494 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
8495 after printing version until after doing usage for --help.
8496 (long_options, main, usage): Rename -l/--lowercase option to
8497 -f/--fold-case (-f matches sort).
8499 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
8501 * db/makedb.c: New file. Implement program to create simple <db.h>
8502 database from textual input. This will be used for nss_db.
8504 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8506 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
8507 * sunrpc/rpc/pmap_clnt.h: Likewise.
8508 * sunrpc/rpc/auth.h: Likewise.
8509 * sunrpc/rpc/pmap_rmt.h: Likewise.
8510 * sunrpc/rpc/rpc_msg.h: Likewise.
8512 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
8514 * string/string.h (strndupa): Change to use return value of
8515 `memcpy' for more performance.
8516 * string/strndup.c: Likewise.
8518 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
8519 This might lead to problems.
8520 (strndupa): Likewise.
8522 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
8524 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
8525 and change K&R prototypes to ANSI prototypes.
8526 * sunrpc/rpc/auth_unix.h: Ditto.
8527 * sunrpc/rpc/clnt.h: Ditto.
8528 * sunrpc/rpc/pmap_clnt.h: Ditto.
8529 * sunrpc/rpc/pmap_prot.h: Ditto.
8530 * sunrpc/rpc/pmap_rmt.h: Ditto.
8531 * sunrpc/rpc/rpc_msg.h: Ditto.
8532 * sunrpc/rpc/svc.h: Ditto.
8533 * sunrpc/rpc/svc_auth.h: Ditto.
8534 * sunrpc/rpc/xdr.h: Ditto.
8536 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8538 * ctype/test_ctype.c: Test EOF too.
8540 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
8542 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
8543 * sunrpc/rpc/auth_unix.h: Likewise.
8544 * sunrpc/rpc/clnt.h: Likewise.
8545 * sunrpc/rpc/netdb.h: Likewise.
8546 * sunrpc/rpc/pmap_clnt.h: Likewise.
8547 * sunrpc/rpc/pmap_prot.h: Likewise.
8548 * sunrpc/rpc/rpc_msg.h: Likewise.
8549 * sunrpc/rpc/svc.h: Likewise.
8550 * sunrpc/rpc/svc_auth.h: Likewise.
8551 * sunrpc/rpc/xdr.h: Likewise.
8553 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
8555 * sunrpc/pmap_rmt.c: ...here.
8557 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
8559 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
8561 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
8564 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8566 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
8567 <kkojima@info.kanagawa-u.ac.jp>.
8569 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
8571 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
8572 defined, not __OPTIMIZED.
8573 (_nl_msg_cat_cntr): Move declaration outside macro definition
8574 to prevent "nested extern" warning.
8575 (dcgettext): Rename local variable `result' to `__result'.
8577 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8579 * locale/programs/localedef.c (__progname): Remove decl.
8580 (main): Use program_invocation_short_name instead of __progname.
8581 (usage): Use program_invocation_name instead of __progname.
8583 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
8585 * catgets/gencat.c: Use "libc" instead of PACKAGE.
8586 * locale/localedef.c: Ditto.
8587 * locale/locale.c: Ditto.
8589 * locale/findlocale.c (_nl_find_locale): Little optimization.
8590 Use new function `strndup'.
8592 * locale/loadlocale.c: Little optimization. Use constant value
8593 from `_nl_category_num_items' instead of byte-order dependend
8596 * locale/programs/ld-time.c (time_add): Correct string constant.
8598 * locale/programs/locale-spec.c: New file.
8599 * locale/programs/locale.c: Call `locale_special' function if
8600 no other field matches.
8602 * locale/programs/localedef.c: No need to define `program_name'.
8603 Use global variable `__progname'.
8605 * locale/programs/locfile.c (write_locale_data): Always write
8606 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
8607 necessary since message catalogs are also installed in the
8608 LC_MESSAGES/ directory.
8610 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
8611 function instead of writing single bytes.
8612 (encode_char): Also handle little endian.
8614 * locale/setlocale.c (new_composite_name): Little optimization.
8615 Use return value of `memcpy'.
8617 * misc/ttyent.h: Pretty print prototypes, add missing parameter
8618 names, prepend parameter names with __ and use `__const' instead
8620 * posix/unistd.h: Ditto.
8621 * stdlib/stdlib.h: Ditto.
8622 * string/string.h: Ditto.
8624 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
8625 Use `error' function instead of doing it by hand.
8626 * sysdeps/posix/sysconf.c: De-ANSI-fy.
8627 Handle _SC_COLL_WEIGHTS_MAX.
8628 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
8629 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
8630 since these do not depend on the platform.
8631 Add POSIX.4 symbols.
8633 * posix/posix2_lim.h: Add missing definition of
8634 _POSIX2_COLL_WEIGHTS_MAX.
8635 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
8636 to high values since we have no fixed limit.
8638 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
8639 _SC_PAGESIZE for buggy systems (= HP UX) out there.
8641 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
8642 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
8643 * wcsmbs/wcsnrtombs.c: Ditto.
8644 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
8647 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
8649 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
8651 * nss/getXXent_r.c: Likewise.
8652 * nss/nsswitch.c: Likewise.
8653 * nss/nss_files/files-XXX.c: Likewise.
8654 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
8655 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
8656 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
8658 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8660 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
8661 macro, now put the needed Linux version just once, here; update to
8662 needing linux-2.0.3 headers.
8663 (libc_cv_linuxVER): New macro derived from that.
8664 (kernel header check): Use those macros and some m4 magic to replace
8665 hard-coded `201' and `2.0.1' in several places.
8667 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
8669 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
8671 * time/localtime.c: Move lock variable declaration to end of
8672 variable declarations since if is a dummy macro the ; at the
8673 end terminates the variable section of the function.
8675 * time/tzset.c: Undefine `tzset' before function declaration.
8676 Use `weak_function' macro instead of `weak_symbol'.
8678 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
8680 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
8683 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
8685 * locale/C-ctype.c: Increment number of fields after change
8686 from Wed Jun 19 03:24:58 1996.
8688 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8690 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
8691 ($(common-objpfx)libc.so): Move deps into that, use it.
8692 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
8693 $(rpcuserlibs:.so=_pic.a).
8694 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
8697 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8699 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
8700 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
8702 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
8704 * locale/iso-4217.def: Add India to comment for symbol "INR ".
8705 Reported by Raja R Harinath <harinath@cs.umn.edu>.
8707 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8709 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
8712 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8714 * time/tzset.c: Include <libc-lock.h>.
8715 (__tzset_lock): New lock variable.
8716 (tzset): New function (weak defn), no longer weak alias for __tzset.
8717 Call __tzset while holding __tzset_lock.
8718 * time/localtime.c: Include <libc-lock.h>.
8719 (__localtime_r): Hold __tzset_lock while doing the work.
8721 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
8722 from [!HAVE_GNU_LD] to [!_LIBC].
8723 [_LIBC]: Include <libc-lock.h> and define a lock.
8724 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
8725 (setenv, unsetenv): Use them.
8727 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
8729 * locale/programs/locfile.c (write_locale_data): Deal with missing
8732 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
8733 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
8735 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8737 Win32 hacks from <Rob_Tulloh@tivoli.com>.
8738 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
8739 use void * for my_realloc; include <malloc.h> for alloca.
8740 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
8741 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
8742 * posix/glob.h: Likewise.
8744 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
8746 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
8747 call __io_select unless there's only a single descriptor, as each
8748 descriptor now has its own reply port.
8749 If there is only a single descriptor, just use its reply port for
8750 everything and don't bother creating the port set.
8752 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
8753 <unistd.h>: New include.
8755 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
8758 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8760 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
8761 from the USA any software that even makes it easy to drop in an
8762 encryption module of foreign origin.
8763 * Makerules (cryptobjdir): Variable removed.
8764 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
8765 * Makefile (subdirs): Remove crypt.
8767 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
8769 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
8770 operator to yesexpr and noexpr string.
8772 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
8774 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
8775 old code would have failed on a big-endian 64-bit architecture).
8776 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
8778 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
8779 (xdr_u_long): Use switch instead of chain of if-statements.
8780 Remove gratitous parentheses around return expressions.
8781 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
8783 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
8785 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
8788 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8790 * dlfcn.h, db.h: New wrapper headers.
8792 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
8793 for `struct stat;' forward decl.
8795 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
8797 * locale/iso-4217.def: Add some more standardized currency
8800 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8802 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
8804 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
8806 * Rules (dummy.o, empty.o): Targets removed.
8807 (dummy.c, empty.c): New targets replace them.
8809 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8811 * crypt/Makefile (lib-noranlib): Depend on
8812 $(objpfx)libcrypt.so$(libcrypt.so-version).
8815 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
8817 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
8818 check. mib's clueless hacking broke it.
8820 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8822 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
8824 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
8826 * misc/sys/ustat.h: New file.
8827 * misc/ustat.h: Ditto.
8828 * sysdeps/generic/ustatbits.h: Ditto.
8829 * sysdeps/stub/ustat.c: Ditto.
8830 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
8831 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
8833 (routines): Mention ustat.
8835 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
8836 * sysdeps/alpha/elf/start.S: here.
8838 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
8839 alphabetically correct place. Mention ustat.
8841 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
8842 common symbol (makes errno accessible from gdb).
8844 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
8847 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
8848 record always gets appended at end of file (wtmp is a log file,
8849 after all). Set ut_type to DEAD_PROCESS if name is empty.
8851 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
8852 separate loop from search for UT_ID. Fix code so it is in
8853 sync with Unix man page.
8855 * login/getutline_r.c (getutline_r): Stop searching only if
8856 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
8858 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
8860 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
8861 avoid duplicate declarations.
8863 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
8865 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
8866 and alpha-gnu-linuxecoff targets.
8868 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
8870 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
8872 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
8874 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
8877 * resolv/res_comp.c (res_hnok): Use empty statement in place
8878 of NULL (which generates a "useless expression" warning in
8881 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
8883 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
8884 with $(..) in output.
8886 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8888 * elf/Makefile (dl-routines): Add dl-cache.
8889 * elf/dl-cache.c: New file.
8890 * elf/dl-load.c (_dl_map_object): Check cache before default path.
8892 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
8894 * stdio-common/vfscanf.c: Major change. Now read character
8895 from stream only if needed. Before it was read after the
8896 previous character was used.
8897 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
8899 * stdio-common/tstscanf.c: Change test program so that return
8900 value is != 0 if one test failed.
8902 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8904 * sysdeps/m68k/Makefile (crypt): Variable removed.
8905 * sysdeps/sparc/Makefile: Likewise.
8907 * version.h (VERSION): Update to 1.93.
8909 * Makerules ($(libdir)/libc.so): Depend on
8910 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
8912 * crypt/nocrypt.c: New file.
8913 * Makefile (subdirs): Add crypt.
8914 * crypt/Makefile: New file.
8916 * Makerules (soversions.mk): Move this target, include of it, and
8917 include of version.mk to ...
8918 * Makeconfig: ... here.
8919 (soversions.mk): Depend on Makeconfig instead of Makerules.
8921 * shlib-versions (*-*-*): Set libcrypt=0.
8923 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
8925 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
8926 word extends right up to rmargin.
8928 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
8929 output the wrap margin, set point_col to wmargin.
8930 Use negative point_col to deal with a wmargin of 0.
8931 (line_wrap_point): Return 0 for a negative point_col.
8932 (line_wrap_stream): Make wmargin ssize_t.
8933 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
8935 (line_wrap_stream): Make wmargin ssize_t.
8936 (line_wrap_point): Return 0 for a negative point_col.
8938 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8940 * shlib-versions (*-*-gnu*): Set libc=0.0
8942 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8944 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
8945 sysdeps/i386/dl-machine.h.
8947 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
8949 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
8950 to fiddle __put_limit in conjunction with __linebuf_active.
8952 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8954 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
8955 to the strong name, not the file name.
8957 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8959 * csu/initfini.c: More magic. Detect if .end is produced and put it
8960 in the output iff the compiler does.
8962 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
8963 because that is broken on alpha.
8965 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
8968 * Makerules (make-link): Install the new link with atomic mv -f in
8969 case ln itself requires the library being installed.
8971 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
8973 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
8974 i386/dl-machine.h of 960713.
8976 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
8977 (_dl_sysdep_read_whole_file): Fix result variable declaration.
8979 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8981 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
8984 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
8986 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
8987 with pointer to local variable instead of NULL.
8989 1996-07-15 Paul Eggert <eggert@twinsun.com>
8991 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
8993 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8995 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
8996 that are already added by other means.
8998 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
8999 caller column to get those syscalls added automagically.
9001 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
9003 * login/logout.c (logout): Initialize DATA to a state that will
9004 make setutent_r happy.
9006 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9008 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
9009 instead of setting the DT_DEBUG pointer.
9011 * csu/initfini.c (_init, _fini): Generate .end directives after
9012 standalone prologues and filter them out from epilogues.
9014 * Makeconfig (rtld-installed-name): Set to ld.so.1.
9015 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
9018 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
9020 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
9022 * MakeTAGS (extract): Pass --add-comments=TRANS.
9023 * sysdeps/gnu/errlist.awk: Write comments into the output with the
9024 descriptive paragraphs from the manual preceded by TRANS.
9026 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
9027 (_dl_start): Move RESOLVE defn inside this function and #include
9028 "dynamic-link.h" a second time there.
9029 [RTLD_START]: Move use of this after _dl_start function.
9031 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
9033 * elf/rtld.c: Include <string.h>.
9035 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
9036 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
9037 Conditionalize defns on [RESOLVE].
9038 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9040 Instead use RESOLVE macro with same args.
9041 (elf_machine_rel): Conditionalize defn on [RESOLVE].
9042 * elf/dl-reloc.c (RESOLVE): New macro, define before including
9043 "dynamic-link.h". It replaces `resolve' local function.
9044 * elf/dl-runtime.c: Likewise.
9045 * elf/rtld.c: Likewise.
9047 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
9049 * elf/dl-open.c (_dl_open): Force an indirect call for
9050 _dl_relocate_object so there is no chance a PLT fixup will be done
9051 and clobber _dl_global_scope before our call happens.
9053 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
9054 to =t; must operate on top of fp reg stack, not second from top.
9055 Correct input constraint to 0 from t; must be explicit when input and
9056 output are the same register.
9057 (floor): Use __volatile instead of volatile.
9060 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
9063 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9065 * manual/Makefile (lib): New phony target. Depend on stamp files.
9066 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
9068 1996-07-13 Paul Eggert <eggert@twinsun.com>
9070 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
9071 to match Emacs format-time-string specification.
9072 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
9074 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9076 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
9077 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
9078 between MAP and its deps.
9079 * elf/link.h: Fix decl.
9080 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
9081 colon-separated list of names, map those and pass vector of ptrs as
9082 PRELOADS list to _dl_map_object_deps.
9083 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
9084 _dl_map_object_deps with empty preload list.
9085 * elf/dl-open.c (_dl_open): Likewise.
9087 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
9089 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
9090 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
9091 Conditionalize defn on [! MAP_ANON].
9092 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
9094 * elf/rtld.c (dl_main): Likewise.
9095 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
9096 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
9098 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
9100 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
9102 * stdlib/random.c (__random): Declare as int32_t to be in sync
9105 * socket/Makefile (headers): Add socketbits.h.
9107 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
9110 * grp/initgroups.c (initgroups): Add groups that user is a member
9111 of, not the ones he is _not_ a member of.
9113 * nss/nsswitch.c (known_compare): Make known_compare() a static
9114 instead of a local function. The latter are difficult to debug
9115 and slow to execute on certain platforms.
9117 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
9118 place of sizeof (dev). The size of a literal string includes the
9121 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
9123 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
9125 * misc/mntent.c (addmntent): Seek to end of file before writing
9126 entry. Return 1 on error, not -1.
9128 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
9130 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
9133 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
9135 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
9136 shift amount for Jensen must be 5 not 4.
9138 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9140 * socket/sys/socket.h (struct osockaddr): New type.
9142 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
9144 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
9145 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
9146 and `long double' versions can be generated.
9147 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
9148 so that included efgcvt{,_r}.c file generate `long double'
9150 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
9153 * manual/startup.texi: Document new getsubopt function.
9154 * manual/examples/subopt.c: New example program for documenting
9157 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
9159 * stdlib/Makefile (routines): Add getsubopt.
9160 * stdlib/stdlib.h: Add prototype for getsubopt.
9161 * stdlib/getsubopt.c: New file. Implement getsubopt function
9162 to handle suboption parsing.
9164 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9166 * inet/getnetent_r.c: Define NEED_H_ERRNO.
9167 * inet/getnetbynm_r.c: Likewise.
9168 * inet/getnetent.c: Likewise.
9169 * inet/getnetbyad_r.c: Likewise.
9170 * inet/getnetbyad.c: Likewise.
9171 * inet/getnetbynm.c: Likewise.
9173 * sysdeps/generic/pselect.c: Include <sys/time.h>.
9175 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
9178 * math/Makefile (calls): Add s_frexp, s_ldexp.
9179 (routines): Remove them and &f from here.
9181 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
9183 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
9186 * nss/nss_files/files-XXX.c: Comment fix.
9188 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
9190 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
9191 of reentrant function.
9192 (setup): Pass additional argument with function name we are
9194 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
9195 new argument {SET,END,GET}FUNC_NAME_STRING.
9197 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
9198 we return a pointer.
9200 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9202 * nss/nss_files/files-parse.c: Add comment about things to #define.
9204 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
9206 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
9207 terminator char as an error.
9209 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
9211 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
9213 * catgets/gencat.c (write_out): Move code to determine new
9214 best size out of inner loop.
9216 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
9218 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
9219 implementation of frexp() function.
9220 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
9221 implementation of ldexp() function.
9223 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
9226 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
9228 * misc/mntent.c: Include <sys/types.h>.
9229 (endmntent): Return 1 one success, 0 on failure.
9230 (getmntent): Chop newline and ignore empty lines.
9232 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9234 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
9235 differently based on [RTLD_BOOTSTRAP].
9236 (elf_machine_rela): Use it instead of the fn ptr arg directly.
9238 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9240 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
9241 __glob_closedir_hook): Remove decls.
9243 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
9245 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
9246 for send and connect syscalls.
9248 * socket/sys/socket.h: New file, taken from non-sysdep parts of
9249 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
9250 Declare __ names for send and connect.
9251 * sysdeps/generic/socketbits.h: New file.
9252 * sysdeps/unix/sysv/linux/socketbits.h: New file.
9253 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
9254 * sysdeps/generic/sys/socket.h: File removed.
9256 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
9257 * sysdeps/mach/hurd/send.c: Likewise.
9259 * sysdeps/mach/libc-lock.h: New file.
9260 * sysdeps/unix/readdir.c: Do locking.
9261 * sysdeps/unix/seekdir.c: Likewise.
9262 * sysdeps/unix/rewinddir.c: Likewise.
9263 * sysdeps/unix/closedir.c: Likewise.
9264 * sysdeps/unix/bsd/telldir.c: Likewise.
9265 * sysdeps/mach/hurd/seekdir.c: Likewise.
9266 * sysdeps/mach/hurd/readdir.c: Likewise.
9267 * sysdeps/mach/hurd/closedir.c: Likewise.
9268 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
9269 * sysdeps/unix/opendir.c: Likewise.
9270 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
9271 (struct __dirstream): Add lock member using __libc_lock_define.
9272 * sysdeps/unix/dirstream.h: Likewise.
9274 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
9276 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
9278 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
9280 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
9282 * locale/programs/stringtrans.c: Fix typo in copyright.
9284 * stdio-common/printf-prs.c: Add casts to prevent
9285 signed<->unsigned warnings.
9287 * stdio-common/printf-parse.h: Initialize state variable before
9289 * stdio-common/printf-prs.c: Don't initialize state variable here.
9290 * stdio-common/vfprintf.c: Don't initialize state variable.
9291 (vfprintf): While determining length of multibyte string don't
9292 try to be clever in determining characters to use for first
9295 Add real implementation of multibyte<->wide char conversion
9296 functions. The functions always convert between the fixed wide
9297 char format (ISO 10646 in UCS4) and the UTF8 representation of
9298 this character set. Conversion between the currently used
9299 8bit character set and ISO 10646 will not take place. This is
9300 what iconv() is for.
9301 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
9303 Add optimized version of `mbrlen' function.
9304 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
9306 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
9308 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
9309 This is needed in the wchar.h header.
9310 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
9311 encoded character to UCS4.
9312 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
9313 element of `mbstate_t' for initial state.
9314 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
9315 encoded string to UCS4 string.
9316 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
9317 character to UTF8 encoded form.
9318 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
9319 encoded string to UTF8 encoded form.
9321 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9323 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
9324 variable name, so new a libc with new requirements won't fail to
9325 notice an insufficient Linux version.
9327 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
9329 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
9330 instead of 2.0 headers.
9332 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
9334 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
9335 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
9337 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
9338 before using it in lhs of weak_alias.
9340 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
9341 Call __nss_lookup when not setting STARTP.
9342 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
9343 function-calling loop.
9345 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
9347 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
9348 PENDIN, NOFLSH): Undefine these at start if they are already
9349 defined to avoid collision with termbits.h.
9350 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
9351 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
9353 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9355 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
9356 already defined to float, long double. Use those macros for _Mdouble_
9357 defns when including mathcalls.h.
9358 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
9359 -D_Mlong_double_=double.
9361 Add more -lm functions to -lc because ldexp uses them.
9362 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
9363 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
9364 ldexp have both f and l code, and those have f though not l code.
9366 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
9368 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
9369 error is 0. The "placeholder" entries recently added to
9370 errno.texi convert to zero since `???/' is at the front of them.
9371 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
9373 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
9374 __const to conform with unistd.h.
9376 * stdlib/stdlib.h (random): Declare return type to be int32_t.
9378 * string/argz-delete.c (argz_delete): Use memmove instead of
9379 memcpy for possibly overlapping strings.
9381 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9383 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
9384 storage class. GCC gives an error for non-extern data defns with the
9387 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
9389 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
9390 memmove instead of memcpy for possible overlapping strings.
9392 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9394 * libc-symbols.h (weak_function): New macro.
9395 For GCC 2.7+ define as __attribute__ ((weak)).
9396 * elf/dl-minimal.c: Use weak_function as keyword in function defns
9397 instead of weak_symbol (NAME) after the defn.
9398 * stdlib/strtol.c: Likewise.
9399 * stdlib/strtod.c: Likewise.
9400 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9402 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
9403 If this is defined, don't declare _dl_rtld_map as weak, and
9404 don't check for MAP pointing to it. RESOLVE is always null in this
9405 case, so test with #ifdef instead of if.
9407 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
9409 * csu/initfini.c (_init): Likewise.
9410 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
9411 * misc/efgcvt_r.c: Likewise.
9412 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9413 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9415 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
9416 It was not used in any assembler code.
9417 (weak_symbol_asm): Renamed to weak_extern_asm.
9418 (weak_extern): New macro replaces weak_symbol for weak extern refs;
9419 define to weak_extern_asm for [!ASSEMBLER].
9421 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9423 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
9424 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
9425 define those now as aliases.
9426 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
9427 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
9428 after GCC weak attribute decl.
9430 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
9431 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
9432 (element printer): Check for elt in ALIAS, instead of special case
9435 * io/Makefile (headers): Add sys/vfs.h.
9436 * io/sys/vfs.h: New file.
9438 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
9439 critical section lock before unlinking dying active resources.
9440 The unlock just before return is right (i.e. old code unlocked twice).
9442 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
9444 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
9445 Use memmove instead of memcpy where overlap is possible (not
9446 necessary using current implementation of memcpy, but...).
9447 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
9449 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
9451 * stdio/linewrap.c (lwupdate): New function, mostly was
9452 __line_wrap_update. Use POINT_COL field instead of POINT.
9453 (__line_wrap_output): Use lwupdate.
9454 (__line_wrap_update): New function.
9455 (ensure_unwrapped, ensure_wrapped): New functions.
9456 (line_wrap_set_lmargin, line_wrap_set_rmargin,
9457 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
9459 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
9460 POINT_COL. Add POINT_OFFS field.
9461 (__line_wrap_update): New decl.
9462 (line_wrap_set_lmargin, line_wrap_set_rmargin,
9463 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
9465 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
9467 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
9469 * login/pututline_r.c (pututline_r): Since we assign RESULT from
9470 lseek now, check that it's >= 0, not == 0.
9472 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
9474 * login/login.c (login): Make a copy of *UT, fill in various
9475 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
9478 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
9479 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
9481 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9483 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
9484 signal during critical section doing interruptible RPC, if
9485 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
9486 before thread_resume. If in critical section, pass 0 for SIGNO to
9487 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
9489 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
9491 * sysdeps/unix/sysv/linux/sys/user.h: New file.
9492 * sysdeps/unix/sysv/linux/Dist: Add it.
9493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
9495 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
9496 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
9497 itself, no need to skip past a NUL.
9499 * nss/nsswitch.h (known_function): Comment fix.
9500 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
9501 directly. Do the lookup and insertion with a single call, and fill in
9502 the tree node afterwards if new.
9503 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
9505 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
9506 (struct timeval): Add bodiless decl for scope.
9508 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
9509 Move struct timespec defn outside [_TIME_H] so it can be got with
9510 #define __need_timespec.
9512 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
9513 for `struct timespec' member names.
9514 (TIMESPEC_TO_TIMEVAL): Likewise.
9516 * nss/Makefile (extra-libs-others): New variable.
9518 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
9519 $(lib) in $(extra-libs-others).
9520 * sunrpc/Makefile (extra-libs-others): New variable.
9521 (librpcsvc-no-lib-dep): Variable removed.
9523 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
9524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
9526 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
9527 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
9528 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
9529 _dl_rtld_map weak only here.
9531 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
9533 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
9535 * login/utmp.h: Fix typos.
9537 * misc/syslog.c (vsyslog): Use __send instead of send and
9538 __connect instead of connect to avoid name-space collisions (e.g.,
9541 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9543 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
9545 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
9547 * malloc/malloc-size.c (malloc_usable_size): Renamed from
9548 malloc_object_allocation_size.
9549 * malloc/malloc.h: Fix decl.
9551 * sys/select.h: New file, wrapper header.
9553 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
9554 fd_set, associated macros, and select decl.
9556 * sysdeps/posix/isfdtype.c: New file.
9558 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
9560 The latest Japanese proposal for POSIX locales renames the
9561 CHARMAP keyword in locale definition files to CHARCONV.
9562 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
9563 function ctype_is_charmap to ctype_is_charconv.
9564 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
9566 * locale/programs/locfile-token.h: Add definition of token
9568 * locale/programs/locfile.c: Recognize charconv keyword. Rename
9569 lables according to this.
9571 * locale/weight.h (get_weight): Cast constants to prevent
9574 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
9575 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
9578 New stuff described in P1003.1g.
9579 * misc/Makefile (headers): Add sys/select.h.
9580 (routines): Add pselect.
9581 * misc/sys/select.h: New file. Declare select functions and
9582 needed data types and macros.
9583 * sysdeps/generic/pselect.c: New file. Add generic implementation
9584 of pselect() function which uses select().
9586 * posix/getconf.c: Recognize new variables from P1003.1g.
9587 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
9588 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
9589 * posix/unistd.h: Add description of the P1003.1g variables.
9590 * sysdeps/generic/confname.h: Define _SC_* values for new
9592 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
9594 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
9595 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
9597 * sysdeps/stub/sysconf.c (sysconf): Ditto.
9598 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
9599 _POSIX_SELECT since Linux has this.
9601 * socket/Makefile (routines): Add isfdtype.
9602 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
9603 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
9606 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
9608 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9610 * elf/Makefile (LDFLAGS-dl.so): New variable.
9611 (libdl.so): Depend on eval.so.
9612 (distribute): Add eval.c.
9613 * elf/eval.c: New file.
9615 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
9616 in case it wrote fewer than MAXDIGITS chars.
9618 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
9619 newline from flushing full buffer in loop, fix test so no fflush is
9620 done when last byte written exactly fills the buffer.
9622 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
9624 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
9625 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
9627 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
9628 extracting _dl_rtld_map.l_addr.
9630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
9632 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9634 * shlib-versions (*-*-*): Set libnss_db=1.
9636 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9638 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
9640 * rpm/template (%build): Use @prefix@ instead of always /usr.
9641 Set up configparms only if @prefix@ is in fact /usr.
9642 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
9644 * elf/Makefile: Add missing endif.
9646 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
9648 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
9649 (DATABASE): Define this instead of DATAFILE.
9650 * nss/nss_files/files-hosts.c: Likewise.
9651 (hostbyname): Use LOOKUP_NAME macro.
9653 * nss/nss_db/db-XXX.c: New file.
9654 * nss/Makefile (services): Add db.
9655 (libnss_db-inhibit-o): New variable.
9656 (libnss_db-routines): New variable.
9657 (distribute): Append db-XXX.c.
9658 (libnss_db.so): Depend on libdb.so and libnss_files.so.
9659 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
9661 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
9663 (DATAFILE): New macro.
9664 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
9666 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
9667 Pass db key args to DB_LOOKUP.
9668 (DATAFILE): Macro removed.
9669 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
9670 * nss/nss_files/files-service.c: Likewise.
9671 * nss/nss_files/files-pwd.c: Likewise.
9672 * nss/nss_files/files-proto.c: Likewise.
9673 * nss/nss_files/files-grp.c: Likewise.
9674 * nss/nss_files/files-ethers.c: Likewise.
9676 * elf/linux-compat.c: File removed.
9677 * elf/Makefile (distribute): Remove linux-compat.c.
9678 (ld-linux.so.1): Remove target and associated variables.
9680 * sunrpc/xdr.c: Remove malloc decl.
9681 * sunrpc/portmap.c: Likewise.
9683 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
9684 casting abort to fn returning bool_t.
9686 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
9687 the parser function.
9688 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
9689 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
9690 * nss/nss_files/files-grp.c: Likewise.
9692 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
9694 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
9696 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
9697 of ld.so so lookups for that soname find it.
9699 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
9700 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
9702 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
9703 define parse_line function.
9704 (parse_line): #define to _nss_files_parse_pwent and
9705 add extern decl for that.
9707 * nss/nss_files/files-XXX.c (internal_getent): Return
9708 NSS_STATUS_TRYAGAIN for ERANGE error.
9710 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
9711 of null, so next round returns null again instead of bombing. Fix
9714 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
9715 Remove ; after `ENTDATA_DECL (data)'.
9716 Truncate line at strpbrk (line, EOLSET "\n").
9717 (ENTDATA_DECL): Put ; at end.
9718 (MIDLINE_COMMENTS): Macro removed.
9719 * nss/nss_files/files-ethers.c: Pass new argument.
9720 * nss/nss_files/files-hosts.c: Likewise.
9721 * nss/nss_files/files-network.c: Likewise.
9722 * nss/nss_files/files-parse.c: Likewise.
9723 * nss/nss_files/files-proto.c: Likewise.
9724 * nss/nss_files/files-rpc.c: Likewise.
9725 * nss/nss_files/files-service.c: Likewise.
9726 * grp/fgetgrent.c: Likewise.
9727 * pwd/fgetpwent.c: Likewise.
9728 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
9729 fgetpwent.c already defines it.
9730 * nss/nss_files/files-grp.c: Likewise.
9732 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
9733 as well as any matching with l_libname. Fix DT_SONAME lookup to use
9734 string table properly.
9736 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
9737 invoked directly, and l_libname from that if PT_INTERP missing.
9738 Set l_name from l_libname only if not set from argv.
9740 * time/europe, time/northamerica: Updated from ADO 96i.
9742 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9744 * stdio-common/tst-ungetc.c: Include unistd.h.
9746 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
9748 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
9750 * hurd/report-wait.c (describe_number): Make I unsigned long.
9752 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
9753 actually found any entry.
9755 * login/pututline_r.c (pututline_r): If not located after any
9756 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
9757 Lock the file before stating.
9759 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9761 * nss/Makefile (databases): Change host to hosts.
9762 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
9764 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
9766 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
9768 * string/string.h (strndupa): Pass missing arg to strnlen.
9770 * inet/getnetbypt_r.c: Renamed to ...
9771 * inet/getnetbyad_r.c: this; fixed function name.
9772 * inet/getnetbypt.c: Renamed to ...
9773 * inet/getnetbyad.c: this; fixed function name.
9775 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9777 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
9780 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
9782 * login/login.c (login): Initialize DATA so that setutent_r will
9783 actually do something.
9785 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
9787 * resolv/res_hconf.c (strndup): Remove function.
9789 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
9790 using ElfW() instead of Elf32_*.
9792 * sysdeps/unix/sysv/linux/alpha/init-first.h,
9793 sysdeps/unix/sysv/linux/m68k/init-first.h,
9794 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
9795 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
9796 init-first.h to make abstract machine dependent parts of
9799 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
9800 error handling. It's safer that way.
9802 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
9803 Fix by Richard Henderson.
9805 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
9806 typo/extraneous whitespace.
9808 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
9809 determine what integer sizes we're dealing with.
9811 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
9813 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
9814 check for signal zero, repair logical sense of test by
9815 parenthesizing correctly.
9817 * hurd/hurdsig.c (_hurd_internal_post_signal): In
9818 check-for-pending signals code, release _hurd_siglock before
9819 jumping to deliver_pending.
9821 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
9823 * configure.in (config_machine): Make ELF the default even for
9824 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
9827 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9829 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
9830 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
9831 member only #ifdef ENTDATA.
9832 (ENTDATA_DECL): New macro.
9833 (LINE_PARSER): Use it for entdata decl.
9834 (parse_list): Find the space for LIST from DATA->linebuffer instead of
9835 from the input LINE, which might not be writable buffer space.
9836 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
9837 [ENTDATA] (parser_stclass): #define to `static inline'.
9838 [!ENDATA] (parser_stclass): #define to empty.
9839 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
9840 function is exported to -lnss_files users.
9842 * string/strndup.c: Add missing arg.
9844 * string/string.h (strndupa): Likewise.
9845 * string/strndup.c (strndup): Always terminate the string.
9847 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9849 * stdio/Makefile (routines): Add vscanf.
9850 * stdio-common/Makefile (routines): Remove vscanf.
9851 * stdio-common/vscanf.c: Move to ...
9852 * stdio/vscanf.c: here.
9854 * rpm/Makefile (headers, install-lib, install-lib.so,
9855 versioned, install-bin, install-sbin, install-data,
9856 install-others): Add $(-VARIABLE).
9858 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9860 * nss/Makefile (databases): New variable.
9861 (routines, libnss_files-routines): Use it.
9862 (subdir-dirs): Compute from $(services).
9864 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
9865 init_module, klogctl): Use EXTRA in the "caller" column so these get
9866 added to unix-extra-syscalls and thus compiled in misc.
9868 * string/Makefile (routines): Add strndup.
9869 * string/strndup.c: New file.
9870 * string/string.h: Declare strndup.
9871 (strndupa): New macro.
9873 * string/string.h: Declare __strdup.
9874 * string/strdup.c: Deansideclized. Define __ name and weak alias.
9876 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
9878 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
9880 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
9882 * grp/initgroups.c (initgroups): De-ansi-fy.
9883 Move declaration of NGROUPS and GROUPS outside #if so that
9884 the code compiles for NGROUPS_MAX != 0.
9886 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
9887 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
9888 ether_ntoa, ether_ntoa_r, and ether_ntoh.
9889 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
9890 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
9891 inet/ether_ntoh.c: New files. Implementation of functions to
9892 handle Ethernet address to host mapping.
9893 * inet/netinet/ether.h: New file. Declare ether_* functions.
9894 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
9896 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
9897 * nss/Makefile (routines): Add ethers-lookup.
9898 (libnss_files-routines): Add files-ethers.
9900 * nss/getXXent_r.c: Don't define set*ent and end*ent function
9903 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
9904 KEEP_STREAM every time called.
9905 (_nss_files_end): Reset KEEP_STREAM here instead.
9906 (internal_getent): If STREAM == NULL try to open instead of
9908 Use cast to prevent warning.
9909 Terminate read line in case the buffer is too small.
9911 * nss/nss_files/files-ethers.c: New file. Implementation of
9912 Ethernet adress<->hostname lookup through files interface.
9914 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
9915 * stdlib/mbtowc.c: Define based on mbrtowc().
9916 * stdlib/wcstombs.c: Define based on wcsrtombs().
9917 * stdlib/wctomb.c: Define based on wcrtomb().
9919 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
9920 unexpected_sizes_in_xdr_u_int.
9922 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
9923 of `struct ether_addr'.
9924 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
9925 declaration of `struct ether_addr'.
9927 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
9928 * wcsmbs/mbsrtowcs.c: Ditto.
9929 * wcsmbs/wcrtomb.c: Ditto.
9930 * wcsmbs/wcsrtombs.c: Ditto.
9932 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
9934 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
9936 * hurd/get-host.c <fcntl.h>: New include.
9937 * hurd/set-host.c <fcntl.h>: New include.
9938 (_hurd_set_host_config): Include NEW in args to dir_link.
9939 Return NWROTE, not NREAD.
9941 * sysdeps/mach/hurd/getcwd.c
9942 (_hurd_canonicalize_directory_name_internal): Don't deallocate
9943 DOTID & DOTDEVID until we're finished with them (we need to keep
9944 them at least until we've fetched the next level of id ports, so
9945 that mach will be able to use the same name if they're the same).
9946 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
9947 jumps to errlose, for those places where such cleanup is needed.
9949 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9951 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
9953 Move DB code into separate -ldb library.
9954 * db/Makefile (extra-libs): New variable, list libdb.
9955 (routines): Renamed to libdb-routines.
9956 * shlib-versions: Add libdb=2.
9958 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
9959 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
9961 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
9962 of strncasecmp. Extend syntax to grok [!foo=bar].
9964 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
9966 * string/string.h: Declare __strncasecmp.
9968 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
9969 (service_alias): Variable removed.
9970 (nss_parse_service_list): New function, broken out of nss_getline.
9971 Remove alias conversion; we will just use symlinks.
9972 (__nss_database_lookup): Take new string arg DEFCONFIG.
9973 If no entry exists, make one with service list parsed from that.
9974 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
9975 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
9976 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
9978 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
9981 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
9983 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
9985 * locale/programs/locale.c (long_options): Short form of
9986 --version option is `-V'.
9987 (main): Recognize `-V' as option, not `-v'.
9988 Call `usage' instead of printing error message for illegal
9990 (usage): Document `-V'.
9992 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
9994 * sysdeps/mach/hurd/getcwd.c
9995 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
9996 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
9998 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10000 * inet/getrpcent.c: Fix macros.
10001 * inet/getrpcent_r.c: Fix macros.
10003 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
10005 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
10007 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
10009 * catgets/gencat.c (write_out): Use %Zu to print variables of type
10011 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
10012 cast it to (unsigned long) to make it work both on 32 and 64
10015 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10017 * locale/Makefile (distribute): Add `programs/' prefix to all
10018 files in that directory.
10020 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
10023 * MakeTAGS (sources, headers): Make them simply expanded variables
10024 so that all-dist is expanded before it is changed.
10026 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10028 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
10029 * Makefile (subdirs): Remove crypt.
10030 * crypt: Directory removed. It will be made an independent library
10033 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
10035 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
10037 * inet/getrpcbynumber.c (BUFLEN): New macro.
10039 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
10041 * Makefile (headers): Add libc-lock.h.
10042 * sysdeps/stub/libc-lock.h: New file.
10044 * inet/getrpcbynumber.c: Remove _r typo.
10046 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
10048 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
10051 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
10052 or doesn't mention DATABASE, use an internal default equivalent to
10053 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
10054 (nss_lookup_function): Call nss_new_service as needed.
10055 (nss_parse_file): Don't bother calling nss_new_service here.
10057 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
10058 * pwd/fgetpwent.c: Likewise.
10060 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
10061 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
10062 * malloc/malloc-size.c: New file.
10063 * malloc/malloc-walk.c: New file.
10065 * malloc/malloc-find.c (malloc_find_object_address): Return null if
10066 PTR is outside the heap.
10068 * elf/dl-load.c (_dl_map_object): If the requested name matches the
10069 soname of a loaded object, use that object.
10071 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10073 * Makefile (subdirs): Add nss.
10075 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
10076 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
10077 * inet/getrpcbynumber_r.c: New file.
10078 * inet/getrpcbynumber.c: New file.
10079 * inet/getrpcbyname.c: New file.
10080 * inet/getrpcbyname_r.c: New file.
10081 * inet/getrpcent_r.c: New file.
10082 * inet/getrpcent.c: New file.
10083 * nss/rpc-lookup.c: New file.
10084 * nss/nss_files/files-rpc.c: New file.
10085 * nss/Makefile (routines): Add rpc-lookup.
10086 (libnss_files-routines): Add files-rpc.
10087 * sunrpc/Makefile (routines): Remove getrpcent.
10088 * sunrpc/getrpcent.c: File removed.
10090 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
10093 * Makeconfig (rpath-link): Add $(nssobjdir).
10094 (nssobjdir): New variable.
10096 * Makerules: Move shared library building before objects rules, so
10097 versions are known before extra-lib.mk gets included.
10098 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
10100 * pwd/getpwuid.c: Rewritten using nss.
10101 * pwd/getpwnam.c: Likewise.
10102 * pwd/getpwent.c: Likewise.
10103 * grp/getgrnam.c: Likewise.
10104 * grp/getgrgid.c: Likewise.
10105 * grp/getgrent.c: Likewise.
10106 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
10107 * pwd/getpwent_r.c: New file.
10108 * pwd/getpwnam_r.c: New file.
10109 * pwd/getpwuid_r.c: New file.
10110 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
10111 * grp/getgrnam_r.c: New file.
10112 * grp/getgrgid_r.c: New file.
10113 * grp/getgrent_r.c: New file.
10114 * grp/Makefile (routines): Remove grpopen, grpread.
10115 * pwd/Makefile (routines): Remove pwdopen, pwdread.
10116 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
10118 * pwd/fgetpwent.c: Rewritten using files-parse.c.
10119 * grp/fgetgrent.c: Likewise.
10121 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
10122 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
10123 * nss/nss_files/files-grp.c: New file.
10124 * nss/nss_files/files-pwd.c: New file.
10126 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
10128 * nss/nss_files/files-parse.c: New file.
10129 * nss/nss_files/files-XXX.c: New file.
10130 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
10131 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
10132 Rewritten using them.
10134 * nss/Makefile (libnss_files-routines): Remove files-host.
10135 Add files-hosts, files-grp, files-pwd.
10137 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
10139 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
10141 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10142 A .plt entry now loads the .rela.plt offset directly rather
10143 than making us calculate it.
10145 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10147 * time/Makefile ($(installed-localtime-file) rule): Do
10148 $(make-target-directory) first.
10150 * resolv.h: Fix wrapper for resolv/resolv.h.
10152 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
10153 Compile dummy file and pass -nostdlib -nostartfiles so as not to
10154 require installed libraries.
10156 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
10159 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
10161 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
10162 and mapv4v6hostent.h.
10163 (routines): Move res* and gethnamaddr into libresolv-routines.
10164 (libresolv-routines): New variable, put them there.
10165 (extra-libs): New variable, list libresolv.
10166 (CPPFLAGS): Add -D for get*by* to res_get*by*.
10168 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
10170 * inet/herrno.c: New file.
10172 * resolv/res_init.c: Remove res_hconf calls.
10174 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
10175 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
10176 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
10177 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
10178 nss/service-lookup.c: New files. Implementation of name
10179 service switch, following the approach in Solaris.
10180 Interface specification and general structure inspired by Peter
10181 Eriksson <pen@lysator.liu.se>.
10182 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
10183 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
10184 Implementation of libnss_files.so module for file based databases
10186 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
10187 if libnss_dns.so module for DNS name lookup in NSS service.
10189 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
10190 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
10191 Changed to serve as interface to NSS.
10192 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
10193 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
10194 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
10195 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
10196 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
10197 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
10198 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
10199 interfaces to NSS, including reentrant functions.
10201 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
10202 resolv/sethostent.c: Removed: Obsoleted by NSS.
10204 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
10205 gethnamaddr.c. These private functions are now used in more
10208 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
10210 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10212 * rpm/Makefile ($(config)): Make sure the word list in the for
10213 loop is syntactically non-empty.
10215 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10217 * Version 1.92 test release.
10219 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
10221 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
10222 to klogctl to match prototype in sys/klog.h.
10224 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
10225 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
10227 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
10228 Remove. Code is now part of __getcwd again. The old function
10229 never really worked for anything but THISDIR==".".
10231 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
10232 only when building ELF version of library.
10234 * libio/libioP.h (_IO_vscanf): Add prototype.
10236 * posix/unistd.h (syscall): Change sysno arg and return value
10239 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10241 * version.h (VERSION): Updated to 1.92.
10243 * misc/Makefile (headers): Add ar.h.
10244 * misc/ar.h: New file.
10246 * config.make.in (BUILD_CC): New variable.
10247 * configure.in: Check for BUILD_CC if $host != $build.
10249 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
10251 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
10252 (stamp$o files): New targets, create them empty, no deps.
10254 * rpm/template (Source): New field.
10255 (%prep, %build, %install): New sections.
10256 (%files): Add %doc FAQ NEWS NOTES README.
10257 * rpm/rpmrc (builddir): Removed.
10259 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10261 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
10262 guessing to not assume p_vaddr of first load cmd is zero.
10264 * sysdeps/sparc/elf/start.S: New file.
10265 * sysdeps/sparc/dl-machine.h: New file.
10267 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
10268 only for ?s, not for *s. Fix from Chet Ramey.
10270 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
10271 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
10272 Use __{BEGIN,END}_DECLS.
10273 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
10274 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
10275 New macros, moved here from sysdeps/gnu/utmpbits.h.
10276 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
10277 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
10278 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
10279 Use sizeof instead of UT_*SIZE.
10280 * login/logwtmp.c: Likewise.
10282 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
10284 * version.c (banner): Add trailing newline.
10286 * login/utmp.h: Declare login_tty.
10288 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
10290 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
10291 Changed to a 12-byte PLT entry to remove dependency on $gp.
10292 Take a new got_addr parameter.
10293 (elf_machine_rela): Pass the new parameter.
10294 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
10295 (RTLD_START): Do normal linkage with program entry.
10297 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
10299 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
10301 * hurd/getuids.c (getuids): New weak link to __getuids.
10303 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
10305 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
10306 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
10308 Rename nested function lookup to lookup_op.
10309 (__file_name_lookup, __file_name_lookup_under):
10310 Pass 0 for lookup arg to __hurd_file_name_lookup.
10311 (__file_name_split): Likewise for __hurd_file_name_split.
10312 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
10313 Rename nested function lookup to scan_lookup.
10314 (file_name_path_lookup): Pass 0 for lookup arg to
10315 hurd_file_name_path_lookup.
10316 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
10317 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
10318 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
10319 Add LOOKUP argument.
10320 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
10321 __hurd_file_name_lookup.
10323 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10325 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
10326 up a huge list just to discard most of it.
10328 * configure.in (sysnames): Avoid fgrep by using the case shell
10331 * Makeconfig (config.status): Fix dependency on Implies files.
10333 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10335 * math/Makefile (distribute): Add ieee-math.c.
10337 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
10339 * locale/codeset_name.c: New file. Provide function for information
10340 about currently used character set.
10341 * locale/Makefile (routines): Add codeset_name.
10342 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
10343 * locale/localeinfo.h: Change magic number because of incompatible
10345 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
10346 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
10348 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
10349 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
10351 * locale/setlocale.c (setlocale): Initialize local variables to
10354 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
10356 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
10358 * locale/programs/locale.c: Include string.h.
10360 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
10361 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
10362 appropriate sign-extension is performed on machines with
10365 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
10366 sizeof(int)<sizeof(long), we need to go through a temporary
10369 * locale/programs/ld-numeric.c: Include <alloca.h>
10371 * libio/stdio.h (__libc_fatal): Add prototype.
10373 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
10376 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
10377 volatile to avoid "might get clobbered by longjmp" warning.
10379 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
10380 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
10381 probability is a sure loser).
10382 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
10384 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
10385 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
10387 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
10388 to be Linux FSSTND compliant.
10390 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
10392 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
10394 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
10395 sysdeps/unix/sysv/linux/alpha/brk.S,
10396 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
10397 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
10398 sysdeps/unix/sysv/linux/alpha/llseek.S,
10399 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
10400 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
10401 __syscall_error to avoid intruding application name space.
10403 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
10404 to SYS_get?id so that syscall stubs in sysdeps/unix define
10405 these syscalls in terms of getxpid/getxuid/getxgid.
10407 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
10408 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
10409 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
10410 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
10412 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
10413 (PSEUDO_END): Rename END() to PSEUDO_END().
10415 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
10416 to PSEUDO_END to improve branch-prediction. Include .frame
10417 directive to make syscalls debugabble.
10418 (PSEUDO_END): New macro.
10420 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
10421 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
10422 latter is illegal under DEC Unix.
10424 * sysdeps/unix/alpha/sysdep.S: Renamed from
10425 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
10427 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
10428 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
10429 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
10431 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
10432 address register in the .frame directive.
10434 * sysdeps/alpha/copysign.c: Remove.
10436 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
10437 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
10439 * errno.h: Move __END_DECLS to correct place to make file
10440 compilable under c++.
10442 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
10443 d_ino only if <direntry.h> hasn't defined d_fileno.
10445 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
10446 arguments to weakext to make .weakext detection work on ECOFF systems.
10448 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
10449 that _validuser() has been replaced by __ivaliduser().
10451 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
10453 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
10454 as unsigned long, not as int (to avoid incorrect int->long
10459 See ChangeLog.5 for earlier changes.