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/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.