1 Sun Jan 26 23:24:50 1997 Ulrich Drepper <drepper@cygnus.com>
3 * Version 2.0 net release.
5 * Make-dist: Don't take care for two malloc directories.
7 Sun Jan 26 22:44:38 1997 Andreas Jaeger <aj@arthur.pfalz.de>
9 * mcheck.h: Adopted to new-malloc/malloc change.
11 Sun Jan 26 13:39:31 1997 Ulrich Drepper <drepper@cygnus.com>
13 * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of
16 * Make-dist: Don't mention new-malloc for dirs with have to be
19 * sysdeps/unix/sysv/linux/netinet/in.h (SOL_IP): Added.
20 * inet/netinet/tcp.h (SOL_TCP): Added.
21 * sysdeps/unix/sysv/linux/socketbits.h (SOL_RAW): Added.
22 Reported by a sun <asun@zoology.washington.edu>.
24 Sun Jan 26 18:35:29 1997 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
26 * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a
28 * malloc/malloc.c: Change malloc_check_init() to
29 __malloc_check_init(). Check for NULL in calloc() when a hook is
30 in place. Make more variables tunable via MALLOC_... environment
32 * malloc/malloc.h: Change malloc_check_init() to
33 __malloc_check_init().
35 Sun Jan 26 05:41:42 1997 Ulrich Drepper <drepper@cygnus.com>
37 * version.h (VERSION): Bump to 2.0.
38 (RELEASE): Now it's "experimental".
40 * Makefile (subdirs): Change $(malloc) to malloc. We have only
41 one malloc implementation again.
42 * malloc/*: Remove from GNU libc.
43 * new-malloc/* Move to malloc/.
44 * config.make.in (defines): Remove @USE_NEW_MALLOC@.
45 * configure.in: Remove --enable-new-malloc option and check for
46 malloc implementation choice.
47 * malloc.h: We don't need to check for the implementation to use
48 anymore. Simply include malloc/malloc.h.
49 * malloc/Makefile (subdir): Change to malloc.
50 * sysdeps/unix/sysv/linux/configure.in: Don't set malloc anymore.
52 * Makefile: Add special goal to generate only-MD5 based crypt
54 * md5-crypt/Makefile: Likewise.
56 * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright.
57 (rounds): Change type to size_t to prevent warning.
59 * wcsmbs/btowc.c: Reformat copyright.
60 * wcsmbs/mbrlen.c: Likewise.
61 * wcsmbs/mbsinit.c: Likewise.
62 * wcsmbs/mbsnrtowcs.c: Likewise.
63 * wcsmbs/mbsrtowcs.c: Likewise.
64 * wcsmbs/wcpcpy.c: Likewise.
65 * wcsmbs/wcpncpy.c: Likewise.
66 * wcsmbs/wcscat.c: Likewise.
67 * wcsmbs/wcscmp.c: Likewise.
68 * wcsmbs/wcscoll.c: Likewise.
69 * wcsmbs/wcscpy.c: Likewise.
70 * wcsmbs/wcscspn.c: Likewise.
71 * wcsmbs/wcsdup.c: Likewise.
72 * wcsmbs/wcslen.c: Likewise.
73 * wcsmbs/wcsncat.c: Likewise.
74 * wcsmbs/wcsncpy.c: Likewise.
75 * wcsmbs/wcsnrtombs.c: Likewise.
76 * wcsmbs/wcsrtombs.c: Likewise.
77 * wcsmbs/wcsspn.c: Likewise.
78 * wcsmbs/wcsstr.c: Likewise.
79 * wcsmbs/wcstod.c: Likewise.
80 * wcsmbs/wcstof.c: Likewise.
81 * wcsmbs/wcstok.c: Likewise.
82 * wcsmbs/wcstol.c: Likewise.
83 * wcsmbs/wcstold.c: Likewise.
84 * wcsmbs/wcstoq.c: Likewise.
85 * wcsmbs/wcstoul.c: Likewise.
86 * wcsmbs/wcstouq.c: Likewise.
87 * wcsmbs/wcswidth.c: Likewise.
88 * wcsmbs/wcsxfrm.c: Likewise.
89 * wcsmbs/wctob.c: Likewise.
90 * wcsmbs/wcwidth.c: Likewise.
91 * wcsmbs/wcwidth.h: Likewise.
92 * wcsmbs/wmemchr.c: Likewise.
93 * wcsmbs/wmemcmp.c: Likewise.
94 * wcsmbs/wmemmove.c: Likewise.
95 * wcsmbs/wmemset.c: Likewise.
97 Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com>
99 * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple
100 inclusion. Reported by a sun <asun@zoology.washington.edu>.
102 Sat Jan 25 02:05:19 1997 Eirik Fuller <eirik@netcom.com>
104 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Rename T2_SPARSE_BASE and
105 T2_DENSE_BASE to T2_SPARSE_MEM and T2_DENSE_MEM resp.
107 Thu Jan 23 11:13:46 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
109 * sysdeps/unix/sysv/linux/usleep.c: Normalize the time
112 Fri Jan 24 14:33:45 1997 Ulrich Drepper <drepper@cygnus.com>
114 * sysdeps/generic/socketbits.h: Also make SOCK_* constants available
115 as macros so that #ifdef works.
116 * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
118 1997-01-23 Paul Eggert <eggert@twinsun.com>
120 * login/utmp_db.c, manual/time.texi, shlib-versions, sunrpc/rpc/svc.h,
121 sunrpc/rpcsvc/sm_inter.x, sysdeps/generic/abort.c,
122 sysdeps/libm-ieee754/e_sinhl.c, sysdeps/unix/sysv/linux/net/route.h,
123 sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Spell fixes.
125 1997-01-23 Paul Eggert <eggert@twinsun.com>
127 * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz,
128 so that tzname is set as POSIX requires.
130 Fri Jan 24 02:49:18 1997 Ulrich Drepper <drepper@cygnus.com>
132 * dirent/dirent.h: Declare readdir_r also when __USE_POSIX.
133 * grp/grp.h: Declare *_r functions also when __USE_POSIX.
134 * pwd/pwd.h: Likewise.
135 * time/time.h: Likewise.
136 * posix/unistd.h: Declare ttyname_r also when __USE_POSIX.
137 * string/string.h: Declare strtok_r also when __USE_POSIX.
139 * stdio-common/bug7.c: Use tmpnam to generate names for test files.
141 * stdio-common/tmpnam.c: Update copyright.
142 * stdio-common/tmpnam_r.c: Likewise.
144 * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: Protect
145 against multiple inclusion. Include <termbits.h>.
146 * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
148 * sysdeps/unix/sysv/linux/net/if.h: Update according to recent
149 kernel headers. Patch by Philip Blundell <pjb27@cam.ac.uk>.
151 Thu Jan 23 17:42:00 1997 Ulrich Drepper <drepper@cygnus.com>
153 * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution.
155 * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition.
157 Thu Jan 23 14:20:34 1997 Ulrich Drepper <drepper@cygnus.com>
159 * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be
160 read when running a setuid program.
162 Thu Jan 23 04:06:42 1997 Ulrich Drepper <drepper@cygnus.com>
164 * Make-dist (.PHONY: dist): Remove duplicate declaration.
165 (README): Depend on version.h not version.c.
166 * Makefile (README): Depend on version.h not version.c.
168 * Makeconfig (inst_libdir, inst_slibdir, inst_includedir,
169 inst_datadir, inst_zonedir, inst_localedir, inst_i18ndir, inst_bindir,
170 inst_sbindir, inst_infodir, inst_sysconfdir): New variables. Same
171 as variable withough inst_ but prepended with $(install_root).
172 (localtime-time): Use $(inst_sysconfdir) not $(sysconfdir).
173 * Makefile (install-others): Use $(inst_includedir).
174 (gnu/stabs.h, gnu/lib-names.h): Use $(inst_includedir).
175 * Makerules (tons of install rules): Use inst_% variables.
176 * elf/Makefile: Likewise.
177 * hurd/Makefile: Likewise.
178 * intl/Makefile: Likewise.
179 * manual/Makefile: Likewise.
180 * po/Makefile: Likewise.
181 * sunrpc/Makefile: Likewise.
182 * sysdeps/mach/hurd/Makefile: Likewise.
183 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
184 * time/Makefile: Likewise.
186 * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997,
187 leave install_root in place.
189 * gnu-versions.h (_GNU_GETOPT_INTERFACE_VERSION): Define to 2.
190 * posix/getopt.c (GETOPT_INTERFACE_VERSION): Define to 2.
191 * posix/getopt1.c (GETOPT_INTERFACE_VERSION): Define to 2.
193 * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of
195 (CFLAGS-dl-load.c): New variable, avoid gcc warning.
197 * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES.
199 * sysdeps/mach/hurd/getdents.c: Update copyright. De-ANSI-declfy.
200 * sysdeps/stub/getdents.c: Likewise. Correct return value.
201 * sysdeps/unix/getdents.c: Likewise.
202 * sysdeps/unix/sysv/getdents.c: Likewise.
204 * sysdeps/unix/readdir.c: Update copyright.
206 * sysdeps/unix/bsd/sony/newsos4/Makefile: Correct ifeq arguments.
207 * sysdeps/unix/bsd/sun/sunos4/Makefile: Likewise.
208 * sysdeps/unix/sysv/Makefile: Likewise.
209 * sysdeps/unix/sysv/linux/Makefile: Likewise.
210 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
211 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
213 * sysdeps/unix/sysv/linux/Dist: Don't distribute kernel_termios.h,
214 but sys/kernel_termios.h.
215 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
216 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==termios]
217 (sysdep_headers): Add sys/kernel_termios.h.
218 * sysdeps/unix/sysv/linux/kernel_termios.h: Moved to...
219 * sysdeps/unix/sysv/linux/sys/kernel_termios.h: ...here.
220 * sysdeps/unix/sysv/linux/sys/tcgetattr.c: Use __kernel_termios and
221 __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp.
223 * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file.
225 * sysdeps/unix/sysv/linux/getdents.c: Correct problems with alignment.
226 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove getdents.
227 Reported by Eirik Fuller <eirik@netcom.com>.
229 * time/Banner: Removed. Wrong and unnecessary information. It's now
231 * time/README: New file.
232 * time/Makefile (distribute): Remove Banner, add README.
234 Wed Jan 22 13:19:56 1997 Richard Henderson <rth@tamu.edu>
236 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platforms): Add Sable.
237 (init_iosys): Recognize /etc/alpha_systype as a four-tuple for
238 the purpose of supporting brand new systems.
239 (*): The type of iosys variables should be iosys_t.
241 1997-01-22 Paul Eggert <eggert@twinsun.com>
243 * strftime.c (_strftime_copytm):
244 New function, to work around Solaris 2.5 tzset bug.
246 Wed Jan 22 23:05:14 1997 Ulrich Drepper <drepper@cygnus.com>
248 * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication.
249 Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>.
251 Wed Jan 22 13:58:56 1997 Andreas Jaeger <aj@arthur.pfalz.de>
253 * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent
254 since name_copy is initialized.
256 Wed Jan 22 16:58:12 1997 Ulrich Drepper <drepper@cygnus.com>
258 * stdio-common/Makefile (tests): Remove scanf11.
259 * stdio-common/scanf11.c: Removed.
260 * stdio-common/vfscanf.c Revert patch of Thu Jan 16 23:39:25 1997.
261 Although the Corrigendum 1 describes the result as implemented the
262 even more recent Amendement 1 seconds the position of ISO C:1990
263 where the %n directive has no effect on the assignment count.
264 * stdio-common/bug10.c: Likewise.
265 * stdio-common/scanf1.c: Likewise.
266 * stdio-common/scanf3.c: Likewise.
267 * stdio-common/scanf10.c: Likewise.
268 * stdio-common/tstdiomisc.c: Likewise.
270 * new-malloc/obstack.h: Don't define malloc using bcopy if malloc
271 is not available. This leads to problems since bcopy does not
272 return a value. Instead define _obstack_memcpy based on memcpy or
273 bcopy. This name isn't used outside obstack.h and so no problems
274 from using the memcpy function in a file including obstack.h can
276 Reported by Martin Trapp <trapp@ipd.info.uni-karlsruhe.de>.
278 Tue Jan 21 18:35:55 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
280 * misc/regexp.h (compile): Fix typos.
282 Tue Jan 21 01:01:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
284 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo): Fix
285 type of pr_{pid,ppid,pgrp,sid} fields.
286 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
287 elf_prpsinfo): Likewise.
289 1997-01-21 Paul Eggert <eggert@twinsun.com>
291 * posix/getopt.c (_getopt_internal): Return -1, not EOF, when args
292 are exhausted; this is required by POSIX.2.
293 * catgets/gencat.c, db/makedb.c, locale/programs/locale.c,
294 locale/programs/localedef.c, manual/examples/subopt.c,
295 posix/getopt.c, posix/getopt1.c, stdio-common/bug4.c,
296 sunrpc/rpcinfo.c (main): Check getopt return value against -1, not EOF.
298 Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
300 * version.h (VERSION): Bump to 1.102.
302 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
304 * elf/Makefile: Don't use CFLAGS-dl-load.c, but instead
305 CPPFLAGS-dl-load.c so that dependencies can be determined correctly.
306 * elf/dl-load.c: Fix comment.
308 * time/Banner: New file.
309 * time/Makefile (distribute): Add Banner.
311 Update from ADO tzcode1997a and tzdata1997a.
312 * time/antarctica: Update.
313 * time/australia: Update.
314 * time/zdump.c: Update.
315 * time/zic.c: Update.
316 * time/zone.tab: Update.
318 Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
320 * config.make.in (has-ldconfig): New variable.
322 * configure, configure.in (has_ldconfig): New substitute.
324 * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
325 check if $srcdir/elf/ldconfig.c exists.
327 * Makeconfig (rootsbindir): New, default as
329 (rtld-version-installed-name): New, default as
332 * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
333 only if $(cross-compiling) is no and $(build-shared) is yes.
335 * Makerules (make-shlib-link): New macro.
336 ($(slibdir)/libfoo.so.$(libfoo.so-version)): Use
337 $(make-shlib-link) for symlink.
338 (install-rootsbin, install-rootsbin-nosubdir): New.
339 (install-no-libc.a-nosubdir): Add
340 install-rootsbin-nosubdir.
342 * Rules (others): Add $(install-rootsbin).
344 * config.make.in (rootsbindir): New.
346 * configure, configure.in (libc_cv_rootsbindir): New
349 * elf/Makefile (others, install-rootsbin): New, set to
351 (+link): New for static linking.
352 ($(slibdir)/$(rtld-version-installed-name)): New.
353 ($(slibdir)/$(rtld-installed-name)): Depend on
354 $(slibdir)/$(rtld-version-installed-name) and use
355 $(make-shlib-link) for symlink.
357 * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
360 * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
363 * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
364 New, set to "/sbin" if "$prefix" == "/usr".
366 Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
368 * Makefile (distribute): Add glibcbug.in.
369 Reported by Philip Blundell <pjb27@cam.ac.uk>.
371 * elf/Makefile ($(objpfx)trusted-dirs.h): Create elf/ subdir in
372 build directory if necessary.
373 Reported by marcus@shannon.sysc.pdx.edu (Marcus G. Daniels).
375 Tue Jan 21 04:05:20 1997 Ulrich Drepper <drepper@cygnus.com>
377 * version.h (VERSION): Bump to 1.101.
379 Implement -d and -r option to `ldd' to check relocations.
380 * elf/dl-error.c: Add another method to intercept errors.
381 (_dl_receive_error): New function. Install user defined handler.
382 (receiver): New variable. Contains pointer to user provided handler.
383 (_dl_signal_error): If user provided handler is installed call this.
384 * elf/dl-load.c (_dl_map_object): When shared object is not found in
385 trace mode initialize a few more fields so that lookup can actually
386 happen but always fails.
387 * elf/ldd.sh.in: Rewrite argument handling. Recognize new arguments
388 to trigger reloation test. Return with appropriate error code if
389 a file wasn't found. Print warning if object is not executable.
390 * elf/ldd.bash.in: Likewise.
391 * elf/link.h (receiver_fct): New type. Used in _dl_receive_error.
392 (_dl_sysdep_error): New prototype.
393 (_dl_receive_error): New prototype.
394 (_dl_signal_error): Remove __attribute__ ((__noreturn__)).
395 * elf/rtld.c (dl_main): Rewrite argument handling. More than
396 one argument allowed. Recognize --data-relocs and --function-relocs
398 Don't determine `lazy' mode from LD_BIND_NOW environment variable
400 If in trace mode and either --data-relocs or --function-relocs is
401 given perform relocation. Report errors using print_unresolved
403 (print_unresolved): New function. Print information about missing
405 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function.
406 Like _dl_sysdep_message but print to stderr.
407 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
409 * sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t.
410 Reported by Andreas Schwab.
411 (__SOCKADDR_COMMON): Use sa_family_t for family member.
412 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
414 Linux/Sparc support by Miguel de Icaza.
415 * sysdeps/sparc/fpu_control.h: New file.
416 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file.
417 * sysdeps/unix/sysv/linux/sparc/brk.c: New file.
418 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
419 * sysdeps/unix/sysv/linux/sparc/sigaction.c: New file.
420 * sysdeps/unix/sysv/linux/sparc/socket.S: New file.
421 * sysdeps/unix/sysv/linux/sparc/syscall.S: New file.
422 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
423 * sysdeps/unix/sysv/linux/sparc/Dist: New file.
424 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
426 * sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header.
427 Provide own definition based on 4.4BSD and Linux.
428 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before
429 including <linux/ppp_defs.h>.
430 * sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't
431 use __pid_t since the kernel might have a different size.
432 * sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise.
433 Reported by Andreas Schwab.
435 * time/asctime.c: Update copyright.
436 * time/dysize.c: Likewise.
437 * time/gmtime.c: Likewise.
438 * time/timegm.c: Likewise.
439 * time/offtime.c: Likewise. De-ANSI-declfy.
441 * time/tzset.c (__tzset_internal): When TZ envvar does not name a
442 DST timezone don't default to offset -1.
444 * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
445 Reported by a sun <asun@zoology.washington.edu>.
447 * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.
449 * sysdeps/stub/sysv_signal.c: New file. Stub implementation.
451 * Makefile (distribute): Add mcheck.h.
453 * nis/Makefile (distribute): Add nss-nis.h.
455 * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
458 * nss/Makefile (distribute): Add digits_dots.c.
460 * sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h.
461 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h.
462 * sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S.
463 * new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h.
465 Mon Jan 20 17:54:28 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
467 * manual/filesys.texi: Fix little problem (reentrant->readdir).
469 Fri Jan 17 19:07:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
471 * configure.in [$elf=yes]: Check for support of .previous and
472 .popsection in the assembler.
473 * config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and
474 HAVE_ASM_POPSECTION_DIRECTIVE.
475 * libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define
476 appropriate if either .previous or .popsection is supported.
477 (libc_warning) [HAVE_ELF]: Use it here.
479 Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
481 * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
482 errors that can occur when linking libc.so.
484 Mon Jan 20 05:20:49 1997 Ulrich Drepper <drepper@cygnus.com>
486 * elf/dl-load.c (open_path): When running setuid don't try
487 a directory if it is not given with the full name.
489 * elf/Makefile (before-compile): New variable. Mention trusted-dirs.h.
490 (trusted-dirs.h): Construct file from $(default-rpath) and
491 $(user-defined-trusted-dirs) variables.
492 * elf/dl-load.c (_dl_map_object): Pass additional argument to open_path
493 which is NULL except for the LD_LIBRARY_PATH pass in which case it
494 is a pointer to the list of directories from the trusted-dirs.h
496 (open_path): Accept additional argument with list of trusted dirs.
497 When running setuid and a list of trusted dirs is given only use
498 those which are mentioned in the list.
500 * elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when
501 running setuid. Instead accept entries which do not contain a '/'.
503 * Makeconfig: Correct comment about +(default_cflags).
505 Mon Jan 20 05:11:14 1997 Hrvoje Niksic <hniksic@srce.hr>
507 * time/strptime.c (recursive): Use && not || to test for valid
510 Mon Jan 20 05:06:50 1997 Ulrich Drepper <drepper@cygnus.com>
512 * elf/ldd.sh.in: Exit with value 1 if an error occured.
513 * elf/ldd.bash.in: Likewise.
515 * elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the
516 binary runs setuid. It is save to use those entries which do not
517 contain a '/'. This is compatible with Solaris-2.
519 Mon Jan 20 03:02:50 1997 Ulrich Drepper <drepper@cygnus.com>
521 * Make-dist: Update and reformat copyright.
522 * Makeconfig: Likewise.
523 * assert/Makefile: Likewise.
524 * bare/Makefile: Likewise.
525 * ctype/Makefile: Likewise.
526 * dirent/Makefile: Likewise.
527 * gmon/Makefile: Likewise.
528 * gnulib/Makefile: Likewise.
529 * grp/Makefile: Likewise.
530 * hurd/Makefile: Likewise.
531 * intl/Makefile: Likewise.
532 * mach/Makefile: Likewise.
533 * malloc/Makefile: Likewise.
534 * manual/Makefile: Likewise.
535 * math/Makefile: Likewise.
536 * po/Makefile: Likewise.
537 * pwd/Makefile: Likewise.
538 * resource/Makefile: Likewise.
539 * setjmp/Makefile: Likewise.
540 * socket/Makefile: Likewise.
541 * string/Makefile: Likewise.
542 * sunrpc/Makefile: Likewise.
543 * sysdeps/alpha/Makefile: Likewise.
544 * sysdeps/gnu/Makefile: Likewise.
545 * sysdeps/m68k/fpu/switch/Makefile: Likewise.
546 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
547 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
548 * sysdeps/mach/Makefile: Likewise.
549 * sysdeps/hurd/Makefile: Likewise.
550 * sysdeps/sparc/Makefile: Likewise.
551 * sysdeps/standalone/i960/nindy960/Makefile: Likewise.
552 * sysdeps/standalone/m68k/m68020/mvme136/Makefile: Likewise.
553 * sysdeps/unix/common/Makefile: Likewise.
554 * sysdeps/unix/sysv/Makefile: Likewise.
555 * sysdeps/unix/sysv/irix4/Makefile: Likewise.
556 * sysdeps/unix/sysv/sco3.2/Makefile: Likewise.
557 * sysdeps/unix/sysv/sysv4/Makefile: Likewise.
558 * sysdeps/vax/Makefile: Likewise.
559 * sysvipc/Makefile: Likewise.
560 * wcsmbs/Makefile: Likewise.
561 * wctype/Makefile: Likewise.
563 * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable
564 are separated according to Sun docs by white space not colon.
566 * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize
567 fields which are not defined for the C locale.
569 * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed
571 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
572 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
574 Sun Jan 19 19:43:31 1997 Andreas Jaeger <aj@arthur.pfalz.de>
576 * time/strptime.c: Provide prototype for strptime_internal.
578 Sun Jan 19 23:46:27 1997 Ulrich Drepper <drepper@cygnus.com>
580 * glibcbug.in: We don't guarantee confidential handling. Set
581 field to always contain `no'.
583 Sun Jan 19 21:28:01 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
585 * intl/explodename.c: Include sys/types.h.
586 * intl/l10nflist.c: Likewise.
588 Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
590 * config.make.in (install_root): New variable to make it easy to
591 install glibc somewhere other than /.
593 * shlib-versions: alpha-*-linux-* libc=6.1.
595 Since sigset_t no longer fits in a register, we can't pass in the
596 thread's initial mask so easily. Take this opportunity to simplify
597 the clone implementation by only accepting a single void* argument.
599 * sysdeps/unix/sysv/linux/alpha/clone.S: Only take one argument.
600 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
601 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
602 * sysdeps/unix/sysv/linux/sparc/clone.S: Likewise.
603 * sysdeps/unix/sysv/linux/schedbits.h: Update clone prototypes.
605 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove.
606 Default Linux version should be sufficient.
608 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask
609 system call wants the sigset dereferenced.
611 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add entries for
612 __syscall_ustat and __syscall_xmknod.
613 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Include sys/sysmacros.h.
615 * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints.
617 * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences.
619 * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about
620 dependency to kernel type.
622 * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment.
624 Sun Jan 19 04:38:20 1997 Ulrich Drepper <drepper@cygnus.com>
626 * config.make.in (have-ksh, KSH): New variables. Will be filled
628 * configure.in: Add test for ksh like shell (prefer bash).
629 * time/Makefile (tests): Depend on install-test-data.
630 (distribute): Add simplebackw.
631 (generated-dirs): New variable.
632 [$(have-ksh)==yes] (install-others): Add iso3166.tab and zone.tab.
633 (install-bin): Add tzselect.
634 (install-test-data): Install the zoneinfo files which are needed
635 for the test case in the build directory.
636 (test-tz-ENV): New variable. Call test-tz program using data in
638 * time/simpleback: New file.
639 * time/test-tz.c: Pretty print.
640 * time/tzfile.c: Use value of environment variable TZDIR as directory
641 to look for zone info files.
642 don't let search for DST data destroy already found values.
643 * time/tzselect.ksh: Use @KSH@ and @TZDIR@ to be substituted when
645 * time/tzset.c (__tzset_internal): Avoid freeing string twice.
646 Set DST zone name to normal zone name if no information is provided.
648 * time/mktime.c (mktime): Call __tzset_internal to use current
651 * Makerules (common-clean): Remove $(generated-dirs) inclusing content.
653 * glibcbug.in: Fix several bugs. Reported by several people.
655 * elf/Makefile: Correct dependecies for $(objpfx)ldd.
657 * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST.
659 * locale/C-time.c: Update copyright.
660 * locale/localeinfo.h: Likewise.
661 * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
663 * locale/programs/ld-time.c (time_finish): Correct message string.
664 * locale/programs/linereader.c (lr_token): Use correctly `number'
665 not `digit' in message string.
667 * stdlib/strtol.c [UNSIGNED]: Don't punt immediately when `-' is
668 seen. Instead return ULONG_MAX and set ERANGE.
669 * stdlib/tst-strtol.c: Correct test to reflect above change.
671 Sun Jan 19 03:22:30 1997 Ulrich Drepper <drepper@cygnus.com>
673 * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>.
674 We must not use <linux/posix_types.h>.
676 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Don't use __kernel_* types
677 since we must not use <linux/posix_types.h>.
678 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
679 * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: New file. Similar
680 to sysdeps/unix/sysv/linux/sys/ipc_buf.h, but use alpha relavent
682 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: New file. Similar
683 to sysdeps/unix/sysv/linux/sys/procfs.h, but use alpha relavent
686 Sun Jan 19 01:48:20 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
688 * sysdeps/libm-i387/e_exp.S: Correct computation of fractional
690 * sysdeps/libm-i387/e_expf.S: Likewise.
691 * sysdeps/libm-i387/e_expl.S: Likewise.
692 * sysdeps/libm-i387/s_expm1.S: Correct computation of fractional
693 part. Take care of additional value left on stack by fscale.
694 * sysdeps/libm-i387/s_expm1f.S: Likewise.
695 * sysdeps/libm-i387/s_expm1l.S: Likewise.
697 Fri Jan 17 17:45:32 1997 Ulrich Drepper <drepper@cygnus.com>
699 * posix/getopt.c: Change all direct usages of `gettext' to `_'.
701 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing
703 Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>.
705 Thu Jan 16 23:39:25 1997 Ulrich Drepper <drepper@cygnus.com>
707 * stdio-common/Makefile (tests): Add scanf11.
708 * stdio-common/scanf11.c: New file.
709 * stdio-common/vfscanf.c (__vfscanf): Increment `done' when %n
710 was processed and value is not suppressed.
711 * stdio-common/bug10.c: Correct test to expect %n increment the
712 return value of scanf.
713 * stdio-common/scanf1.c: Likewise.
714 * stdio-common/scanf3.c: Likewise.
715 * stdio-common/scanf10.c: Likewise.
716 * stdio-common/tstdiomisc.c: Likewise.
718 * time/strptime.c: Add lots of conditional compiling to enable use
719 outside glibc. When used in glibc, make sure C locale format
720 strings will always be recognized.
722 Sat Jan 11 18:53:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
724 * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
725 Fix definitions so that they work with __kernel_dev_t.
727 Sat Jan 11 14:24:10 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
729 * sysdeps/unix/sysv/linux/kernel_sigaction.h,
730 sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h,
731 sysdeps/unix/sysv/linux/sigaction.c: New files.
732 * sysdeps/unix/sysv/linux/syscalls.list: Add s_sigaction.
734 Sun Jan 12 15:22:33 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
736 * libc-symbols.h (link_warning): Make sure that the .gnu.warning
737 section is not allocated.
738 Update and reformat copyright.
740 Sun Jan 12 12:19:28 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
742 * elf/Makefile ($(objpfx)ldd): Fix depedency list.
744 Sat Jan 11 15:11:26 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
746 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix
747 command so that it works in subdirectories.
749 Wed Jan 8 22:07:58 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and
753 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
754 * sysdeps/unix/sysv/linux/i386/getgroups.c,
755 sysdeps/unix/sysv/linux/i386/setgroups.c,
756 sysdeps/unix/sysv/linux/m68k/getgroups.c,
757 sysdeps/unix/sysv/linux/m68k/setgroups.c: New files.
759 Wed Jan 8 19:42:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
761 * Makefile (config.status): Delete bogus rule.
762 ($(objpfx)glibcbug): Renamed from plain `glibcbug', depend on
763 config.status in build directory, fix command to change to build
765 * Makeconfig ($(common-objpfx)config.status): Depend on version.h.
767 Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
769 * glibcbug.in (while): We test for four and not five conditions,
770 set MAIL_AGENT instead of RMAIL, filter spaces and tabs.
772 Thu Jan 16 22:00:27 1997 Ulrich Drepper <drepper@cygnus.com>
774 * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT
775 is not defined. Reported by Andreas Jaeger.
777 Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
779 * new-malloc/malloc.c (__MALLOC_P): define call to pthread
780 initializer only if NO_THREADS is not defined.
782 Wed Jan 8 21:28:58 1997 Andreas Jaeger <aj@arthur.pfalz.de>
784 * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes
787 Thu Jan 16 21:50:27 1997 Ulrich Drepper <drepper@cygnus.com>
789 * inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr
792 Tue Jan 7 17:29:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
794 * Makerules (LDLIBS-c.so): New variable.
796 Tue Jan 7 19:22:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
798 * Makefile ($(includedir)/gnu/lib-names.h): Define the library
799 names as strings, not as sequence of tokens that may fall apart.
801 Fri Jan 10 14:08:41 1997 Roland McGrath <roland@fmh.frob.com>
803 * time/tzfile.c (__tzfile_read): Check for bogus type and zone name
804 indices in data file and punt, so a bogus file can't crash us.
806 Thu Jan 16 20:29:15 1997 Ulrich Drepper <drepper@cygnus.com>
808 * values.h [__USE_MISC]: Define BITSPERBYTE.
810 Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
812 * stdio/vdprintf.c: Moved file to ...
813 * sysdeps/posix/vdprintf.c: Here. De-ansideclificate.
814 * sysdeps/stub/vdprintf.c: New file.
815 * sysdeps/mach/hurd/vdprintf.c: New file.
817 Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
819 * sysdeps/mach/hurd/posix_opt.h: New file.
821 * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.
823 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
826 * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
829 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831 * signal/sigempty.c (sigemptyset): Correct typo: Empty set should
834 Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com>
836 * inet/gethstbynm.c: Include additional headers for additional
837 code in nss/digits_dots.c.
838 * inet/gethstbynm_r.c: Likewise.
839 * inet/gethstbynm2.c: Likewise.
840 * inet/gethstbynm2_r.c: Likewise.
841 * nss/digits_dots.c: New file. Handle dotted pair notation for
842 gethstbynm functions.
843 * nss/getXXbyYY.c: Include digits_dots.c to get extra code for
844 handling dotted pair notation.
845 * nss/getXXbyYY_r.c: Likewise.
848 * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.
850 * io/getwd.c: Optimized a bit.
852 * signal/signal.h: Always declare __sysv_signal.
854 * sysdeps/generic/setenv.c: Add some portability code.
856 * sysdeps/unix/sysv/fcntlbits.h: Update copyright.
858 * sysdeps/unix/sysv/linux/fcntlbits.h: Add definitions from kernel
859 to avoid using kernel headers.
860 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: New file. Alpha
863 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't
864 mark sigreturn as EXTRA.
866 * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
867 * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version.
869 Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
871 * io/fts.c (fts_alloc): Add const to second parameter of function.
873 * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
876 * signal/sigfillset.c: Include <string.h> for memset declaration.
878 Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu>
880 * sysdeps/generic/setenv.c: Fix portability problems.
882 Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com>
884 * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
885 after the last option was seen.
887 Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com>
889 * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.
891 Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
893 * io/ftw.c: Add `const' to second parameter of function given as
894 second parameter to ftw.
895 * io/ftw.h: Likewise for prototype.
896 Reported by Ronald F. Guilmette <rfg@monkeys.com>.
898 Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk>
900 * inet/Makefile (headers): Add netinet/ip.h.
901 * inet/netinet/ip.h: New file, contains BSD definitions for struct
904 Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
906 * string/string.h (strnlen): Add cast for C++.
908 Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com>
910 * Makefile (install-bin): Define as glibcbug to install script.
911 (glibcbug): New rules. Create from glibcbug.in.
912 * configure.in (AC_OUTPUT): Generate glibcbug script.
913 * glibcbug.in: New file.
914 * version.c: Mention glibcbug to report bugs.
915 * catgets/gencat.c: Likewise.
916 * db/makedb.c: Likewise.
917 * locale/programs/locale.c: Likewise.
918 * locale/programs/localedef.c: Likewise.
919 * elf/ldd.bash.in: Likewise.
920 * elf/ldd.sh.in: Likewise.
921 * intl/locale.alias: Likewise.
923 * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c.
925 * set-init.c: Update and reformat copyright.
926 * version.c: Likewise.
927 * signal/sigaddset.c: Likewise.
928 * signal/sigdelset.c: Likewise.
929 * signal/sigempty.c: Likewise.
930 * signal/sigfillset.c: Likewise.
931 * signal/siggetmask.c: Likewise.
932 * signal/sigismem.c: Likewise.
933 * sysdeps/generic/speed.c: Likewise.
934 * sysdeps/unix/getdents.c: Likewise.
935 * sysdeps/unix/xmknod.c: Likewise.
936 * sysdeps/unix/bsd/poll.c: Likewise.
937 * sysdeps/unix/bsd/tcdrain.c: Likewise.
938 * sysdeps/unix/bsd/tcflow.c: Likewise.
939 * sysdeps/unix/bsd/tcflush.c: Likewise.
940 * sysdeps/unix/bsd/tcgetpgrp.c: Likewise.
941 * sysdeps/unix/bsd/tcsendbrk.c: Likewise.
942 * sysdeps/unix/bsd/tcsetpgrp.c: Likewise.
943 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
944 * sysdeps/unix/sysv/getdents.c: Likewise.
945 * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
946 * termios/Makefile: Likewise.
947 * termios/cfmakeraw.c: Likewise.
948 * termios/cfsetspeed.c: Likewise.
950 * version.h: Bump VERSION to 1.100.
952 * intl/finddomain.c: Defining stpcpy function isn't necessary.
954 * libio/genops.c (_IO_init): Use _IO_lock_init instead of
955 _IO_lock_init_recursive.
956 * libio/stdfiles.c (DEF_STDFILE): Use _IO_lock_initializer instead
959 * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead
961 * locale/programs/ld-collate.c: Likewise.
962 * locale/programs/simple-hash.c: Likewise.
964 * misc/Makefile (headers): Add selectbits.h.
965 * misc/sys/select.h: Include <selectbits.h> to get necessary
967 * sysdeps/generic/selectbits.h: New file. Generic macros for
968 handling file descriptor sets.
969 * sysdeps/i386/selectbits.h: New file. i386 specific macros for
970 handling file descriptor sets.
971 * sysdeps/generic/gnu/types.h: Remove _FD_* macros.
973 * misc/mntent_r.c: Fix handling of multiple, comma-separated
974 options. Patch by Sai-Lai Lo <sll@orl.co.uk>.
980 * posix/getopt.c: Only use the bash generated environment variable
981 to determine non-option parameters when using in GNU libc and if
982 the argument vector given to getopt is the same as given to the
985 * posix/unistd.h [__USE_GNU]: Declare environ.
987 * posix/sys/types.h (key_t): Also define when __USE_XOPEN.
989 * resolv/res_debug.c: Add casts to prevent warnings.
990 * resolv/res_query.c: Likewise.
992 * resolv/nss_dns/dns-host.c: Change type for buffer size arguments
994 * resolv/nss_dns/dns-network.c: Likewise.
996 * signal/sigempty.c: Use memset to initialize variable.
997 * signal/sigfillset.c: Likewise.
999 * signal/signal.h: Change back handling of signal. The BSD
1000 version is preferred and the new sysv_signal is used when
1002 * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID
1004 * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD
1006 * sysdpes/posix/sigpause.c: Correct comment.
1007 * sysdeps/stub/sigpause.c: Provide default implementation.
1008 * signal/Makefile (routines): Remove bsd_signal, add sysv_signal.
1010 * sysdeps/generic/abort.c: Allow repeated calls to abort if
1011 a user defined handler for SIGABRT is installed.
1013 * sysdeps/stub/libc-lock.h: Define separate set of macros for
1014 handling recursive mutexes.
1016 * sysdeps/unix/Makefile: Change rule to generate syscall.h file
1017 so that it is generate in the sys/ subdir.
1019 * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h.
1020 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and
1023 * sysdeps/unix/sysv/linux/direntry.h: Don't use struct dirent from
1024 kernel. Define own version with additional field d_type.
1025 * sysdeps/unix/sysv/linux/getdents.c: New file. Reformat dirent
1026 entries after reading from kernel.
1028 * sysdeps/unix/sysv/linux/gnu/types.h: Don't use kernel headers.
1029 Define types based on kernel types except for uid_t, gid_t, mode_t,
1030 dev_t which are larger now.
1031 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
1033 * sysdeps/unix/sysv/linux/ioctl-types.h: Don't include
1034 <linux/termios.h>. Define structure here.
1035 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Likewise.
1036 * sysdeps/unix/sysv/linux/kernel_termios.h: New file. Define
1037 architecture dependent struct termio type.
1038 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Likewise.
1039 * sysdeps/unix/sysv/linux/sigset.h: Define extended sigset_t type.
1040 * sysdeps/unix/sysv/linux/sigsuspend.c: Pass first word of array
1043 * sysdeps/unix/sysv/linux/socketbits.h: Don't use kernel header.
1044 * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
1045 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
1046 * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
1047 * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
1048 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
1049 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1050 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1052 * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
1053 Change definitions to fit new dev_t definition.
1055 * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
1056 Rename ustat to s_ustat since wrapper is needed.
1058 * sysdeps/unix/sysv/linux/tcgetattr.c: After getting value from
1059 kernel rewrite it to userland level data format.
1060 * sysdeps/unix/sysv/linux/tcsetattr.c: Before calling kernel change
1061 data format to kernel format.
1062 * sysdeps/unix/sysv/linux/ustat.c: New file. Change format of
1063 device parameter to format needed by kernel.
1064 * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
1065 * sysdeps/unix/sysv/linux/xmknod.c: New file. Extend generic
1066 version to change device parameter to format needed by kernel.
1067 * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
1069 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific
1070 definition of accounting structure.
1072 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
1073 Patch by Andreas Schwab.
1075 * time/ap.c: Include <mcheck.h>.
1077 * time/tzset.c (__tzset_internal): Change to take one argument
1078 which tells whether examining of TZ is always wanted or only if
1079 no initialization happened before.
1080 * time/localtime.c: (localtime, __localtime_r): Change for new
1081 __tzset_internal form.
1083 * time/sys/time.h: Include <sys/select.h> to get select related
1086 Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu>
1088 * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
1091 Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
1093 * misc/getpass.c: Make sure the content of the input buffer is not
1094 printed if the getpass function is interrupted.
1096 Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com>
1098 * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.
1100 Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com>
1102 * sysdeps/generic/abort.c: Include <string.h> for memset decl.
1104 * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
1105 <string.h> so memset is declared.
1107 Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com>
1109 * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.
1111 * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
1112 calls can be nested.
1114 * elf/link.h (struct link_map): Extend `l_info' by DT_EXTRANUM elts.
1115 * elf/dynamic-link.h (elf_get_dynamic_info): Grok tags in the Sun
1118 * elf/elf.h (DT_AUXILIARY, DT_FILTER, DT_EXTRANUM): New constant
1119 macros, for Sun extensions.
1120 (DT_EXTRATAGID): New macro to convert Sun extension tag values placed
1121 near the top of the processor-specific range into zero-origin indices.
1123 * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.
1125 Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de>
1127 * libio/fcloseall.c: Include stdio.h for prototype declaration for
1130 Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1132 * sysdeps/posix/signal.c: Provide ignorable definitions of
1133 SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
1136 Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1138 * MakeTAGS ($P/siglist.pot): Delete rule.
1139 (XGETTEXTFLAGS-siglist.pot): Remove definition.
1140 (all-pot): Remove $P/siglist.pot.
1141 * sysdeps/unix/siglist.c: Mark strings as translatable.
1142 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1144 Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1146 * misc/syscall.h: New file.
1147 * misc/sys/syscall.h: Removed. Forwarding to <syscall.h> might
1148 find user header, so do it the other way round.
1149 * sysdeps/mach/sys/syscall.h: Moved here from parent directory.
1150 * sysdeps/stub/sys/syscall.h: Likewise.
1151 * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
1152 * sysdeps/unix/sysv/sco3.2.4/sys/syscall.h: Likewise.
1153 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Update
1155 * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of
1158 Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1160 * features.h: Fix typo.
1162 Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com>
1164 * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.
1166 Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
1168 * libio/Makefile (routines): Add fcloseall.
1169 * libio/fcloseall.c: New file.
1170 * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
1171 * libio/iofclose.c: Don't close all streams when argument is NULL.
1173 * stdio/Makefile (routines): Add fcloseall.
1174 * stdio/fcloseall.c: New file.
1175 * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
1176 * stdio/fclose.c: Don't close all streams when argument is NULL.
1178 * manual/stdio.texi: Document fcloseall.
1180 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
1183 * socket/sys/un.h (SUN_LEN): Add cast.
1185 * sunrpc/auth_unix.c (authunix_create): Change parameter types
1186 of uid, gid, and aup_gids to uid_t and gid_t respectively.
1187 (authunix_create_default): Likewise.
1188 (authunix_refresh): Correct cast for aup_gids assignment.
1189 * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration.
1190 * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field
1191 types to uid_t and gid_t respectively.
1192 (struct short_hand_verf): Likewise.
1193 Reported by Andreas Schwab.
1195 * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets
1197 * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
1198 use in C++ programs.
1200 * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler
1201 version of pow() function.
1202 * sysdeps/libm-i387/e_powf.S: New file. Float version.
1203 * sysdeps/libm-i387/e_powl.S: New file. Long double version.
1205 * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler
1206 version of expm1() function.
1207 * sysdeps/libm-i387/s_expm1f.S: New file. Float version.
1208 * sysdeps/libm-i387/s_expm1l.S: New file. Long double version.
1210 * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf.
1211 Better handling of computation stack from current NetBSD sources.
1212 * sysdeps/libm-i387/e_expf.S: Likewise.
1213 * sysdeps/libm-i387/e_expl.S: Likewise.
1215 * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp.
1216 * sysdeps/libm-i387/e_logf.S: Likewise.
1217 * sysdeps/libm-i387/e_logl.S: Likewise.
1218 * sysdeps/libm-i387/e_log10.S: Likewise.
1219 * sysdeps/libm-i387/e_log10f.S: Likewise.
1220 * sysdeps/libm-i387/e_log10l.S: Likewise.
1221 * sysdeps/libm-i387/s_asinh.S: Likewise.
1222 * sysdeps/libm-i387/s_asinhf.S: Likewise.
1223 * sysdeps/libm-i387/s_asinhl.S: Likewise.
1224 * sysdeps/libm-i387/s_significandl.S: Likewise.
1226 * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify
1227 stack pointer directly. Use 32 bit instead of 16 bit operations.
1228 * sysdeps/libm-i387/s_ceilf.S: Likewise.
1229 * sysdeps/libm-i387/s_ceill.S: Likewise.
1230 * sysdeps/libm-i387/s_floor.S: Likewise.
1231 * sysdeps/libm-i387/s_floorf.S: Likewise.
1232 * sysdeps/libm-i387/s_floorl.S: Likewise.
1234 * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile.
1235 * sysdeps/libm-ieee754/e_expf.c: Likewise.
1236 * sysdeps/libm-ieee754/e_powf.c: Likewise.
1237 From current NetBSD sources.
1239 * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize
1240 `a' and `b' in definition.
1241 * sysdeps/libm-ieee754/e_hypotf.c: Likewise.
1243 * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double
1245 * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double
1247 * sysdeps/stub/e_hypotl.c: Removed. We have a real version now.
1248 * sysdeps/stub/e_sinhl.c: Removed.
1250 * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of
1251 sigaddset. Reported by Andreas Schwab.
1252 (__default_sigpause): New function. Call __sigpause as BSD version.
1253 Make this the default function by providing alias sigpause.
1254 * sysdeps/stub/sigpause.c (__default_sigpause): New funciton.
1255 Simply fail. Provide alias sigpause.
1257 Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
1259 * po/es.po: Update for glibc-1.98.
1260 * po/fr.po: Likewise.
1261 * po/sv.po: New file. Swedish translation.
1263 Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
1265 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
1268 Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1270 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
1271 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
1273 Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1275 * Makefile (subdirs): Move `elf' last so that librtld.so isn't
1276 relinked in the `make others' pass if an add-on adds something to
1279 Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1281 * sysdeps/m68k/abort-instr.h: New File.
1283 Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1285 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
1288 Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1290 * resolv/Makefile (subdirs-dirs): Define.
1292 Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1294 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
1296 Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
1298 Update from ADO tzcode1996o.
1299 * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit
1300 according to ADO version.
1301 * time/zic.c: Correct typo is message.
1303 Update from ADO tzdata1996n.
1304 * time/asia: Updated.
1305 * time/australasia: Likewise.
1306 * time/europe: Likewise.
1307 * time/northamerica: Likewise.
1308 * time/southamerica: Likewise.
1310 Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
1312 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
1315 * features.h: Rename ANSI C to ISO C.
1316 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
1318 * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION.
1319 * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check
1320 whether we can elide the code.
1321 * posix/getopt1.c: Likewise.
1322 * posix/Makefile: Correct copyright.
1324 * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
1326 * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if
1327 MAP_ANON is defined.
1328 * elf/eval.c: Use __getline instead of getline.
1329 * elf/rtld.c (dl_main): Check return value of _dl_new_object
1331 * sysdeps/generic/dl-cache.c: Update copyright.
1333 * signal/Makefile: Correct copyright.
1334 (routines): Remove gsignal and ssignal. Add bsd_signal.
1335 * signal/gsignal.c: Removed. Now is made an alias.
1336 * signal/ssignal.c: Likewise.
1337 * sysdeps/posix/raise.c: Add alias gsignal.
1338 * sysdeps/stub/raise.c: Likewise.
1339 * sysdeps/posix/signal.c: Add alias ssignal.
1340 * sysdeps/stub/signal.c: Likewise.
1341 * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal
1343 * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG
1344 function. This is the old signal.c file.
1345 * sysdeps/posix/signal.c: Change to have semantic of X/Open.
1347 * sysdeps/unix/sysv/linux/signal.c: Add explanation.
1349 * socket/sys/un.h: Define SUN_LEN according to POSIX.1g.
1351 * stdio-common/Makefile (tests): Add scanf10.
1352 * stdio-common/scanf10.c: New file.
1353 * stdio-common/vfscanf.c: Decrement counter if EOF is read while
1356 * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END.
1357 * sysdeps/libm-i387/e_acosl.S: Likewise.
1358 * sysdeps/libm-i387/e_asin.S: Likewise.
1359 * sysdeps/libm-i387/e_asinl.S: Likewise.
1360 * sysdeps/libm-i387/e_atan2.S: Likewise.
1361 * sysdeps/libm-i387/e_atan2f.S: Likewise.
1362 * sysdeps/libm-i387/e_atan2l.S: Likewise.
1363 * sysdeps/libm-i387/e_exp.S: Likewise.
1364 * sysdeps/libm-i387/e_expl.S: Likewise.
1365 * sysdeps/libm-i387/e_fmod.S: Likewise.
1366 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1367 * sysdeps/libm-i387/e_log.S: Likewise.
1368 * sysdeps/libm-i387/e_log10.S: Likewise.
1369 * sysdeps/libm-i387/e_log10l.S: Likewise.
1370 * sysdeps/libm-i387/e_logl.S: Likewise.
1371 * sysdeps/libm-i387/e_remainder.S: Likewise.
1372 * sysdeps/libm-i387/e_remainderf.S: Likewise.
1373 * sysdeps/libm-i387/e_remainderl.S: Likewise.
1374 * sysdeps/libm-i387/e_scalb.S: Likewise.
1375 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1376 * sysdeps/libm-i387/e_sqrt.S: Likewise.
1377 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
1378 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
1379 * sysdeps/libm-i387/s_atan.S: Likewise.
1380 * sysdeps/libm-i387/s_atanf.S: Likewise.
1381 * sysdeps/libm-i387/s_atanl.S: Likewise.
1382 * sysdeps/libm-i387/s_ceil.S: Likewise.
1383 * sysdeps/libm-i387/s_ceilf.S: Likewise.
1384 * sysdeps/libm-i387/s_ceill.S: Likewise.
1385 * sysdeps/libm-i387/s_copysign.S: Likewise.
1386 * sysdeps/libm-i387/s_copysignf.S: Likewise.
1387 * sysdeps/libm-i387/s_copysignl.S: Likewise.
1388 * sysdeps/libm-i387/s_cos.S: Likewise.
1389 * sysdeps/libm-i387/s_cosf.S: Likewise.
1390 * sysdeps/libm-i387/s_cosl.S: Likewise.
1391 * sysdeps/libm-i387/s_finite.S: Likewise.
1392 * sysdeps/libm-i387/s_finitef.S: Likewise.
1393 * sysdeps/libm-i387/s_finitel.S: Likewise.
1394 * sysdeps/libm-i387/s_floor.S: Likewise.
1395 * sysdeps/libm-i387/s_floorf.S: Likewise.
1396 * sysdeps/libm-i387/s_floorl.S: Likewise.
1397 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1398 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1399 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
1400 * sysdeps/libm-i387/s_log1p.S: Likewise.
1401 * sysdeps/libm-i387/s_log1pf.S: Likewise.
1402 * sysdeps/libm-i387/s_log1pl.S: Likewise.
1403 * sysdeps/libm-i387/s_logb.S: Likewise.
1404 * sysdeps/libm-i387/s_logbf.S: Likewise.
1405 * sysdeps/libm-i387/s_logbl.S: Likewise.
1406 * sysdeps/libm-i387/s_rint.S: Likewise.
1407 * sysdeps/libm-i387/s_rintf.S: Likewise.
1408 * sysdeps/libm-i387/s_rintl.S: Likewise.
1409 * sysdeps/libm-i387/s_scalbn.S: Likewise.
1410 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
1411 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
1412 * sysdeps/libm-i387/s_significand.S: Likewise.
1413 * sysdeps/libm-i387/s_significandf.S: Likewise.
1414 * sysdeps/libm-i387/s_significandl.S: Likewise.
1415 * sysdeps/libm-i387/s_sin.S: Likewise.
1416 * sysdeps/libm-i387/s_sinf.S: Likewise.
1417 * sysdeps/libm-i387/s_sinl.S: Likewise.
1419 * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values
1420 near 1 to increase precision.
1421 * sysdeps/libm-i387/e_log10.S: Likewise.
1422 * sysdeps/libm-i387/e_log10l.S: Likewise.
1423 * sysdeps/libm-i387/e_logl.S: Likewise.
1425 * sysdeps/libm-i387/s_cos.S: Use testl instead of andw.
1426 * sysdeps/libm-i387/s_cosl.S: Likewise.
1427 * sysdeps/libm-i387/s_sin.S: Likewise.
1428 * sysdeps/libm-i387/s_sinl.S: Likewise.
1429 * sysdeps/libm-i387/s_tan.S: Likewise.
1430 * sysdeps/libm-i387/s_tanl.S: Likewise.
1432 * sysdeps/libm-i387/e_acosf.S: New file. Add float versions.
1433 * sysdeps/libm-i387/e_asinf.S: Likewise.
1434 * sysdeps/libm-i387/e_expf.S: Likewise.
1435 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1436 * sysdeps/libm-i387/e_log10f.S: Likewise.
1437 * sysdeps/libm-i387/e_logf.S: Likewise.
1438 * sysdeps/libm-i387/e_scalbf.S: Likewise.
1440 * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions.
1441 * sysdeps/libm-i387/e_acoshf.S: Likewise.
1442 * sysdeps/libm-i387/e_acoshl.S: Likewise.
1443 * sysdeps/libm-i387/e_atanh.S: Likewise.
1444 * sysdeps/libm-i387/e_atanhf.S: Likewise.
1445 * sysdeps/libm-i387/e_atanhl.S: Likewise.
1446 * sysdeps/libm-i387/e_asinh.S: Likewise.
1447 * sysdeps/libm-i387/e_asinhf.S: Likewise.
1448 * sysdeps/libm-i387/e_asinhl.S: Likewise.
1450 * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels
1451 for simplified handling.
1453 * sysdeps/unix/sysv/linux/syscalls.list: Add query_module.
1455 Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1457 * inet/rcmd.c (rcmd): Set h_errno before calling herror.
1458 * inet/rexec.c (rexec): Likewise.
1460 Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1462 * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
1465 Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com>
1467 * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range
1468 -0.29 <= x <= 0.29, otherwise the old method.
1469 * sysdeps/libm-i387/s_log1pf.S: Likewise.
1470 * sysdeps/libm-i387/s_log1pl.S: Likewise.
1472 Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com>
1474 * inet/getnetgrent.c: Reformat copyright.
1476 * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment.
1477 (__internal_getnetgrent): Rename to __internal_getnetgrent_r as
1478 required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996.
1479 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1481 * nss/nss_files/files-netgrp.c: Fix typo.
1482 * login/utmp_db.c: Comment out unused variables.
1483 * misc/tst-dirname.c: Provide prototype for main (for now).
1484 * new-malloc/mcheck-init.c: Include <mcheck.h>.
1485 * new-malloc/obstack.c: Provide real prototypes.
1487 * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int.
1488 (b64_pton): Likewise for `tarindex'.
1489 * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning.
1491 * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning.
1492 * stdio-common/printf-parse.h: Remove definition of MIN and MAX.
1493 * stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX.
1494 * stdio-common/vfprintf.c: Likewise.
1495 * stdlib/gmp-impl.h: Only define MIN and MAX if not already done.
1496 * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value.
1498 * sysdeps/generic/Makefile ($(subdir)=string): Define
1499 CFLAGS-wordcopy.c to prevent warning.
1500 * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline.
1501 * sysdeps/generic/wordcopy.c: De-ANSI-declfy.
1502 * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
1504 * sysdeps/i386/dl-machine.h: Correct copyright.
1505 * sysdeps/unix/closedir.c: Likewise.
1506 * sysdeps/unix/dirstream.h: Likewise.
1507 * sysdeps/unix/opendir.c: Likewise.
1508 * time/tzset.c: Add prototype for __tzset_internal.
1510 * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the
1511 way it is supposed to work is not yet known.
1512 (struct utmp): Remove ut_login and ut_syslen field for now.
1514 Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com>
1516 * time/strftime.c: Fix another bug in handling flags made it
1517 impossible to use the `-', `_', or `0' flag.
1519 Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
1521 * sysdeps/unix/common/pause.c: Add missing second argument in
1523 Reported by a sun <asun@zoology.washington.edu>.
1525 * locale/weight.h: Correct handling of collation elements.
1526 Reported by Keld Simonsen <keld@dkuug.dk>.
1528 * manual/time.texi: Document ^ flag and %P format.
1530 * new-malloc/malloc.c: Update from Wolfram Gloger.
1532 * nss/nss.h: Reformat copyright.
1533 * posix/sched.h: Likewise.
1534 * sysdeps/i386/fpu_control.h: Likewise.
1535 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
1536 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
1537 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
1538 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
1539 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1540 * sysvips/sys/msg.h: Likewise.
1542 * stdio-common/Makefile (routines): Remove fcloseall.
1543 * stdio-common/fcloseall.c: Removed.
1545 * stdlib/Makefile (distribute): Add abort-instr.h.
1546 * sysdeps/generic/abort-instr.h: New file.
1547 * sysdeps/i386/abort-instr.h: New file.
1548 * sysdeps/generic/abort.c: Use lock and stage counter to prevent
1551 * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
1552 * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
1553 as 1000000. Define CLK_TCK as 1024.
1554 * time/time.c (CLK_TCK): Define only if not already set.
1556 * time/strftime.c: Don't use `isdigit' when computing field width
1557 from string since the locale might have more than one digit
1560 Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
1562 * posix/getopt.c (in -W option handling): Return when optind == argc.
1564 Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1566 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
1569 * nis/nss_compat/compat-grp.c: Include the declaration of the file
1571 * nis/nss_compat/compat-pwd.c: Likewise.
1572 * nis/nss_compat/compat-spwd.c: Likewise.
1573 * nis/nss_nis/nis-ethers.c: Likewise.
1574 * nis/nss_nis/nis-grp.c: Likewise.
1575 * nis/nss_nis/nis-network.c: Likewise.
1576 * nis/nss_nis/nis-proto.c: Likewise.
1577 * nis/nss_nis/nis-pwd.c: Likewise.
1578 * nis/nss_nis/nis-rpc.c: Likewise.
1579 * nis/nss_nis/nis-spwd.c: Likewise.
1581 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
1582 getgrent_next_file): Pass the correct type for the buffer to the
1584 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
1585 getpwent_next_nis, getpwent_next_file): Likewise.
1586 * nis/nss_compat/compat-spwd.c (getspent_next_netgr,
1587 getspent_next_nis, getspent_next_file): Likewise.
1588 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
1589 _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
1590 * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
1591 _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
1592 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1593 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1594 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
1595 _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
1596 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
1597 _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
1598 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1599 _nss_nis_getrpcbynumber_r): Likewise.
1600 * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
1601 _nss_nis_getspnam_r): Likewise.
1603 Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1605 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
1607 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
1609 * resolv/resolv.h: Update from BIND 4.9.5-P1.
1610 * resolv/res_comp.c: Likewise.
1611 * resolv/res_debug.c: Likewise.
1612 * resolv/Banner: Update version number.
1614 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
1616 * elf/dlfcn.h: Add extern "C" wrapper.
1618 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
1619 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
1620 __USE_XOPEN_EXTENDED.
1621 * locale/locale.h: Define NULL.
1622 * math/math.c: Don't include <errno.h> to define math errors.
1623 * stdlib/stdlib.h: Likewise.
1624 * posix/unistd.h: Don't declare environ.
1625 * posix/sys/utsname.h (struct utsname): Declare member domainname
1626 as __domainname is !__USE_GNU.
1627 * signal/signal.h: Declare size_t only if __USE_BSD ||
1628 __USE_XOPEN_EXTENDED.
1629 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
1630 instead when __USE_XOPEN.
1631 * string/string.h: Define strndup only if __USE_GNU.
1632 * sysdeps/unix/sysv/linux/clock.c: New file.
1633 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
1634 1000000 per X/Open standard.
1635 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
1636 Define __USE_POSIX199309.
1637 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
1638 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
1639 Patches by Rüdiger Helsch <rh@unifix.de>.
1641 * locale/locale.h: Add declaration of newlocale and freelocale.
1643 * new-malloc/Makefile (distibute): Add mtrace.awk.
1644 (dist-routines): Add mcheck and mtrace.
1645 (install-lib, non-lib.a): Define as libmcheck.a.
1646 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
1647 * new-malloc/mcheck.c: New file.
1648 * new-malloc/mcheck.h: New file.
1649 * new-malloc/mtrace.c: New file.
1650 * new-malloc/mtrace.awk: New file.
1652 * posix/unistd.h: Correct prototype for usleep.
1653 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
1654 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
1657 * signal/signal.h: Change protoype of __sigpause to take two
1658 arguments. Remove prototype for sigpause. Add two different
1659 macros named sigpause selected when __USE_BSD or __USE_XOPEN
1660 are defined. This is necessary since the old BSD definition
1661 of theis function collides with the X/Open definition.
1662 * sysdeps/posix/sigpause.c: Change function definition to also
1663 fit X/Open definition.
1665 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
1667 * sysdeps/libm-i387/e_expl.S: Likewise.
1670 1996-12-17 Paul Eggert <eggert@twinsun.com>
1672 * many, many files: Spelling corrections.
1673 * catgets/catgetsinfo.h (mmapped):
1674 Renamed from mmaped (in struct catalog_info.status).
1675 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
1676 Fix spelling in message.
1677 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
1678 a fix in the tzcode distribution.
1680 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
1682 * time/strftime.c: Implement ^ flag to cause output be converted
1683 to use upper case characters.
1685 * time/zic.c: Update from ADO tzcode1996n.
1687 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
1689 * time/strftime.c (add): Don't change global `i' until all is over.
1690 Define NULL is not already defined.
1692 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1694 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
1695 to avoid the need for a cast.
1696 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1698 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
1700 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
1701 The stream is private and usages outside glibc don't care about
1703 * io/fts.c: Likewise.
1704 * io/ftw.c: Likewise.
1705 * sysdeps/posix/getcwd.c: Likewise.
1706 * sysdeps/posix/ttyname.c: Likewise.
1707 * sysdeps/posix/ttyname_r.c: Likewise.
1708 * sysdeps/posix/glob.c: Likewise.
1710 * libio/iovsprintf.c: Add cast to prevent warning.
1711 * libio/iovsscanf.c: Likewise.
1713 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
1714 to keep namespace clean.
1716 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
1717 Add hooks and check functions from old GNU malloc.
1718 * new-malloc/malloc.h: Likewise.
1720 * nis/ypclnt.c: Remove prototype for xdr_free.
1721 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
1723 * manual/nss.texi: Correct description of default values and don't
1724 meantion NSS as an add-on.
1726 * nss/grp-lookup.c: Provide default value as
1727 "compat [NOTFOUND=return] files".
1728 * nss/pwd-lookup.c: Likewise.
1729 * nss/spwd-lookup.c: Likewise.
1730 * nss/network-lookup.c: Correct default to
1731 "dns [!UNAVAIL=return] files".
1732 * nss/nsswitch.c: Change default-default value to "nis
1733 [NOTFOUND=return] files" since compat is only available for group,
1736 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
1738 * stdlib/stdlib.h: Add prototype for __on_exit.
1740 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
1742 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
1743 The new malloc now has mcheck.
1744 * time/ap.c: Likewise.
1746 * time/tzset.c (__tzset): Rename to __tzset_internal.
1747 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
1748 * time/localtime.c: Use __tzset_internal not __tzset.
1749 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
1750 as __tzset to prevent namespace pollution.
1752 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
1753 a weak alias of __iswctype.
1754 * wctype/wctype.h: Add prototype for __iswctype.
1755 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
1756 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
1757 Use __iswctype for the test, not iswctype.
1759 1996-12-16 Paul Eggert <eggert@twinsun.com>
1761 * hurd/hurd/sigpreempt.h
1762 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
1763 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
1764 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
1765 hurd/hurdsig.c (_hurdsig_preempters):
1766 Renamed to fix spelling from `preempter' to `preemptor'.
1769 1996-12-15 Paul Eggert <eggert@twinsun.com>
1771 * ctime.c (ctime): Return asctime (localtime (t)), as the C
1774 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1776 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
1777 value because Mach/cthreads uses the opposite convention from
1780 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
1782 * stdio-common/fcloseall.c: Correct test of already_called.
1783 Reported by Thomas Bushnell, n/BSG.
1785 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1787 * mach/lock-intern.h (__mutex_try_lock): New function.
1789 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1791 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
1792 defined, else XTABS.
1793 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
1795 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1797 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
1798 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1799 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
1801 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
1803 Make sure tzset() sets always tzname[].
1804 * time/tzfile.c: De-ANSI-declfy.
1805 (find_transition): New function. Set tzname according to given time.
1806 (__tzread_file): Use find_transition to set tzname.
1807 (__tzfile_compute): Use find_transition instead of doing the work
1809 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
1811 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
1813 * login/utmp-file.c (pututline_file): Open file if closed.
1814 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
1815 Use fcntl instead of flock.
1817 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
1819 * manual/time.texi: Update documentation of strftime function.
1821 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
1823 * Makefile (subdirs): Change crypt to md5-crypt.
1824 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
1825 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
1827 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
1828 crypt instead of LinuxThreads and des-crypt.
1830 * Makefile (subdirs): Add nss back.
1831 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
1834 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
1835 * stdio-common/Makefile (routines): Add fcloseall.
1836 * stdio-common/fcloseall.c: New file.
1837 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
1839 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
1840 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
1843 * stdio-common/printf.h: Define MIN and MAX only if not already
1846 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
1847 allow writing. Required by POSIX.1.
1849 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
1852 * interp.c: Update copyright.
1853 * libio/clearerr.c: Likewise.
1854 * libio/ioseekoff.c: Likewise.
1855 * libio/ioseekpos.c: Likewise.
1856 * stdio/fclose.c: Likewise.
1857 * stdio/fflus.c: Likewise.
1859 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
1860 and _IO_cleanup_region_end as empty.
1861 * libio/fgetc.c: Use _IO_cleanup_region_start and
1862 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
1863 __libc_cleanup_region_end.
1864 * libio/fputc.c: Likewise.
1865 * libio/freopen.c: Likewise.
1866 * libio/fseek.c: Likewise.
1867 * libio/getc.c: Likewise.
1868 * libio/getchar.c: Likewise.
1869 * libio/iofclose.c: Likewise.
1870 * libio/iofflush.c: Likewise.
1871 * libio/iofgetpos.c: Likewise.
1872 * libio/iofgets.c: Likewise.
1873 * libio/iofputs.c: Likewise.
1874 * libio/iofread.c: Likewise.
1875 * libio/iofsetpos.c: Likewise.
1876 * libio/ioftell.c: Likewise.
1877 * libio/iofwrite.c: Likewise.
1878 * libio/iogetdelim.c: Likewise.
1879 * libio/iogets.c: Likewise.
1880 * libio/ioputs.c: Likewise.
1881 * libio/iosetbuffer.c: Likewise.
1882 * libio/iosetvbuf.c: Likewise.
1883 * libio/ioungetc.c: Likewise.
1885 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
1886 locks can stay over.
1887 * libio/iovsscanf.c: Likewise.
1889 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
1890 instead of __libc_lock_init_recursive and __libc_lock_fini.
1892 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
1893 Otherwise use isatty.
1894 * libio/fileops.c: Likewise for __open and open.
1896 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
1899 * nis/ypclnt.h: Add more casts to prevent warnings.
1901 * nss/Makefile (services): Remove dns.
1902 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
1903 ($(objpfx)libnss_dns.so): Removed.
1904 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
1905 * resolv/nss_dns: ...here.
1906 * resolv/Makefile (extra-libs): Add libnss_dns.
1907 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
1910 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
1911 specifying alternate name for entry in /etc/nsswitch.conf
1912 * nss/nsswitch.c: If no entry with primary name is found in
1913 /etc/nsswitch.conf try alternate name if given.
1914 * nss/nsswitch.h: Add new parameter in prototype for
1915 __nss_database_lookup.
1916 * nss/spwd-lookup.c: Provide alternative entry name to look for.
1917 This makes our NSS compatible with Solaris' nsswitch.conf files.
1919 * string/tst-strlen.c: Change all counting variables to type size_t
1920 to prevent warnings.
1922 * sysdeps/posix/fpathconf.c: Update copyright.
1923 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
1924 Opening the file at this path may fail if it is a FIFO or pipe.
1926 These changes make the time implementation POSIX.1 compliant.
1927 * time/localtime.c (__localtime_r): Always call __tzset not only
1928 if __tzset_run is zero.
1929 * time/strftime.c: Add definition of memset_space to help to
1930 reduce for systems which have memset.
1931 (strftime): Don't use tm_zone member of argument for zone name.
1932 Instead always use tzname[].
1933 Call tzset() as required by POSIX.1 before any action.
1934 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
1935 Remove global variable __tzset_run. __tzset is now called always
1936 when a dependent function is used.
1937 (__tzset): Caching happens based on the contents of the
1938 environment variable TZ.
1940 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1942 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
1944 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1946 * rellns-sh: Correctly handle a relative source file name.
1948 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1950 * login/utmp_file.c (setutent_file): Seek back to beginning of the
1953 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1955 * hurd/hurdinit.c (map0): Delete function. Don't do this on
1957 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1959 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
1961 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
1962 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
1965 Change libio buffer handling to allocate internal buffers using
1967 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
1969 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
1971 (_IO_default_doallocate): Change call to ALLOC_BUF.
1972 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
1973 to use mmap/munmap when possible.
1974 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
1975 * libio/vasprintf.c: Likewise.
1978 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
1979 * libio/libioP.h: Likewise.
1981 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
1982 restart syscall when EINTR was returned. Necessary for POSIX.1.
1984 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
1986 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
1989 * nis/Makefile: Remove rules for bsd-tools which are not part
1991 Patch by Thorsten Kukuk.
1993 * nis/ypclnt.c: Add prototype for xdr_free.
1994 Add const to first parameter for __yp_bind.
1995 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
1996 getpwent_next_file): Variable `p2len' must have type size_t.
1997 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
1998 * nis/nss_nis/nis-ethers.c: Likewise.
1999 * nis/nss_nis/nis-grp.c: Likewise.
2000 * nis/nss_nis/nis-hosts.c: Likewise.
2001 * nis/nss_nis/nis-network.c: Likewise.
2002 * nis/nss_nis/nis-proto.c: Likewise.
2003 * nis/nss_nis/nis-pwd.c: Likewise.
2004 * nis/nss_nis/nis-rpc.c: Likewise.
2005 * nis/nss_nis/nis-service.c: Likewise.
2006 * nis/nss_nis/nis-spwd.c: Likewise.
2008 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
2010 (ypmaplist): Change member names to `map' and `next' and provide
2011 #defines for old names.
2012 Patch by Thorsten Kukuk.
2014 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
2015 type for `datalen' parameter to size_t.
2017 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
2019 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
2021 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
2025 * stdio-common/tmpfile.c: Update copyright.
2027 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
2029 Don't eat white space for `C' format.
2031 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
2033 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
2034 * sysdeps/i386/abort.c: Removed. This version does not use
2037 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
2041 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
2042 call. If EMFILE, ENFILE, or EINTR return with error.
2044 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
2046 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
2047 We are compatible again.
2048 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
2049 even though it is not used.
2050 * malloc/obstack.h: Likewise.
2051 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
2052 alloc_failed bit to 0.
2054 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
2055 %P format and `0' modifier.
2057 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2059 * Makerules (make-link): Don't discard exit codes of intermediate
2060 commands. Always use rellns-sh if symbolic links are available.
2062 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2064 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
2065 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
2066 conflict of ntohs etc. in <asm/byteorder.h>.
2068 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
2070 Add NIS NSS implementation.
2071 * shlib-versions: Add versions for NIS libraries.
2072 * sysdeps/unix/inet/Subdirs: Add nis.
2073 * nis/Banner: New file.
2074 * nis/Makefile: New file.
2075 * nis/nss-nis.h: New file.
2076 * nis/yp_xdr.h: New file.
2077 * nis/ypclnt.h: New file.
2078 * nis/ypupdate_xdr.c: New file.
2079 * nis/nss_compat/compat-grp.c: New file.
2080 * nis/nss_compat/compat-pwd.c: New file.
2081 * nis/nss_compat/compat-spwd.c: New file.
2082 * nis/nss_nis/nis-alias.c: New file.
2083 * nis/nss_nis/nis-ethers.c: New file.
2084 * nis/nss_nis/nis-grp.c: New file.
2085 * nis/nss_nis/nis-hosts.c: New file.
2086 * nis/nss_nis/nis-netgrp.c: New file.
2087 * nis/nss_nis/nis-network.c: New file.
2088 * nis/nss_nis/nis-proto.c: New file.
2089 * nis/nss_nis/nis-publickey.c: New file.
2090 * nis/nss_nis/nis-pwd.c: New file.
2091 * nis/nss_nis/nis-rpc.c: New file.
2092 * nis/nss_nis/nis-service.c: New file.
2093 * nis/nss_nis/nis-spwd.c: New file.
2094 * nis/rpcsvc/yp.h: New file.
2095 * nis/rpcsvc/yp.x: New file.
2096 * nis/rpcsvc/yp_prot.h: New file.
2097 * nis/rpcsvc/ypclnt.h: New file.
2098 * nis/rpcsvc/ypupd.h: New file.
2100 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
2102 * locale/C-numeric.c: Update copyright.
2104 * locale/Makefile: Add rules to build libBrokenLocale.
2105 * locale/broken_cur_max.c: New file.
2106 * locale/mb_cur_max.c: Update copyright.
2107 (__ctype_get_mb_cur_max): Make function weak.
2109 * new-malloc/malloc.c: Correct copyright.
2110 * new-malloc/thread-m.h: Correct key handling.
2112 * shadow/lckpwdf.c: Update copyright.
2113 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
2115 * stdlib/strtod.c: Add another assertion.
2116 * stdlib/tst-strtod.c: Add another test case.
2118 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
2119 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2121 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
2122 ut_addr names a single element in ut_addr_v6.
2124 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
2125 Patch by Thomas Bushnell, n/BSG.
2127 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
2129 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
2132 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
2133 did fit nicely into that delay slot (patch from David Mosberger-Tang).
2135 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2137 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
2139 (ttyname_r): New alias.
2141 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
2143 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
2144 error in computation of number of groups.
2145 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
2147 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
2149 * version.h: Set version to 1.99.
2151 * Make-dist (routines): Add malloc and new-malloc.
2153 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
2154 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
2155 Same for $(CFLAGS-$(@F)) and CFLAGS.
2157 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
2159 * io/sys/poll.h: Likewise.
2160 * sysdeps/stub/sys/ipb_buf.h: Likewise.
2161 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
2162 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2163 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
2164 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
2165 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2166 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2167 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
2168 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2169 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
2170 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
2171 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2172 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2173 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
2174 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
2175 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
2176 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
2177 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2178 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
2179 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2180 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
2181 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2182 * sysvipc/sys/sem.h: Likewise.
2183 * sysvipc/sys/shm.h: Likewise.
2185 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
2186 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
2187 Add statistics for threads.
2188 * new-malloc/malloc.h: Likewise.
2189 * new-malloc/thread-m.h: Likewise.
2191 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
2193 * time/strptime.c: Update copyright.
2195 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
2197 * Make-dist: Make sure both malloc directories get distributed.
2199 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2201 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
2204 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2206 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
2207 __BEGIN_DECLS/__END_DECLS.
2209 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2211 * login/utmp_file.c: Consistently set file_offset to the position
2212 after the entry just read.
2214 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
2216 * config.make.in (defines): Add @USE_NEW_MALLOC@.
2217 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
2218 we use the new malloc.
2220 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
2221 depending on USE_NEW_MALLOC.
2223 Fix some more POSIX.1 problems.
2224 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
2225 on a write-only stream.
2226 (_IO_file_overflow): Set errno to EBADF if used on a read-only
2228 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
2229 call really positions the file offset to the correct position
2230 and no read-ahead happens.
2232 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
2233 to pass POSIX test suite.
2234 * stdio-common/vfprintf.c: Handle empty string as grouping command
2236 * stdlib/grouping.h: Likewise.
2238 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
2240 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
2242 * stdio-common/printf_fp.c: Update copyright.
2244 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2246 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
2247 used (not otherwise).
2249 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
2251 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
2253 * stdlib/canonicalize.c: Correct bugs in last change.
2256 * libio/Makefile (routines): Remove ioprims.
2257 (aux): Remove cleanup.
2258 Add IO_DEBUG option for .o files.
2259 * libio/cleanups.c: Removed.
2260 * libio/ioprims.c: Removed.
2261 * libio/filedoalloc.c: More updates from libg++-2.8b5.
2262 * libio/fileops.c: Likewise.
2263 * libio/genops.c: Likewise.
2264 * libio/iolibio.h: Likewise.
2265 * libio/iopopen.c: Likewise.
2266 * libio/iovsprintf.c: Likewise.
2267 * libio/iovsscanf.c: Likewise.
2268 * libio/libio.h: Likewise.
2269 * libio/libioP.h: Likewise.
2270 * libio/memstream.c: Likewise.
2271 * libio/strfile.h: Likewise.
2272 * libio/vasprintf.c: Likewise.
2273 * libio/vsnprintf.c: Likewise.
2275 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
2277 * manual/arith.texi: Change references to ANSI C to ISO C.
2278 * manual/conf.texi: Likewise.
2279 * manual/creature.texi: Likewise.
2280 * manual/ctype.texi: Likewise.
2281 * manual/errno.texi: Likewise.
2282 * manual/filesys.texi: Likewise.
2283 * manual/intro.texi. Likewise.
2284 * manual/io.texi: Likewise.
2285 * manual/lang.texi: Likewise.
2286 * manual/libc.texinfo: Likewise.
2287 * manual/locale.texi: Likewise.
2288 * manual/maint.texi: Likewise.
2289 * manual/mbyte.texi: Likewise.
2290 * manual/memory.texi: Likewise.
2291 * manual/process.texi: Likewise.
2292 * manual/process.texi: Likewise.
2293 * manual/search.texi: Likewise.
2294 * manual/setjmp.texi: Likewise.
2295 * manual/signal.texi: Likewise.
2296 * manual/startup.texi: Likewise.
2297 * manual/stdio.texi: Likewise.
2298 * manual/string.texi: Likewise.
2299 * manual/time.texi: Likewise.
2301 * manual/locale.texi: Remove description of LC_RESPONSE and add
2304 * Makefile (subdirs): Change malloc in $(malloc).
2305 * config.make.in: Add variable malloc which is initialized from
2307 * configure.in: Add new option --enable-new-malloc to use new
2308 malloc. This is the default on Linux.
2309 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
2311 * new-malloc/Makefile: New file. Improved malloc implementation.
2312 * new-malloc/malloc.c: Likewise.
2313 * new-malloc/malloc.h: Likewise.
2314 * new-malloc/mallocbug.c: Likewise.
2315 * new-malloc/obstack.c: Likewise.
2316 * new-malloc/obstack.h: Likewise.
2317 * new-malloc/thread-m.h: Likewise.
2318 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
2319 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
2321 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
2324 * stdio/feof.c: Update copyright.
2325 * stdio/stdio.h: Add field for lock to FILE structure.
2326 Add cast to *MAGIC constants to prevent warnings.
2328 * stdio-common/bug7.c: Correct test. Stream must not be closed
2331 * stdlib/Makefile (routines): Add secure-getenv.
2332 * stdlib/secure-getenv.c: New file. __secure_getenv function
2333 moved to here from sysdeps/generic/getenv.c. Otherwise an
2334 application cannot replace the getenv function in the libc.
2335 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
2336 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
2338 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
2340 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
2342 * time/test-tz.c: Comment fifth test out. PROBLEM.
2344 * time/tzset.c: De-ANSI-declfy.
2345 (__tzset): Don't increment pointer tz when no DST information is
2348 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
2349 to get Hurd macros right.
2351 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
2353 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
2355 Patch by Thomas Bushnell.
2357 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
2360 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
2362 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
2364 * time/strftime (%c format): Remove %Z from default string.
2365 Reported by Paul Eggert
2367 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
2369 * configure.in: Discard error message from test in test for
2372 * io/getwd.c: Don't apply getcwd on user supplied buffer.
2373 Instead always use temporary buffer and only copy the result.
2375 * stdlib/canonicalize.c: Likewise.
2377 * libio/fileops.c: Change comments according to libg++2.8b5.
2378 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
2382 * manual/nss.texi: Correct prototypes.
2384 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
2385 crash if syslog daemon is restarted.
2387 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
2389 * stdlib/Makefile (routines): Add rand_r.
2391 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
2394 * configure.in: Add --disable-sanity-check option.
2395 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
2396 des-crypt are not available and --disbale-sanity-check is not
2397 given abort with a message.
2399 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
2401 * posix/glob.c: Tests against STDC_HEADERS should also test
2404 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
2406 * misc/err.c (vwarn): Set errno again before using %m format.
2408 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2410 * grp/grp.h: Add declaration of __getgrent_r.
2412 * io/fts.c (fts_build): Remove "register" from variables dirbuf
2413 and dp since their address is needed.
2415 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
2416 variable d since d's address is needed.
2418 * misc/tst-dirname.c (main): Provide prototype.
2419 * misc/ioctltst.c (main): Dito.
2421 * Makefile: Add gnu/lib-names.h to install-others before including
2424 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
2426 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
2428 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
2429 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
2430 sys/socketvar.h to sysdep_headers.
2432 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
2434 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
2437 * elf/rtld.c (_dl_start): Don't dereference the value returned by
2438 elf_machine_got to get _DYNAMIC, instead call new function
2439 elf_machine_dynamic.
2440 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
2441 elf_machine_dynamic. Reformat copyright.
2442 * sysdeps/i386/dl-machine.h: Likewise.
2443 * sysdeps/m68k/dl-machine.h: Likewise.
2444 * sysdeps/mips/dl-machine.h: Likewise.
2445 * sysdeps/sparc/dl-machine.h: Likewise.
2446 * sysdeps/stub/dl-machine.h: Likewise.
2448 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2450 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
2452 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
2454 * Makerules ($(libdir)/libc.so): Make first line of generated
2455 link script contain `/* GNU ld script'. This will be used in
2456 ldconfig to check for linker scripts.
2457 * sysdeps/mach/hurd/libc-ldscript: Likewise.
2458 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
2460 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
2462 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
2464 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
2467 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
2469 * assert/assert-perr.c: Use __strerror_r instead of strerror.
2470 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
2471 * string/string.h: Declare __strerror_r.
2472 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
2473 * stdio-common/vfprintf.c: Save current errno value on entry so
2474 that %m format finds the correct value.
2475 * io/getwd.c: Use __strerror_r instead of strerror.
2476 * misc/err.c (vwarn): Use %m printf format instead of explicitly
2478 * inet/rcmd.c: Likewise.
2479 * misc/error.c (error, error_at_line): Use __strerror_r instead
2480 of strerror when this function is available.
2482 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
2483 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
2484 * stdlib/stdlib.h: Define prototype for rand_r.
2486 * string/strfry.c: Update copyright. Use reentrant random functions.
2488 * dirent/scandir.c: Use __readdir_r instead of readdir.
2489 * posix/glob.c: Likewise.
2490 * sysdeps/posix/ttyname.c: Likewise.
2491 * sysdeps/posix/ttyname_r.c: Likewise.
2492 * io/ftw.c: Likewise.
2493 * io/fts.c: Likewise.
2494 * sysdeps/posix/getcwd.c: Likewise.
2495 * dirent/dirent.h: Add prototype for __readdir_r.
2496 * sysdeps/unix/readdir_r: Update copyright.
2498 * time/ctime.c: Use __localtime_r and __asctime_r instead of
2499 non reentrant versions.
2500 * time/ctime_r.c: Update copyright.
2502 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
2504 * locale/Makefile (localepath): Correct value.
2506 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
2508 Fix typo in using H_ERRNO_SET macro.
2510 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2512 * Makerules (elfobjdir): Definition removed.
2513 * Makeconfig (elfobjdir): Define it here instead, so that
2514 expanding $(rpath-link) gets the right value.
2517 * misc/a.out.h: Moved to...
2518 * sysdeps/generic/a.out.h: ...here.
2519 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
2522 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
2524 * grp/initgroups.c: Update and reformat copyright.
2525 Use __getgrent_r instead of getgrent.
2527 * inet/rcmd.c: Update and reformat copyright.
2528 Use __gethostbyname_r instead of gethostbyname.
2529 * inet/rexec.c: Likewise.
2531 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
2532 * locale/findlocale.c: Likewise.
2533 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
2534 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
2535 * locale/setlocale.c (setlocale): Correctly split value of
2537 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
2538 find output directory.
2540 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
2541 h_errno_tmp variable.
2542 Save error value from being changed during `free' call.
2543 * nss/getXXent.c: Likewise.
2545 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
2546 before returning ERANGE error.
2548 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
2551 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
2553 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
2554 * sunrpc/clnt_simp.c: Likewise.
2555 * sunrpc/getrpcport.c: Likewise.
2556 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2558 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
2559 since the value might be outside the range of the `long int'.
2560 Print string `undefined' when a value is undefined.
2562 * stdlib/l64a.c: Return correct pointer.
2563 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
2565 * string/Makefile (routines): Add argz-addsep.
2566 * string/argz-addsep.c: New file.
2567 * string/argz.h: Add prototypes for argz_add_sep.
2569 * string/argz-ctsep.c: Prevent memory leak.
2571 * string/strcoll.c: Correct typo in comment.
2573 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
2575 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
2576 not general enough to be part of the libc.
2577 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
2578 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
2580 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2582 * login/Makefile: Fix typo.
2584 * nss/Makefile (generated): Filter out db-alias.c.
2586 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2588 * time/Makefile (echo-zonenames): Don't depend on non-existing
2591 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2594 * nss/nsswitch.c: Use it.
2596 * printf.h: Fix file name.
2597 * stdlib/strfmon.c: Use it.
2599 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
2601 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
2602 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
2603 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2604 Add netinet/in_systm.h.
2605 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2607 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
2609 * libio/fileops.c: Update from latest libg++.
2611 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
2613 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
2614 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
2615 instead of __libc_lock_init for streams.
2616 Reported by a sun <asun@zoology.washington.edu>.
2618 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
2620 * sysdeps/generic/errno-loc.c: New file. Generic definition of
2621 __errno_location function.
2622 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
2624 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2625 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
2628 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
2629 and crypt add-on and warn if not available.
2631 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
2633 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
2635 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
2636 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
2638 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
2639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
2640 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
2641 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
2642 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
2643 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
2645 Patch by Richard Henderson <rth@tamu.edu>.
2647 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
2648 pciconfig_read and pciconfig_write.
2649 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
2650 pciconfig_read and pciconfig_write.
2652 * login/getutent_r.c: Fix several bugs in last change.
2654 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
2656 * Makefile: Fix typo.
2658 * configure: Require autoconf-2.11.
2660 * elf/dl-deps.c: Terminate duplicate list.
2662 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
2663 * libio/strfile.h: Update from current libg++.
2664 * libio/strops.c: Likewise.
2666 * login/Makefile (routines): Update after correction of reentrant
2668 * login/endutent.c: Removed.
2669 * login/endutent_r.c: Likewise.
2670 * login/pututline.c: Likewise.
2671 * login/pututline_r.c: Likewise.
2672 * login/setutent.c: Likewise.
2673 * login/setutent_r.c: Likewise.
2674 * login/getutent.c: Update for new interface.
2675 * login/getutent_r.c: Likewise.
2676 * login/getutid.c: Likewise.
2677 * login/getutid_r.c: Likewise.
2678 * login/getutline.c: Likewise.
2679 * login/getutline_r.c: Likewise.
2680 * login/login.c: Likewise.
2681 * login/logout.c: Likewise.
2682 * login/logwtmp.c: Likewise.
2683 * login/utmp.h: Likewise.
2684 * sysdeps/unix/getlogin.c: Likewise.
2685 * sysdeps/unix/getlogin_r.c: Likewise.
2686 * login/utmp-private.h: New private header.
2687 * login/utmp_db.c: Stub DB backend for utmp handler.
2688 * login/utmp_file.c: File backend for utmp handler.
2689 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
2690 (enum utlogin): List of record types.
2691 (struct exit_status): Record to align with other implementations.
2693 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
2694 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2696 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
2698 * sysdeps/stub/getlogin.c: Update copyright.
2699 * sysdeps/stub/getlogin_r.c: Likewise.
2701 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
2702 * nss/getXXent_r.c: Likewise.
2703 * nss/nsswitch.c: Likewise.
2705 * posix/Makefile (headers): Add wait.h.
2706 * posix/wait.h: New file.
2708 * posix/sys/types.h: Always define intN_t types.
2710 * stdio-common/Makefile: Update copyright.
2711 Use -Wno-format flag for scanf4.c and scanf7.c.
2713 * stdlib/stdlib.h: Reformat.
2715 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2717 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
2718 move the current contents to the end and relocate file name
2719 pointer to upper half of the buffer.
2721 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
2723 * time/africa: Update from ADO tzdata1996m.
2724 * time/antarctica: Likewise.
2725 * time/asia: Likewise.
2726 * time/australia: Likewise.
2727 * time/etcetera: Likewise.
2728 * time/europe: Likewise.
2729 * time/nothamerica: Likewise.
2730 * time/southameria: Likewise.
2731 * time/zone.tab: Likewise.
2733 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
2734 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2736 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
2738 * posix/wait.h: New file.
2739 * posix/Makefile (headers): Add wait.h.
2741 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
2743 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
2744 expression instead of shell pattern matching.
2745 * shlib-versions: Change to regular expressions.
2747 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
2749 * io/stat.c: Add section from libgcc to copyright comment
2750 to allow this file to be statically linked in applications.
2751 * io/fstat.c: Likewise.
2752 * io/lstat.c: Likewise.
2753 * io/mknod.c: Likewise.
2755 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
2757 * csu/initfini.c: Add section from libgcc to copyright comment
2758 to allow this file to be statically linked in applications.
2760 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
2761 not already defined.
2762 (obstack_grow, obstack_grow0): Correct placement of braces.
2764 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
2765 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
2767 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2769 * Makerules (make-link): Simplify by changing directory only if
2770 not using rellns-sh; check whether we really have symbolic links.
2772 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
2773 $(dirname $1); use status of ln for exit code; make more robust
2774 against multiple slashes in a row.
2776 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2778 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
2780 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
2781 the three-part name, to distinguish correctly from *-*-linux-gnu*.
2783 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
2786 * sysdeps/mach/hurd/Makefile (install-others): Add
2788 ($(libdir)/libc_p.a): New rule.
2789 * sysdeps/mach/hurd/libc_p-ldscript: New file.
2790 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
2792 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
2794 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
2795 * time/Makefile: Likewise.
2797 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
2798 * sysdeps/alpha/elf/Dist: New file.
2799 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
2800 The bits currently distributed with GCC fail in two ways -- they don't
2801 understand multiple .got subsections and the extents of the lists are
2802 dynamicly bound meaning that the application's lists get executed
2803 multiple times and the library's lists never get executed.
2805 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2807 * stdlib/strtod.c: Fix previous change.
2809 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2811 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
2814 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
2816 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
2817 Likewise for scanf4.c
2819 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
2821 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
2822 alias of __sigsuspend.
2824 * grp/grp.h: Correct comment about POSIX compliance.
2825 * pwd/pwd.h: Likewise.
2827 * login/utmp.h: Update copyright and pretty-print prototypes.
2828 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
2829 _PATH_WTMP from utmpbits.h.
2830 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2831 * sysdeps/generic/utmpbits.h: Remove here.
2832 * sysdeps/gnu/utmpbits.h: Likewise.
2834 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
2835 Pretty-print prototypes.
2837 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
2840 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
2842 * inet/ether_hton.c: Include <string.h>.
2843 * inet/ether_ntoh.c: Likewise.
2844 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
2845 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
2847 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
2848 to define. Jim Nance reports problems building XEmacs otherwise.
2850 * resolv/gethnamaddr.c: Protect h_errno redefinition.
2851 * resolv/getnetnamadr.c: Likewise.
2852 * resolv/herror.c: Likewise.
2854 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
2855 with -traditional. Reported by Eric Youngdale. While we're at this,
2856 don't do error checking in the __ functions. This is consistent
2857 with the sysv4 definitions and seems Right.
2858 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
2859 prototype for __sigsuspend.
2860 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
2861 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
2862 * sysdeps/posix/sigpause.c: Likewise.
2863 * sysdeps/posix/sigsetmask.c: Likewise.
2864 * sysdeps/posix/sigvec.c: Likewise.
2865 * sysdeps/posix/sigintr.c: Reformat copyright.
2866 * sysdeps/posix/signal.c: Check signal number out of range since
2867 __sigismember doesn't anymore. Reformat copyright.
2868 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
2869 sigdelset, sigaction, and sigsuspend.
2871 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
2872 to the wider type before shifting.
2874 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
2875 without .set noat" in profiling hook.
2876 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2877 * sysdeps/alpha/htonl.S: Likewise.
2878 * sysdeps/alpha/htons.S: Likewise.
2879 * sysdeps/alpha/s_copysign.S: Likewise.
2880 * sysdeps/alpha/setjmp.S: Likewise.
2881 * sysdeps/alpha/stpcpy.S: Likewise.
2882 * sysdeps/alpha/strcat.S: Likewise.
2883 * sysdeps/alpha/strcpy.S: Likewise.
2884 * sysdeps/alpha/strncat.S: Likewise.
2885 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
2886 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2887 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2888 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2889 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2890 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
2891 function to __sigsuspend and add weak alias.
2892 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
2894 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
2896 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
2897 SYSCALL__ actually generated.
2899 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
2900 #define __set_errno, as several imported subsystems (eg. BIND) check
2901 that the symbol is defined.
2903 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
2905 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
2906 that manifests in GCC.
2908 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2910 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
2911 * sysdeps/posix/readv.c (readv): Likewise.
2913 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
2915 * nss/nss_dns/dns-network.c: Change return type of all functions
2917 Reported by NIIBE Yutaka.
2918 * nss/nss_dns/dns-host.c: Update copyright.
2920 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2922 * config.make.in: Remove definition of top_absdir.
2923 * configure.in: Likewise. Use $(..) instead.
2924 * Makerules (make-link): Use $(..) to find rellns-sh script.
2926 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2928 * manual/nss.texi (Name Service Switch): Fix reference to
2931 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2936 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
2938 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
2939 variable from __stat to __status to prevent shadowing.
2940 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
2941 for parameter __wait.
2942 Reported by NIIBE Yutaka.
2944 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
2946 * misc/regexp.c: New file. Implementation of obsolete interface
2947 to regular expression matcher (required in XPG4.2).
2948 * misc/regexp.h: New file. Header for above.
2949 * misc/Makefile (headers): Add regexp.h.
2950 (routines): Add regexp.c.
2953 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2955 * stdlib/tst-strtod.c (main): Add arguments for main.
2956 * stdlib/tst-strtol.c (main): Likewise.
2958 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
2960 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
2962 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
2963 and sysconfdir to /etc if $prefix is /usr.
2964 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
2966 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
2967 $(have-bash2) is yes.
2968 * elf/ldd.bash.in: Add copyright and various cleanups.
2969 * elf/ldd.sh.in: Likewise.
2971 Implement RTLD_NEXT.
2972 * elf/dlfcn.h: Define RTLD_NEXT.
2973 * elf/dl-deps.c: Build second searchlist which contains duplicates.
2974 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
2975 for RTLD_NEXT lookup.
2976 Rewrite _dl_lookup_symbol to put common parts for both lookup
2977 functions in a separate function.
2978 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
2979 * elf/link.h (struct link_map): Add l_dupsearchlist and
2981 Add prototype for _dl_lookup_symbol_skip.
2983 * sunrpc/Makefile (rpcsvc): Add rusers.
2984 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
2985 * sunrpc/rpcsvc/rusers.x: New file.
2987 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
2989 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
2990 __libc_lock_init for local lock.
2991 Reported by a sun <asun@zoology.washington.edu>.
2992 [!USE_IN_LIBIO] (PAD): Optimize a bit.
2994 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
2996 * db/makedb.c: Update and reformat copyright.
2997 * elf/Makefile: Likewise.
2998 * elf/dl-close.c: Likewise.
2999 * elf/dl-debug.c: Likewise.
3000 * elf/dl-deps.c: Likewise.
3001 * elf/dl-error.c: Likewise.
3002 * elf/dl-fini.c: Likewise.
3003 * elf/dl-init.c: Likewise.
3004 * elf/dl-load.c: Likewise.
3005 * elf/dl-lookup.c: Likewise.
3006 * elf/dl-minimal.c: Likewise.
3007 * elf/dl-object.c: Likewise.
3008 * elf/dl-open.c: Likewise.
3009 * elf/dl-reloc.c: Likewise.
3010 * elf/dl-runtime.c: Likewise.
3011 * elf/dl-support.c: Likewise.
3012 * elf/dl-symbol.c: Likewise.
3013 * elf/dladdr.c: Likewise.
3014 * elf/dlclose.c: Likewise.
3015 * elf/dlerror.c: Likewise.
3016 * elf/dlopen.c: Likewise.
3017 * elf/dlsym.c: Likewise.
3018 * elf/do-rel.h: Likewise.
3019 * elf/dynamic-link.h: Likewise.
3020 * elf/eval.c: Likewise.
3021 * elf/rtld.c: Likewise.
3022 * inet/ether_hton.c: Likewise.
3023 * inet/ether_ntoh.c: Likewise.
3024 * inet/ether_line.c: Likewise.
3025 * inet/getnetgrent_r.c: Likewise.
3027 * inet/Makefile (+gccwarn): Remove definition.
3028 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
3030 * inet/aliases.h: Add C++ protection.
3031 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
3032 (ether_hostton): Remove unused variable result.
3033 * inet/ether_ntoh.c: Likewise.
3034 * inet/ether_line.c: Include <ctype.h> and <string.h>.
3035 * inet/getnetgrent_r.c: Include <stdlib.h>.
3036 Use casts to prevent warnings.
3037 (innetgr): Initialize `known' and `needed'.
3038 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
3039 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
3040 return NULL. Instead set *RESULT to NULL and return -1.
3041 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
3042 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
3044 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
3047 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
3049 * sysdeps/posix/readv.c: Don't use PTR anymore.
3050 * sysdeps/posix/writev.c: Likewise.
3052 * version.h (VERSION): Bump to 1.98.
3054 * nss/db-Makefile: Generate lines for getXXXent iteration.
3056 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
3057 divqu.S, remlu.S, and remqu.S.
3059 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3061 * posix/unistd.h: Correct typo in documentation.
3063 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
3065 * inet/netinet/tcp.h: Use __ protected versions instead of
3066 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
3068 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
3070 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
3071 references in libc.so are not anymore undefined.
3073 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3075 * io/utime.h: Rename second parameter for utime to prevent warning
3077 * dirent/dirent.h: Same here for scandir prototype.
3078 * math/mathcalls.h: Likewise for frexp and ldexp.
3079 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
3081 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
3083 * stdlib/tst-strtod.c: Add test for error case below.
3085 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
3087 * stdlib/strtod.c: Recognize numbers like 0e-19.
3089 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3091 * time/Makefile ($(installed-localtime-file)): Fix path to
3094 * Makefile: Don't generate and install gnu/lib-names.h if
3095 $(build-shared) is not `yes'.
3097 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
3099 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
3100 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
3102 * Makerules (REAL_MAKE_VERSION): New, use it instead of
3105 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
3107 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
3108 * nss/getXXent_r.c: Fix typo. Set correct return value when
3109 no further service is available.
3111 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
3113 * db/recno/rec_put.c: Add cast to avoid warning.
3114 * db/recno/rec_close.c: Likewise.
3115 * db/mpool/mpool.c: Likewise.
3116 * db/hash/hash_bigkey.h: Likewise.
3117 * db/hash/hash.c: Likewise.
3118 * db/btree/bt_split.c: Likewise.
3119 * db/btree/bt_put.c: Likewise.
3121 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
3123 * dirent/dirent.h: Update copyright.
3124 * elf/elf.h: Likewise.
3125 * elf/link.h: Likewise.
3126 * gmon/sys/gmon_out.h: Likewise.
3127 * gnu-versions.h: Likewise.
3128 * intl/libintl.h: Likewise.
3129 * io/fcntl.h: Likewise.
3130 * io/ftw.h: Likewise.
3131 * io/sys/statfs.h: Likewise.
3132 * io/utime.h: Likewise.
3133 * locale/langinfo.h: Likewise.
3134 * malloc/malloc.h: Likewise.
3135 * malloc/obstack.h: Likewise.
3136 * misc/ar.h: Likewise.
3137 * misc/error.h: Likewise.
3138 * misc/mntent.h: Likewise.
3139 * misc/sgtty.h: Likewise.
3140 * misc/sys/cdefs.h: Likewise.
3141 * misc/sys/dir.h: Likewise.
3142 * misc/sys/file.h: Likewise.
3143 * misc/sys/ioctl.h: Likewise.
3144 * misc/sys/ustat.h: Likewise.
3145 * posix/fnmatch.h: Likewise.
3146 * posix/getopt.h: Likewise.
3147 * posix/glob.h: Likewise.
3148 * posix/posix2_lim.h: Likewise.
3149 * posix/regex.h: Likewise.
3150 * posix/sys/times.h: Likewise.
3151 * posix/sys/types.h: Likewise.
3152 * posix/sys/utsname.h: Likewise.
3153 * posix/tar.h: Likewise.
3154 * posix/wordexp.h: Likewise.
3155 * resource/sys/resource.h: Likewise.
3156 * resource/sys/vlimit.h: Likewise.
3157 * resource/sys/vtimes.h: Likewise.
3158 * socket/sys/socket.h: Likewise.
3159 * socket/sys/un.h: Likewise.
3160 * stdio-common/printf.h: Likewise.
3161 * stdlib/alloca.h: Likewise.
3162 * string/argz.h: Likewise.
3163 * string/endian.h: Likewise.
3164 * string/envz.h: Likewise.
3165 * string/memory.h: Likewise.
3166 * string/strings.h: Likewise.
3167 * sysdeps/generic/crypt.h: Likewise.
3168 * sysdeps/generic/direntry.h: Likewise.
3169 * sysdeps/generic/gnu/types.h: Likewise.
3170 * sysdeps/generic/ioctl-types.h: Likewise.
3171 * sysdeps/generic/netinet/in.h: Likewise.
3172 * sysdeps/generic/resourcebits.h: Likewise.
3173 * sysdeps/generic/sigset.h: Likewise.
3174 * sysdeps/generic/sockaddrcom.h: Likewise.
3175 * sysdeps/generic/sys/mman.h: Likewise.
3176 * sysdeps/generic/sys/ptrace.h: Likewise.
3177 * sysdeps/generic/termbits.h: Likewise.
3178 * sysdeps/generic/waitstatus.h: Likewise.
3179 * sysdeps/ieee754/huge_val.h: Likewise.
3180 * sysdeps/ieee754/nan.h: Likewise.
3181 * sysdeps/mach/hurd/local_lim.h: Likewise.
3182 * sysdeps/mach/hurd/statbuf.h: Likewise.
3183 * sysdeps/stub/huge_val.h: Likewise.
3184 * sysdeps/stub/libc-lock.h: Likewise.
3185 * sysdeps/stub/signum.h: Likewise.
3186 * sysdeps/stub/statbuf.h: Likewise.
3187 * sysdeps/stub/waitflags.h: Likewise.
3188 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
3189 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
3190 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
3191 * sysdeps/unix/bsd/signum.h: Likewise.
3192 * sysdeps/unix/bsd/statbuf.h: Likewise.
3193 * sysdeps/unix/bsd/sun/signum.h: Likewise.
3194 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
3195 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3196 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
3197 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3198 * sysdeps/unix/bsd/waitflags.h: Likewise.
3199 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
3200 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
3201 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3202 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3203 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
3204 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
3205 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
3206 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
3207 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
3208 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3209 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
3210 * sysdeps/unix/sysv/linux/signum.h: Likewise.
3211 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
3212 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3213 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3214 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3215 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3216 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
3217 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
3218 * sysdeps/unix/sysv/local_lim.h: Likewise.
3219 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
3220 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
3221 * sysdeps/unix/sysv/signum.h: Likewise.
3222 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
3223 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
3224 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
3225 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
3226 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
3227 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
3228 * sysdeps/vax/huge_val.h: Likewise.
3229 * values.h: Likewise.
3231 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
3233 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
3234 `memcpy' using bcopy if memcpy is not available.
3236 * manual/stdio.texi: Correct description of printf customization.
3237 The argument info function is not optional anymore and the
3238 interface for `printf_function' also changed.
3239 * manual/examples/rprintf.c: Define and use argument info function.
3241 * stdio-common/printf.h (struct printf_info): Change type for field
3243 Correct comment for `register_printf_function'.
3245 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
3246 to reentrant function. Instead use temporary variable and set
3247 h_errno if an error occured.
3248 Reported by NIIBE Yutaka.
3250 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3252 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
3253 S_ITRANS): New macros.
3254 (S_ISPARE): Update to include new macros and S_IUSEUNK.
3256 * sysdeps/mach/hurd/select.c (__select): Construct arg to
3257 mach_msg_destroy more nicely.
3259 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
3261 * stdio/fopen.c (__getmode): Declare with prototype.
3262 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
3263 * stdio/internals.c (__stdio_check_funcs, init_stream,
3264 seek_to_target, flushbuf, fillbuf): Likewise.
3266 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
3267 funlockfile, not _IO_funlockfile.
3269 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
3271 * sysdeps/posix/writev.c (writev): Likewise.
3273 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
3275 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3277 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
3278 prototyped definition.
3280 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
3281 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
3283 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
3285 * inet/Makefile (headers): Add aliases.h.
3286 (routines): Add getaliasent_r, getaliasent, getaliasname, and
3288 * aliases.h: New file.
3289 * inet/aliases.h: New file.
3290 * inet/getaliasent.c: New file.
3291 * inet/getaliasent_r.c: New file.
3292 * inet/getaliasname.c: New file.
3293 * inet/getaliasname_r.c: New file.
3294 * nss/Makefile (databases): Add alias.
3295 * nss/alias-lookup.c: New file.
3296 * nss/databases.def: Add aliases and publickey.
3297 * nss/nss_db/db-alias.c: New file.
3298 * nss/nss_files/files-alias.c: New file.
3300 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
3301 argument to lookup function is of type size_t.
3302 (innetgr): Likewise.
3303 * nss/getXXbyYY_r.c: Likewise.
3304 * nss/getXXent_r.c: Likewise.
3305 * nss/nss_db/db-XXX.c: Likewise.
3307 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
3308 failed because buffer was too small.
3309 * nss/getXXent.c: Likewise.
3311 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
3312 getXXent_r function now uses f[gs]etpos to get to the correct
3315 * nss/nss_files/files-parse.c: Indent lines for better readability.
3317 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
3318 and new function print_and_abort. Remove all references to
3320 Add new function _obstack_memory_used.
3321 * malloc/obstack.h (struct obstack): Remove field alloc_field.
3322 Remove all references to alloc_failed field.
3323 Add prototype for _obstack_memory_used.
3325 * posix/unistd.h: Correct typo.
3327 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
3329 * configure.in: Require at least autoconf-2.10.2.
3331 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3333 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
3336 * mach/msg-destroy.c (mach_msg_destroy_port,
3337 mach_msg_destroy_memory): Use prototype syntax.
3338 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
3339 malloc_fork_parent, malloc_fork_child): Likewise.
3341 * stdio/stdio.h: Repair broken cpp syntax.
3343 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
3344 we pass O_NOLINK on the open.
3346 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
3347 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
3348 an XOPEN error code, move to before the "Linux only" section, and
3349 give it a new number for the Hurd.
3351 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
3353 * malloc/obstack.h: Add new macro `obstack_make_room'.
3354 * malloc/obstack.c: Add function implementation for
3355 `obstack_make_room'.
3357 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3359 Update to BIND-4.9.5-REL.
3360 * resolv/Banner: Set to 4.9.5-REL.
3361 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
3362 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
3365 * config.make.in: Add definition for top_absdir.
3366 * Makerules (make-link): Fix path to rellns-sh script.
3368 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3370 * posix/unistd.h: Fix comment.
3372 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
3373 when talking about numbers.
3374 * manual/users.texi: Likewise.
3375 * manual/creature.texi: Likewise. Use @defvarx for a secondary
3378 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3380 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
3381 the real posix1_lim.h file so that it works in all subdirs, not
3384 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3386 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
3388 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3390 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
3391 on $(before-compile) which hasn't been properly setup yet at this
3394 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3396 * sysdeps/generic/sigset.h: Don't use implicit int which will
3397 probably require a diagnostic in the next revision of the C
3399 * sysdeps/stub/lockfile.c: Likewise.
3401 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3403 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
3404 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3406 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
3408 * time/strftime.c: Update copyright. Small cosmetic changes.
3410 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
3412 * inet/getprtname_r.c: Reformat copyright.
3414 * nss/Makefile (databases): Add key.
3415 (libnss_files-routines): Exclude key database.
3416 (libnss_db-routines): Likewise.
3417 * nss/key-lookup.c: New file.
3419 * nss/getXXent_r.c (last_nip): Remember last service used since
3421 (SETFUNC): Don't force to work through whole list of services in
3423 Update last_nip if necessary.
3424 (ENDFUNC): Only process endXXent function up to currently used
3426 (GETFUNC): Update last_nip if necessary.
3428 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
3431 * rpc/auth_des.h: New file.
3432 * sunrpc/Makefile (headers): Add auth_des.h.
3433 (routines): Add publickey.
3434 * sunrpc/publickey.c: New file. Interface to public key handling.
3435 * sunrpc/rpc/auth_des.h: New file.
3436 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
3438 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
3440 * inet/gethstent_r.c: Update copyright.
3441 * nss/getXXbyYY_r.c: Likewise.
3442 * nss/nsswitch.c: Likewise.
3443 * nss/getXXent_r.c: Likewise.
3444 * nss/nss_files/files-XXX.c: Likewise.
3445 * nss/nss_files/files-netgroup.c: Likewise.
3446 * nss/nss_files/files-parse.c: Likewise.
3448 * nss/getXXent_r.c: Change implementation. It's not necessary to
3449 call all setXXent functions. Just find first available and
3450 when necessary let getXXent_r call the others.
3452 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
3453 of getXXent and getXXbyYY can be mixed. The cursor for traversing
3454 the database with getXXent will be remembered.
3456 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
3458 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
3460 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
3461 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
3463 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
3465 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
3467 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
3468 set. Instead for none beside the first seven bits to be set.
3469 X/Open allows the argument to be an `int' value.
3470 Reported by Alain Williams <addw@phcomp.co.uk>.
3471 (toascii, isascii): Define macro also when __USE_XOPEN.
3473 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
3476 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
3478 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
3479 NULL so that GETFUNC will see first entry.
3480 (ENDFUNC_NAME): Likewise.
3482 Rewrite Netgroups implementation to avoid global data.
3483 * inet/netgroup.h: Add definition of name_list and struct
3485 Add prototypes for internal netgroup functions.
3486 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
3487 extra argument and use the included data instead of global vars.
3488 (_nss_files_endnetgrent): Likewise.
3489 (_nss_netgroup_parseline): Change to be static and use data
3490 included in the RESULT structure.
3491 * inet/getnetgrent_r.c (startp): Move into setup function.
3492 (known_groups, needed_groups): new part of the __netgrent sruct.
3493 (freememory): Take extra argument and use included data.
3494 (__internal_endnetgrent): Likewise.
3495 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
3496 and take extra argument.
3497 (__internal_setnetgrent): New function. Call
3498 __internal_setnetgrent_reuse after calling free_memory.
3499 (setnetgrent): Only call __internal_setnetgrent.
3500 (__getnetgrent_r): Split into two functions. __getnetgrent_r
3501 calls __internal_getnetgrent after locking.
3502 (innetgr): Use dynamic data only. I.e., innetgr now is fully
3505 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
3507 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
3508 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
3510 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
3512 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
3513 default when no *_SOURCE macro is given.
3514 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
3515 * NOTES: remade from manual/creature.texi.
3516 * manual/libc.texinfo: Add back line about GPL translation which
3519 * Make-dist (dist.tar): Depend on README being updated.
3521 * rellns-sh: Correct thinko in removing leading /.
3522 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3524 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
3525 with `+' or `-' in parser.
3526 * grp/fgetgrent_r.c: Likewise.
3527 * shadow/sgetspent_r.c: Likewise.
3528 * nss/nss_files/files-spwd.c: Don't accept entries starting with
3531 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
3533 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
3534 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
3536 * string/argz.h: Don't protect by __USE_GNU.
3538 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
3540 * Lots of files: Update and reformat copyright.
3542 * Makefile (headers): Add xopen_lim.h.
3544 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
3546 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
3547 if __USE_XOPEN_EXTENDED is defined.
3548 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
3549 if __USE_XOPEN_EXTENDED is defined.
3551 * io/Makefile (routines): Add lchown.
3552 * sysdeps/stub/lchown.c: New file.
3554 * io/sys/poll.h: Add definition of POLLWRNORM.
3556 * io/sys/stat.h: Declare lstat, fchmod, mknod when
3557 __USE_XOPEN_EXTENDED is defined.
3559 * libio/Makefile (routines): Add obprintf.
3560 * libio/obprintf.c: New file.
3561 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
3563 * libio/libio.h: Fix typo.
3564 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
3565 Add prototypes for obstack_vprintf and obstack_printf.
3567 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
3568 * manual/intro.texi: Add reference to NSS chapter.
3569 * manual/libc.texinfo: Update UPDATED.
3570 Comment out `@printindex cp'. It works again.
3571 * manual/memory.texi: Add description for obstack_ptr_grow,
3572 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
3573 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
3574 index entries to @vindex.
3575 * manual/users.texi: Correct @cindex entry for Netgroup.
3577 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
3578 make declarations visible for X/Open sources.
3580 * misc/search.h: Declare insque/remque only is __USE_SVID or
3581 __USE_XOPEN_EXTENDED is defined.
3583 * misc/sys/uio.h (readv, writev): Change return value from int to
3586 * posix/Makefile (headers): Add re_comp.h.
3587 * posix/re_comp.h: New file. XPG interface to regex functions.
3589 * posix/getconf.c: Add all names from XPG4.2.
3590 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
3591 and _POSIX_OPEN_MAX to minimums from XPG4.2.
3592 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
3593 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
3594 * sysdeps/stub/sysconf.c: Likewise.
3596 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
3597 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
3598 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
3599 ftruncate, getdtablesize, brk, sbrk, lockf when
3600 __USE_XOPEN_EXTENDED is defined.
3602 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
3604 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
3605 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
3606 * sysdeps/unix/sysv/linux/paths.h: Likewise.
3608 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
3609 __USE_XOPEN_EXTENDED is defined.
3611 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
3613 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
3615 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
3618 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
3619 and rindex available when __USE_XOPEN_EXTENDED is defined.
3621 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
3622 * sysdeps/posix/getpagesize.c: Likewise.
3623 * sysdeps/stub/getpagesize.c: Likewise.
3624 * sysdeps/unix/getpagesize.c: Likewise.
3626 * time/africa: Update from tzdata1996l.
3627 * time/asia: Likewise.
3628 * time/australia: Likewise.
3629 * time/europe: Likewise.
3630 * time/northamerica: Likewise.
3631 * time/pacificnew: Likewise.
3632 * time/southamerica: Likewise.
3633 * time/tzfile.h: Update from tzcode1996m.
3635 * time/time.h: Declare strptime if __USE_XOPEN.
3636 Declare daylight and timezone also if __USE_XOPEN.
3638 * time/sys/time.h: Remove declaration of ualarm.
3640 * wctype/wctype.h: Just reference ISO C standard.
3642 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
3644 * crypt/Makefile: Add crypt routines to libc as well iff
3645 $(crypt-in-libc) is set. Do this for temporary binary compatibility
3646 on existing Linux/Alpha installations.
3648 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
3649 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
3650 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
3651 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
3653 * sysdeps/alpha/div.S: New file.
3654 * sysdeps/alpha/ldiv.S: New file.
3655 * sysdeps/alpha/lldiv.S: New file.
3656 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
3657 Take pointers from Linus and tighten the inner loops a bit.
3658 * sysdeps/alpha/divl.S: Change defines for merged routines.
3659 * sysdeps/alpha/divq.S: Likewise.
3660 * sysdeps/alpha/reml.S: Likewise.
3661 * sysdeps/alpha/remq.S: Likewise.
3662 * sysdeps/alpha/divlu.S: Remove file.
3663 * sysdeps/alpha/divqu.S: Likewise.
3664 * sysdeps/alpha/remlu.S: Likewise.
3665 * sysdeps/alpha/remqu.S: Likewise.
3667 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
3668 * sysdeps/alpha/bsd-setjmp.S: Likewise.
3669 * sysdeps/alpha/bzero.S: Likewise.
3670 * sysdeps/alpha/ffs.S: Likewise.
3671 * sysdeps/alpha/htonl.S: Likewise.
3672 * sysdeps/alpha/htons.S: Likewise.
3673 * sysdeps/alpha/memchr.S: Likewise.
3674 * sysdeps/alpha/memset.S: Likewise.
3675 * sysdeps/alpha/s_copysign.S: Likewise.
3676 * sysdeps/alpha/s_fabs.S: Likewise.
3677 * sysdeps/alpha/setjmp.S: Likewise.
3678 * sysdeps/alpha/stpcpy.S: Likewise.
3679 * sysdeps/alpha/stpncpy.S: Likewise.
3680 * sysdeps/alpha/strcat.S: Likewise.
3681 * sysdeps/alpha/strchr.S: Likewise.
3682 * sysdeps/alpha/strcpy.S: Likewise.
3683 * sysdeps/alpha/strlen.S: Likewise.
3684 * sysdeps/alpha/strncat.S: Likewise.
3685 * sysdeps/alpha/strncpy.S: Likewise.
3686 * sysdeps/alpha/strrchr.S: Likewise.
3687 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
3688 Convert two small jumps to use conditional moves.
3689 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
3690 (PSEUDO): If PROF, call _mcount.
3691 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
3692 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3693 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3694 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3695 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
3696 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
3697 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
3699 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
3700 eventually contain memmove as well.
3701 * sysdeps/alpha/strcmp.S: New file.
3702 * sysdeps/alpha/strncmp.S: New file.
3703 * sysdeps/alpha/w_sqrt.S: New file.
3705 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
3707 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
3709 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
3711 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
3712 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
3713 Reported by Thomas Bushnell, n/BSG.
3715 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
3717 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
3719 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
3721 * malloc/calloc.c: Check for overflow before trying to allocate
3722 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
3724 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3726 * manual/llio.texi (Operating Modes): Add missing arguments to
3727 @deftypevr in O_NONBLOCK description.
3729 * manual/time.texi (Time Zone Functions): Enclose type name in
3730 braces in description of tzname. FIXME: this does not yet work
3733 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
3735 * features.h: Add X/Open macros.
3736 * posix/unistd.h: Define X/Open macros.
3737 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
3738 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
3739 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
3740 * sysdeps/posix/sysconf.c: Handle new constants.
3741 * sysdeps/stub/sysconf.c: Likewise.
3742 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
3744 * catgets/catgets.c (catopen): Set errno to ENOMEM when
3745 we run out of memory.
3746 (catgets): Set errno to EBADF when catalog handle is invalid.
3747 Set errno to ENOMSG when translation is not available.
3748 (catclose): Set errno to EBADF when catalog handle is invalid.
3750 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
3751 Likewise for _toupper and _tolower.
3753 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
3754 strtof, and strtold.
3755 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
3756 * manual/stdio.h: Document ' flag for numeric formats of scanf.
3757 * manual/users.texi: Document that cuserid shouldn't be used.
3759 * misc/Makefile (routines): Add dirname.
3760 (headers): Add libgen.h.
3761 (tests): Add tst-dirname.
3762 * misc/dirname.c: New file.
3763 * misc/libgen.h: New file.
3764 * misc/tst-dirname.c: New file.
3766 * misc/search.h: Parameter of hcreate must be of type size_t.
3767 * misc/hsearch.c: Likewise.
3768 * misc/hsearch_r.c: Likewise for hcreate_r.
3769 * misc/search.h: Parameters of insque and remque must be `void *'.
3770 * misc/insremque.c: Likewise.
3772 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
3773 * stdlib/stdlib.h: ...here.
3774 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
3777 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
3779 (parse_one_spec): Remove Linux compatibility code.
3780 Recognize %C and %S formats.
3781 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
3782 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
3783 * stdio-common/vfscanf.c: Likewise for scanf.
3785 * stdlib/l64a.c: Return value for 0 must be the empty string.
3786 * stdlib/stdlib.h: Declare reentrant function from rand48 family
3787 only if __USE_REENTRANT.
3788 Declare rand48 functions also if __USE_XOPEN.
3790 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
3792 Return 0 and set errno to EINVAL when strou* sees negativ number.
3793 * stdlib/tst-strtol.c: De-ANSI-fy.
3794 Change expected results for test of unsigned function and negative
3797 * string/stratcliff.c: Prevent warnings.
3798 * string.h: Move declaration of swab to <unistd.h>.
3799 * string/swab.c: De-ANSI-fy.
3801 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
3802 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
3803 * sysdeps/posix/mktemp.c: Likewise.
3804 * sysdeps/stub/mkstemp.c: Likewise.
3805 * sysdeps/stub/mktemp.c: Likewise.
3807 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
3809 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
3812 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
3814 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
3817 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
3819 * sysdeps/posix/cuserid.c: Use reentrant functions.
3820 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
3823 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
3825 Linus said he will make sure no system call will return a value
3826 in -1 ... -4095 as a valid result.
3827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
3828 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3829 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3830 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3832 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3834 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
3835 __funlockfile, not a circular alias.
3836 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
3839 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
3841 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
3843 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3845 * stdio-common/vfprintf.c: Include <libc-lock.h>.
3847 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3849 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
3852 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
3853 __internal_funlockfile (in terms of itself) should actually be a
3854 definition of __funlockfile.
3856 * pwd/pwd.h: Get `size_t' from <stddef.h>.
3857 * grp/grp.h: Likewise.
3858 * shadow/shadow.h: Likewise.
3860 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
3861 calls to __libc_lock_lock and __libc_lock_unlock.
3862 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
3865 * hurd/hurdsig.c (write_corefile): Fix typo.
3867 * sysdeps/mach/hurd/sigwait.c: New file.
3869 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
3871 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
3872 and __errno_location to correct position.
3874 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
3876 * Makefile (distribute): Add rellns-sh.
3877 * rellns-sh: New file.
3878 * Makerules (make-link): Use rellns-sh.
3879 * time/Makefile ($(installed-localtime-file)): Likewise.
3881 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
3883 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
3884 (distribute): Add ldd.bash.in.
3885 * elf/ldd.sh.in: Process --help and --version parameter.
3887 * elf/ldd.bash.in: New file.
3889 * stdlib/stdlib.h: Add prototype for clearenv.
3890 * sysdeps/generic/setenv.c: Add implementation of clearenv.
3891 (setenv): Handle __environ == NULL correctly.
3892 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
3895 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
3896 * sysdeps/generic/setenv.c: Likewise.
3897 * stdlib/strtol.h: Likewise.
3899 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
3900 Remove definition of struct timeval.
3901 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
3902 using `time_t' for members.
3903 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
3904 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
3905 as old Linux specific version.
3907 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
3909 * signal/Makefile (routines): Add sigwait.
3910 * signal/signal.h: Add prototype for sigwait.
3911 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
3912 function from POSIX.1c.
3913 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
3915 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
3917 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
3918 but don't bother going farther than sizeof(float)==sizeof(int).
3919 (xdr_double): Handle little-endian machines! Handle sizeof(double)
3920 != 2*sizeof(long), though again don't bother with more than int.
3922 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
3924 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
3927 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
3929 * Makerules: Create symbolic links for linking in $(libdir).
3930 (make-link): Use absolute path for destination if this is not in
3933 * elf/rtld.c (dl_main): When verifying don't check the name of
3936 * shlib-versions: Change entries for Hurd specific libs from
3937 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
3940 * assert/assert.h: Reformat copyright.
3941 Change reference to ANSI into reference to ISO C.
3942 * ctype/ctype.h: Likewise.
3943 * errno.h: Likewise.
3944 * limits.h: Likewise.
3945 * math/math.h: Likewise.
3946 * setjmp/setjmp.h: Likewise.
3947 * stdio/stdio.h: Likewise.
3948 * libio/stdio.h: Likewise.
3949 * stdlib/stdlib.h: Likewise.
3950 * string/string.h: Likewise.
3951 * time/time.h: Likewise.
3953 * string/argz.h: Use __const in definitions.
3955 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
3956 * misc/err.h: Likewise.
3958 * wctype/wctype.h (wctrans_t): Use __const instead of const.
3960 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
3961 sonames for versioned libraries.
3962 * Makefile: Remove code to generate libc-version.h.
3963 Generate gnu/lib-names.h with info from soversions.mk.
3964 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
3966 * dirent/tst-seekdir.c: Initialize save3.
3967 * grp/testgrp.c: Initialize my_group.
3969 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
3970 * grp/grp.h: Likewise.
3971 * nss/getXXbyYY.c: Likewise.
3972 * nss/getXXbyYY_r.c: Likewise.
3973 * nss/getXXent.c: Likewise.
3974 * nss/getXXent_r.c: Likewise.
3975 * pwd/fgetpwent_r.c: Likewise.
3976 * pwd/pwd.h: Likewise.
3977 * shadow/fgetspent_r.c: Likewise.
3978 * shadow/sgetspent.c: Likewise.
3979 * shadow/sgetspent_r.c: Likewise.
3980 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
3981 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
3982 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
3983 * resolv/netdb.h: Adapt prototypes for reentrant functions to
3985 * sunrpc/rpc/netdb.h: Likewise,
3986 * shadow/shadow.h: Likewise.
3988 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
3990 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
3992 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
3993 ELF aliasing creates strange situations.
3994 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
3996 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
3997 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3999 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
4002 * locale/programs/charmap.c: Add casts to prevent warnings.
4003 * locale/programs/linereader.h: Likewise.
4004 * locale/programs/ld-collate.c: Likewise.
4005 * locale/programs/stringtrans.c: Likewise.
4006 Change types for various variables to prevent warnings.
4007 * locale/programs/ld-ctype.c: Likewise.
4008 * locale/programs/linereader.h (lr_ungetc): Likewise.
4009 * locale/programs/charset.h (struct charset): Use `unsigned int'
4010 as type for width_default.
4011 * posix/regex.c: Change type of `this_reg' variables.
4012 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
4013 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
4015 * stdio-common/printf_fp.c: Initialize to_shift.
4016 * stdio-common/test_rdwr.c: Add cast.
4017 * stdio-common/vfprintf.c: Add casts and use correct types to
4019 * stdio-common/vfscanf.c: Initialize str and strptr.
4020 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
4021 * sysdeps/libm-ieee754/e_pow.c: Likewise.
4022 * sysdeps/libm-ieee754/e_powf.c: Likewise.
4023 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
4024 * time/test-tz.c: Likewise.
4026 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
4027 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
4028 libc.cp index. This must be fixed.
4029 * manual/nss.texi: Adapt for correct POSIX.1c interface of
4030 reentrant functions.
4031 * manual/users.texi: Document netgroup functions.
4033 * po/es.po: Updated.
4034 * po/fr.po: Updated.
4036 * posix/fnmatch.c: Change to match libit version.
4038 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
4039 * sysdep/posix/ttyname_r.c: Likewise.
4041 * stdlib/atexit.h (__new_exitfn): Add internal locking.
4042 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
4043 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
4044 * stdlib/random.c (__srandom): Add internal locking.
4045 (__initstate): Likewise.
4046 (__setstate): Likewise.
4047 (__random): Likewise.
4049 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4051 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
4053 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
4054 * sysdeps/generic/uname.c: Likewise.
4055 * sysdeps/posix/rename.c: Likewise.
4056 * sysdeps/stub/setrlimit.c: Likewise.
4058 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
4060 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4062 * locale/programs/ld-collate.c (collate_order_elem): Fix format
4064 (collate_element_to): Cast field width argument to `int' for
4066 (collate_symbol): Likewise.
4067 (collate_order_elem): Likewise.
4068 (collate_weight_bsymbol): Likewise.
4069 (collate_simple_weight): Likewise.
4071 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
4073 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
4074 argument for format string.
4075 (ctype_map_newP): Likewise.
4076 (set_class_defaults): Fix format string.
4078 * locale/programs/localedef.c (construct_output_path): Putting an
4079 explicit \0 into the format string does not work, use %c.
4081 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
4083 * Makerules: Install all shared libraries in $(slibdir).
4085 * login/Makefile: Build libutil.so in others pass after
4088 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
4090 * string/stratcliff.c: Allocate 3 pages instead of one, then use
4091 mprotect so that we know that the adjacent pages are inaccessible.
4093 * resource/sys/resource.h: Move all structures and enums to ...
4094 * sysdeps/generic/resourcebits.h: ... here ...
4095 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
4096 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
4097 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
4098 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
4099 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
4100 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
4101 header for RLIMIT_* definitions. The members of struct rlimit
4105 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4107 * MakeTAGS (sysdep-dirs): Fix typo.
4109 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4111 * hurd/hurdsig.c (write_corefile): If we can't create the core
4112 file, still call crash_dump_task with a null FILE arg. Maybe it
4113 won't actually need the file.
4115 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
4117 * Makefile (headers): Don't mention libc-version.h.
4118 (install-others): ...but here.
4120 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
4122 * version.h: Bump version number to 1.97.
4124 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
4125 Include libc-version.h.
4126 * features.h.in: Removed.
4127 * Makefile: Change rules to generate libc-version.h instead of
4130 * malloc/free.c: Add cast to prevent warning.
4131 * malloc/malloc-walk.c: Likewise.
4132 * malloc/ralloc.c: Likewise.
4133 * malloc/realloc.c: Likewise.
4135 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
4137 * pwd/fgetpwent_r.c: Likewise.
4138 * nss/nss_files/files-grp.c: Don't accept entries with names starting
4139 with + or - in lookup functions.
4140 * nss/nss_files/files-pwd.c: Likewise.
4142 * Makerules: Call autolock.sh using $(SHELL).
4144 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4146 * elf/dl-minimal.c: Don't define `dgettext' replacement but
4147 `dcgettext'. When optimizing the macros in <libintl.h> define
4148 `dgettext' as a macro and so this function will never be called.
4150 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
4152 * sysdeps/i386/sysdep.h: Define END to use .size when available.
4153 (PSEUDO_END): Use END.
4154 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
4155 define SYSCALL_ERROR_HANDLER before using END.
4156 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
4157 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
4158 and .size directive but PSEUDO_END.
4159 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
4160 * sysdeps/unix/sysv/linux/socket.S: Likewise.
4161 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
4162 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
4163 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
4164 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
4165 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4166 * sysdeps/i386/bsd-setjmp.S: Likewise.
4167 * sysdeps/i386/memchr.S: Likewise.
4168 * sysdeps/i386/memcmp.S: Likewise.
4169 * sysdeps/i386/setjmp.S: Likewise.
4170 * sysdeps/i386/stpcpy.S: Likewise.
4171 * sysdeps/i386/stpncpy.S: Likewise.
4172 * sysdeps/i386/strchr.S: Likewise.
4173 * sysdeps/i386/strcspn.S: Likewise.
4174 * sysdeps/i386/strpbrk.S: Likewise.
4175 * sysdeps/i386/strrchr.S: Likewise.
4176 * sysdeps/i386/strspn.S: Likewise.
4177 * sysdeps/i386/strtok.S: Likewise.
4178 * sysdeps/i386/i486/strcat.S: Likewise.
4179 * sysdeps/i386/i486/strlen.S: Likewise.
4180 * sysdeps/i386/i586/memset.S: Likewise.
4181 * sysdeps/i386/i586/strchr.S: Likewise.
4182 * sysdeps/i386/i586/strlen.S: Likewise.
4184 * sysdeps/i386/strlen.c: De-ANSI-fy.
4186 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
4187 Define dgettext if not defined to use dcgettext.
4188 * sysdeps/mach/_strerror.c: Likewise.
4190 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
4191 __syscall_error defined..
4193 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4195 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
4196 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
4197 now provided by PSEUDO_END.
4198 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4199 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4200 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4201 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4202 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
4204 * sysdeps/generic/sysdep.h (END): Provide default empty
4206 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
4208 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
4209 (PSEUDO_END): Include it here instead.
4210 (SYSCALL_ERROR_HANDLER): Remove type directive.
4211 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
4212 * sysdeps/m68k/bsd-setjmp.S: Likewise.
4213 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4214 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4215 (__syscall_error): Can't use ENTRY macro.
4217 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4219 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
4220 Set caller to EXTRA.
4222 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
4224 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
4225 to beginning of function. So libc functions can use this flag.
4226 * sysdeps/generic/_strerror.c: Don't use dgettext for message
4227 translation while `_dl_starting_up' is nonzero.
4229 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
4231 Pass parameter value to _dl_map_object.
4232 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
4233 If TRACE_MODE is nonzero don#t signal error when shared lib
4234 is not found. Instead create fake entry for link map.
4235 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
4236 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
4237 argument to _dl_map_object_deps.
4238 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
4239 _dl_map_object and _dl_map_object_deps.
4240 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
4241 and _dl_map_object_deps.
4242 When mode == trace test for l_opencount == 0 before printing
4243 link information since this means the lib is not found.
4245 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
4247 * rpm/template: Add INSTALL to %doc line to follow copyright
4248 restrictions which demand the distribution of the copyright
4249 messages in INSTALL even for binary distributions.
4251 * features.h: Rename to...
4252 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
4253 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
4254 and __GNU_LIBRARY_INTERFACE__.
4255 * Makefile ($(objpfx)features.h): New rule to generate features.h
4256 from template features.h.in.
4258 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
4260 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
4262 * locale/programs/linereader.c (lr_open): Cast away const before free.
4263 (lr_close): Likewise.
4265 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
4266 * misc/paths.h: Move to ...
4267 * sysdeps/generic/paths.h: ... here.
4269 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
4270 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
4272 * nss/nss_db/db-netgrp.h: Include <string.h>.
4274 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
4275 _sys_siglist, which result in the "Unknown signal" message.
4276 * string/strsignal.c: Likewise.
4277 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
4278 don't auto-generate siglist.c.
4279 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
4280 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
4281 autogenerate makes bootstrapping and cross-compiling much easier.
4282 * sysdeps/unix/sysv/linux/siglist.h: New file.
4284 * stdlib/longlong.h: Prototype __udiv_qrnnd.
4286 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
4287 sys/io.h. It is already added in .../linux/Makefile.
4289 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
4290 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
4291 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
4293 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
4295 Add implementation of POSIX.1g function getaddrinfo.
4296 * posix/Makefile (routines): Add getaddrinfo.
4297 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
4299 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
4300 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
4301 related constants and structures.
4303 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
4305 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
4306 Make all old names weak alises so that they can be replaced
4309 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
4311 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
4312 __flockfile and __funlockfile.
4313 Reported by NIIBE Yutaka.
4315 * crypt/md5.c: Change form of copyright message according to GNITS
4317 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
4318 and `md5_read_ctx' function.
4319 * crypt/md5.h: Likewise.
4321 * grp/testgrp.c: Don't use perror for error cases since getgr* and
4322 getpw* functions do not return usable error codes.
4324 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
4326 * crypt/md5.c (md5_process_bytes): Used casting for pointer
4329 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
4331 * sunrpc/Makefile (others): Remove portmap here, too.
4333 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
4335 * intl/locale.alias: Language for entry `czech' is `cs'.
4337 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4339 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
4341 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
4343 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
4344 buggy and more competent people work on a usable version which is
4345 distributed separately.
4346 * sunrpc/portmap.c: Removed.
4347 Suggested by Thorsten Kukuk.
4349 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
4351 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
4354 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
4356 * string/Makefile (tests): Add stratcliff.
4357 * string/stratcliff.c: New file. Test for string function at
4358 the edge of the usable memory.
4360 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
4362 * Makerules ($(libdir)/libc.so): Fix typo.
4364 * elf/ldd.sh.in: Test whether given file really exist and give
4365 better message if it is not available.
4367 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
4369 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
4372 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
4374 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
4375 output to $@T and move to $@ later since the new rpcgen will not
4376 overwrite existing files.
4378 * po/Makefile (libc.pot): Fix typo.
4380 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4382 Update rpcgen program to TI-rpc code.
4383 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
4384 (distribute): Add proto.h.
4385 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
4386 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
4387 * sunrpc/rpc_cout.c: Likewise.
4388 * sunrpc/rpc_hout.c: Likewise.
4389 * sunrpc/rpc_main.c: Likewise.
4390 * sunrpc/rpc_parse.c: Likewise.
4391 * sunrpc/rpc_parse.h: Likewise.
4392 * sunrpc/rpc_scan.c: Likewise.
4393 * sunrpc/rpc_scan.h: Likewise.
4394 * sunrpc/rpc_svcout.c: Likewise.
4395 * sunrpc/rpc_util.c: Likewise.
4396 * sunrpc/rpc_util.h: Likewise.
4398 * sunrpc/rpc_tblout.c: New file.
4399 * sunrpc/rpc_sample.c: Likewise.
4401 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4403 * sysdeps/unix/opendir.c: Add semicolon for consistency.
4405 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
4407 * locale/programs/localedef.c (main): Test with -1 to find out
4408 whether read failed.
4410 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
4412 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
4415 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4417 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
4419 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4421 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
4422 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4423 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4424 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4425 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
4427 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4428 Correct generation of system call.
4430 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4432 * Makerules (sysd-Makefile): Fix command so that it works in the
4434 (BUILD_CFLAGS): Change back using $(..) instead of
4435 $(common-objpfx), the latter fails in the toplevel directory when
4436 $(objdir) is relative.
4437 (common-objdir-compile): Run compiler in $(objdir).
4438 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
4440 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
4442 * string/string.h [__USE_SVID]: Add prototype for swab.
4443 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
4444 Reported by Andreas Jaeger.
4446 The available nlist implementation is not generally usable.
4447 Especially on the currently supported ELF systems the nlist
4448 function comes with the libelf.
4449 * misc/Makefile (headers): Remove nlist.h.
4450 (routines): Remove nlist.
4452 * Makefile ($(objpfx)version-info.h): Include information about
4453 system the libc is built on in version-info.h file.
4455 * po/Makefile (distribute): Add header.pot.
4457 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4459 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
4460 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
4461 * misc/error.c: Likewise.
4463 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
4465 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
4467 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4469 * crypt/Makefile (rpath-link): Extend search path to current directory.
4471 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
4473 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
4476 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
4478 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
4480 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
4482 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4484 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
4487 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4489 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
4491 (PSEUDO_END): Provide definition to use .size directive.
4492 (PSEUDO): Don't interpret negative return values less than -128 as
4494 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
4496 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
4498 * sysdeps/m68k/bsd-setjmp.S: Likewise.
4499 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4500 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4501 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4502 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4503 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4504 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
4505 explicit .size directive.
4507 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
4509 * shlib-versions: Add version number/name for ld.so.
4510 * Makeconfig: Move definition of rtld-installed-name after
4511 inclusion of soversions.mk.
4512 Don't add . before version number from shlib-versions file when
4513 when name does not start with digit. This is needed for ld.so.
4515 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
4517 * libio/iogets.c: Warn when gets is used.
4518 * stdio/gets.c: Strengthen the warning.
4520 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
4522 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
4523 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
4524 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
4525 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
4526 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
4528 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
4529 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
4530 appropriate values according to __USE_REENTRANT.
4531 * libio/stdio.h: Add prototype for ftrylockfile.
4532 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
4533 getc, getchar, putc, and putchar using _IO_* names.
4534 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
4535 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
4536 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
4537 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
4538 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
4539 * libio/peekc.c: New file.
4541 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
4544 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
4546 * crypt/Makefile (tests): Add md5test and md5c-test.
4547 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
4548 is called, the buffer limit is honoured and a loop in a inner
4550 * crypt/md5.h (struct md5_ctx): Add new fields.
4551 Add prototypes for new functions.
4552 * crypt/md5.c (md5_init_ctx): Initialize new fields.
4553 (md5_finish_ctx): New function. Like md5_read_ctx but before
4554 perform correct finalization.
4555 (md5_process_bytes): New function. Similar to md5_proces_block,
4556 but does not require input size to be multiple of 64.
4557 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
4558 (md5_buffer): Likewise.
4559 (md5_process_block): Count number of bytes.
4560 * crypt/md5test.c: New file. Test program for MD5 functions.
4561 * crypt/md5c-test.c: New file: Test program for MD5 crypt
4566 * time/strptime.c: Recognize %s, %u, %g, and %G format.
4568 * posix/getopt.c: Add some more casts and initializations to
4571 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
4573 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
4574 an extra function to provide this functionality.
4575 (cfgetospeed): Simply return masked value.
4576 (cfsetospeed): Don't use speeds array and so we can simply test
4577 the value of SPEED for illegal values.
4578 * termios/cfsetspeed.c: Rewrite. We convert here between the
4579 real values and the B* constants.
4580 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
4582 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4584 * locale/programs/xstrdup.c: Define prototypes.
4585 * locale/programs/xmalloc.c: Likewise.
4587 * stdio-common/xbug.c (main): Change definition to avoid warning.
4589 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
4591 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
4593 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
4595 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
4596 "$(i18ndir)/charmaps".
4598 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4600 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
4601 to get definition of FPU description struct.
4603 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
4604 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
4605 net/if_arp.h, and net/route.h.
4606 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
4607 * sysdeps/unix/sysv/linux/net/route.h: New file.
4609 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
4611 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
4612 * sysdeps/stub/e_acosl.c: Likewise.
4613 * sysdeps/stub/e_asinl.c: Likewise.
4614 * sysdeps/stub/e_atan2l.c: Likewise.
4615 * sysdeps/stub/e_expl.c: Likewise.
4616 * sysdeps/stub/e_fmodl.c: Likewise.
4617 * sysdeps/stub/e_log10l.c: Likewise.
4618 * sysdeps/stub/e_logl.c: Likewise.
4619 * sysdeps/stub/e_sqrtl.c: Likewise.
4620 * sysdeps/stub/s_atanl.c: Likewise.
4621 * sysdeps/stub/s_log1pl.c: Likewise.
4623 * Makefile (distribute): Add nsswitch.h and netgroup.h.
4625 * nss/Makefile (generated): db-netgrp.c is not generated.
4627 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
4629 * Make-dist (+out): Add $(dont_distribute).
4631 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4633 * stdio-common/Makefile (routines): Add tmpnam_r.
4635 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
4637 * version.h: Bump version to 1.96.
4639 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4641 * stdio-common/tst-printf.c: Some more cleanups.
4643 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
4645 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
4646 * resolv/resolv.h: Likewise.
4647 * resolv/gethnamaddr.c: Likewise.
4648 * resolv/res_comp.c: Likewise.
4649 * resolv/res_debug.c: Likewise.
4650 * resolv/res_init.c: Likewise.
4651 * resolv/res_send.c: Likewise.
4652 * resolv/Banner: Update version number.
4654 * nss/nss_dns/dns-host.c: Update according to change in
4655 resolv/gethnamaddr.c.
4657 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
4659 * crypt/md5.c (md5_stream): When reading the block in several
4660 pieces append to instead of replace previously read data.
4662 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
4664 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
4665 last-byte-written bit for source word misalignment.
4666 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
4669 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
4671 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
4672 comes with glibc-nis.
4673 * sunrpc/rpcsvc/yp.x: Removed.
4675 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
4676 for *CURSOR to be NULL and dump a core if yes.
4678 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
4680 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
4681 including <errnos.h> to get error numbers.
4683 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
4685 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
4686 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
4687 Alpha people find a correct file.
4688 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
4689 an alias of __cabs since the structures have different names.
4690 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
4691 Reported by Matthew Jacob <mjacob@feral.com>.
4693 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
4695 * time/strftime.c: Allow old K&R compilers compile this file.
4697 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
4699 * posix/execlp.c: Add first argument parameter to be compliant
4700 with POSIX. Rearrange body to start vararg counter after
4703 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
4705 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
4706 simply a wrapper around the <linux/elfcore.h> file since the
4707 kernel header is not clean enough. We provide the definitions
4708 in this file instead.
4710 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
4712 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
4713 get?id calls by using __libc_enable_secure.
4715 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
4717 * inet/getnetgrent_r.c: Correct netgroup implementation. A
4718 specification of a netgroup can also name another netgroup.
4719 * nss/nss_files/files-netgrp.c: Likewise.
4720 * inet/netgroup.h: Add fields to hold additional information.
4722 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
4724 * posix/getopt.c: Implement POSIX -W option handling. When the
4725 option string contains "W;" -W foo is handled like --foo.
4727 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
4729 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
4730 inclusing <errnos.h> so we really get error symbols defined.
4731 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4732 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
4734 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
4735 size array for getgroups call. Instead get maximal number via
4736 sysconf. But discard list to NGRPS elements before calling XDR
4737 function since Sun's code cannot handle longer lists.
4738 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4740 * sysdeps/stub/e_j0l.c: Define y0l as well.
4741 * sysdeps/stub/e_j1l.c: Define y1l as well.
4742 * sysdeps/stub/e_jnl.c: Define ynl as well.
4744 * posix/unistd.h: Correct prototype for execlp.
4746 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
4748 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4750 * Makeconfig (sysdep-library-path): New variable.
4751 (built-program-cmd): Use it here to properly build a colon
4752 separated library path.
4754 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4756 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
4757 within comparison. Fix comments.
4758 (md5_crypt): Fix comment.
4760 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
4762 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
4763 when _ERRNO_H is defined.
4764 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
4765 Should there ever be a Linux port where the numeric values are
4766 not 33 and 34 this file must change.
4768 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
4770 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
4773 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4775 * string/tst-strlen.c (main): Provide prototype.
4776 * malloc/mallocbug.c: Likewise.
4777 * io/test-utime.c: Likewise.
4779 * sysdeps/generic/crypt-entry.c: Correct typo.
4781 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
4783 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
4784 test for libc.a. Checking _DYNAMIC is of no worth here.
4785 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
4787 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
4788 EXTERN_PARSER is defined.
4790 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4792 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
4794 * crypt/md5-crypt.c: Fix typos in comments.
4796 * gmon/gmon.c: Provide prototypes.
4797 * db/makedb.c: Likewise.
4798 * locale/programs/xmalloc.c: Likewise.
4799 * stdio-common/bug11.c (main): Likewise.
4800 * stdio-common/bug7.c (main): Likewise.
4801 * stdio-common/bug8.c (main): Likewise.
4802 * stdio-common/bug9.c (main): Likewise.
4803 * stdio-common/scanf1.c (main): Likewise.
4804 * stdio-common/scanf2.c (main): Likewise.
4805 * stdio-common/scanf5.c (main): Likewise.
4806 * stdio-common/scanf6.c (main): Likewise.
4807 * stdio-common/scanf7.c (main): Likewise.
4808 * stdio-common/scanf8.c (main): Likewise.
4809 * stdio-common/temptest.c (main): Likewise.
4810 * stdio-common/test-fwrite.c (main): Likewise.
4811 * stdio-common/tst-printf.c: Likewise.
4812 * stdio-common/tstdiomisc.c: Likewise.
4813 * stdio-common/tstgetln.c (main): Likewise.
4814 * stdlib/testmb.c (main): Likewise.
4816 * stdio-common/scanf4.c (main): Correct prototype, remove unused
4819 * stdio-common/scanf3.c (main): Correct prototype, change
4820 declaration of s to reduce warnings.
4821 * stdio-common/bug10.c (main): Likewise.
4823 * stdio-common/tfformat.c: Provide prototype, remove unused
4824 reference to dump_stats, add braces in sprint_doubles.
4825 * stdio-common/tiformat.c: Likewise.
4827 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
4830 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4832 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
4834 * shadow/putspent.c: Don't write colon after flag field.
4836 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
4838 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
4839 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
4840 * sysdeps/unix/sysv/linux/Dist: Mention new files.
4842 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
4844 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
4845 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
4847 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
4848 by using __libc_enable_secure variable.
4850 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4852 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
4853 null, don't attempt mach_port_mod_refs.
4855 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4857 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
4858 sysdeps/unix/pipestream.c.
4860 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
4861 from sysdeps/mach/hurd/readdir.c.
4863 * stdio/freopen.c: Complete de-ansideclification.
4864 * stdio/fgets.c (fgets): Likewise.
4865 * stdio/getdelim.c (__getdelim): Likewise.
4866 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
4869 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4870 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4872 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
4873 STAT_LOC without error.
4875 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
4877 * posix/getopt.c: Add casts to prevent warnings.
4878 * posix/regex.c: Likewise.
4880 * math/Makefile (long-m-routines, long-m-yes): Define to correct
4881 values to make `long double' functions available.
4882 (distribute): Add $(long-m-yes:=.c).
4884 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
4885 Use long double instruction.
4887 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
4888 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
4889 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
4891 * sysdeps/libm-ieee754/e_coshl.c: New file.
4893 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
4894 for `long double' version as alias.
4895 * sysdeps/libm-ieee754/s_atan.c: Likewise.
4896 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
4897 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
4898 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
4899 * sysdeps/libm-ieee754/s_cos.c: Likewise.
4900 * sysdeps/libm-ieee754/s_erf.c: Likewise.
4901 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4902 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
4903 * sysdeps/libm-ieee754/s_finite.c: Likewise.
4904 * sysdeps/libm-ieee754/s_floor.c: Likewise.
4905 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
4906 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
4907 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4908 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4909 * sysdeps/libm-ieee754/s_logb.c: Likewise.
4910 * sysdeps/libm-ieee754/s_modf.c: Likewise.
4911 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
4912 * sysdeps/libm-ieee754/s_rint.c: Likewise.
4913 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
4914 * sysdeps/libm-ieee754/s_significand.c: Likewise.
4915 * sysdeps/libm-ieee754/s_sin.c: Likewise.
4916 * sysdeps/libm-ieee754/s_tan.c: Likewise.
4917 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
4918 * sysdeps/libm-ieee754/w_acos.c: Likewise.
4919 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
4920 * sysdeps/libm-ieee754/w_sin.c: Likewise.
4921 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
4922 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
4923 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
4924 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
4925 * sysdeps/libm-ieee754/w_drem.c: Likewise.
4926 * sysdeps/libm-ieee754/w_exp.c: Likewise.
4927 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
4928 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4929 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
4930 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
4931 * sysdeps/libm-ieee754/w_j0.c: Likewise.
4932 * sysdeps/libm-ieee754/w_j1.c: Likewise.
4933 * sysdeps/libm-ieee754/w_jn.c: Likewise.
4934 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4935 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
4936 * sysdeps/libm-ieee754/w_log.c: Likewise.
4937 * sysdeps/libm-ieee754/w_log10.c: Likewise.
4938 * sysdeps/libm-ieee754/w_pow.c: Likewise.
4939 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
4940 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4941 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
4942 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
4944 Stub files for missing long double math functions.
4945 * sysdeps/stub/e_acoshl.c: New file.
4946 * sysdeps/stub/e_hypotl.c: New file.
4947 * sysdeps/stub/e_j0l.c: New file.
4948 * sysdeps/stub/e_j1l.c: New file.
4949 * sysdeps/stub/e_jnl.c: New file.
4950 * sysdeps/stub/e_lgammal_r.c: New file.
4951 * sysdeps/stub/e_powl.c: New file.
4952 * sysdeps/stub/e_rem_pio2l.c: New file.
4953 * sysdeps/stub/e_sinhl.c: New file.
4954 * sysdeps/stub/k_cosl.c: New file.
4955 * sysdeps/stub/k_rem_pio2l.c: New file.
4956 * sysdeps/stub/k_sinl.c: New file.
4957 * sysdeps/stub/k_tanl.c: New file.
4958 * sysdeps/stub/s_erfl.c: New file.
4959 * sysdeps/stub/s_expm1l.c: New file.
4961 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
4963 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4964 * sysdeps/i386/bsd-setjmp.S: Likewise.
4965 * sysdeps/i386/memchr.S: Likewise.
4966 * sysdeps/i386/memcmp.S: Likewise.
4967 * sysdeps/i386/setjmp.S: Likewise.
4968 * sysdeps/i386/stpcpy.S: Likewise.
4969 * sysdeps/i386/stpncpy.S: Likewise.
4970 * sysdeps/i386/strchr.S: Likewise.
4971 * sysdeps/i386/strcspn.S: Likewise.
4972 * sysdeps/i386/strpbrk.S: Likewise.
4973 * sysdeps/i386/strrchr.S: Likewise.
4974 * sysdeps/i386/strspn.S: Likewise.
4975 * sysdeps/i386/strtok.S: Likewise.
4976 * sysdeps/i386/i486/strcat.S: Likewise.
4977 * sysdeps/i386/i486/strlen.S: Likewise.
4978 * sysdeps/i386/i586/memset.S: Likewise.
4979 * sysdeps/i386/i586/strchr.S: Likewise.
4980 * sysdeps/i386/i586/strlen.S: Likewise.
4981 * sysdeps/libm-i387/e_acos.S: Likewise.
4982 * sysdeps/libm-i387/e_acosl.S: Likewise.
4983 * sysdeps/libm-i387/e_asin.S: Likewise.
4984 * sysdeps/libm-i387/e_asinl.S: Likewise.
4985 * sysdeps/libm-i387/e_atan2.S: Likewise.
4986 * sysdeps/libm-i387/e_atan2l.S: Likewise.
4987 * sysdeps/libm-i387/e_exp.S: Likewise.
4988 * sysdeps/libm-i387/e_expl.S: Likewise.
4989 * sysdeps/libm-i387/e_fmod.S: Likewise.
4990 * sysdeps/libm-i387/e_fmodl.S: Likewise.
4991 * sysdeps/libm-i387/e_log.S: Likewise.
4992 * sysdeps/libm-i387/e_log10.S: Likewise.
4993 * sysdeps/libm-i387/e_log10l.S: Likewise.
4994 * sysdeps/libm-i387/e_logl.S: Likewise.
4995 * sysdeps/libm-i387/e_remainder.S: Likewise.
4996 * sysdeps/libm-i387/e_remainderf.S: Likewise.
4997 * sysdeps/libm-i387/e_remainderl.S: Likewise.
4998 * sysdeps/libm-i387/e_scalb.S: Likewise.
4999 * sysdeps/libm-i387/e_scalbl.S: Likewise.
5000 * sysdeps/libm-i387/e_sqrt.S: Likewise.
5001 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
5002 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
5003 * sysdeps/libm-i387/s_atan.S: Likewise.
5004 * sysdeps/libm-i387/s_atanf.S: Likewise.
5005 * sysdeps/libm-i387/s_atanl.S: Likewise.
5006 * sysdeps/libm-i387/s_ceil.S: Likewise.
5007 * sysdeps/libm-i387/s_ceilf.S: Likewise.
5008 * sysdeps/libm-i387/s_ceill.S: Likewise.
5009 * sysdeps/libm-i387/s_copysign.S: Likewise.
5010 * sysdeps/libm-i387/s_copysignf.S: Likewise.
5011 * sysdeps/libm-i387/s_copysignl.S: Likewise.
5012 * sysdeps/libm-i387/s_cos.S: Likewise.
5013 * sysdeps/libm-i387/s_cosf.S: Likewise.
5014 * sysdeps/libm-i387/s_cosl.S: Likewise.
5015 * sysdeps/libm-i387/s_finite.S: Likewise.
5016 * sysdeps/libm-i387/s_finitef.S: Likewise.
5017 * sysdeps/libm-i387/s_finitel.S: Likewise.
5018 * sysdeps/libm-i387/s_floor.S: Likewise.
5019 * sysdeps/libm-i387/s_floorf.S: Likewise.
5020 * sysdeps/libm-i387/s_floorl.S: Likewise.
5021 * sysdeps/libm-i387/s_ilogb.S: Likewise.
5022 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
5023 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
5024 * sysdeps/libm-i387/s_log1p.S: Likewise.
5025 * sysdeps/libm-i387/s_log1pf.S: Likewise.
5026 * sysdeps/libm-i387/s_log1pl.S: Likewise.
5027 * sysdeps/libm-i387/s_logb.S: Likewise.
5028 * sysdeps/libm-i387/s_logbf.S: Likewise.
5029 * sysdeps/libm-i387/s_logbl.S: Likewise.
5030 * sysdeps/libm-i387/s_rint.S: Likewise.
5031 * sysdeps/libm-i387/s_rintf.S: Likewise.
5032 * sysdeps/libm-i387/s_rintl.S: Likewise.
5033 * sysdeps/libm-i387/s_scalbn.S: Likewise.
5034 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
5035 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
5036 * sysdeps/libm-i387/s_significand.S: Likewise.
5037 * sysdeps/libm-i387/s_significandf.S: Likewise.
5038 * sysdeps/libm-i387/s_significandl.S: Likewise.
5039 * sysdeps/libm-i387/s_sin.S: Likewise.
5040 * sysdeps/libm-i387/s_sinf.S: Likewise.
5041 * sysdeps/libm-i387/s_sinl.S: Likewise.
5042 * sysdeps/libm-i387/s_tan.S: Likewise.
5043 * sysdeps/libm-i387/s_tanf.S: Likewise.
5044 * sysdeps/libm-i387/s_tanl.S: Likewise.
5046 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
5047 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
5048 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
5049 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
5051 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
5052 to provide .size directive on ELF systems.
5054 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
5055 <sigcontext.h> and rename parameter type to sigcontext.
5056 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
5058 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
5059 negative values might occur as positive results. Test against
5060 -125 to decide for error or not.
5061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
5063 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5065 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
5066 whether this is a statically linked program. The latter is now
5069 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5071 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
5072 controlling terminals are allowed to send.
5074 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
5075 table is larger than the allowable address size, then return
5078 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
5082 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
5084 * po/fr.po: New file.
5086 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
5088 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
5090 Add support for MD5 crypt replacement.
5091 * Makefile (subdirs): Add crypt.
5092 * shlib-versions: Add entry for libcrypt.
5093 * crypt/md5-crypt.c: New file.
5094 * crypt/md5.c: New file.
5095 * crypt/md5.h: New file.
5096 * sysdeps/generic/crypt-entry.c: New file.
5097 * sysdeps/generic/crypt.h: New file.
5099 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
5101 * dirent/tst-seekdir.c: Provide correct prototypes.
5102 * io/test-utime.c: Likewise.
5103 * malloc/mallocbug.c: Likewise.
5104 * posix/testfnm.c: Likewise.
5105 * stdio-common/xbug.c: Likewise.
5106 * sysdeps/posix/cuserid.c: Likewise.
5108 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
5110 Provide optimized string functions for Alpha processors.
5111 * sysdeps/alpha/bzero.S: New file.
5112 * sysdeps/alpha/memset.S: New file.
5113 * sysdeps/alpha/stpcpy.S: New file.
5114 * sysdeps/alpha/stpncpy.S: New file.
5115 * sysdeps/alpha/strcat.S: New file.
5116 * sysdeps/alpha/strchr.S: New file.
5117 * sysdeps/alpha/strcpy.S: New file.
5118 * sysdeps/alpha/strncat.S: New file.
5119 * sysdeps/alpha/strncpy.S: New file.
5120 * sysdeps/alpha/strrchr.S: New file.
5121 * sysdeps/alpha/stxcpy.S: New file.
5122 * sysdeps/alpha/stxncpy.S: New file.
5124 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
5125 stxncpy to sysdep_routines.
5128 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5130 * sysdeps/generic/gnu/types.h: Added __loff_t.
5131 Don't declare key_t here.
5133 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
5134 set errno (to ENOMEM).
5136 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
5138 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
5139 nothing is found. This guarantees all subsequent calls behave
5141 * sysdeps/generic/strtok_r.c: Likewise.
5143 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5145 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
5148 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
5150 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
5151 NULL immediately; we're going to get called one more time.
5152 * sysdeps/generic/strtok_r.c: Likewise.
5154 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
5156 * locale/programs/ld-time.c: Always write some bytes at the end of
5157 the file even if no `era's are specified.
5159 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
5162 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
5164 * libio/iofclose.c: Move unlocking to right position.
5166 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
5168 * misc/Makefile: Kill force-wrapper.
5169 * misc/force-wrapper.c: Delete.
5171 * elf/eval.c: Add <string.h>.
5173 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
5174 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
5175 and binary compatibility not at all. Better to do `char *foo'
5176 followed by `foo = ptr' as it is much cleaner.
5177 (struct gmon_hdr): Fix version.
5178 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
5179 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
5180 * gmon/gmon.c: De-ansidecl-ify.
5181 (write_hist): De-bcopy-fy.
5182 (write_call_graph): Likewise.
5184 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
5185 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
5186 * sysdeps/generic/machine-gmon.h: Likewise.
5188 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
5189 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
5190 * nss/nss_dns/dns-network.c: Likewise.
5191 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
5192 * resolv/getnetnamadr.c: Likewise.
5193 * resolv/res_debug.c: Likewise.
5194 * resolv/res_mkquery.c: Likewise.
5195 * resolv/res_query.c: Likewise.
5197 * libio/clearerr_u.c: It's not necessary to define __ protected
5198 function so don't do it.
5199 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
5200 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
5202 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
5203 the cleanup registrar.
5204 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
5205 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
5206 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
5207 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
5208 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
5209 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
5210 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
5213 * locale/programs/ld-ctype.c: Include <alloca.h>.
5215 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
5217 * posix/sys/types.h: Change #defines to typedefs. This is looking
5218 forward to more comprehensive namespace cleanups for C++.
5219 * posix/unistd.h: Likewise for ssize_t.
5221 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
5224 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
5225 `statement with no effect' warnings.
5226 * resolv/inet_neta.c: Include <string.h> for strlen.
5228 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
5229 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
5230 * stdio-common/vfprintf.c: Same for va_list.
5231 * stdio-common/vfscanf.c: Same.
5232 * stdio-common/reg-printf.c: Prototype the __ function.
5233 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
5234 _IO_vscanf declaration.
5236 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
5237 but to unsigned long for the health of 64-bit systems.
5239 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
5240 Many system's <sys/param.h> pulls this in.
5242 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
5245 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
5246 instead of defining it locally.
5248 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
5249 * sysdeps/stub/chflags.c: Prototype chflags.
5250 * sysdeps/stub/fchflags.c: Prototype fchflags.
5251 * sysdeps/stub/sstk.c: Prototype sstk.
5253 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
5254 variable to __errno. Update __syscall_error to store to both
5255 the global and per-thread variables.
5257 * sysdeps/unix/sysv/linux/init-first.c: Change include of
5258 init-first.h from "" to <> as "" does not search the include path.
5259 Prototype _dl_start.
5261 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5263 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
5264 pattern rule to get the right stem.
5266 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5268 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
5270 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5272 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
5274 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5276 * malloc/free.c (_free_internal): Don't call free recursively, use
5277 the internal functions instead.
5279 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5281 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
5282 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
5284 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5286 * catgets/gencat.c (main): Print version information on stdout,
5288 * db/makedb.c: Likewise.
5289 * locale/programs/locale.c: Likewise.
5290 * locale/programs/localedef.c: Likewise.
5292 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
5294 Add implementation of netgroup.
5295 * inet/Makefile (distributes): Add netgroup.h.
5296 (routines): Add getnetgrent.c and getnetgrent_r.c.
5297 * inet/getnetgrent.c: New file.
5298 * inet/getnetgrent_r.c: New file.
5299 * inet/netgroup.h: New file.
5300 * netgroup.h: New file.
5301 * nsswitch.h: New file.
5302 * nss/Makefile (databases): Add getgrp.
5303 * nss/databases.def: Add netgroup.
5304 * nss/db-Makefile: Add rules for netgroup.
5305 * nss/netgrp-lookup.c: New file.
5306 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
5307 always return without a check of the transition table.
5308 * nss/nsswitch.h (struct service_user): Extend actions array to
5310 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
5312 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
5313 to NSS_ACTION_RETURN.
5314 * nss/nss_db/db-netgrp.c: New file.
5315 * nss/nss_files/files-netgrp.c: New file.
5316 * nss/nsswitch.conf: Add entry for netgroup.
5317 * resolv/netdb.h: Add prototypes for netgroup functions.
5319 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
5322 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
5324 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
5325 _llseek to _llseek (not llseek).
5326 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
5328 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
5330 * inet/rcmd.c: Remove definition of MIN.
5332 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
5334 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
5335 * sysdeps/unix/readdir_r.c: New file.
5336 * sysdeps/unix/readdir.c: Remove check for correct parameter
5337 values. Let them simply die.
5338 * manual/filesys.texi: Document readdir_r.
5340 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
5341 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
5343 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
5345 * dirent/Makefile (routines): Add readdir_r.
5346 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
5347 * dirent/dirent.h: Add prototype for readdir_r.
5349 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
5350 to prevent warnings.
5352 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5353 Initialize `result'.
5355 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
5357 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
5359 * string/string.h: Add prototype for __strsep.
5360 * misc/mntent_r.c: Use __strsep instead of strsep to keep
5363 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
5364 __nanosleep and nanosleep weak aliases.
5365 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
5367 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
5368 nanosleep to keep namespace clean.
5370 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
5371 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
5372 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5374 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
5377 * login/Makefile (headers): Add pty.h.
5378 * login/pty.h: New file.
5379 * sysdeps/generic/pty.h: Include <pty.h>.
5380 * login/pututline_r.c: Add cast to prevent warning.
5382 * gmon/gmon.c: Add prototype for __profile_frequency.
5383 (monstartup): Add cast to prevent warning.
5384 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
5386 * locale/programs/ld-time.c (time_output): Write `era' information
5389 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
5391 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
5393 Set caller for mlock, mlockall, mremap, munlock, and munlockall
5395 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
5397 1996-09-27 Paul Eggert <eggert@twinsun.com>
5399 * strftime.c (strftime): Output incomplete formats like %E
5402 1996-09-27 Paul Eggert <eggert@twinsun.com>
5404 * strftime.c (strftime): Add support for %EC and %Ey.
5405 Fix support for %EY. This uses the new _nl_get_era_entry function.
5407 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
5409 Security related patch by Elliot Lee <sopwith@redhat.com> and
5410 David Holland <dholland@eecs.harvard.edu>.
5412 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
5413 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
5415 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
5416 NULL when programs runs with SUID or SGID enabled.
5417 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
5418 * stdlib/stdlib.h: Add prototype for __secure_getenv.
5420 * locale/setlocale.c: Use __secure_getenv.
5421 * resolv/res_init.c: Likewise.
5422 * resolv/res_query.c: Likewise.
5423 * inet/ruserpass.c: Likewise.
5424 * sysdeps/posix/tempname.c: Likewise.
5425 * malloc/mtrace.c: Likewise.
5426 * catgets/catgets.c: Likewise.
5428 Make temporary file handling functions reentrant.
5430 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
5431 result to. The called __stdio_gen_tempname function must be
5433 * stdio-common/tmpnam_r.c: New file.
5434 * stdio/stdio.h: Add prototype for `tmpnam_r'.
5435 Change prototype for __stdio_gen_tempname.
5436 * stdio/libio.h: Likewise.
5437 * sysdeps/posix/tempname.c: Add new parameters and use them instead
5439 Don't reset `indeces' when PID changed between calls.
5440 Don't fail for long running programs when index counter once
5442 * sysdeps/stub/tempname.c: Likewise.
5443 * stdio-common/tempnam.c: Provide local buffer as extra argument
5444 to __stdio_gen_tempname. This makes this function reentrant.
5445 * stdio-common/tmpfile.c: Likewise.
5446 * stdio-common/temptest.c: Provide extra argument to
5447 __stdio_gen_tempname.
5448 * manual/filesys.texi: Describe tmpnam_r and add comments about
5449 reentrancy of the functions.
5451 * inet/rcmd.c: Fixed address length handling.
5453 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
5455 * time/strftime.c: Remove unused variables alt_digits and
5458 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
5459 for get_nprocs and get_nprocs_conf.
5460 * sysdeps/generic/sys/sysinfo.h: Likewise.
5462 * stdlib/test-canon.c: Finally do the right fix.
5464 * misc/Makefile: Only compile force-wrapper when compiling
5467 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
5469 Add support for cancelable system calls.
5471 * csu/initfini.c: Make in crti.o reference to symbol
5472 __libc_force_cancel_wrapper when compiling reentrant version.
5473 * misc/Makefile (routines): Add force-wrapper.
5474 * misc/force-wrapper.c: New file.
5476 * posix/system.c: Rename function to __libc_system and make system
5478 * sysdeps/stub/system.c: Likewise.
5479 * posix/wait.c: Rename function to __libc_wait and make __wait a
5480 weak alias. De-ANSI-fy.
5481 * sysdeps/standalone/read.c: Rename function to __libc_read and
5482 make __read a weak alias.
5483 * sysdeps/stub/read.c: Likewise.
5484 * sysdeps/standalone/write.c: Rename function to __libc_write and
5485 make __write a weak alias.
5486 * sysdeps/stub/write.c: Likewise.
5487 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
5488 make tcdrain a weak alias.
5489 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5490 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
5491 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5492 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
5493 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
5494 and make __wait a weak alias.
5495 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
5496 make __waitpid a weak alias.
5497 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
5498 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
5499 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
5500 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
5501 and make pause a weak alias. De-ANSI-fy.
5503 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
5504 lseek, open, read, and write to have __libc_ prefix and make old
5506 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
5507 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
5509 * io/creat.c: De-ANSI-fy.
5511 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
5513 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
5515 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
5516 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
5518 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
5520 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
5522 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
5524 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
5526 * locale/programs/locfile.c (write_locale_data): Allocate room
5527 even for file name for LC_MESSAGES locale.
5528 (locafile_read): `tok_era' must be handled as a string list.
5529 * locale/programs/ld-time.c: Finish correction of handling `era'.
5530 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
5531 * locale/categories.def: Add postload function for LC_TIME.
5532 * locale/setlocale.c: Make lock global and rename to
5533 __libc_setlocale_lock.
5534 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
5535 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
5536 * locale/lc-time.c (_nl_postload_time): New function. Initialize
5538 (_nl_get_era_entry): New function. Return era entry which corresponds
5540 (_nl_get_alt_digit): New function. Return string with alternate
5541 digit representation for given number.
5543 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
5544 string representing alternate digit notation.
5546 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
5548 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
5549 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
5551 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
5552 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
5554 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
5556 * catgets/gencat.c (main): Change --version again because RMS wants
5557 the package name in parentheses.
5558 * db/makedb.c: Likewise.
5559 * locale/programs/locale.c: Likewise.
5560 * locale/programs/localedef.c: Likewise.
5562 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5564 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
5566 ($(objpfx)version-info.h): Depend on Banner files, command
5569 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
5571 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
5573 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
5575 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
5576 on the same device as the password file.
5577 * shadow/shadow.h (struct spwd): Change type of numeric fields
5578 to `long int' since there value are days, not seconds.
5579 * shadow/putspent.c: Change casts from time_t to `long int'.
5580 * shadow/sgetspent_r.c (LINE_READER): Likewise.
5582 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
5584 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
5585 sure the thread specific variable is set as well as the global
5587 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
5589 * sysdeps/stub/errnos.h: Likewise.
5590 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
5592 * shadow/putspent.c: Don't include <errno.h>.
5594 * dirent/scandir.c (scandir): Use __set_errno to set errno
5596 * elf/dl-load.c (open_path): Likewise.
5597 * inet/rcmd.c (rcmd): Likewise.
5598 (rresvport): Likewise.
5599 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
5600 (DCGETTEXT): Use __set_errno to set errno variable.
5601 * io/fts.c (fts_open): Likewise.
5602 (fts_close): Likewise.
5603 (fts_read): Likewise.
5604 (fts_set): Likewise.
5605 (fts_children): Likewise.
5606 (fts_build): Likewise.
5607 (fts_stat): Likewise.
5608 * io/ftw.c (ftw_dir): Likewise.
5610 * io/getwd.c (getwd): Likewise.
5611 * io/lockf.c (lockf): Likewise.
5612 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
5613 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
5614 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5615 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
5617 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
5618 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
5619 * libio/ioftell.c (_IO_ftell): Likewise.
5620 * locale/loadlocale.c (_nl_load_locale): Likewise.
5621 * locale/nl_langinfo.c (nl_langinfo): Likewise.
5622 * locale/setlocale.c (ERROR_RETURN): Likewise.
5623 * login/getutid_r (__getutid_r): Likewise.
5624 * login/getutline_r (__getutline_r): Likewise.
5625 * login/login.c (tty_name): Likewise.
5626 * login/oututline_r.c (__pututline_r): Likewise.
5627 * malloc/malloc.c (morecore): Likewise.
5628 * misc/efgcvt_r.c (fcvt_r): Likewise.
5629 * misc/hsearch_r.c (hcreate_r): Likewise.
5630 (hdestroy_r): Likewise.
5631 (hsearch_r): Likewise.
5632 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
5633 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
5634 (_nss_dns_gethostbyaddr_r): Likewise.
5635 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5636 * nss/nss_files/files-parse.c (parse_list): Likewise.
5637 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
5638 * posix/execvp.c (execvp): Likewise.
5639 * posix/glob.c: Define __set_errno.
5640 (glob): Use __set_errno to set errno variable.
5641 (glob_in_dir): Likewise.
5642 * pwd/getpw.c: Likewise. De-ANSI-fy.
5643 * pwd/putpwent.c: Likewise.
5644 * resolv/inet_net_ntop.c: Likewise.
5645 * resolv/inet_net_pton.c: Likewise.
5646 * resolv/inet_neta.c: Likewise.
5647 * resolv/inet_ntop.c: Likewise.
5648 * resolv/inet_pton.c: Likewise.
5649 * resolv/res_query.c (res_search): Likewise.
5650 * resolv/res_send.c (Aerror): Likewise.
5652 (res_send): Likewise.
5653 * signal/sigaddset.c: Likewise. De-ANSI-fy.
5654 * signal/sigdelset.c: Likewise.
5655 * signal/sigempty.c: Likewise.
5656 * signal/sigfillset.c: Likewise.
5657 * signal/sigismem.c: Likewise.
5658 * stdio/fclose.c: Likewise.
5659 * stdio/feof.c: Likewise.
5660 * stdio/ferror.c: Likewise.
5661 * stdio/fflush.c: Likewise.
5662 * stdio/fgetc.c: Likewise.
5663 * stdio/fgetpos.c: Likewise.
5664 * stdio/fgets.c: Likewise.
5665 * stdio/fileno.c: Likewise.
5666 * stdio/fmemopen.c: Likewise.
5667 * stdio/fopen.c: Likewise.
5668 * stdio/fputc.c: Likewise.
5669 * stdio/fread.c: Likewise.
5670 * stdio/freopen.c: Likewise.
5671 * stdio/fseek.c: Likewise.
5672 * stdio/fsetpos.c: Likewise.
5673 * stdio/ftell.c: Likewise.
5674 * stdio/fwrite.c: Likewise.
5675 * stdio/getdelim.c: Likewise.
5676 * stdio/gets.c: Likewise.
5677 * stdio/glue.c: Likewise.
5678 * stdio/internals.c: Likewise.
5679 * stdio/memstream.c: Likewise.
5680 * stdio/setvbuf.c: Likewise.
5681 * stdio/ungetc.c: Likewise.
5682 * stdio/vsscanf.c: Likewise.
5683 * stdio-common/reg-printf.c: Likewise.
5684 * stdio-common/vfprintf.c: Likewise.
5685 * stdio-common/vfscanf.c: Likewise.
5686 * stdlib/canonicalize.c: Likewise.
5687 * stdlib/msort.c: Likewise.
5688 * stdlib/random_r.c: Likewise.
5689 * stdlib/strfmon.c: Likewise.
5690 * stdlib/strtod.c: Likewise.
5691 * stdlib/strtol.c: Likewise.
5692 * sunrpc/bindrsvprt.c: Likewise.
5693 * time/asctime.c: Likewise.
5694 * time/localtime.c: Likewise.
5695 * wcsmbs/mbrtowc.c: Likewise.
5696 * wcsmbs/mbsnrtowcs.c: Likewise.
5697 * wcsmbs/mbsrtowcs.c: Likewise.
5698 * wcsmbs/wcrtomb.c: Likewise.
5699 * wcsmbs/wcsnrtombs.c: Likewise.
5700 * wcsmbs/wcsrtombs.c: Likewise.
5701 * wcsmbs/wcstok.c: Likewise.
5702 * sysdeps/generic/ftime.c: Likewise.
5703 * sysdeps/generic/pty.c: Likewise.
5704 * sysdeps/generic/setenv.c: Likewise.
5705 * sysdeps/generic/speed.c: Likewise.
5706 * sysdeps/generic/sysd-stdio.c: Likewise.
5707 * sysdeps/generic/uname.c: Likewise.
5708 * sysdeps/generic/vlimit.c: Likewise.
5709 * sysdeps/libm-ieee754/k_standard.c: Likewise.
5710 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
5711 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
5712 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
5713 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
5714 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
5715 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
5716 * sysdeps/posix/dup2.c: Likewise.
5717 * sysdeps/posix/euidaccess.c: Likewise.
5718 * sysdeps/posix/fdopen.c: Likewise.
5719 * sysdeps/posix/flock.c: Likewise.
5720 * sysdeps/posix/fpathconf.c: Likewise.
5721 * sysdeps/posix/getcwd.c: Likewise.
5722 * sysdeps/posix/gettimeofday.c: Likewise.
5723 * sysdeps/posix/isatty.c: Likewise.
5724 * sysdeps/posix/isfdtype.c: Likewise.
5725 * sysdeps/posix/killpg.c: Likewise.
5726 * sysdeps/posix/mkstemp.c: Likewise.
5727 * sysdeps/posix/mktemp.c: Likewise.
5728 * sysdeps/posix/pathconf.c: Likewise.
5729 * sysdeps/posix/pipestream.c: Likewise.
5730 * sysdeps/posix/remove.c: Likewise.
5731 * sysdeps/posix/rename.c: Likewise.
5732 * sysdeps/posix/sigintr.c: Likewise.
5733 * sysdeps/posix/signal.c: Likewise.
5734 * sysdeps/posix/sigsuspend.c: Likewise.
5735 * sysdeps/posix/sigvec.c: Likewise.
5736 * sysdeps/posix/sleep.c: Likewise.
5737 * sysdeps/posix/sysconf.c: Likewise.
5738 * sysdeps/posix/system.c: Likewise.
5739 * sysdeps/posix/tempname.c: Likewise.
5740 * sysdeps/posix/truncate.c: Likewise.
5741 * sysdeps/posix/ttyname.c: Likewise.
5742 * sysdeps/posix/ttyname_r.c: Likewise.
5743 * sysdeps/posix/wait3.c: Likewise.
5744 * sysdeps/standalone/close.c: Likewise.
5745 * sysdeps/standalone/open.c: Likewise.
5746 * sysdeps/standalone/read.c: Likewise.
5747 * sysdeps/standalone/write.c: Likewise.
5748 * sysdeps/stub/__longjmp.c: Likewise.
5749 * sysdeps/stub/accept.c: Likewise.
5750 * sysdeps/stub/access.c: Likewise.
5751 * sysdeps/stub/acct.c: Likewise.
5752 * sysdeps/stub/adjtime.c: Likewise.
5753 * sysdeps/stub/alarm.c: Likewise.
5754 * sysdeps/stub/bind.c: Likewise.
5755 * sysdeps/stub/brk.c: Likewise.
5756 * sysdeps/stub/chdir.c: Likewise.
5757 * sysdeps/stub/chflags.c: Likewise.
5758 * sysdeps/stub/chmod.c: Likewise.
5759 * sysdeps/stub/chown.c: Likewise.
5760 * sysdeps/stub/chroot.c: Likewise.
5761 * sysdeps/stub/clock.c: Likewise.
5762 * sysdeps/stub/close.c: Likewise.
5763 * sysdeps/stub/closedir.c: Likewise.
5764 * sysdeps/stub/connect.c: Likewise.
5765 * sysdeps/stub/ctermid.c: Likewise.
5766 * sysdeps/stub/cuserid.c: Likewise.
5767 * sysdeps/stub/dirfd.c: Likewise.
5768 * sysdeps/stub/dup.c: Likewise.
5769 * sysdeps/stub/dup2.c: Likewise.
5770 * sysdeps/stub/euidaccess.c: Likewise.
5771 * sysdeps/stub/execve.c: Likewise.
5772 * sysdeps/stub/fchdir.c: Likewise.
5773 * sysdeps/stub/fchflags.c: Likewise.
5774 * sysdeps/stub/fchmod.c: Likewise.
5775 * sysdeps/stub/fchown.c: Likewise.
5776 * sysdeps/stub/fcntl.c: Likewise.
5777 * sysdeps/stub/fdopen.c: Likewise.
5778 * sysdeps/stub/fexecve.c: Likewise.
5779 * sysdeps/stub/flock.c: Likewise.
5780 * sysdeps/stub/fork.c: Likewise.
5781 * sysdeps/stub/fpathconf.c: Likewise.
5782 * sysdeps/stub/fstatfs.c: Likewise.
5783 * sysdeps/stub/fsync.c: Likewise.
5784 * sysdeps/stub/ftruncate.c: Likewise.
5785 * sysdeps/stub/fxstat.c: Likewise.
5786 * sysdeps/stub/getcwd.c: Likewise.
5787 * sysdeps/stub/getdents.c: Likewise.
5788 * sysdeps/stub/getdomain.c: Likewise.
5789 * sysdeps/stub/getdtsz.c: Likewise.
5790 * sysdeps/stub/getegid.c: Likewise.
5791 * sysdeps/stub/getenv.c: Likewise.
5792 * sysdeps/stub/geteuid.c: Likewise.
5793 * sysdeps/stub/getgid.c: Likewise.
5794 * sysdeps/stub/getgroups.c: Likewise.
5795 * sysdeps/stub/gethostid.c: Likewise.
5796 * sysdeps/stub/gethostname.c: Likewise.
5797 * sysdeps/stub/getitimer.c: Likewise.
5798 * sysdeps/stub/getlogin.c: Likewise.
5799 * sysdeps/stub/getlogin_r.c: Likewise.
5800 * sysdeps/stub/getpagesize.c: Likewise.
5801 * sysdeps/stub/getpeername.c: Likewise.
5802 * sysdeps/stub/getpid.c: Likewise.
5803 * sysdeps/stub/getppid.c: Likewise.
5804 * sysdeps/stub/getpriority.c: Likewise.
5805 * sysdeps/stub/getrlimit.c: Likewise.
5806 * sysdeps/stub/getrusage.c: Likewise.
5807 * sysdeps/stub/getsid.c: Likewise.
5808 * sysdeps/stub/getsockname.c: Likewise.
5809 * sysdeps/stub/getsockopt.c: Likewise.
5810 * sysdeps/stub/getsysstats.c: Likewise.
5811 * sysdeps/stub/gettimeofday.c: Likewise.
5812 * sysdeps/stub/getuid.c: Likewise.
5813 * sysdeps/stub/gtty.c: Likewise.
5814 * sysdeps/stub/ioctl.c: Likewise.
5815 * sysdeps/stub/isatty.c: Likewise.
5816 * sysdeps/stub/isfdtype.c: Likewise.
5817 * sysdeps/stub/kill.c: Likewise.
5818 * sysdeps/stub/killpg.c: Likewise.
5819 * sysdeps/stub/link.c: Likewise.
5820 * sysdeps/stub/listen.c: Likewise.
5821 * sysdeps/stub/lseek.c: Likewise.
5822 * sysdeps/stub/lxstat.c: Likewise.
5823 * sysdeps/stub/madvice.c: Likewise.
5824 * sysdeps/stub/mkdir.c: Likewise.
5825 * sysdeps/stub/mkfifo.c: Likewise.
5826 * sysdeps/stub/mkstemp.c: Likewise.
5827 * sysdeps/stub/mktemp.c: Likewise.
5828 * sysdeps/stub/mmap.c: Likewise.
5829 * sysdeps/stub/morecore.c: Likewise.
5830 * sysdeps/stub/mprotect.c: Likewise.
5831 * sysdeps/stub/msgctl.c: Likewise.
5832 * sysdeps/stub/msgget.c: Likewise.
5833 * sysdeps/stub/msgrcv.c: Likewise.
5834 * sysdeps/stub/msgsnd.c: Likewise.
5835 * sysdeps/stub/msync.c: Likewise.
5836 * sysdeps/stub/munmap.c: Likewise.
5837 * sysdeps/stub/nanosleep.c: Likewise.
5838 * sysdeps/stub/nice.c: Likewise.
5839 * sysdeps/stub/nlist.c: Likewise.
5840 * sysdeps/stub/open.c: Likewise.
5841 * sysdeps/stub/opendir.c: Likewise.
5842 * sysdeps/stub/pathconf.c: Likewise.
5843 * sysdeps/stub/pause.c: Likewise.
5844 * sysdeps/stub/pipe.c: Likewise.
5845 * sysdeps/stub/pipestream.c: Likewise.
5846 * sysdeps/stub/poll.c: Likewise.
5847 * sysdeps/stub/profil.c: Likewise.
5848 * sysdeps/stub/ptrace.c: Likewise.
5849 * sysdeps/stub/putenv.c: Likewise.
5850 * sysdeps/stub/raise.c: Likewise.
5851 * sysdeps/stub/read.c: Likewise.
5852 * sysdeps/stub/readdir.c: Likewise.
5853 * sysdeps/stub/readlink.c: Likewise.
5854 * sysdeps/stub/readv.c: Likewise.
5855 * sysdeps/stub/reboot.c: Likewise.
5856 * sysdeps/stub/recv.c: Likewise.
5857 * sysdeps/stub/recvfrom.c: Likewise.
5858 * sysdeps/stub/recvmsg.c: Likewise.
5859 * sysdeps/stub/remove.c: Likewise.
5860 * sysdeps/stub/rename.c: Likewise.
5861 * sysdeps/stub/revoke.c: Likewise.
5862 * sysdeps/stub/rewinddir.c: Likewise.
5863 * sysdeps/stub/rmdir.c: Likewise.
5864 * sysdeps/stub/sbrk.c: Likewise.
5865 * sysdeps/stub/sched_getp.c: Likewise.
5866 * sysdeps/stub/sched_gets.c: Likewise.
5867 * sysdeps/stub/sched_primax.c: Likewise.
5868 * sysdeps/stub/sched_primin.c: Likewise.
5869 * sysdeps/stub/sched_rr_gi.c: Likewise.
5870 * sysdeps/stub/sched_setp.c: Likewise.
5871 * sysdeps/stub/sched_sets.c: Likewise.
5872 * sysdeps/stub/sched_yield.c: Likewise.
5873 * sysdeps/stub/seekdir.c: Likewise.
5874 * sysdeps/stub/select.c: Likewise.
5875 * sysdeps/stub/semctl.c: Likewise.
5876 * sysdeps/stub/semget.c: Likewise.
5877 * sysdeps/stub/semop.c: Likewise.
5878 * sysdeps/stub/send.c: Likewise.
5879 * sysdeps/stub/sendmsg.c: Likewise.
5880 * sysdeps/stub/sendto.c: Likewise.
5881 * sysdeps/stub/setdomain.c: Likewise.
5882 * sysdeps/stub/setegid.c: Likewise.
5883 * sysdeps/stub/setenv.c: Likewise.
5884 * sysdeps/stub/seteuid.c: Likewise.
5885 * sysdeps/stub/setgid.c: Likewise.
5886 * sysdeps/stub/setgroups.c: Likewise.
5887 * sysdeps/stub/sethostid.c: Likewise.
5888 * sysdeps/stub/sethostname.c: Likewise.
5889 * sysdeps/stub/setitimer.c: Likewise.
5890 * sysdeps/stub/setjmp.c: Likewise.
5891 * sysdeps/stub/setlogin.c: Likewise.
5892 * sysdeps/stub/setpgid.c: Likewise.
5893 * sysdeps/stub/setpriority.c: Likewise.
5894 * sysdeps/stub/setregid.c: Likewise.
5895 * sysdeps/stub/setreuid.c: Likewise.
5896 * sysdeps/stub/setrlimit.c: Likewise.
5897 * sysdeps/stub/setsid.c: Likewise.
5898 * sysdeps/stub/setsockopt.c: Likewise.
5899 * sysdeps/stub/settimeofday.c: Likewise.
5900 * sysdeps/stub/setuid.c: Likewise.
5901 * sysdeps/stub/shmat.c: Likewise.
5902 * sysdeps/stub/shmctl.c: Likewise.
5903 * sysdeps/stub/shmdt.c: Likewise.
5904 * sysdeps/stub/shmget.c: Likewise.
5905 * sysdeps/stub/shutdown.c: Likewise.
5906 * sysdeps/stub/sigaction.c: Likewise.
5907 * sysdeps/stub/sigaltstack.c: Likewise.
5908 * sysdeps/stub/sigblock.c: Likewise.
5909 * sysdeps/stub/sigintr.c: Likewise.
5910 * sysdeps/stub/signal.c: Likewise.
5911 * sysdeps/stub/sigpause.c: Likewise.
5912 * sysdeps/stub/sigpending.c: Likewise.
5913 * sysdeps/stub/sigprocmask.c: Likewise.
5914 * sysdeps/stub/sigreturn.c: Likewise.
5915 * sysdeps/stub/sigsetmask.c: Likewise.
5916 * sysdeps/stub/sigstack.c: Likewise.
5917 * sysdeps/stub/sigsuspend.c: Likewise.
5918 * sysdeps/stub/sigvec.c: Likewise.
5919 * sysdeps/stub/sleep.c: Likewise.
5920 * sysdeps/stub/socket.c: Likewise.
5921 * sysdeps/stub/socketpair.c: Likewise.
5922 * sysdeps/stub/sstk.c: Likewise.
5923 * sysdeps/stub/statfs.c: Likewise.
5924 * sysdeps/stub/stime.c: Likewise.
5925 * sysdeps/stub/stty.c: Likewise.
5926 * sysdeps/stub/swapoff.c: Likewise.
5927 * sysdeps/stub/swapon.c: Likewise.
5928 * sysdeps/stub/symlink.c: Likewise.
5929 * sysdeps/stub/sync.c: Likewise.
5930 * sysdeps/stub/syscall.c: Likewise.
5931 * sysdeps/stub/sysconf.c: Likewise.
5932 * sysdeps/stub/sysd-stdio.c: Likewise.
5933 * sysdeps/stub/system.c: Likewise.
5934 * sysdeps/stub/tcdrain.c: Likewise.
5935 * sysdeps/stub/tcflow.c: Likewise.
5936 * sysdeps/stub/tcflush.c: Likewise.
5937 * sysdeps/stub/tcgetattr.c: Likewise.
5938 * sysdeps/stub/tcgetpgrp.c: Likewise.
5939 * sysdeps/stub/tcsendbrk.c: Likewise.
5940 * sysdeps/stub/tcsetattr.c: Likewise.
5941 * sysdeps/stub/tcsetpgrp.c: Likewise.
5942 * sysdeps/stub/telldir.c: Likewise.
5943 * sysdeps/stub/tempname.c: Likewise.
5944 * sysdeps/stub/time.c: Likewise.
5945 * sysdeps/stub/times.c: Likewise.
5946 * sysdeps/stub/truncate.c: Likewise.
5947 * sysdeps/stub/ttyname.c: Likewise.
5948 * sysdeps/stub/ttyname_r.c: Likewise.
5949 * sysdeps/stub/ualarm.c: Likewise.
5950 * sysdeps/stub/ulimit.c: Likewise.
5951 * sysdeps/stub/umask.c: Likewise.
5952 * sysdeps/stub/unlink.c: Likewise.
5953 * sysdeps/stub/usleep.c: Likewise.
5954 * sysdeps/stub/ustat.c: Likewise.
5955 * sysdeps/stub/utime.c: Likewise.
5956 * sysdeps/stub/utimes.c: Likewise.
5957 * sysdeps/stub/vhangup.c: Likewise.
5958 * sysdeps/stub/wait.c: Likewise.
5959 * sysdeps/stub/wait3.c: Likewise.
5960 * sysdeps/stub/wait4.c: Likewise.
5961 * sysdeps/stub/waitpid.c: Likewise.
5962 * sysdeps/stub/write.c: Likewise.
5963 * sysdeps/stub/writev.c: Likewise.
5964 * sysdeps/stub/xmknod.c: Likewise.
5965 * sysdeps/stub/xstat.c: Likewise.
5966 * sysdeps/unix/closedir.c: Likewise.
5967 * sysdeps/unix/fxstat.c: Likewise.
5968 * sysdeps/unix/getlogin.c: Likewise.
5969 * sysdeps/unix/getlogin_r.c: Likewise.
5970 * sysdeps/unix/mkdir.c: Likewise.
5971 * sysdeps/unix/nice.c: Likewise.
5972 * sysdeps/unix/nlist.c: Likewise.
5973 * sysdeps/unix/opendir.c: Likewise.
5974 * sysdeps/unix/readdir.c: Likewise.
5975 * sysdeps/unix/rmdir.c: Likewise.
5976 * sysdeps/unix/stime.c: Likewise.
5977 * sysdeps/unix/xmknod.c: Likewise.
5978 * sysdeps/unix/xstat.c: Likewise.
5979 * sysdeps/unix/bsd/isatty.c: Likewise.
5980 * sysdeps/unix/bsd/setegid.c: Likewise.
5981 * sysdeps/unix/bsd/seteuid.c: Likewise.
5982 * sysdeps/unix/bsd/setsid.c: Likewise.
5983 * sysdeps/unix/bsd/sigaction.c: Likewise.
5984 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5985 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5986 * sysdeps/unix/bsd/tcflow.c: Likewise.
5987 * sysdeps/unix/bsd/tcflush.c: Likewise.
5988 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5989 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5990 * sysdeps/unix/bsd/times.c: Likewise.
5991 * sysdeps/unix/bsd/ulimit.c: Likewise.
5992 * sysdeps/unix/common/lxstat.c: Likewise.
5993 * sysdeps/unix/common/tcsendbrk.c: Likewise.
5994 * sysdeps/unix/sysv/setrlimit.c: Likewise.
5995 * sysdeps/unix/sysv/settimeofday.c: Likewise.
5996 * sysdeps/unix/sysv/sigaction.c: Likewise.
5997 * sysdeps/unix/sysv/tcflow.c: Likewise.
5998 * sysdeps/unix/sysv/tcflush.c: Likewise.
5999 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6000 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6001 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6002 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
6003 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
6004 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
6005 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6006 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6007 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
6008 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6009 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6010 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6011 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6012 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
6013 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
6014 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
6015 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
6016 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
6017 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
6018 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
6019 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6020 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6021 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
6023 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
6024 * sunrpc/clnt_udp.c: Likewise.
6025 * sunrpc/bindrsvprt.c: Likewise.
6026 * sunrpc/pm_getmaps.c: Likewise.
6027 * sunrpc/pmap_rmt.c: Likewise.
6028 * sunrpc/svc.c: Likewise.
6029 * sunrpc/svc_run.c: Likewise.
6030 * sunrpc/svc_tcp.c: Likewise.
6031 * sunrpc/svc_udp.c: Likewise.
6033 * sysdeps/generic/strtok.c: Don't check argument, just crash.
6034 * sysdeps/generic/strtok_r.c: Likewise.
6036 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
6037 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
6038 * sysdeps/unix/sparc/start.c: Likewise.
6039 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
6040 * sysdeps/unix/sysv/irix4/start.c: Likewise.
6041 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
6043 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
6045 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
6047 * catgets/gencat.c (main): Put package name in --version message
6048 in parantheses. Reported by Jim Meyering.
6049 * db/makedb.c: Likewise.
6050 * locale/programs/locale.c: Likewise.
6051 * locale/programs/localedef.c: Likewise.
6053 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
6054 two registers. Patch by John Bowman.
6056 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6058 * sysdeps/mach/libc-lock.h: Fix comment.
6059 * sysdeps/stubs/libc-lock.h: Likewise.
6061 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6063 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
6064 to lock when passing it to __libc_lock_init macro.
6065 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
6066 when passing it to __libc_lock_fini macro.
6068 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6070 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
6071 [_LIBC_REENTRANT]: Add missing semicolon.
6073 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
6074 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
6075 Use the ENTRY macro.
6077 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6079 * libio/Makefile: Make `all' the default target.
6080 * po/Makefile: Likewise.
6082 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
6084 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
6085 I applied it incorrectly.
6086 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
6087 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
6088 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
6090 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
6092 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
6093 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
6095 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
6098 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
6099 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
6101 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
6102 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
6103 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
6104 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
6105 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
6107 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6109 * hurd/Makefile (installed-sunrpc-headers): New variable.
6110 (sunrpc-headers): New variable.
6111 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
6112 not just <rpc/netdb.h>.
6113 ($(installed-sunrpc-headers)): Provide rule for all of these.
6115 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6117 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
6118 variable `top_srcdir' in libc; use $(..) instead.
6120 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
6121 definition. It was a *Mistake*. (With a capital M.)
6123 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
6125 (__get_nprocs_conf): Renamed from __get_nproc_conf.
6127 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
6129 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
6130 `_dl_start' so that linking fails if this file should ever be used
6133 * catgets/gencat.c (main): Change --version message according to
6134 RMS' last standard revision.
6135 * db/makedb.c: Likewise.
6136 * locale/programs/locale.c: Likewise.
6137 * locale/programs/localedef.c: Likewise.
6139 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6141 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
6142 (__get_nproc_conf): New function.
6144 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
6146 * resolv/resolv.h: Update to bind-4.9.5-T4B.
6147 * resolv/base64.c: Likewise.
6148 * resolv/res_debug.c: Likewise.
6149 * resolv/res_query.c: Likewise.
6150 * resolv/gethnamaddr.c: Likewise.
6151 * nss/nss_dns/dns-host.c: Likewise.
6152 * resolv/res_comp.c: Likewise.
6153 * resolv/res_send.c: Likewise.
6154 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
6157 * resolv/Banner: New file.
6158 * resolv/Makefile (distribute): Add Banner.
6160 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
6162 * sysdeps/stub/getsysstats.c: New file.
6163 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
6165 * misc/Makefile (headers): Add sys/sysinfo.h.
6166 (routines): Add getsysstats.
6167 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
6168 (sysdep_headers): Remove sys/sysinfo.h.
6169 * sysdeps/generic/sys/sysinfo.h: New file.
6170 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
6171 get_phys_pages, and get_avphys_pages.
6173 * misc/Makefile (routines): Add mntent_r.
6174 * misc/mntent_r.c: New file.
6175 * misc/mntent.c: Remove all functions but getmntent and use
6177 * misc/mntent.h: Add prototype for __getmntent_r.
6178 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
6179 This will not clobber the state in getmntent.
6181 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
6182 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
6183 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
6184 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
6185 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
6186 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
6187 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
6188 * sysdeps/posix/sysconf.c: Likewise.
6189 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
6190 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
6192 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
6194 * version.h (VERSION): Bump to 1.95.
6196 * Make-dist (+tsrcs): Don't filter out files in subdirs which
6197 match files in the sysdeps hierachy (welcome back,
6200 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
6202 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
6204 * locale/loadlocale.c (_nl_free_locale): Remove function.
6205 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
6206 * locale/setlocale.c (setlocale): Don't free locale data of
6207 categories which succeeded to load after a wrong or missing data
6210 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
6211 that it works even when the locale data is not used.
6213 * stdlib/random_r.c: Fix typo in comment.
6214 * stdlib/drand48-iter.c: Likewise.
6215 * stdlib/drand48.c: Likewise.
6216 * stdlib/erand48.c: Likewise.
6217 * stdlib/jrand48.c: Likewise.
6218 * stdlib/lcong48.c: Likewise.
6219 * stdlib/lrand48.c: Likewise.
6220 * stdlib/mrand48.c: Likewise.
6221 * stdlib/nrand48.c: Likewise.
6222 * stdlib/random.c: Likewise.
6223 * stdlib/seed48.c: Likewise.
6224 * stdlib/srand48.c: Likewise.
6225 * misc/search.h: Likewise.
6226 * misc/hsearch.c: Likewise.
6227 * misc/hsearch_r.c: Likewise.
6229 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6231 * sysdeps/mach/getsysstats.c: New file.
6233 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
6234 binary distribution.
6236 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
6237 definition to override dangerous one in Makeconfig.
6239 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
6240 ($(includedir)/rpc/netdb.h): New rule.
6241 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
6244 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6246 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
6247 to guarantee link errors if this is included in ld.so.
6249 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
6251 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
6252 instead of localtime.
6253 Reported by Matthias Urlichs.
6255 * shlib-versions: Remove version number for libcrypt.
6256 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
6257 * libc-symbols.h: Define _REENTRANT while compiling libc.
6259 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
6260 Define even if !_LIBC_REENTRANT.
6261 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
6264 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
6267 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
6268 * po/header.pot: Correct title line.
6271 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
6273 * Makeconfig (soversions.mk): Prefer shared lib version numbers
6274 is add ons over version in libc itself.
6276 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
6277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
6280 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
6281 _IO_flockfile and _IO_funlockfile resp.
6283 * locale/categories.def: Partly support for correct `era' handling
6284 in LC_TIME category.
6285 * locale/langinfo.h: Likewise.
6286 * locale/programs/ld-time.c: Likewise.
6287 * locale/localeinfo.h: Change comment a bit.
6289 * malloc/memalign.c: Don't use goto, not necessary anymore.
6291 1996-09-18 Paul Eggert <eggert@twinsun.com>
6293 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
6294 is negative, or if time_t is unsigned.
6295 * time/strftime.c (tm_diff): Work correctly even if tm_year
6298 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6300 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
6301 all three versions of the math function.
6302 (__inline_mathopf, __inline_mathopl): Removed.
6303 (__inline_functions): New temporary definition containing all
6304 non-trivial inline functions.
6306 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
6308 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
6310 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
6312 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
6315 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
6317 * sysdeps/stub/fpu_control.h: Correct end of file comment.
6319 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
6321 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
6322 stdio-common/test-popen.c: Remove temporary files after test.
6323 * stdio-common/bug5.c: Use `system' instead of `execlp'.
6324 Patches by Andreas Jaeger.
6326 * stdio-common/bug5.c: Create string for `system' argument to
6327 make sure the input and output file names are really correct.
6329 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6331 * configure.in: If $os contains a hyphen add the part before the
6334 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6336 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
6337 __ieee754_powl): Rename local variable i to __i.
6338 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
6340 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
6341 sysdeps/m68k/fpu/e_atan2l.c: New files.
6343 1996-09-15 Paul Eggert <eggert@twinsun.com>
6345 * manual/time.texi: Change `range X to Y' to `range X through
6346 Y', to avoid ambiguity in English.
6348 (strftime): Numbers that do not have a range indicated are not padded.
6349 Describe E and O modifiers.
6350 %g, %G, %u: New formats.
6351 %C, %y, %Y: Describe behavior on negative years.
6352 %e: Fix typo (was labeled %d).
6353 %l, %V: Fix typo in range.
6354 %M, %S, %U, %w, %W: Give ranges.
6355 %p: Clarify how noon and midnight are handled for AM and PM.
6356 %s: Clarify leap second handling.
6357 %r: Now locale-defined.
6358 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
6359 %z: Say that it is a GNU extension.
6362 * time/strftime.c: (strftime):
6363 %V: Fix mishandling of week numbers near year boundaries.
6364 %g, %G: New formats (suggested by Arthur David Olson).
6365 %U, %W: Use inline expression instead of `week' function.
6366 %C, %y: Handle negative years portably.
6367 %C, %Y: Use width 1, since values can be arbitrarily wide.
6368 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
6369 %u: New Posix.2 format.
6370 %w: Width is 1, not 2.
6371 (iso_week_days): New function, for %V, %G, %g.
6372 (week): Remove; it didn't handle %V correctly.
6373 (__isleap): New macro.
6374 (mbsinit): Use arg, to pacify GCC -Wall.
6376 1996-09-13 Paul Eggert <eggert@twinsun.com>
6378 * time/strftime.c (strftime):
6379 If using the GNU C library, do not bother to check for
6380 multibyte encodings, since they're safe in formats. Otherwise:
6381 - Check for multibyte encodings when encountering any character that
6382 is not in the basic execution character set of the C Standard.
6383 - Use mbrlen (if available) instead of mblen, to avoid modifying
6384 mblen's internal state.
6385 - Do not assume that '%' cannot appear as the first character of a
6386 multibyte character sequence, since this is possible when not in the
6387 initial shift state.
6388 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
6389 (DO_MULTIBYTE): New macro.
6390 (<ctype.h>): Do not include.
6391 (<wchar.h>): Include if HAVE_MBRLEN.
6392 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
6393 (mbstate_zero): New constant.
6395 1996-09-12 Paul Eggert <eggert@twinsun.com>
6397 * time/strftime.c (strftime):
6398 Use an empty zone if it can't be determined; POSIX.2 requires this.
6399 Use plain `int' for pad and modifier (which now contain char value).
6400 Use plain `int' for number_value, to print negative values correctly.
6401 Use plain `int' for digits; there was no need to make it unsigned.
6402 Initialize subfmt consistently.
6403 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
6404 For %O, if there is no alternate digit, output Ascii instead of "".
6405 Output the `%' of an unknown format; this is most likely the right
6406 thing to do if a multibyte string has been misparsed.
6408 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6410 * stdio-common/scanf7.c (main): Remove extra conversion from
6411 printf format string.
6413 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6415 * stdlib/test-canon.c (tests): Rename structure member from errno
6416 to error, all uses changed.
6418 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6420 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
6422 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
6423 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
6425 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
6426 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
6427 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
6429 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
6430 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
6432 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
6433 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
6435 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6437 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6438 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
6440 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6442 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6443 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
6445 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6447 * inet/herrno.c (__h_errno_location): Fix return type.
6449 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6451 * hurd/hurdinit.c (__libc_argv): Provide common decl.
6452 (_hurd_setproc): Don't declare __libc_argv here.
6454 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6456 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
6457 for actual modifications to global state.
6459 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6461 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
6462 * sysdeps/mach/hurd/Makefile (includes): Add
6463 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
6465 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
6466 struct sched_params.
6467 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
6468 sched_params -> struct sched_param.
6469 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
6470 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
6472 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6474 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
6477 * stdio-common/Makefile: Put lockfile in routines
6479 Define _MT_SAFE_IO if using for libio and compiling reentrant
6482 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
6483 this always, not just if _LIBC_REENTRANT.
6484 (__funlockfile): Don't use weak_extern for this one;
6485 __libc_cleanup_region_end might be defined and the use of
6486 __funlockfile can't be protected the way the use of __flockfile
6489 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
6491 * sched.h: New file. Helper to access posix/sched.h.
6492 * posix/sched.h: Change `sched_params' to `sched_param' to follow
6495 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
6497 * db/makedb.c (usage): Print bug report address separately to
6498 ease translators task.
6499 * catgets/gencat.c (usage): Likewise.
6500 * locale/locale.c (usage): Likewise.
6501 * locale/localedef.c (usage): Likewise.
6503 1996-09-12 Paul Eggert <eggert@twinsun.com>
6505 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
6506 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
6507 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
6509 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
6511 * crypt/Makefile: Include Makeconfig and add crypt object dir to
6512 rpath-link so that running the check finds the new library.
6513 * crypt/cert.c: provide correct prototypes to prevent warnings.
6514 Reported by Andreas Jaeger.
6516 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
6517 old and new value must be glued using `:'.
6518 Reported by Marcus Daniels.
6520 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6522 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
6523 accidentally added on.
6525 * sysdeps/stub/intr-msg.h: New file.
6527 * stdio-common/vfprintf.c: Include <libc-lock.h>.
6528 * stdio-common/vfscanf.c: Include <libc-lock.h>.
6530 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
6532 (__libc_cleanup_region_end): New macro.
6534 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
6536 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
6537 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
6538 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
6540 1996-09-11 Paul Eggert <eggert@twinsun.com>
6542 * strftime.c (strftime):
6543 Handle E and O modifiers, required for POSIX.2 and XPG4.
6544 Don't use sprintf to format numbers; this way, we can handle time_t
6545 correctly regardless of whether it's signed.
6546 Don't dump core if format ends in %.
6547 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
6549 Use tm_gmtoff if available.
6550 Output nothing if tm_isdst is negative.
6551 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
6552 Don't assume that UTC offset is less than 24 hours;
6553 Posix requires support for 24 hours, and there's no point
6555 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
6556 (CHAR_BIT): Define if <limits.h> doesn't.
6557 (tm_diff): New function.
6558 (fmt, <stdio.h>): Remove; no longer used.
6560 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
6562 * db/Makefile: Add extra-libs-others variable so that shared
6563 library is built in `others' pass.
6564 * elf/Makefile: Likewise.
6565 * math/Makefile: Likewise.
6566 * resolv/Makefile: Likewise.
6568 * Makefile (generated): Add version.info.h.
6570 * time/checktab.awk: New file. From ADO 96k.
6571 * time/iso3166.tab: Likewise.
6572 * time/tzselect.ksh: Likewise.
6573 * time/zone.tab: Likewise.
6575 * stdio-common/vfprintf.c: Correct cleanup registration. We
6578 1996-09-11 Paul Eggert <eggert@twinsun.com>
6580 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
6581 __USE_BSD; this is required for ANSI C compatibility.
6582 * manual/time.texi: Replace GMT by UTC, daylight savings by
6583 daylight saving, timezone by time zone.
6584 Rewrite description of %V to match ISO 8601.
6585 Fix TZ Posix string example for US Eastern time.
6586 Explain tzname[1] when DST isn't used.
6587 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
6588 Explain that timezone's sign is opposite from tm_gmtoff, and that
6589 timezone lacks DST adjustment whereas tm_gmtoff has it.
6590 Deprecate tzname and timezone.
6592 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6594 Implement Roland McGrath's idea of how to put an .interp into
6596 * interp.c: New file.
6597 * Makerules (interp-obj): New object, linked into every shared
6599 (common-generated): Add interp.so.
6600 (CFLAGS-interp.c): Pass name of interpreter.
6602 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6604 * db/Makefile: Fix typo.
6606 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6608 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
6609 occurences of the same uid, and only generate a mapping for the
6612 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6614 * sysdeps/unix/sysv/linux/system.c: New file, to override
6615 sysdeps/unix/system.c.
6617 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6619 * Makefile (before-compile): Add version-info.h, needed to build
6622 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6624 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
6625 EWOULDBLOCK, never true on Linux.
6626 (__errno_location): New function.
6627 [_LIBC_REENTRANT]: Set errno using __errno_location function.
6628 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
6629 syscall_error handler for reentrant libc.
6631 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6633 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
6635 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
6637 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
6639 * time/tzfile.c (compute_tzname_max): Likewise.
6641 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
6643 * configure.in: Quote $add_ons argument in loop to generated
6646 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
6648 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
6650 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6652 * elf/dl-cache.c: Rename to ...
6653 * sysdeps/generic/dl-cache.c: ... here.
6654 * sysdeps/mach/hurd/dl-cache.c: New file.
6656 * mach/Makefile (distribute): Add `errsystems.awk'.
6657 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
6658 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
6659 * hurd/intr-rpc.awk: Likewise.
6660 * hurd/invoke-trans.c: Likewise.
6661 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
6662 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
6663 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6664 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
6665 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6666 * sysdeps/stub/init-fault.c: Likewise.
6667 * sysdeps/stub/longjmp-ctx.c: Likewise.
6669 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
6671 * inet/herrno.c: Initialize `h_errno' so that we can provide
6674 * Makefile (version-info.h): Fix typo in shell script.
6676 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
6677 * sysdeps/i386/i586/strchr.S: Likewise.
6679 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
6681 * version.c (banner): Report to bug-glibc@prep not @gnu.
6682 Reported by Andreas Jaeger.
6684 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
6686 [__USE_REENTRANT]: Don't define
6688 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
6690 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
6691 when it is the third byte in the string. Reported by
6693 * string/tester.c: Add tests for above bug to strlen, strchr, and
6696 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6698 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
6699 "math_private.h" to get prototype.
6700 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6701 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6702 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6703 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6705 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
6707 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6709 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6711 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
6712 instead of __NO_MATH_INLINES.
6713 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
6714 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
6715 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6716 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6717 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6718 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6719 * sysdeps/m68k/fpu/s_atan.c: Likewise.
6720 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6721 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6722 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6723 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
6724 * sysdeps/m68k/fpu/s_modf.c: Likewise.
6725 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
6726 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6727 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6729 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
6731 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
6732 available character before converting number and return with
6733 error if none is available.
6735 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6737 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
6738 implementation for architectures where parameters are passed on
6740 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
6741 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
6743 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6745 * configure.in: Remove unneeded sysnames frobbing.
6747 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
6749 * time/zic.c: Update from ADO 96l.
6750 * time/africa: Update from ADO 96k.
6751 * time/antarctica: Likewise.
6752 * time/asia: Likewise.
6753 * time/australia: Likewise.
6754 * time/europe: Likewise.
6755 * time/northamerica: Likewise.
6756 * time/southamerica: Likewise.
6758 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6760 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
6761 gcc <= 2.7.2.1 which optimizes away address operations on weak
6764 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
6765 Like INT_FIELD but also accept non-existing field.
6766 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
6767 for last four fields.
6768 * shadow/putspent.c (putspent): Print `:' after numeric value.
6770 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
6772 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
6774 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
6776 * Make-dist: Filter out $(add-ons) from $(subdirs).
6777 Don't distribute TAGS files.
6778 ($(tardir).tar): Remove dist.tar when all is done.
6779 * manual/Makefile (distribute): Add libc.info*.
6780 * libio/Makefile (distribute): Add Banner.
6781 * inet/Makefile (headers): Add netinet/tcp.h.
6783 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
6785 * crypt-README: Removed.
6786 * gnu-stabs.h: Removed.
6788 * sysdeps/alpha/copysign.S: Renamed to...
6789 * sysdeps/alpha/s_copysign.S: ...this.
6790 * sysdeps/alpha/fabs.S: Renamed to...
6791 * sysdeps/alpha/s_fabs.S: ...this.
6793 * sysdeps/m68k/isinfl.c: Renamed to...
6794 * sysdeps/m68k/s_isinfl.c: ...this.
6795 * sysdeps/m68k/isnanl.c: Renamed to...
6796 * sysdeps/m68k/s_isnanl.c: ...this.
6798 * sysdeps/sparc/sqrt.c: Renamed to...
6799 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
6802 * sysdeps/generic/get_str.c: Removed.
6804 * sysdeps/ieee754/cbrt.c: Removed.
6805 * sysdeps/ieee754/drem.c: Removed.
6806 * sysdeps/ieee754/logb.c: Removed.
6807 * sysdeps/ieee754/sqrt.c: Removed.
6809 * sysdeps/stub/cbrt.c: Removed.
6810 * sysdeps/stub/cos.c: Removed.
6811 * sysdeps/stub/drem.c: Removed.
6812 * sysdeps/stub/isinf.c: Removed.
6813 * sysdeps/stub/isinfl.c: Removed.
6814 * sysdeps/stub/isnanl.c: Removed.
6815 * sysdeps/stub/logb.c: Removed.
6816 * sysdeps/stub/sin.c: Removed.
6817 * sysdeps/stub/sqrt.c: Removed.
6819 * sysdeps/tahoe/log10.c: Removed.
6821 * sysdeps/vax/index.s: Removed.
6822 * sysdeps/vax/rindex.s: Removed.
6823 * sysdeps/vax/bcmp.s: Removed.
6824 * sysdeps/vax/log10.c: Removed.
6825 * sysdeps/vax/infnan.c: Removed.
6826 * sysdeps/vax/Dist: Add fl.h.
6828 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
6830 * inet/rcmd.c (rcmd): Make messages more uniform.
6832 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
6837 * po/pl.po: New file.
6838 * po/nl.po: New file.
6840 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
6842 * Makeconfig (+link): Filter out start, pre & postinit from the
6843 generic depenancies as well.
6844 * Rules: Add start, pre & postinit to the dependancies of
6845 $(others) and $(tests).
6847 * configure.in: elf_dirs missing "sysdeps" component.
6849 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
6851 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
6852 This is consistent with all other GNU packages. We shouldn't
6853 take care for a possible clash. Nobody will name the domain
6854 of a package libc if it is not the libc itself.
6855 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
6856 * po/Makefile (domainname): Change to libc.
6857 (distribute): Now ship libc.pot.
6858 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
6859 version information banner.
6860 Change bug report address to bug-glibc@prep not @gnu.
6861 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
6862 (main): Use `PACKAGE' for package name in version information
6864 Change bug report address to bug-glibc@prep not @gnu.
6865 * locale/programs/locale.c (main): Use `PACKAGE' for package name
6866 in version information banner.
6867 Change bug report address to bug-glibc@prep not @gnu.
6868 * locale/programs/localedef.c (main): Likewise.
6870 * version.h (VERSION): Bump to 1.94.
6872 * locale/Makefile (distribute): Add locale.c and localedef.c.
6874 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
6876 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
6877 instead of sizeof(nl_catd) (which is just a pointer!).
6879 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
6881 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
6882 * version.c (banner): Add contents of version-info.h to string.
6884 * Makerules: If $($(subdir)-version) is available name versioned
6885 shared library according to this value instead of glibc's version.
6887 * libio/Banner: New file.
6889 * elf/eval.c (funcall): Write error message in case function is
6891 (eval): Recognize `_' in names.
6893 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
6895 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
6896 * libio/iofopen: Likewise.
6897 * libio/iofopncook.c: Likewise.
6898 * libio/iopopen.c: Likewise.
6899 * libio/iovsprintf.c: Likewise.
6900 * libio/iovsscanf.c: Likewise.
6901 * libio/memstream.c: Likewise.
6902 * libio/vasprintf.c: Likewise.
6903 * libio/vdprintf.c: Likewise.
6904 * libio/vsnprintf.c: Likewise.
6906 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
6908 * Makeconfig (soversions.mk): Also use shlib-versions files
6909 in add-on directories.
6910 * config.make.in (config-defines): Remove. Not used anymore.
6911 (defines): New variable. Initiliazed by @DEFINES@.
6912 * configure.in: Add AC_SUBST(DEFINES).
6914 * libio/Makefile (routines): When compiling reentrant libc add
6915 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
6916 iofflush_u, putc_u, putchar_u, ioflockfile.
6917 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
6919 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
6920 and __libc_cleanup_region_end.
6922 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6923 using __errno_location function.
6924 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6925 using __errno_location function.
6926 (__errno_location): New function.
6927 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
6928 syscall_error handler for reentrant libc.
6930 * sysdeps/unix/opendir.c: Remove unneeded `;'.
6932 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
6933 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
6935 * libioP.h: Include <libc-lock.h>.
6936 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
6939 * libio/clearerr.c: Use _IO_ protected versions of flockfile
6940 and funlockfile to be namespace clean.
6942 * libio/genops.c: Use __libc_lock_* macros for handling lock.
6944 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
6945 * libio/iofopen: Likewise.
6946 * libio/iofopncook.c: Likewise.
6947 * libio/iopopen.c: Likewise.
6948 * libio/iovsprintf.c: Likewise.
6949 * libio/iovsscanf.c: Likewise.
6950 * libio/memstream.c: Likewise.
6951 * libio/vasprintf.c: Likewise.
6952 * libio/vdprintf.c: Likewise.
6953 * libio/vsnprintf.c: Likewise.
6955 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
6957 * libio/fputc.c: Likewise.
6958 * libio/freopen.c: Likewise.
6959 * libio/fseek.c: Likewise.
6960 * libio/getc.c: Likewise.
6961 * libio/getchar.c: Likewise.
6962 * libio/iofclose.c: Likewise.
6963 * libio/iofflush.c: Likewise.
6964 * libio/iofgetpos.c: Likewise.
6965 * libio/iofgets.c: Likewise.
6966 * libio/iofputs.c: Likewise.
6967 * libio/iofread.c: Likewise.
6968 * libio/iofsetpos.c: Likewise.
6969 * libio/ioftell.c: Likewise.
6970 * libio/iofwrite.c: Likewise.
6971 * libio/iogetdelim.c: Likewise.
6972 * libio/iogets.c: Likewise.
6973 * libio/ioputs.c: Likewise.
6974 * libio/iosetbuffer.c: Likewise.
6975 * libio/iosetvbuf.c: Likewise.
6976 * libio/ioungetc.c: Likewise.
6977 * libio/putc.c: Likewise.
6978 * libio/putchar.c: Likewise.
6979 * libio/rewind.c: Likewise.
6980 * stdio-common/vfprintf.c: Likewise.
6981 * stdio-common/vfscanf.c: Likewise.
6983 * libio/clearerr_u.c: Correct alias name.
6984 * libio/ferror_u.c: Likewise.
6985 * libio/fileno.c: Likewise.
6986 * libio/fputc_u.c: Likewise.
6987 * libio/getc.c: Likewise.
6988 * libio/getc_u.c: Likewise.
6989 * libio/getchar.c: Likewise.
6990 * libio/getchar_u.c: Likewise.
6991 * libio/putc.c: Likewise.
6992 * libio/putchar.c: Likewise.
6994 * libio/feof_u.c: Undefine macro with name of function before
6995 definition of function itself.
6997 * libio/ioflockfile.c: New file. Implementation of flockfile and
7000 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
7002 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
7005 * malloc/free.c: Include <libc-lock.h>.
7006 * malloc/realloc.c: Likewise.
7007 * malloc/malloc-find.c: Likewise.
7008 * malloc/malloc-size.c: Likewise.
7009 * malloc/malloc-walk.c: Likewise.
7010 * malloc/memalign.c: Likewise.
7011 * malloc/malloc.c: Likewise.
7013 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
7015 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
7017 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
7018 and __libc_lock_critical_end as empty macros.
7020 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
7022 * malloc/free.c: Include <libc-lock.h>.
7023 * malloc/malloc-find.c: Likewise.
7024 * malloc/malloc-size.c: Likewise.
7025 * malloc/malloc-walk.c: Likewise.
7026 * malloc/malloc.c: Likewise.
7027 * malloc/memalign.c: Likewise.
7028 * malloc/realloc.c: Likewise.
7030 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
7033 * extra-lib.mk: Likewise.
7034 * manual/Makefile: Likewise.
7036 * db/Makefile (makedb): Choose dependecies based on build-shared.
7037 Patch by Andres Schwab.
7039 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
7040 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
7042 * sysdeps/unix/sysv/linux/errnos.h: New file.
7043 * sysdeps/unix/sysv/linux/schedbits.h: New file.
7044 * sysdeps/unix/sysv/linux/waitflags.h: New file.
7046 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
7048 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7050 * rpm/template: Fix typo in %build section.
7052 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
7054 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
7055 building libc without thread support.
7056 * resolv/netdb.h: Likewise for h_errno macro.
7058 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
7060 * libc-symbols.h: Add new macro weak_const_function. It's like
7061 weak_function, but the function is additionally marked as const.
7062 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
7064 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
7066 * inet/herrno.c (__h_errno_location): New function.
7067 (h_errno): Make strong_alias __h_errno so that we can access
7068 the variable even if `h_errno' is a macro.
7069 * resolv/netdb.h: Define macro h_errno to access thread specific
7070 version of h_errno variable. Declare alias __h_errno for h_errno.
7071 * resolv/res_query (h_errno): Remove definition.
7072 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
7073 Add macro `errno' to get thread specific variable.
7074 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
7075 __errno_location function.
7076 (__errno_location): New function.
7078 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
7080 * posix/gnu/types.h: Remove definition of key_t.
7081 * sysdeps/generic/gnu/types.h: Move it to here.
7082 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
7083 definition of key_t.
7085 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
7087 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
7088 clone prototypes and associated flags.
7090 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
7092 * sysdeps/alpha/elf/start.S: Make _start global again.
7094 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7096 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
7098 (init1): Initialize them.
7099 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
7100 available, pass __libc_argv in call to __proc_set_arg_locations.
7102 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
7104 (hertz): Delete function.
7105 * gmon/Makefile (routines): Add `prof-freq'.
7106 * sysdeps/generic/prof-freq.c: New file.
7107 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
7108 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
7109 (update_waiter): Store frequency in profile_tick.
7110 (__profile_frequency): New function.
7112 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
7115 * Rules (generated): Restore reference to $(generated).
7117 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
7120 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
7122 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
7123 * malloc/realloc.c: Likewise.
7124 * malloc/malloc-find.c: Likewise.
7125 * malloc/malloc-size.c: Likewise.
7126 * malloc/malloc-walk.c: Likewise.
7127 * malloc/memalign.c: Likewise.
7129 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
7131 Change configuration and Makefiles to allow add-ons to have a
7132 sysdeps/ directory hierachy.
7133 * configure.in: Test for sysdeps/ directory in add-ons. Before
7134 all test and searches in these hierachies, too.
7135 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
7136 Extend with $(..) if not absolute path.
7137 Use $(full-config-subdirs) where $(config-sysdirs) was used.
7138 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
7139 * MakeTAGS: Use $(full-config-subdirs).
7140 * Makerules: Change comment to libc.so link script.
7141 (sysdirs): Define based on $(full-config-subdirs).
7142 (sysd-Makefile): Define using config-sysdirs.
7143 (sysd-rules): Likewise.
7144 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
7145 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
7147 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7149 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
7150 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7151 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7153 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
7155 * malloc/free.c (free): Protect by using __libc_malloc_lock.
7156 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
7157 * malloc/malloc-size.c (malloc_usable_size): Likewise.
7158 * malloc/malloc-walk.c (malloc_walk): Likewise.
7159 * malloc/memalign.c (memalign): Likewise.
7160 * malloc/realloc.c (realloc): Likewise.
7161 * malloc/malloc.c: Define __libc_malloc_lock.
7162 (_malloc_internal): Don't use `malloc'. Instead look for
7163 `__malloc_hook' or call `_malloc_internal'.
7164 (malloc): Protect by using `__libc_malloc_lock'.
7165 * malloc/malloc.h: Declare `__libc_malloc_lock'.
7167 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
7169 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
7170 instead of the hard definition.
7172 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
7173 _start and _dl_start_user.
7175 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
7176 Make _dl_starting_up weak. Add type info for NAME.
7178 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
7180 * Makefile (all): Add extra_solibs pass.
7181 (+subdir_targets): Same.
7182 * Rules (extra_solibs): New phony empty target for subdirs without
7184 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
7185 * manual/Makefile: Add dummy extra_solibs target.
7187 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
7189 * Makeconfig (+link): Add $(link-extra-libs).
7190 (link-extra-libs): New variable which expands to the full paths of
7191 the other libraries needed by a program, as controled by LDLIBS-$(@F).
7192 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
7193 the later attempts to install the library before linking it.
7195 * sysdeps/unix/alpha/sysdep.S: Align errno.
7197 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
7199 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
7200 (_hae_shift): New function.
7201 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
7202 for the bus query functions.
7204 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
7206 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
7207 can be NULL when unloading a library.
7209 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
7210 to the library .init function.
7212 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
7213 part of the COPY reloc processing earlier, omit the rest now --
7214 we'll get into less trouble later when some fool does use a COPY.
7216 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
7217 parameters. Move all argc and __libc_multiple_libcs calculation out
7218 to init-first.h. Use __environ not __libc_envp.
7219 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
7220 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
7222 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7224 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
7225 signal settings when profiling was already turned on.
7227 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
7230 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
7232 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
7233 0 < return value < -4096 and not < 0 to decide about failure.
7234 Reported by Andreas Jaeger.
7236 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
7238 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
7241 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
7243 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
7246 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
7248 * version.c: Add missing newline character in banner.
7250 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
7251 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
7253 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
7255 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
7256 case, so don't prepend uppercase `ISO' for only numeric arg.
7258 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
7260 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
7261 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
7263 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
7265 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
7266 call to __libc_lock_lock.
7268 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
7269 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
7271 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
7273 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
7275 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
7277 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
7278 Reported by Erik Troan.
7280 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
7282 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
7283 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
7285 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
7287 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
7289 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
7291 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
7294 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
7296 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
7299 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7301 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
7302 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
7304 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
7305 $(common-objpfx) is good enough.
7306 * Rules (common-generated): Provide default (empty) value.
7307 (dummy.o, dummy.c, empty.o, empty.c): Put these in
7308 $(common-generated), not $(generated), and without $(..).
7309 (subdir_echo-distinfo): Treat $(common-generated) just like
7311 (generated): Depend on the (suitably mutated) $(common-generated)
7313 * Makerules (common-clean): Remove common-generated files too.
7314 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
7316 (common-generated): Do put errnos.d and stamp-errnos here.
7317 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
7319 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
7320 auth to following rule to get it built.
7322 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
7324 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
7325 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
7326 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
7328 * version.c: Add comment about where to report bugs to.
7329 * catgets/gencat.c (usage): Likewise.
7330 * db/makedb.c (usage): Likewise.
7331 * locale/programs/locale.c (usage): Likewise.
7332 * locale/programs/localedef.c (usage): Likewise.
7334 * manual/socket.texi: A little bit better wording.
7336 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
7338 * Makerules: Make sure directory exists before generating stamp file.
7339 (BUILD_CFLAGS): Always refer to using $(..).
7340 * manual/Makefile: Make sure directory exists before generating
7342 (make-target-directory): Add macro definition.
7343 * sysdeps/generic/Makefile: Make sure directory exists before
7344 generating stamp file.
7346 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
7348 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7350 When compiling in separate directory put objects into
7351 subdirectories matching the source layout.
7352 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
7353 When looking for configparms try in $(common-objpfx).
7354 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
7356 * Makerules: Add $(objpfx) to vpath list.
7357 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
7358 more than once. All uses in dependency lists changed.
7359 (+make-deps): Make target directory.
7360 (sed-remove-objpfx): Substitute $(common-objpfx).
7361 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
7362 $(objpfx) instead of $(objdir) for cd command.
7363 (O%-lib): Always find libc relative to $(..).
7364 (subdir-stamps): Collect stamp files from subdirs.
7365 (common-mostlyclean): Remove stub file in $(common-objpfx).
7366 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
7367 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
7369 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
7370 $(common-objfpx). All uses in dependency lists changed.
7371 (generated): Prepend $(..) to names.
7372 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
7374 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
7375 Use $(common-objpfx) instead of $(..) in dependencies.
7376 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
7377 $(common-objpfx) instead of $(..) and (objpfx).
7378 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
7379 (rpath-link): Likewise.
7380 (rpcuserlibs): Likewise.
7381 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
7382 errlist.c in $(objpfx), not $(common-objpfx).
7383 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
7385 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
7386 s-proto.d in $(common-objpfx), not $(objpfx).
7388 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
7390 * nss/nsswitch.c (nss_dlerror_run): Free returned error
7393 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
7395 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
7397 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
7398 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
7399 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
7400 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
7401 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
7402 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
7403 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
7404 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
7406 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
7408 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
7409 `decimal' char is 0.
7411 * C-numeric.c (not_available): New constant.
7412 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
7414 * nss/nsswitch.conf: Example configuration file.
7415 * nss/db-Makefile: Example Makefile for generation of databases
7417 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
7419 1996-08-28 Paul Eggert <eggert@twinsun.com>
7421 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
7422 noexpr to "^[nN]"; this conforms to POSIX.2.
7424 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
7427 1996-08-28 Paul Eggert <eggert@twinsun.com>
7429 * C-monetary.c (not_available): New constant.
7430 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
7431 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
7432 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
7433 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
7435 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
7437 * nss/nss_db/db-XXX.c: Correct function names. They must be
7438 `_nss_db_*' instead of `_nss_files_*'.
7439 (lookup): `parse_line' returns 1 if succesful.
7440 * nss/nss_files/files-service.c (servbyname): Key for database
7441 must also contain protocol names.
7442 (servbypt): Likewise.
7443 Test must also check for protocol. Add `proto' argument.
7445 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7447 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
7450 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
7452 * Makerules: Add some test for correct version of GNU Make.
7454 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
7455 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
7457 * sysdeps/generic/dl-sysdep.c: Initialize break address to
7458 avoid overwriting last page (OK, Roland).
7460 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
7462 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
7463 * resolv/arpa/nameser.h: Likewise.
7464 * resolv/res_init.c: Likewise.
7465 * resolv/res_debug.c: Likewise.
7466 * resolv/res_mkquery.c: Likewise.
7468 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
7470 * elf/dl-error.c (catch): Define errstring element not as const.
7471 (_dl_catch_error): ERRSTRING argument is not const pointer.
7472 Initialize *ERRSTRING and *OBJNAME separately.
7473 * elf/link.h: Change prototype for `_dl_catch_error'.
7475 * elf/dl-load.c (_dl_map_object): Use separate variable for
7476 copied NAME to avoid `const' warning.
7478 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
7480 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
7481 provides preloading even for SUID binaries.
7482 Add some more casts to avoid signed<->unsigned warnings.
7484 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
7486 * posix/sys/types.h: Define loff_t.
7487 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
7489 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
7491 * io/fcntl.h: Add definition for BSD F* macros.
7493 * misc/init-misc.c (__init_misc): Make static.
7494 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
7496 * configure.in: Add test for -fno-exception option of gcc.
7497 * config.make.in: Add definition of have-no-exceptions.
7498 * Makerules: Define no-exceptions based on have-no-exceptions.
7499 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
7500 This is necessary for gcc >= ss-960816.
7502 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
7504 * sysdeps/alpha/dl-machine.h: Clear startup flag.
7506 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7508 * Makerules (o-iterator-doit): Simplify reference to autolock
7511 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7513 * sysdeps/mach/hurd/getcwd.c
7514 (_hurd_canonicalize_directory_name_internal): After resizing the
7515 buffer move the current contents to the end. Correctly relocate
7516 file name pointer to upper half of the buffer.
7518 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
7520 * rtld.c (dl_main): Remove code to call ld.so initializer. This
7521 was introduced for compatibility with Linux ld.so and would not
7522 be used anymore. Now we don't have any good values to use as the
7523 parameters to the initializer so simply remove it.
7525 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7527 * gmon/gmon.c (ERR): Don't write the terminating NUL.
7529 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
7531 (profil_count): Use 64 bit arithmethic to avoid overflow.
7533 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
7535 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7537 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
7538 being null; in that case don't touch the timer at all (but do
7539 return something in OLD if necessary).
7541 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7543 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
7545 * sysdeps/i386/init-first.c: Likewise.
7546 * sysdeps/stub/init-first.c: Likewise.
7548 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
7550 * elf/dl-open.c (_dl_open): Call library initializer with
7551 correct command line arguments and environment information.
7552 * elf/rtld.c (dl_main): Provide arguments to initializer of
7555 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
7557 * shadow/Makefile (routines): Add lckpwdf.
7558 * shadow/lckpwdf.c: New file.
7560 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
7561 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
7563 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
7565 * configure.in: Add definition for `__eh_pc' and `__throw' in
7566 test for --no-whole-archive. The compiler generates dependencies
7567 for this but none of the standard librares and startup files
7568 are used. Necessary for gcc >= ss-960816.
7570 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
7572 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
7573 return string since string might be on stack.
7574 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
7575 Wed Aug 21 10:14:59 1996.
7576 * elf/dlerror.c (dlerror): Free error string after printing.
7577 (_dlerror_run): If error string was not printed since last error
7579 * rtld.c (dl_main): Free error string in case of error.
7581 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
7583 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
7584 this changes the global state for `localtime' and `gmtime'. Use
7585 `__localtime_r'/`__gmtime_r' instead.
7586 * resolv/res_debug.c (__p_secstodate): Likewise.
7587 * sysdeps/generic/ftime.c: Likewise.
7588 * sysdeps/posix/gettimeofday.c: Likewise.
7589 Reported by Paul Eggert.
7591 * time/gmtime.c: De-ANSI-fy.
7592 * time/strftime.c: Don't call non-reentrant functions which change
7595 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
7597 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
7598 than putting it on the stack.
7600 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
7602 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
7603 don't find .plt entries.
7605 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7607 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
7610 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
7612 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
7614 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
7616 * login/pututline_r.c (__pututline_r): Fix handling of case where
7617 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
7619 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
7621 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
7622 for "Jensen" so _bus_base() returns 0 on that platform. Use
7623 _bus_base_sparse() to determine base address of sparse memory.
7625 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
7626 and declarations in __BEGIN_DECLS/__END_DECLS.
7628 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
7630 * err.h: New file. Wrapper around misc/err.h.
7632 Correct solution of multiple initialization problem by
7634 * csu/initfini.c: Remove global variable __libc_is_static.
7635 * elf/rtld.c: Introduce new global variable _dl_starting_up.
7636 It's nonzero during the startup.
7637 * elf/dl-open.c (_dl_open): When _dl_start function is not
7638 available (i.e., if in static libc) set `__libc_multiple_libcs'
7640 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
7641 New global variable.
7642 (init): Undo change of Fri Aug 2 03:12:40 1996.
7643 Initialize `__libc_multiple_libcs' to nonzero only if this is
7644 a shared lib called from a statically linked program and don't
7645 call `personality' and `setfpucw' in this case either.
7646 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
7647 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
7648 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
7649 before jumping to user code.
7650 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7652 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
7654 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
7655 Thu Aug 8 12:40:20 1996.
7656 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
7657 -fkeep-inline-functions flag instead.
7659 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
7661 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
7662 name dynamically. Reported by Alan Cox.
7663 Uncomment warnings and mark as translatable.
7665 * time/strftime (strftime): Add implementation for %s and %z
7666 format. Change behaviour for unknown format character: now
7667 simply print it. This matches the behaviour of printf.
7668 Reported by Jim Meyering.
7669 * manual/time.texi: Document all formats and flags of strftime.
7671 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
7673 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
7676 * misc/sys/select.h: Define fd_set using typedef, not #define.
7677 Proposed by David Mosberger-Tang.
7679 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
7681 * po/header.pot: Use real description line.
7683 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
7685 * elf/rtld.c (dl_main): When started with --verify prevent
7686 any warning. Just exit with an error.
7687 * elf/ldd.sh.in: Don't run given object directly. This fails for
7688 libraries. Instead use $RTLD again.
7690 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
7692 * manual/nss.texi: New file. Document NSS.
7693 * manual/nsswitch.texi: New file. Example configuration.
7695 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
7696 * manual/example/strdupa.c: New file. Example for strdupa.
7698 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
7700 * stdlib/strtod.c (STRTOD): Correct assertion about size of
7701 wint_t and wchar_t. Reported by David Mosberger-Tang.
7703 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7705 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
7706 RELOC_ADDR and make NOPLT a set of flags. All callers
7707 changed. Delete condition that checks for resolving to the
7708 location being filled in. Add condition to skip the
7709 executable's symbols if requested.
7710 * elf/link.h: Change declaration of _dl_lookup_symbol
7712 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
7713 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
7715 * elf/dl-runtime.c (RESOLVE): Likewise.
7716 * elf/rtld.c (RESOLVE): Likewise.
7717 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
7718 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
7719 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
7720 reloc, zero otherwise.
7721 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7723 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7725 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
7727 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
7728 * po/header.pot: Add empty line at end.
7730 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7732 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
7733 are now in $P/stdio-common.pot.
7734 (XGETTEXTFLAGS-errlist.pot): Variable removed.
7736 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7738 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
7739 script at run time, not configure time.
7740 * config.make.in, configure.in: Undo previous change.
7742 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
7744 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
7745 on stack as argument for `_exit'. Reported by Andreas Schwab.
7747 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7749 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
7751 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
7753 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
7754 (_dl_map_object_from_fd): Free name on error.
7756 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
7758 * string/strdup.c: Use result of memcpy to avoid reloading.
7760 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7762 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
7763 the other way round.
7765 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
7767 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
7770 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
7772 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
7774 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
7777 Update from bind-4.9.5-T1A.
7778 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
7779 inet_net_pton, inet_net.
7781 * resolv/gethnamaddr.c: Include <sys/types.h>.
7782 * resolv/getnetnamadr.c: Likewise.
7783 * resolv/herror.c: Likewise.
7784 * resolv/inet_addr.c: Likewise.
7785 * resolv/nsap_addr.c: Likewise.
7786 * resolv/res_comp.c: Likewise.
7787 * resolv/res_data.c: Likewise.
7788 * resolv/res_init.c: Likewise.
7789 * resolv/res_mkquery.c: Likewise.
7790 * resolv/res_query.c: Likewise.
7791 * resolv/res_send.c: Likewise.
7793 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
7795 * resolv/inet_ntop.c: Likewise.
7797 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
7798 Remove prototype of gethostbyname_ipv4.
7800 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
7801 functions instead of BSD `b*' functions.
7803 * resolv/nsap_addr.c: Add copyright message.
7805 * resolv/res_comp.c: Remove comment explaining label format.
7806 (res_mailok): Correct check.
7808 * resolv/res_debug: Include missing headers.
7809 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
7810 (__p_fqnname): New function to print FQDN from compressed name.
7811 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
7812 correctly. Add handling of T_KEY and T_SIG.
7813 Handle class and type names by using name arrays instead of
7814 explicit `switch'es.
7815 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
7816 (__dn_count_labels, __p_secstodate): New functions.
7818 * resolv/resolv.h (__RES): Update version number.
7819 (res_sym): New type.
7820 Add #defines for new functions.
7821 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
7822 __p_secstodate, dn_count_labels.
7824 * resolv/arpa/nameser.h (__BIND): Update version number.
7825 Add KEYFLAG_* and ALGORITHM_* symbols.
7826 (HEADER): Add `ad' and `cd' flags.
7828 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
7831 * manual/maint.texi: Document that we use bind-4.9.5.
7834 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
7836 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
7838 * mach/Makefile (mach/mach_host.uh): Depend on
7839 $(objpfx)/mach-syscalls.mk.
7840 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
7841 (This fixes a make loop; thanks to Marcus Daniels
7842 <marcus@sysc.pdx.edu> for the patch.)
7844 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
7846 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
7847 buffer is any longer than the amount necessary to hold the
7848 filename; the Hurd getcwd uses the *entire* contents of the
7849 buffer, however long it is specified to be.
7851 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
7853 * nss/nsswitch.c (__nss_database_lookup): Always release locks
7854 before returning. Reported by Miles Bader.
7856 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
7858 * nss/nsswitch.c (__nss_configure_lookup): New function.
7859 Allows to specify services.
7860 * nss/XXX-lookup.h: Rename database variable and make global.
7861 * nss/databases.def: New file. Real names of all databases.
7863 * nss/nss.h: New file. Contains declaration useful for users
7864 and service developers.
7865 * nss/nsswitch.h: Move some declarations to nss/nss.h.
7866 * nss.h: New file. Wrapper around nss/nss.h.
7868 * nss/Makefile (headers): Add nss.h.
7869 (distributes): Add databases.def.
7871 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
7873 Help the poor people with fast machines by making sure only
7874 one `ar' commands works on the library.
7875 * autolock.sh: New file. Written by Tom Tromey.
7876 * Makerules (do-ar): Call autolock.sh shell script instead of
7877 directly using `ar'.
7878 * config.make.in: Make configuration variable AUTOLOCK which
7879 gets initialized by configure.
7880 * configure.in: Define variable AUTOLOCK to point to autolock.sh
7881 script and mark it to substitute.
7883 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
7885 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
7886 always only if in static libc or if statically linked program
7889 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
7891 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
7892 startup by moving Icache flush from here ...
7893 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
7894 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
7896 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
7897 calling conventions. The code is already correct.
7899 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
7901 * string/Makefile: Compile tester with -fno-builtin as we want to
7902 test our implementations, not gcc's.
7904 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
7906 * shadow.h: New file.
7908 * sysdeps/unix/sysv/linux/netinet/in.h: Move
7909 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
7912 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
7913 g++ 2.7.2 (and earlier) has no transparent unions support.
7915 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
7917 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
7918 function to determine the base address of sparse bus memory.
7919 (APECS_*): Rename to CIA_*.
7920 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
7921 (platform): Add sparse_bus_memory_base member and initialize.
7922 (sparse_bus_memory_base): New variable.
7924 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
7926 * sysdeps/posix/ttyname_r.c (ttyname_r),
7927 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
7928 !__isatty(fd) (POSIX.1 says so.)
7930 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
7931 This is not a gross hack, after all---for compatibility,
7932 getlogin() really should check fd 0 only and not try to base its
7933 operation on the controlling tty.
7935 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
7937 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
7938 change utmp_data from static to auto.
7940 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
7942 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
7943 Reported by David Mosberger-Tang.
7945 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
7947 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
7948 alias to `__isnanl'.
7950 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
7952 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
7953 get `struct timeval'.
7954 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
7955 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
7956 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
7957 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
7958 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
7959 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
7961 * io/fts.h: Include <sys/types.h> to get dev_t.
7962 Reported by Matthias Urlichs.
7964 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
7965 _IO_file_flags. It's the same as _flags.
7966 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
7968 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7970 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
7972 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
7974 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
7975 * pwd/getpwent_r.c: Likewise.
7976 * pwd/getpwnam.c: Likewise.
7977 * pwd/getpwnam_r.c: Likewise.
7978 * pwd/getpwuid.c: Likewise.
7979 * pwd/getpwuid_r.c: Likewise.
7981 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
7982 * grp/getgrent_r.c: Likewise.
7983 * grp/getgrgid.c: Likewise.
7984 * grp/getgrgid_r.c: Likewise.
7985 * grp/getgrnam.c: Likewise.
7987 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
7988 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
7989 * pwd/Makefile (routines): Add fgetpwent_r.
7990 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
7992 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
7993 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
7994 * grp/Makefile (routines): Add fgetgrent_r.
7995 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
7997 Implement shadow password lookup functions. This is no complete
7998 shadow password suite.
7999 * shadow/Makefile: New file.
8000 * shadow/fgetspent.c: New file.
8001 * shadow/fgetspent_r.c: New file.
8002 * shadow/getspent.c: New file.
8003 * shadow/getspent_r.c: New file.
8004 * shadow/getspnam.c: New file.
8005 * shadow/getspnam_r.c: New file.
8006 * shadow/putspent.c: New file.
8007 * shadow/sgetspent.c: New file.
8008 * shadow/sgetspent_r.c: New file.
8009 * shadow/shadow.h: New file.
8010 * shadow/spwd-lookup.c: New file.
8011 * shadow/nss_files/files-spwd.c: New file.
8013 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
8015 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
8016 call is only a stub.
8017 Reported by Matthias Urlichs.
8019 * Makeconfig [!default_cflags]: Change default value from `-g'
8022 * configure.in: Recognize i686.
8023 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
8025 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
8027 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
8028 value of CFLAGS-.o, not CFLAGS-o.
8030 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
8031 pointer to ourself. Otherwise `gcc -O3' optimized init away.
8033 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
8035 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
8036 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
8038 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
8040 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
8041 to 0x137f to allow long double operations.
8043 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
8047 * nss/nsswitch.c (_res): Remove redundant variable definition.
8048 The real one is in resolve/res_init.c, and having both prevents
8049 using -fno-common when building the shared library.
8050 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
8052 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
8053 a .bss object not a COMMON symbol.
8055 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
8056 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
8060 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
8061 main loop for better dual-issue on EV5. Rearrange binary search to
8062 pipeline better and trim one instruction.
8066 * time/localtime.c (localtime_r): Move lock declaration back next to
8067 the comment where it was before the 960724 change.
8069 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
8070 The second word is supposed to be the hardware manufacturer.
8072 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
8073 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
8075 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
8077 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
8078 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
8079 Same cleanups as with EV4 GMP stuff.
8081 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
8083 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
8084 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
8085 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
8087 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
8089 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
8092 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
8094 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
8096 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8099 * socket/sys/socket.h (send, __send, sendto): Declare buffer
8102 * string/tester.c (main): Test stpncpy.
8104 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
8105 segfault when called with an N that is not a multiple of four and
8108 * misc/syslog.c (LogType): New variable.
8109 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
8110 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
8112 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
8113 terminator as a record-delimiter. If __send(LogFile) fails,
8114 call closelog() so logfile gets re-opened next time.
8116 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
8118 * elf/dl-open (_dl_open): Add cast to avoid warning.
8120 * manual/memory.texi: Improve some examples to give readers better
8121 advice: Use `stpcpy' instead of `strcat' if possible.
8122 * manual/string.texi: Document `strtok_r' and `strtok'.
8124 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
8126 [$(cross-compiling)=no]: Change test before making librpcsvc
8127 to this from $(cross-compile).
8128 Reported by Andreas Schwab.
8130 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
8132 * elf/Makefile (routines): Move dl-sysdep to here...
8133 (rtld-routines): ...from here. This should make static linking
8136 * locale/setlocale.c: Add local variable `lock' and add code to
8137 `setlocale' to avoid simultaneous changing of global data.
8139 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
8140 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
8141 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
8142 of unprotected names.
8144 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
8146 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
8147 This requires to rename several functions to use __ protected
8149 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
8151 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
8152 and make old name a weak alias.
8153 * sysdeps/mach/hurd/getrlimit.c: Likewise.
8154 * sysdeps/mach/hurd/opendir.c: Likewise.
8155 * sysdeps/mach/hurd/readdir.c: Likewise.
8156 * sysdeps/stub/closedir.c: Likewise.
8157 * sysdeps/stub/opendir.c: Likewise.
8158 * sysdeps/stub/readdir.c: Likewise.
8159 * sysdeps/unix/closedir.c: Likewise.
8160 * sysdeps/unix/opendir.c: Likewise.
8161 * sysdeps/unix/readdir.c: Likewise.
8163 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
8165 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
8166 `__closedir' instead of unprotected names.
8168 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
8169 instead of `isatty' since later is not part of ISO C.
8170 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
8171 `open' since later is not part of ISO C.
8173 * login/endutent.c (endutent): Call `__endutent_r', not
8175 * login/endutent_r.c: Rename defined function to `__endutent_r',
8176 make `endutent_r' weak alias.
8177 * login/getutent.c (getutent): Call `__getutent_r', not
8179 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
8180 * login/getutid_r.c: Rename defined function to `__getutent_r',
8181 make `getutent_r' weak alias.
8182 * login/getutline.c (getutline): Call `__getutline_r', not
8184 * login/getutline_r.c: Rename defined function to `__getutline_r',
8185 make `getutline_r' weak alias.
8186 * login/pututline_r.c: Rename defined function to `__pututline_r',
8187 make `pututline_r' weak alias.
8188 * login/setutent.c (setutent): Call `__setutline_r', not
8190 * login/setutent_r.c: Rename defined function to `__setutline_r',
8191 make `setutline_r' weak alias.
8192 Rename `utmpname' to `__utmpname' and make former weak alias.
8193 (__utmpname): Call `__strdup', not `strdup'.
8194 * login/utmp.h: Add prototypes for name space clean reentrant
8196 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
8197 and `__endutent_r' instead of unprotected names.
8199 * math/math.h: Add prototype for `__matherr'.
8200 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
8203 * nss/getXXbyYY.c: Call __ protected reentrant function.
8204 * nss/getXXent.c: Likewise.
8205 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
8206 name. Make usual name a weak alias.
8207 * nss/getXXent_r.c: Likewise.
8209 * posix/unistd.h: Add prototype for `__ttyname_r'.
8210 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
8211 and make `ttyname_r' a weak alias.
8213 * resource/sys/resource.h: Add prototype for `__getrlimit'.
8214 * sysdeps/stub/getrlimit.c: Prepend function name with __
8215 and make old name a weak alias.
8216 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
8217 and make `getrlimit' weak alias.
8219 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
8220 * libc/stdio/vscanf.c: De-ANSI-fy.
8221 Rename function to `__vscanf' and make `vscanf' a weak alias.
8222 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
8225 * stdio-common/reg-printf.c: De-ANSI-fy.
8226 Rename function to `__register_printf_function' and make
8227 `register_printf_function' weak alias.
8229 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
8232 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
8233 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
8234 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
8235 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
8236 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
8238 * wcsmbs/mbsrtowcs.c: Likewise.
8239 * wcsmbs/wcrtomb.c: Likewise.
8240 * wcsmbs/wcsrtombs.c: Likewise.
8241 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
8243 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
8244 instead of `sigprocmask'.
8247 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
8248 version getgrent_r, getgrgid_r, and getgrnam_r.
8249 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
8250 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
8252 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
8255 * misc/error.c (private_strerror): Translate messages from table,
8258 * io/fcntl.h: Pretty printing.
8259 * misc/fstab.h: Likewise.
8260 * misc/ttyent.h: Likewise.
8261 * resource/sys/resource.h: Likewise.
8262 * string/argz.h: Likewise.
8263 * string/envz.h: Likewise.
8265 Add support for symbols from POSIX.1c (POSIX threads).
8266 * posix/getconf.c: Handle new sysconf symbols.
8267 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
8268 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
8269 * sysdeps/generic/confname.h: Define new symbols.
8270 * sysdeps/posix/sysconf.c: Handle new symbols.
8271 * sysdeps/stub/sysconf.c: Ditto.
8272 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
8275 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
8276 have real prototype.
8278 * sysdeps/generic/resourcebits.h: Add macro definition for
8279 RLIMIT_* values. Some sources test using #ifdef whether specific
8281 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
8282 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
8283 separate files for the architectures.
8284 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
8285 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
8286 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
8287 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
8289 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
8290 and only default on `OPEN_MAX'.
8291 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
8294 * time/Makefile (routines): Add ctime_r.
8295 * time/asctime.c: Add implementation of `asctime_r'. Make
8296 `asctime' implementation based on reentrant version.
8297 * time/ctime_r.c: New file.
8298 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
8301 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8303 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
8304 (_nl_C_LC_CTYPE): Fix ordering.
8305 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
8308 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
8310 * csu/initfini.c: Discover the maximum alignment generated by the
8311 compiler when emitting a function.
8312 (_init): Make sure the end of the crti fragment is aligned.
8315 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
8317 * initfini.c: (__libc_is_static): New variable. Will be
8318 initialized in init-first.c. Some actions in the libc work
8319 different when libc is static or dynamic.
8321 * sysdeps/unix/sysv/linux/init-first.c (init): Use
8322 `__libc_is_static' variable to determine whether call to
8323 `personality' and `setfpucw' is necessary. When done set variable
8324 to +-1 depending on library type.
8326 * locale/setlocale.c (setlocale): Use global variable
8327 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
8328 determine whether it's a SET[UG]ID program.
8330 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
8332 * Version 1.93 test release.
8334 * manual/Makefile: Use -include for chapters-incl too.
8336 * Makeconfig (+link): Add back start.o, mistakenly removed in last
8339 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8341 * nss/Makefile (generated): Add db-*.c.
8343 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
8344 using #include_next.
8346 * configure.in (--enable-add-ons): Quote m4 macro args.
8348 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
8350 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
8352 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
8354 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
8356 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
8359 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
8360 warning when inline function is elided.
8361 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
8362 (elf_machine_runtime_setup): Likewise.
8363 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
8364 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
8365 (elf_machine_load_address): Likewise.
8367 * catgets/gencat.c: Include <locale.h>.
8369 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
8371 * login/logwtmp.c (logwtmp): Call time, not __time.
8373 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
8374 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
8375 * login/logwtmp.c (logwtmp): Likewise.
8377 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
8378 comparing ioctl macro values.
8380 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
8382 * manual/Makefile: Use -include for chapters to suppress warning.
8384 * sysdeps/stub/socket.c: Fix type of TYPE arg.
8385 * sysdeps/stub/socketpair.c: Likewise.
8387 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
8389 * sysdeps/generic/sysdep.h: New file, broken out of ...
8390 * sysdeps/unix/sysdep.h: ... here.
8391 (C_LABEL): Moved out.
8393 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
8394 stick to sed. Do `exit 0' at end because while returns nonzero.
8396 * sysdeps/i386/sysdep.h: New file, broken out of ...
8397 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
8399 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
8400 They are defined unconditionally in libio/stdio.h.
8402 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
8403 * elf/dl-cache.c: Likewise.
8405 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
8407 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
8408 (sysdep_headers): Add sys/sysmacros.h.
8409 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
8411 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
8413 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
8414 tcgetattr. We have weak aliases now.
8415 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
8416 "optimizations" for random functions.
8418 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8420 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
8421 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
8422 redefinition warning.
8424 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8426 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
8429 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8431 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
8434 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
8436 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
8438 Reported by Richard Henderson <rth@tamu.edu>.
8440 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8442 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
8445 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
8447 * locale/setlocale.c (setlocale): Don't try to free C locale
8449 Reported by Matthias Urlichs.
8451 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
8453 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
8454 (open_file): New function, contents mostly from __open.
8455 (_dl_sysdep_read_whole_file): New function.
8457 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
8459 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
8460 `..' dots in sed search string.
8462 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8464 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
8467 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8469 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
8470 in those directories.
8471 * config.make.in (add-ons): New varaible, set from @subdirs@.
8472 * Makefile (subdirs): Added $(add-ons) at the end.
8474 * time/strftime.c (strftime: do_number): Initialize PRINTED to
8475 MAXDIGITS in case P is null and so sprintf is never actually called.
8477 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
8479 Add support for the to-be-written internationalized regexp.
8480 This code must be able to use collation symbols and collation
8482 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
8483 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
8484 New global variables for collation classes.
8485 * locale/categories.def: Add new descriptions for collation symbols
8486 and collation classes.
8487 * locale/langinfo.h: Add constants for collation symbols and
8489 * locale/lc-collate.c: Add new global variables for collation symbols
8490 and collation classes.
8491 (_nl_postload_collate): Initialize new variables.
8492 * locale/programs/ld-collate.c: Add code to emit tables for
8493 collation symbols and collation classes.
8494 * locale/programs/locales.h: Change prototype for `collate_output'.
8495 * locale/programs/locfile.c (write_all_categories): Call
8496 `collate_output' with new argument.
8497 * locale/localeinfo.h: Add declaration for new global vars.
8498 (union locale_data_value): New member wstr for `wchar_t' strings.
8499 * locale/programs/locale-spec.c: Handle `collate-classes'
8500 keyword and print information about available collation classes.
8501 * locale/strlen-hash.h: New file. Simple hashing function which
8502 takes a string with known length.
8503 * locale/Makefile (distribute): Add strlen-hash.h.
8504 (locale-modules): New var. Additional files for `locale' program.
8506 * locale/C-ctype.c: Rewrite to avoid using string for giving values
8507 which are of type `u_int32_t'.
8508 Correct entry for EOF in toupper and tolower tables.
8510 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
8513 * locale/programs/ld-ctype.c (ctype_output): Add code to make
8514 sure that all tables in binary file are word-aligned.
8516 * locale/programs/locfile.c (write_locale_data): Correct handling
8517 of LC_MESSAGES locale. Create directory if necessary.
8519 * locale/setlocale.c (setlocale): Add cast to avoid warning.
8521 * string/string.h: Add prototype for `__strndup'.
8523 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8525 * wcsmbs/mbrtowc.c: Remove unused variable.
8527 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8529 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
8530 2.0.10; some problems were reported with an earlier version, and this
8531 one is known to work.
8533 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
8534 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8536 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
8538 * elf/rtld.c (dl_main): Ignore arguments when environment variable
8539 LD_TRACE_LOADED_OBJECTS is set.
8541 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8543 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
8544 __libc_enable_secure instead of _dl_secure.
8545 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
8546 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
8548 * elf/Makefile (routines): Add enbl-secure.
8549 (elide-routines.so): Here too.
8550 * sysdeps/generic/enbl-secure.c: New file.
8551 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
8552 * elf/dl-support.c (_dl_secure): Variable removed.
8553 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
8555 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
8557 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8558 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
8559 compiler doesn't elide it.
8560 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
8562 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8564 * elf/rtld.c (dl_main): Take new option --verify when run directly.
8565 In verify mode, exit with status zero iff the argument object's
8566 PT_INTERP matches argv[0].
8567 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
8568 exits with zero status. This makes `ldd' secure again.
8570 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
8572 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
8573 environment variable handling. This makes the dynamic linker
8574 only print loaded libraries and quit.
8576 * elf/ldd.sh.in: Don't use `rtld --list' but instead
8577 LD_TRACE_LOADED_OBJECTS environment variable to print needed
8580 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8582 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
8583 after printing version until after doing usage for --help.
8584 (long_options, main, usage): Rename -l/--lowercase option to
8585 -f/--fold-case (-f matches sort).
8587 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
8589 * db/makedb.c: New file. Implement program to create simple <db.h>
8590 database from textual input. This will be used for nss_db.
8592 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8594 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
8595 * sunrpc/rpc/pmap_clnt.h: Likewise.
8596 * sunrpc/rpc/auth.h: Likewise.
8597 * sunrpc/rpc/pmap_rmt.h: Likewise.
8598 * sunrpc/rpc/rpc_msg.h: Likewise.
8600 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
8602 * string/string.h (strndupa): Change to use return value of
8603 `memcpy' for more performance.
8604 * string/strndup.c: Likewise.
8606 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
8607 This might lead to problems.
8608 (strndupa): Likewise.
8610 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
8612 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
8613 and change K&R prototypes to ANSI prototypes.
8614 * sunrpc/rpc/auth_unix.h: Ditto.
8615 * sunrpc/rpc/clnt.h: Ditto.
8616 * sunrpc/rpc/pmap_clnt.h: Ditto.
8617 * sunrpc/rpc/pmap_prot.h: Ditto.
8618 * sunrpc/rpc/pmap_rmt.h: Ditto.
8619 * sunrpc/rpc/rpc_msg.h: Ditto.
8620 * sunrpc/rpc/svc.h: Ditto.
8621 * sunrpc/rpc/svc_auth.h: Ditto.
8622 * sunrpc/rpc/xdr.h: Ditto.
8624 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8626 * ctype/test_ctype.c: Test EOF too.
8628 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
8630 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
8631 * sunrpc/rpc/auth_unix.h: Likewise.
8632 * sunrpc/rpc/clnt.h: Likewise.
8633 * sunrpc/rpc/netdb.h: Likewise.
8634 * sunrpc/rpc/pmap_clnt.h: Likewise.
8635 * sunrpc/rpc/pmap_prot.h: Likewise.
8636 * sunrpc/rpc/rpc_msg.h: Likewise.
8637 * sunrpc/rpc/svc.h: Likewise.
8638 * sunrpc/rpc/svc_auth.h: Likewise.
8639 * sunrpc/rpc/xdr.h: Likewise.
8641 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
8643 * sunrpc/pmap_rmt.c: ...here.
8645 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
8647 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
8649 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
8652 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8654 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
8655 <kkojima@info.kanagawa-u.ac.jp>.
8657 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
8659 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
8660 defined, not __OPTIMIZED.
8661 (_nl_msg_cat_cntr): Move declaration outside macro definition
8662 to prevent "nested extern" warning.
8663 (dcgettext): Rename local variable `result' to `__result'.
8665 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8667 * locale/programs/localedef.c (__progname): Remove decl.
8668 (main): Use program_invocation_short_name instead of __progname.
8669 (usage): Use program_invocation_name instead of __progname.
8671 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
8673 * catgets/gencat.c: Use "libc" instead of PACKAGE.
8674 * locale/localedef.c: Ditto.
8675 * locale/locale.c: Ditto.
8677 * locale/findlocale.c (_nl_find_locale): Little optimization.
8678 Use new function `strndup'.
8680 * locale/loadlocale.c: Little optimization. Use constant value
8681 from `_nl_category_num_items' instead of byte-order dependend
8684 * locale/programs/ld-time.c (time_add): Correct string constant.
8686 * locale/programs/locale-spec.c: New file.
8687 * locale/programs/locale.c: Call `locale_special' function if
8688 no other field matches.
8690 * locale/programs/localedef.c: No need to define `program_name'.
8691 Use global variable `__progname'.
8693 * locale/programs/locfile.c (write_locale_data): Always write
8694 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
8695 necessary since message catalogs are also installed in the
8696 LC_MESSAGES/ directory.
8698 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
8699 function instead of writing single bytes.
8700 (encode_char): Also handle little endian.
8702 * locale/setlocale.c (new_composite_name): Little optimization.
8703 Use return value of `memcpy'.
8705 * misc/ttyent.h: Pretty print prototypes, add missing parameter
8706 names, prepend parameter names with __ and use `__const' instead
8708 * posix/unistd.h: Ditto.
8709 * stdlib/stdlib.h: Ditto.
8710 * string/string.h: Ditto.
8712 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
8713 Use `error' function instead of doing it by hand.
8714 * sysdeps/posix/sysconf.c: De-ANSI-fy.
8715 Handle _SC_COLL_WEIGHTS_MAX.
8716 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
8717 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
8718 since these do not depend on the platform.
8719 Add POSIX.4 symbols.
8721 * posix/posix2_lim.h: Add missing definition of
8722 _POSIX2_COLL_WEIGHTS_MAX.
8723 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
8724 to high values since we have no fixed limit.
8726 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
8727 _SC_PAGESIZE for buggy systems (= HP UX) out there.
8729 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
8730 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
8731 * wcsmbs/wcsnrtombs.c: Ditto.
8732 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
8735 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
8737 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
8739 * nss/getXXent_r.c: Likewise.
8740 * nss/nsswitch.c: Likewise.
8741 * nss/nss_files/files-XXX.c: Likewise.
8742 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
8743 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
8744 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
8746 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8748 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
8749 macro, now put the needed Linux version just once, here; update to
8750 needing linux-2.0.3 headers.
8751 (libc_cv_linuxVER): New macro derived from that.
8752 (kernel header check): Use those macros and some m4 magic to replace
8753 hard-coded `201' and `2.0.1' in several places.
8755 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
8757 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
8759 * time/localtime.c: Move lock variable declaration to end of
8760 variable declarations since if is a dummy macro the ; at the
8761 end terminates the variable section of the function.
8763 * time/tzset.c: Undefine `tzset' before function declaration.
8764 Use `weak_function' macro instead of `weak_symbol'.
8766 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
8768 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
8771 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
8773 * locale/C-ctype.c: Increment number of fields after change
8774 from Wed Jun 19 03:24:58 1996.
8776 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8778 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
8779 ($(common-objpfx)libc.so): Move deps into that, use it.
8780 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
8781 $(rpcuserlibs:.so=_pic.a).
8782 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
8785 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8787 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
8788 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
8790 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
8792 * locale/iso-4217.def: Add India to comment for symbol "INR ".
8793 Reported by Raja R Harinath <harinath@cs.umn.edu>.
8795 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8797 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
8800 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8802 * time/tzset.c: Include <libc-lock.h>.
8803 (__tzset_lock): New lock variable.
8804 (tzset): New function (weak defn), no longer weak alias for __tzset.
8805 Call __tzset while holding __tzset_lock.
8806 * time/localtime.c: Include <libc-lock.h>.
8807 (__localtime_r): Hold __tzset_lock while doing the work.
8809 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
8810 from [!HAVE_GNU_LD] to [!_LIBC].
8811 [_LIBC]: Include <libc-lock.h> and define a lock.
8812 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
8813 (setenv, unsetenv): Use them.
8815 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
8817 * locale/programs/locfile.c (write_locale_data): Deal with missing
8820 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
8821 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
8823 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8825 Win32 hacks from <Rob_Tulloh@tivoli.com>.
8826 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
8827 use void * for my_realloc; include <malloc.h> for alloca.
8828 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
8829 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
8830 * posix/glob.h: Likewise.
8832 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
8834 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
8835 call __io_select unless there's only a single descriptor, as each
8836 descriptor now has its own reply port.
8837 If there is only a single descriptor, just use its reply port for
8838 everything and don't bother creating the port set.
8840 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
8841 <unistd.h>: New include.
8843 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
8846 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8848 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
8849 from the USA any software that even makes it easy to drop in an
8850 encryption module of foreign origin.
8851 * Makerules (cryptobjdir): Variable removed.
8852 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
8853 * Makefile (subdirs): Remove crypt.
8855 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
8857 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
8858 operator to yesexpr and noexpr string.
8860 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
8862 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
8863 old code would have failed on a big-endian 64-bit architecture).
8864 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
8866 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
8867 (xdr_u_long): Use switch instead of chain of if-statements.
8868 Remove gratitous parentheses around return expressions.
8869 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
8871 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
8873 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
8876 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8878 * dlfcn.h, db.h: New wrapper headers.
8880 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
8881 for `struct stat;' forward decl.
8883 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
8885 * locale/iso-4217.def: Add some more standardized currency
8888 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8890 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
8892 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
8894 * Rules (dummy.o, empty.o): Targets removed.
8895 (dummy.c, empty.c): New targets replace them.
8897 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8899 * crypt/Makefile (lib-noranlib): Depend on
8900 $(objpfx)libcrypt.so$(libcrypt.so-version).
8903 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
8905 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
8906 check. mib's clueless hacking broke it.
8908 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8910 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
8912 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
8914 * misc/sys/ustat.h: New file.
8915 * misc/ustat.h: Ditto.
8916 * sysdeps/generic/ustatbits.h: Ditto.
8917 * sysdeps/stub/ustat.c: Ditto.
8918 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
8919 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
8921 (routines): Mention ustat.
8923 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
8924 * sysdeps/alpha/elf/start.S: here.
8926 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
8927 alphabetically correct place. Mention ustat.
8929 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
8930 common symbol (makes errno accessible from gdb).
8932 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
8935 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
8936 record always gets appended at end of file (wtmp is a log file,
8937 after all). Set ut_type to DEAD_PROCESS if name is empty.
8939 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
8940 separate loop from search for UT_ID. Fix code so it is in
8941 sync with Unix man page.
8943 * login/getutline_r.c (getutline_r): Stop searching only if
8944 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
8946 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
8948 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
8949 avoid duplicate declarations.
8951 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
8953 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
8954 and alpha-gnu-linuxecoff targets.
8956 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
8958 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
8960 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
8962 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
8965 * resolv/res_comp.c (res_hnok): Use empty statement in place
8966 of NULL (which generates a "useless expression" warning in
8969 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
8971 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
8972 with $(..) in output.
8974 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8976 * elf/Makefile (dl-routines): Add dl-cache.
8977 * elf/dl-cache.c: New file.
8978 * elf/dl-load.c (_dl_map_object): Check cache before default path.
8980 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
8982 * stdio-common/vfscanf.c: Major change. Now read character
8983 from stream only if needed. Before it was read after the
8984 previous character was used.
8985 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
8987 * stdio-common/tstscanf.c: Change test program so that return
8988 value is != 0 if one test failed.
8990 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8992 * sysdeps/m68k/Makefile (crypt): Variable removed.
8993 * sysdeps/sparc/Makefile: Likewise.
8995 * version.h (VERSION): Update to 1.93.
8997 * Makerules ($(libdir)/libc.so): Depend on
8998 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
9000 * crypt/nocrypt.c: New file.
9001 * Makefile (subdirs): Add crypt.
9002 * crypt/Makefile: New file.
9004 * Makerules (soversions.mk): Move this target, include of it, and
9005 include of version.mk to ...
9006 * Makeconfig: ... here.
9007 (soversions.mk): Depend on Makeconfig instead of Makerules.
9009 * shlib-versions (*-*-*): Set libcrypt=0.
9011 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
9013 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
9014 word extends right up to rmargin.
9016 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
9017 output the wrap margin, set point_col to wmargin.
9018 Use negative point_col to deal with a wmargin of 0.
9019 (line_wrap_point): Return 0 for a negative point_col.
9020 (line_wrap_stream): Make wmargin ssize_t.
9021 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
9023 (line_wrap_stream): Make wmargin ssize_t.
9024 (line_wrap_point): Return 0 for a negative point_col.
9026 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9028 * shlib-versions (*-*-gnu*): Set libc=0.0
9030 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9032 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
9033 sysdeps/i386/dl-machine.h.
9035 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
9037 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
9038 to fiddle __put_limit in conjunction with __linebuf_active.
9040 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9042 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
9043 to the strong name, not the file name.
9045 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9047 * csu/initfini.c: More magic. Detect if .end is produced and put it
9048 in the output iff the compiler does.
9050 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
9051 because that is broken on alpha.
9053 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
9056 * Makerules (make-link): Install the new link with atomic mv -f in
9057 case ln itself requires the library being installed.
9059 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
9061 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
9062 i386/dl-machine.h of 960713.
9064 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
9065 (_dl_sysdep_read_whole_file): Fix result variable declaration.
9067 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9069 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
9072 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
9074 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
9075 with pointer to local variable instead of NULL.
9077 1996-07-15 Paul Eggert <eggert@twinsun.com>
9079 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
9081 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9083 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
9084 that are already added by other means.
9086 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
9087 caller column to get those syscalls added automagically.
9089 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
9091 * login/logout.c (logout): Initialize DATA to a state that will
9092 make setutent_r happy.
9094 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9096 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
9097 instead of setting the DT_DEBUG pointer.
9099 * csu/initfini.c (_init, _fini): Generate .end directives after
9100 standalone prologues and filter them out from epilogues.
9102 * Makeconfig (rtld-installed-name): Set to ld.so.1.
9103 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
9106 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
9108 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
9110 * MakeTAGS (extract): Pass --add-comments=TRANS.
9111 * sysdeps/gnu/errlist.awk: Write comments into the output with the
9112 descriptive paragraphs from the manual preceded by TRANS.
9114 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
9115 (_dl_start): Move RESOLVE defn inside this function and #include
9116 "dynamic-link.h" a second time there.
9117 [RTLD_START]: Move use of this after _dl_start function.
9119 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
9121 * elf/rtld.c: Include <string.h>.
9123 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
9124 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
9125 Conditionalize defns on [RESOLVE].
9126 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9128 Instead use RESOLVE macro with same args.
9129 (elf_machine_rel): Conditionalize defn on [RESOLVE].
9130 * elf/dl-reloc.c (RESOLVE): New macro, define before including
9131 "dynamic-link.h". It replaces `resolve' local function.
9132 * elf/dl-runtime.c: Likewise.
9133 * elf/rtld.c: Likewise.
9135 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
9137 * elf/dl-open.c (_dl_open): Force an indirect call for
9138 _dl_relocate_object so there is no chance a PLT fixup will be done
9139 and clobber _dl_global_scope before our call happens.
9141 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
9142 to =t; must operate on top of fp reg stack, not second from top.
9143 Correct input constraint to 0 from t; must be explicit when input and
9144 output are the same register.
9145 (floor): Use __volatile instead of volatile.
9148 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
9151 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9153 * manual/Makefile (lib): New phony target. Depend on stamp files.
9154 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
9156 1996-07-13 Paul Eggert <eggert@twinsun.com>
9158 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
9159 to match Emacs format-time-string specification.
9160 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
9162 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9164 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
9165 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
9166 between MAP and its deps.
9167 * elf/link.h: Fix decl.
9168 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
9169 colon-separated list of names, map those and pass vector of ptrs as
9170 PRELOADS list to _dl_map_object_deps.
9171 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
9172 _dl_map_object_deps with empty preload list.
9173 * elf/dl-open.c (_dl_open): Likewise.
9175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
9177 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
9178 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
9179 Conditionalize defn on [! MAP_ANON].
9180 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
9182 * elf/rtld.c (dl_main): Likewise.
9183 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
9184 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
9186 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
9188 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
9190 * stdlib/random.c (__random): Declare as int32_t to be in sync
9193 * socket/Makefile (headers): Add socketbits.h.
9195 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
9198 * grp/initgroups.c (initgroups): Add groups that user is a member
9199 of, not the ones he is _not_ a member of.
9201 * nss/nsswitch.c (known_compare): Make known_compare() a static
9202 instead of a local function. The latter are difficult to debug
9203 and slow to execute on certain platforms.
9205 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
9206 place of sizeof (dev). The size of a literal string includes the
9209 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
9211 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
9213 * misc/mntent.c (addmntent): Seek to end of file before writing
9214 entry. Return 1 on error, not -1.
9216 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
9218 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
9221 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
9223 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
9224 shift amount for Jensen must be 5 not 4.
9226 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9228 * socket/sys/socket.h (struct osockaddr): New type.
9230 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
9232 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
9233 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
9234 and `long double' versions can be generated.
9235 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
9236 so that included efgcvt{,_r}.c file generate `long double'
9238 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
9241 * manual/startup.texi: Document new getsubopt function.
9242 * manual/examples/subopt.c: New example program for documenting
9245 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
9247 * stdlib/Makefile (routines): Add getsubopt.
9248 * stdlib/stdlib.h: Add prototype for getsubopt.
9249 * stdlib/getsubopt.c: New file. Implement getsubopt function
9250 to handle suboption parsing.
9252 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9254 * inet/getnetent_r.c: Define NEED_H_ERRNO.
9255 * inet/getnetbynm_r.c: Likewise.
9256 * inet/getnetent.c: Likewise.
9257 * inet/getnetbyad_r.c: Likewise.
9258 * inet/getnetbyad.c: Likewise.
9259 * inet/getnetbynm.c: Likewise.
9261 * sysdeps/generic/pselect.c: Include <sys/time.h>.
9263 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
9266 * math/Makefile (calls): Add s_frexp, s_ldexp.
9267 (routines): Remove them and &f from here.
9269 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
9271 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
9274 * nss/nss_files/files-XXX.c: Comment fix.
9276 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
9278 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
9279 of reentrant function.
9280 (setup): Pass additional argument with function name we are
9282 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
9283 new argument {SET,END,GET}FUNC_NAME_STRING.
9285 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
9286 we return a pointer.
9288 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9290 * nss/nss_files/files-parse.c: Add comment about things to #define.
9292 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
9294 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
9295 terminator char as an error.
9297 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
9299 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
9301 * catgets/gencat.c (write_out): Move code to determine new
9302 best size out of inner loop.
9304 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
9306 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
9307 implementation of frexp() function.
9308 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
9309 implementation of ldexp() function.
9311 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
9314 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
9316 * misc/mntent.c: Include <sys/types.h>.
9317 (endmntent): Return 1 one success, 0 on failure.
9318 (getmntent): Chop newline and ignore empty lines.
9320 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9322 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
9323 differently based on [RTLD_BOOTSTRAP].
9324 (elf_machine_rela): Use it instead of the fn ptr arg directly.
9326 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9328 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
9329 __glob_closedir_hook): Remove decls.
9331 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
9333 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
9334 for send and connect syscalls.
9336 * socket/sys/socket.h: New file, taken from non-sysdep parts of
9337 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
9338 Declare __ names for send and connect.
9339 * sysdeps/generic/socketbits.h: New file.
9340 * sysdeps/unix/sysv/linux/socketbits.h: New file.
9341 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
9342 * sysdeps/generic/sys/socket.h: File removed.
9344 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
9345 * sysdeps/mach/hurd/send.c: Likewise.
9347 * sysdeps/mach/libc-lock.h: New file.
9348 * sysdeps/unix/readdir.c: Do locking.
9349 * sysdeps/unix/seekdir.c: Likewise.
9350 * sysdeps/unix/rewinddir.c: Likewise.
9351 * sysdeps/unix/closedir.c: Likewise.
9352 * sysdeps/unix/bsd/telldir.c: Likewise.
9353 * sysdeps/mach/hurd/seekdir.c: Likewise.
9354 * sysdeps/mach/hurd/readdir.c: Likewise.
9355 * sysdeps/mach/hurd/closedir.c: Likewise.
9356 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
9357 * sysdeps/unix/opendir.c: Likewise.
9358 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
9359 (struct __dirstream): Add lock member using __libc_lock_define.
9360 * sysdeps/unix/dirstream.h: Likewise.
9362 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
9364 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
9366 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
9368 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
9370 * locale/programs/stringtrans.c: Fix typo in copyright.
9372 * stdio-common/printf-prs.c: Add casts to prevent
9373 signed<->unsigned warnings.
9375 * stdio-common/printf-parse.h: Initialize state variable before
9377 * stdio-common/printf-prs.c: Don't initialize state variable here.
9378 * stdio-common/vfprintf.c: Don't initialize state variable.
9379 (vfprintf): While determining length of multibyte string don't
9380 try to be clever in determining characters to use for first
9383 Add real implementation of multibyte<->wide char conversion
9384 functions. The functions always convert between the fixed wide
9385 char format (ISO 10646 in UCS4) and the UTF8 representation of
9386 this character set. Conversion between the currently used
9387 8bit character set and ISO 10646 will not take place. This is
9388 what iconv() is for.
9389 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
9391 Add optimized version of `mbrlen' function.
9392 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
9394 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
9396 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
9397 This is needed in the wchar.h header.
9398 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
9399 encoded character to UCS4.
9400 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
9401 element of `mbstate_t' for initial state.
9402 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
9403 encoded string to UCS4 string.
9404 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
9405 character to UTF8 encoded form.
9406 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
9407 encoded string to UTF8 encoded form.
9409 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9411 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
9412 variable name, so new a libc with new requirements won't fail to
9413 notice an insufficient Linux version.
9415 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
9417 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
9418 instead of 2.0 headers.
9420 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
9422 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
9423 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
9425 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
9426 before using it in lhs of weak_alias.
9428 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
9429 Call __nss_lookup when not setting STARTP.
9430 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
9431 function-calling loop.
9433 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
9435 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
9436 PENDIN, NOFLSH): Undefine these at start if they are already
9437 defined to avoid collision with termbits.h.
9438 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
9439 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
9441 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9443 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
9444 already defined to float, long double. Use those macros for _Mdouble_
9445 defns when including mathcalls.h.
9446 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
9447 -D_Mlong_double_=double.
9449 Add more -lm functions to -lc because ldexp uses them.
9450 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
9451 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
9452 ldexp have both f and l code, and those have f though not l code.
9454 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
9456 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
9457 error is 0. The "placeholder" entries recently added to
9458 errno.texi convert to zero since `???/' is at the front of them.
9459 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
9461 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
9462 __const to conform with unistd.h.
9464 * stdlib/stdlib.h (random): Declare return type to be int32_t.
9466 * string/argz-delete.c (argz_delete): Use memmove instead of
9467 memcpy for possibly overlapping strings.
9469 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9471 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
9472 storage class. GCC gives an error for non-extern data defns with the
9475 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
9477 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
9478 memmove instead of memcpy for possible overlapping strings.
9480 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9482 * libc-symbols.h (weak_function): New macro.
9483 For GCC 2.7+ define as __attribute__ ((weak)).
9484 * elf/dl-minimal.c: Use weak_function as keyword in function defns
9485 instead of weak_symbol (NAME) after the defn.
9486 * stdlib/strtol.c: Likewise.
9487 * stdlib/strtod.c: Likewise.
9488 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9490 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
9491 If this is defined, don't declare _dl_rtld_map as weak, and
9492 don't check for MAP pointing to it. RESOLVE is always null in this
9493 case, so test with #ifdef instead of if.
9495 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
9497 * csu/initfini.c (_init): Likewise.
9498 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
9499 * misc/efgcvt_r.c: Likewise.
9500 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9503 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
9504 It was not used in any assembler code.
9505 (weak_symbol_asm): Renamed to weak_extern_asm.
9506 (weak_extern): New macro replaces weak_symbol for weak extern refs;
9507 define to weak_extern_asm for [!ASSEMBLER].
9509 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9511 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
9512 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
9513 define those now as aliases.
9514 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
9515 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
9516 after GCC weak attribute decl.
9518 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
9519 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
9520 (element printer): Check for elt in ALIAS, instead of special case
9523 * io/Makefile (headers): Add sys/vfs.h.
9524 * io/sys/vfs.h: New file.
9526 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
9527 critical section lock before unlinking dying active resources.
9528 The unlock just before return is right (i.e. old code unlocked twice).
9530 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
9532 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
9533 Use memmove instead of memcpy where overlap is possible (not
9534 necessary using current implementation of memcpy, but...).
9535 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
9537 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
9539 * stdio/linewrap.c (lwupdate): New function, mostly was
9540 __line_wrap_update. Use POINT_COL field instead of POINT.
9541 (__line_wrap_output): Use lwupdate.
9542 (__line_wrap_update): New function.
9543 (ensure_unwrapped, ensure_wrapped): New functions.
9544 (line_wrap_set_lmargin, line_wrap_set_rmargin,
9545 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
9547 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
9548 POINT_COL. Add POINT_OFFS field.
9549 (__line_wrap_update): New decl.
9550 (line_wrap_set_lmargin, line_wrap_set_rmargin,
9551 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
9553 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
9555 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
9557 * login/pututline_r.c (pututline_r): Since we assign RESULT from
9558 lseek now, check that it's >= 0, not == 0.
9560 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
9562 * login/login.c (login): Make a copy of *UT, fill in various
9563 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
9566 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
9567 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
9569 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9571 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
9572 signal during critical section doing interruptible RPC, if
9573 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
9574 before thread_resume. If in critical section, pass 0 for SIGNO to
9575 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
9577 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
9579 * sysdeps/unix/sysv/linux/sys/user.h: New file.
9580 * sysdeps/unix/sysv/linux/Dist: Add it.
9581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
9583 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
9584 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
9585 itself, no need to skip past a NUL.
9587 * nss/nsswitch.h (known_function): Comment fix.
9588 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
9589 directly. Do the lookup and insertion with a single call, and fill in
9590 the tree node afterwards if new.
9591 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
9593 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
9594 (struct timeval): Add bodiless decl for scope.
9596 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
9597 Move struct timespec defn outside [_TIME_H] so it can be got with
9598 #define __need_timespec.
9600 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
9601 for `struct timespec' member names.
9602 (TIMESPEC_TO_TIMEVAL): Likewise.
9604 * nss/Makefile (extra-libs-others): New variable.
9606 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
9607 $(lib) in $(extra-libs-others).
9608 * sunrpc/Makefile (extra-libs-others): New variable.
9609 (librpcsvc-no-lib-dep): Variable removed.
9611 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
9612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
9614 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
9615 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
9616 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
9617 _dl_rtld_map weak only here.
9619 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
9621 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
9623 * login/utmp.h: Fix typos.
9625 * misc/syslog.c (vsyslog): Use __send instead of send and
9626 __connect instead of connect to avoid name-space collisions (e.g.,
9629 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9631 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
9633 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
9635 * malloc/malloc-size.c (malloc_usable_size): Renamed from
9636 malloc_object_allocation_size.
9637 * malloc/malloc.h: Fix decl.
9639 * sys/select.h: New file, wrapper header.
9641 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
9642 fd_set, associated macros, and select decl.
9644 * sysdeps/posix/isfdtype.c: New file.
9646 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
9648 The latest Japanese proposal for POSIX locales renames the
9649 CHARMAP keyword in locale definition files to CHARCONV.
9650 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
9651 function ctype_is_charmap to ctype_is_charconv.
9652 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
9654 * locale/programs/locfile-token.h: Add definition of token
9656 * locale/programs/locfile.c: Recognize charconv keyword. Rename
9657 lables according to this.
9659 * locale/weight.h (get_weight): Cast constants to prevent
9662 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
9663 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
9666 New stuff described in P1003.1g.
9667 * misc/Makefile (headers): Add sys/select.h.
9668 (routines): Add pselect.
9669 * misc/sys/select.h: New file. Declare select functions and
9670 needed data types and macros.
9671 * sysdeps/generic/pselect.c: New file. Add generic implementation
9672 of pselect() function which uses select().
9674 * posix/getconf.c: Recognize new variables from P1003.1g.
9675 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
9676 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
9677 * posix/unistd.h: Add description of the P1003.1g variables.
9678 * sysdeps/generic/confname.h: Define _SC_* values for new
9680 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
9682 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
9683 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
9685 * sysdeps/stub/sysconf.c (sysconf): Ditto.
9686 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
9687 _POSIX_SELECT since Linux has this.
9689 * socket/Makefile (routines): Add isfdtype.
9690 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
9691 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
9694 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
9696 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9698 * elf/Makefile (LDFLAGS-dl.so): New variable.
9699 (libdl.so): Depend on eval.so.
9700 (distribute): Add eval.c.
9701 * elf/eval.c: New file.
9703 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
9704 in case it wrote fewer than MAXDIGITS chars.
9706 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
9707 newline from flushing full buffer in loop, fix test so no fflush is
9708 done when last byte written exactly fills the buffer.
9710 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
9712 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
9713 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
9715 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
9716 extracting _dl_rtld_map.l_addr.
9718 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
9720 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9722 * shlib-versions (*-*-*): Set libnss_db=1.
9724 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9726 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
9728 * rpm/template (%build): Use @prefix@ instead of always /usr.
9729 Set up configparms only if @prefix@ is in fact /usr.
9730 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
9732 * elf/Makefile: Add missing endif.
9734 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
9736 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
9737 (DATABASE): Define this instead of DATAFILE.
9738 * nss/nss_files/files-hosts.c: Likewise.
9739 (hostbyname): Use LOOKUP_NAME macro.
9741 * nss/nss_db/db-XXX.c: New file.
9742 * nss/Makefile (services): Add db.
9743 (libnss_db-inhibit-o): New variable.
9744 (libnss_db-routines): New variable.
9745 (distribute): Append db-XXX.c.
9746 (libnss_db.so): Depend on libdb.so and libnss_files.so.
9747 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
9749 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
9751 (DATAFILE): New macro.
9752 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
9754 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
9755 Pass db key args to DB_LOOKUP.
9756 (DATAFILE): Macro removed.
9757 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
9758 * nss/nss_files/files-service.c: Likewise.
9759 * nss/nss_files/files-pwd.c: Likewise.
9760 * nss/nss_files/files-proto.c: Likewise.
9761 * nss/nss_files/files-grp.c: Likewise.
9762 * nss/nss_files/files-ethers.c: Likewise.
9764 * elf/linux-compat.c: File removed.
9765 * elf/Makefile (distribute): Remove linux-compat.c.
9766 (ld-linux.so.1): Remove target and associated variables.
9768 * sunrpc/xdr.c: Remove malloc decl.
9769 * sunrpc/portmap.c: Likewise.
9771 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
9772 casting abort to fn returning bool_t.
9774 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
9775 the parser function.
9776 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
9777 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
9778 * nss/nss_files/files-grp.c: Likewise.
9780 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
9782 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
9784 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
9785 of ld.so so lookups for that soname find it.
9787 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
9788 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
9790 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
9791 define parse_line function.
9792 (parse_line): #define to _nss_files_parse_pwent and
9793 add extern decl for that.
9795 * nss/nss_files/files-XXX.c (internal_getent): Return
9796 NSS_STATUS_TRYAGAIN for ERANGE error.
9798 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
9799 of null, so next round returns null again instead of bombing. Fix
9802 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
9803 Remove ; after `ENTDATA_DECL (data)'.
9804 Truncate line at strpbrk (line, EOLSET "\n").
9805 (ENTDATA_DECL): Put ; at end.
9806 (MIDLINE_COMMENTS): Macro removed.
9807 * nss/nss_files/files-ethers.c: Pass new argument.
9808 * nss/nss_files/files-hosts.c: Likewise.
9809 * nss/nss_files/files-network.c: Likewise.
9810 * nss/nss_files/files-parse.c: Likewise.
9811 * nss/nss_files/files-proto.c: Likewise.
9812 * nss/nss_files/files-rpc.c: Likewise.
9813 * nss/nss_files/files-service.c: Likewise.
9814 * grp/fgetgrent.c: Likewise.
9815 * pwd/fgetpwent.c: Likewise.
9816 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
9817 fgetpwent.c already defines it.
9818 * nss/nss_files/files-grp.c: Likewise.
9820 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
9821 as well as any matching with l_libname. Fix DT_SONAME lookup to use
9822 string table properly.
9824 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
9825 invoked directly, and l_libname from that if PT_INTERP missing.
9826 Set l_name from l_libname only if not set from argv.
9828 * time/europe, time/northamerica: Updated from ADO 96i.
9830 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9832 * stdio-common/tst-ungetc.c: Include unistd.h.
9834 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
9836 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
9838 * hurd/report-wait.c (describe_number): Make I unsigned long.
9840 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
9841 actually found any entry.
9843 * login/pututline_r.c (pututline_r): If not located after any
9844 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
9845 Lock the file before stating.
9847 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9849 * nss/Makefile (databases): Change host to hosts.
9850 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
9852 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
9854 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
9856 * string/string.h (strndupa): Pass missing arg to strnlen.
9858 * inet/getnetbypt_r.c: Renamed to ...
9859 * inet/getnetbyad_r.c: this; fixed function name.
9860 * inet/getnetbypt.c: Renamed to ...
9861 * inet/getnetbyad.c: this; fixed function name.
9863 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9865 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
9868 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
9870 * login/login.c (login): Initialize DATA so that setutent_r will
9871 actually do something.
9873 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
9875 * resolv/res_hconf.c (strndup): Remove function.
9877 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
9878 using ElfW() instead of Elf32_*.
9880 * sysdeps/unix/sysv/linux/alpha/init-first.h,
9881 sysdeps/unix/sysv/linux/m68k/init-first.h,
9882 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
9883 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
9884 init-first.h to make abstract machine dependent parts of
9887 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
9888 error handling. It's safer that way.
9890 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
9891 Fix by Richard Henderson.
9893 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
9894 typo/extraneous whitespace.
9896 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
9897 determine what integer sizes we're dealing with.
9899 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
9901 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
9902 check for signal zero, repair logical sense of test by
9903 parenthesizing correctly.
9905 * hurd/hurdsig.c (_hurd_internal_post_signal): In
9906 check-for-pending signals code, release _hurd_siglock before
9907 jumping to deliver_pending.
9909 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
9911 * configure.in (config_machine): Make ELF the default even for
9912 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
9915 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9917 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
9918 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
9919 member only #ifdef ENTDATA.
9920 (ENTDATA_DECL): New macro.
9921 (LINE_PARSER): Use it for entdata decl.
9922 (parse_list): Find the space for LIST from DATA->linebuffer instead of
9923 from the input LINE, which might not be writable buffer space.
9924 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
9925 [ENTDATA] (parser_stclass): #define to `static inline'.
9926 [!ENDATA] (parser_stclass): #define to empty.
9927 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
9928 function is exported to -lnss_files users.
9930 * string/strndup.c: Add missing arg.
9932 * string/string.h (strndupa): Likewise.
9933 * string/strndup.c (strndup): Always terminate the string.
9935 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9937 * stdio/Makefile (routines): Add vscanf.
9938 * stdio-common/Makefile (routines): Remove vscanf.
9939 * stdio-common/vscanf.c: Move to ...
9940 * stdio/vscanf.c: here.
9942 * rpm/Makefile (headers, install-lib, install-lib.so,
9943 versioned, install-bin, install-sbin, install-data,
9944 install-others): Add $(-VARIABLE).
9946 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9948 * nss/Makefile (databases): New variable.
9949 (routines, libnss_files-routines): Use it.
9950 (subdir-dirs): Compute from $(services).
9952 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
9953 init_module, klogctl): Use EXTRA in the "caller" column so these get
9954 added to unix-extra-syscalls and thus compiled in misc.
9956 * string/Makefile (routines): Add strndup.
9957 * string/strndup.c: New file.
9958 * string/string.h: Declare strndup.
9959 (strndupa): New macro.
9961 * string/string.h: Declare __strdup.
9962 * string/strdup.c: Deansideclized. Define __ name and weak alias.
9964 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
9966 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
9968 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
9970 * grp/initgroups.c (initgroups): De-ansi-fy.
9971 Move declaration of NGROUPS and GROUPS outside #if so that
9972 the code compiles for NGROUPS_MAX != 0.
9974 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
9975 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
9976 ether_ntoa, ether_ntoa_r, and ether_ntoh.
9977 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
9978 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
9979 inet/ether_ntoh.c: New files. Implementation of functions to
9980 handle Ethernet address to host mapping.
9981 * inet/netinet/ether.h: New file. Declare ether_* functions.
9982 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
9984 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
9985 * nss/Makefile (routines): Add ethers-lookup.
9986 (libnss_files-routines): Add files-ethers.
9988 * nss/getXXent_r.c: Don't define set*ent and end*ent function
9991 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
9992 KEEP_STREAM every time called.
9993 (_nss_files_end): Reset KEEP_STREAM here instead.
9994 (internal_getent): If STREAM == NULL try to open instead of
9996 Use cast to prevent warning.
9997 Terminate read line in case the buffer is too small.
9999 * nss/nss_files/files-ethers.c: New file. Implementation of
10000 Ethernet adress<->hostname lookup through files interface.
10002 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
10003 * stdlib/mbtowc.c: Define based on mbrtowc().
10004 * stdlib/wcstombs.c: Define based on wcsrtombs().
10005 * stdlib/wctomb.c: Define based on wcrtomb().
10007 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
10008 unexpected_sizes_in_xdr_u_int.
10010 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
10011 of `struct ether_addr'.
10012 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
10013 declaration of `struct ether_addr'.
10015 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
10016 * wcsmbs/mbsrtowcs.c: Ditto.
10017 * wcsmbs/wcrtomb.c: Ditto.
10018 * wcsmbs/wcsrtombs.c: Ditto.
10020 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
10022 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
10024 * hurd/get-host.c <fcntl.h>: New include.
10025 * hurd/set-host.c <fcntl.h>: New include.
10026 (_hurd_set_host_config): Include NEW in args to dir_link.
10027 Return NWROTE, not NREAD.
10029 * sysdeps/mach/hurd/getcwd.c
10030 (_hurd_canonicalize_directory_name_internal): Don't deallocate
10031 DOTID & DOTDEVID until we're finished with them (we need to keep
10032 them at least until we've fetched the next level of id ports, so
10033 that mach will be able to use the same name if they're the same).
10034 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
10035 jumps to errlose, for those places where such cleanup is needed.
10037 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10039 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
10041 Move DB code into separate -ldb library.
10042 * db/Makefile (extra-libs): New variable, list libdb.
10043 (routines): Renamed to libdb-routines.
10044 * shlib-versions: Add libdb=2.
10046 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
10047 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
10049 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
10050 of strncasecmp. Extend syntax to grok [!foo=bar].
10052 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
10054 * string/string.h: Declare __strncasecmp.
10056 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
10057 (service_alias): Variable removed.
10058 (nss_parse_service_list): New function, broken out of nss_getline.
10059 Remove alias conversion; we will just use symlinks.
10060 (__nss_database_lookup): Take new string arg DEFCONFIG.
10061 If no entry exists, make one with service list parsed from that.
10062 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
10063 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
10064 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
10066 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
10069 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
10071 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
10073 * locale/programs/locale.c (long_options): Short form of
10074 --version option is `-V'.
10075 (main): Recognize `-V' as option, not `-v'.
10076 Call `usage' instead of printing error message for illegal
10078 (usage): Document `-V'.
10080 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
10082 * sysdeps/mach/hurd/getcwd.c
10083 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
10084 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
10086 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10088 * inet/getrpcent.c: Fix macros.
10089 * inet/getrpcent_r.c: Fix macros.
10091 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
10093 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
10095 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
10097 * catgets/gencat.c (write_out): Use %Zu to print variables of type
10099 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
10100 cast it to (unsigned long) to make it work both on 32 and 64
10103 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10105 * locale/Makefile (distribute): Add `programs/' prefix to all
10106 files in that directory.
10108 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
10111 * MakeTAGS (sources, headers): Make them simply expanded variables
10112 so that all-dist is expanded before it is changed.
10114 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10116 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
10117 * Makefile (subdirs): Remove crypt.
10118 * crypt: Directory removed. It will be made an independent library
10121 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
10123 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
10125 * inet/getrpcbynumber.c (BUFLEN): New macro.
10127 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
10129 * Makefile (headers): Add libc-lock.h.
10130 * sysdeps/stub/libc-lock.h: New file.
10132 * inet/getrpcbynumber.c: Remove _r typo.
10134 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
10136 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
10139 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
10140 or doesn't mention DATABASE, use an internal default equivalent to
10141 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
10142 (nss_lookup_function): Call nss_new_service as needed.
10143 (nss_parse_file): Don't bother calling nss_new_service here.
10145 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
10146 * pwd/fgetpwent.c: Likewise.
10148 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
10149 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
10150 * malloc/malloc-size.c: New file.
10151 * malloc/malloc-walk.c: New file.
10153 * malloc/malloc-find.c (malloc_find_object_address): Return null if
10154 PTR is outside the heap.
10156 * elf/dl-load.c (_dl_map_object): If the requested name matches the
10157 soname of a loaded object, use that object.
10159 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10161 * Makefile (subdirs): Add nss.
10163 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
10164 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
10165 * inet/getrpcbynumber_r.c: New file.
10166 * inet/getrpcbynumber.c: New file.
10167 * inet/getrpcbyname.c: New file.
10168 * inet/getrpcbyname_r.c: New file.
10169 * inet/getrpcent_r.c: New file.
10170 * inet/getrpcent.c: New file.
10171 * nss/rpc-lookup.c: New file.
10172 * nss/nss_files/files-rpc.c: New file.
10173 * nss/Makefile (routines): Add rpc-lookup.
10174 (libnss_files-routines): Add files-rpc.
10175 * sunrpc/Makefile (routines): Remove getrpcent.
10176 * sunrpc/getrpcent.c: File removed.
10178 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
10181 * Makeconfig (rpath-link): Add $(nssobjdir).
10182 (nssobjdir): New variable.
10184 * Makerules: Move shared library building before objects rules, so
10185 versions are known before extra-lib.mk gets included.
10186 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
10188 * pwd/getpwuid.c: Rewritten using nss.
10189 * pwd/getpwnam.c: Likewise.
10190 * pwd/getpwent.c: Likewise.
10191 * grp/getgrnam.c: Likewise.
10192 * grp/getgrgid.c: Likewise.
10193 * grp/getgrent.c: Likewise.
10194 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
10195 * pwd/getpwent_r.c: New file.
10196 * pwd/getpwnam_r.c: New file.
10197 * pwd/getpwuid_r.c: New file.
10198 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
10199 * grp/getgrnam_r.c: New file.
10200 * grp/getgrgid_r.c: New file.
10201 * grp/getgrent_r.c: New file.
10202 * grp/Makefile (routines): Remove grpopen, grpread.
10203 * pwd/Makefile (routines): Remove pwdopen, pwdread.
10204 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
10206 * pwd/fgetpwent.c: Rewritten using files-parse.c.
10207 * grp/fgetgrent.c: Likewise.
10209 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
10210 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
10211 * nss/nss_files/files-grp.c: New file.
10212 * nss/nss_files/files-pwd.c: New file.
10214 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
10216 * nss/nss_files/files-parse.c: New file.
10217 * nss/nss_files/files-XXX.c: New file.
10218 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
10219 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
10220 Rewritten using them.
10222 * nss/Makefile (libnss_files-routines): Remove files-host.
10223 Add files-hosts, files-grp, files-pwd.
10225 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
10227 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
10229 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10230 A .plt entry now loads the .rela.plt offset directly rather
10231 than making us calculate it.
10233 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10235 * time/Makefile ($(installed-localtime-file) rule): Do
10236 $(make-target-directory) first.
10238 * resolv.h: Fix wrapper for resolv/resolv.h.
10240 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
10241 Compile dummy file and pass -nostdlib -nostartfiles so as not to
10242 require installed libraries.
10244 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
10247 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
10249 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
10250 and mapv4v6hostent.h.
10251 (routines): Move res* and gethnamaddr into libresolv-routines.
10252 (libresolv-routines): New variable, put them there.
10253 (extra-libs): New variable, list libresolv.
10254 (CPPFLAGS): Add -D for get*by* to res_get*by*.
10256 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
10258 * inet/herrno.c: New file.
10260 * resolv/res_init.c: Remove res_hconf calls.
10262 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
10263 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
10264 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
10265 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
10266 nss/service-lookup.c: New files. Implementation of name
10267 service switch, following the approach in Solaris.
10268 Interface specification and general structure inspired by Peter
10269 Eriksson <pen@lysator.liu.se>.
10270 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
10271 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
10272 Implementation of libnss_files.so module for file based databases
10274 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
10275 if libnss_dns.so module for DNS name lookup in NSS service.
10277 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
10278 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
10279 Changed to serve as interface to NSS.
10280 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
10281 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
10282 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
10283 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
10284 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
10285 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
10286 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
10287 interfaces to NSS, including reentrant functions.
10289 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
10290 resolv/sethostent.c: Removed: Obsoleted by NSS.
10292 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
10293 gethnamaddr.c. These private functions are now used in more
10296 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
10298 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10300 * rpm/Makefile ($(config)): Make sure the word list in the for
10301 loop is syntactically non-empty.
10303 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10305 * Version 1.92 test release.
10307 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
10309 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
10310 to klogctl to match prototype in sys/klog.h.
10312 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
10313 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
10315 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
10316 Remove. Code is now part of __getcwd again. The old function
10317 never really worked for anything but THISDIR==".".
10319 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
10320 only when building ELF version of library.
10322 * libio/libioP.h (_IO_vscanf): Add prototype.
10324 * posix/unistd.h (syscall): Change sysno arg and return value
10327 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10329 * version.h (VERSION): Updated to 1.92.
10331 * misc/Makefile (headers): Add ar.h.
10332 * misc/ar.h: New file.
10334 * config.make.in (BUILD_CC): New variable.
10335 * configure.in: Check for BUILD_CC if $host != $build.
10337 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
10339 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
10340 (stamp$o files): New targets, create them empty, no deps.
10342 * rpm/template (Source): New field.
10343 (%prep, %build, %install): New sections.
10344 (%files): Add %doc FAQ NEWS NOTES README.
10345 * rpm/rpmrc (builddir): Removed.
10347 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10349 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
10350 guessing to not assume p_vaddr of first load cmd is zero.
10352 * sysdeps/sparc/elf/start.S: New file.
10353 * sysdeps/sparc/dl-machine.h: New file.
10355 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
10356 only for ?s, not for *s. Fix from Chet Ramey.
10358 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
10359 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
10360 Use __{BEGIN,END}_DECLS.
10361 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
10362 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
10363 New macros, moved here from sysdeps/gnu/utmpbits.h.
10364 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
10365 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
10366 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
10367 Use sizeof instead of UT_*SIZE.
10368 * login/logwtmp.c: Likewise.
10370 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
10372 * version.c (banner): Add trailing newline.
10374 * login/utmp.h: Declare login_tty.
10376 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
10378 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
10379 Changed to a 12-byte PLT entry to remove dependency on $gp.
10380 Take a new got_addr parameter.
10381 (elf_machine_rela): Pass the new parameter.
10382 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
10383 (RTLD_START): Do normal linkage with program entry.
10385 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
10387 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
10389 * hurd/getuids.c (getuids): New weak link to __getuids.
10391 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
10393 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
10394 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
10396 Rename nested function lookup to lookup_op.
10397 (__file_name_lookup, __file_name_lookup_under):
10398 Pass 0 for lookup arg to __hurd_file_name_lookup.
10399 (__file_name_split): Likewise for __hurd_file_name_split.
10400 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
10401 Rename nested function lookup to scan_lookup.
10402 (file_name_path_lookup): Pass 0 for lookup arg to
10403 hurd_file_name_path_lookup.
10404 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
10405 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
10406 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
10407 Add LOOKUP argument.
10408 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
10409 __hurd_file_name_lookup.
10411 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10413 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
10414 up a huge list just to discard most of it.
10416 * configure.in (sysnames): Avoid fgrep by using the case shell
10419 * Makeconfig (config.status): Fix dependency on Implies files.
10421 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
10423 * math/Makefile (distribute): Add ieee-math.c.
10425 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
10427 * locale/codeset_name.c: New file. Provide function for information
10428 about currently used character set.
10429 * locale/Makefile (routines): Add codeset_name.
10430 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
10431 * locale/localeinfo.h: Change magic number because of incompatible
10433 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
10434 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
10436 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
10437 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
10439 * locale/setlocale.c (setlocale): Initialize local variables to
10442 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
10444 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
10446 * locale/programs/locale.c: Include string.h.
10448 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
10449 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
10450 appropriate sign-extension is performed on machines with
10453 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
10454 sizeof(int)<sizeof(long), we need to go through a temporary
10457 * locale/programs/ld-numeric.c: Include <alloca.h>
10459 * libio/stdio.h (__libc_fatal): Add prototype.
10461 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
10464 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
10465 volatile to avoid "might get clobbered by longjmp" warning.
10467 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
10468 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
10469 probability is a sure loser).
10470 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
10472 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
10473 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
10475 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
10476 to be Linux FSSTND compliant.
10478 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
10480 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
10482 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
10483 sysdeps/unix/sysv/linux/alpha/brk.S,
10484 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
10485 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
10486 sysdeps/unix/sysv/linux/alpha/llseek.S,
10487 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
10488 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
10489 __syscall_error to avoid intruding application name space.
10491 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
10492 to SYS_get?id so that syscall stubs in sysdeps/unix define
10493 these syscalls in terms of getxpid/getxuid/getxgid.
10495 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
10496 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
10497 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
10498 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
10500 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
10501 (PSEUDO_END): Rename END() to PSEUDO_END().
10503 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
10504 to PSEUDO_END to improve branch-prediction. Include .frame
10505 directive to make syscalls debugabble.
10506 (PSEUDO_END): New macro.
10508 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
10509 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
10510 latter is illegal under DEC Unix.
10512 * sysdeps/unix/alpha/sysdep.S: Renamed from
10513 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
10515 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
10516 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
10517 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
10519 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
10520 address register in the .frame directive.
10522 * sysdeps/alpha/copysign.c: Remove.
10524 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
10525 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
10527 * errno.h: Move __END_DECLS to correct place to make file
10528 compilable under c++.
10530 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
10531 d_ino only if <direntry.h> hasn't defined d_fileno.
10533 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
10534 arguments to weakext to make .weakext detection work on ECOFF systems.
10536 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
10537 that _validuser() has been replaced by __ivaliduser().
10539 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
10541 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
10542 as unsigned long, not as int (to avoid incorrect int->long
10547 See ChangeLog.5 for earlier changes.